#set($siteId=37) 上海虹口门户网站 #set($id=$request.getParameter("pic"))
##-----------------Velocity程序开始------------------ #set($swidth = '100%') #set($sheight = '100%') #set($sectionName = '新闻中心') #set($sfileName = '搜索结果2') ##-----------全文+栏目搜索 开始------------------------ #set($section="") #if($siteId) #set($section=$global.getSectionListBySiteId("$siteId")) #end ##----------------------------全文+栏目搜索 结束------------------------- ##-----------------Velocity程序结束------------------
  当前位置: 首页 >> 便民服务 >> 公共服务>> name >> 详细内容页
 
   
##-----------------Velocity程序开始------------------ #set($titleLength = 200) #set($contentLength = 5000000) #set($contentId=$request.getParameter("id")) #if($contentId) #set($rssCode=$request.getParameter("code")) #if($rssCode) $rssHelp.codeChangeVisitDate($rssCode) #end #set($info = $global.getContentObject($contentId))
#if($info.getTitle()) #if($titleLength && $titleLength > 0 ) #if($titleLength > $info.getTitle().length()) $info.getTitle() #else $info.getTitle().substring(0,$titleLength) #end #else $info.getTitle() #end #end
#if($info.getText()) #if($contentLength && $contentLength > 0 ) #if($contentLength > $info.getText().length()) $info.getText() #else $info.getText().substring(0,$contentLength) #end #else $info.getText() #end #end

#if($info.getAddress() && $info.getAddress().length()>0) View Map #end
相关文章
##-----------------Velocity程序开始------------------ #set($pic=$request.getParameter("pic")) #set($width = '100%') #set($height = '100%') #set($rows = '5') #set($infoPath = '便民公共服务详细内容页') #set($videoPath = '#') #set($infoType = '1') #set($infoId=$request.getParameter("id")) #set($list=$infoHelp.getListDate("$infoId","$infoType","$rows","$siteId")) #set($viewInfoPath=$global.getPagePathByPageName("$siteId","$infoPath")) #set($viewVideoPath=$global.getPagePathByPageName("$siteId","$videoPath")) #foreach($l in $list) #end
#if("$l.getInfoType()" == "1") #if($l.getTitle().length() < 20) $l.getTitle() #else $l.getTitle().substring(0,20)... #end #end #if("$l.getInfoType()" == "2") $l.getTitle() #end  ($global.formatDate($l.getPubdate()))
##-----------------Velocity程序结束------------------
评论结果
##-----------------Velocity程序开始------------------ #set($listComment = '便民公共服务详细内容页') #set($moreComment = '评论更多页面') #set($rowsNum = '5') #set($isPage = false) #set($listCommentPath=$global.getPagePathByPageName("$siteId","$listComment")) #set($moreCommentPath=$global.getPagePathByPageName("$siteId","$moreComment")) #set($infoId=$request.getParameter("id")) #set($infoType=$request.getParameter("infoType")) #set($listComment=$commentHelp.selectBySearchBeanForV("$infoId","$rowsNum","$infoType"))
#foreach($c in $listComment)
游客: #if($c.content.length() < 150) $c.content #else $c.content.substring(0,150)... #end ($global.formatDate($c.getInputDate()))

#end #if($isPage) #set($totalRecords=$request.getParameter("totalRecords")) #set($rowsPerPage=$request.getParameter("rowsPerPage")) #set($totalPages=$request.getParameter("totalPages")) #set($currentPage=$request.getParameter("currentPage")) #set($upPage=$request.getParameter("upPage")) #set($nextPage=$request.getParameter("nextPage"))
共$totalRecords条 每页显示 条 #if("$totalPages"=="0") #set($totalPages=$currentPage) #end 第$currentPage页/共$totalPages页 #if($currentPage == 1) 首页  上一页 #else 首页 上一页 #end #if("$currentPage" == "$totalPages")  下一页  尾页 #else 下一页 尾页 #end 转到第

#end #if($moreCommentPath) #else #end >>更多评论
##-----------------Velocity程序结束------------------

#end ##----------------------------信息发布 单个内容----------------------------------- ##-----------------Velocity程序结束------------------
上海市虹口区人民政府   地址:飞虹路518号   电话:25658888  应急热线:25657110
Copyright(C)2006 Shanghai HongKou All Rights Reserved  沪ICP备05004058
工作时间:周一至周五  8:30-17:30
公务信箱 | 网站导航 | 网页纠错 | 联系我们
$global.staticSupport("$siteId")