#foreach($article in $cms.getContents($curChannel,5)) #if($article.title=='轮播大图') #set ($slides=$cmsService.getArticle($article.id)) #end #end
#foreach($pic in $cms.getPictures($slides))
#end
要闻 时讯
新闻中心
#set($j = 0) #foreach($article in $cms.getContentsByChannelName("要闻时讯", 200)) #if($j < 3) #if($article.type == 1 && $cms.getPictureUrl($article) != "")
$stringUtil.summary($article.title, 16)...
$cms.format($article.publishDate,"yyyy-MM-dd")
#set($j = $j + 1) #end #end #end
#set($j = 0) #foreach($article in $cms.getContentsByChannelName("要闻时讯", 200)) #if($j < 3) #set($fullArticle=$cmsService.getArticle($article.id)) #if($stringUtil.nullFilter($article.summary)!="" || $stringUtil.nullFilter($fullArticle.content)!="")
$cms.format($article.publishDate,"yyyy")
$cms.format($article.publishDate,"MM.dd")
#if($stringUtil.nullFilter($article.summary)!="") $stringUtil.summary($article.summary, 19)... #else $stringUtil.summary($cms.clearHtml($fullArticle.content),19)... #end
#if($stringUtil.nullFilter($article.summary)!="") $stringUtil.summary($article.summary, 100)... #else $stringUtil.summary($cms.clearHtml($fullArticle.content),100)... #end
#set($j = $j + 1) #end #end #end
新闻 专题
#set($j = 0) #foreach($channel in $cms.getChildrenByName("新闻专题")) #if($j < 1) #if($channel.logo && $cms.getContentCount($subChannel.id)) #foreach($article in $cms.getContents($channel, 1))

$channel.name

$cms.format($article.publishDate,"yyyy.MM.dd")

#set($j = $j + 1) #end #end #end #end
新闻 媒体
#set($j = 0) #foreach($article in $cms.getContentsByChannelName("新闻媒体", 200)) #if($j < 4)
#set($cc = $article.title.split("[【]")) #set($cc = $cc.get(1).split("[】]")) $cc.get(0) $cms.format($article.publishDate,"yyyy.MM.dd")
#summary($cc.get(1) 19)...
#set($j = $j + 1) #end #end
#set($channel=$cms.getChannelByName("通知公告"))
$channel.title
#set($j = 1) #foreach($subChannel in $cms.getChildren($channel))
$subChannel.title
#set($j = $j + 1) #end
#set($j = 1) #foreach($subChannel in $cms.getChildren($channel)) #if($j == 1)
    #else #set($j = $j + 1) #end
学生活动
#set($channel=$cms.getChannelByName("学生活动")) #set($j = 0) #foreach($subChannel in $cms.getChildren($channel)) #if($j < 1)
$subChannel.title
#end #set($j = $j + 1) #end
#set($j = 0) #foreach($subChannel in $cms.getChildren($channel)) #if($j > 0 && $j < 3)
$subChannel.title
#elseif($j >= 3 && $j < 5)
$subChannel.title
#end #set($j = $j + 1) #end
江南影像
#set($channelName='校园图集') #set($channel=$cms.getChannelByName($channelName))
$channelName 查看更多
#set($channelName='校园视频') #set($channel=$cms.getChannelByName($channelName))
$channelName 查看更多
#set($j = 0) #foreach($article in $cms.getContents($channel, 10)) #if($j < 1) #set($content=$cmsService.getArticle($article.id).content) #if(${content.indexOf("divPlayerImgResponsive")}!=-1 || (${content.indexOf("video")}!=-1 && ${content.indexOf("src")}!=-1)) $content #set($j = $j + 1) #end #end #end
#parse('footer.vm')