#set($curtype = $columntypes.news) #* #set($currow=$nt.getcolumn($curtype,$cursid)) #if($currow) #set($columnurl=$nt.getcolumnurl($curtype,$currow)) #end *# #if(!$selectcount) #set($selectcount = 20) #end #set($Newsone =$nt.GetDataTable("select top 1 ID,Title,PageURL,PhotoPath,Shortdesc from vw_News where isTop =1 and sid like '$cursid' and Enable = 1 Order by Inputtime desc ").rows) #set($Newstwo =$nt.GetDataTable("select top 6 ID,Title,PageURL,PhotoPath,Shortdesc from vw_News where sid like '$cursid' and Enable = 1 $nt.GetNotIn($Newsone) Order by Inputtime desc ").rows)
#foreach($row in $Newsone) $row.Title $nt.getsubstring($row.shortdesc,119) #end
#foreach($row in $Newsone) $row.Title #end