[!--temp.head_list--]
<body>
[!--temp.header--]
[!--temp.footer--]
<script src='[!--news.url--]skin/ecms128/js/theia-sticky-sidebar.js'></script>
[!--temp.position--]
[phomead]5[/phomead]
<?php
$bclassidpd=$GLOBALS['navclassid'];
$bclassid3=$class_r[$class_r[$GLOBALS[navclassid]][bclassid]][bclassid];
if($class_r[$bclassidpd][bclassid]==0 ){
?>
[!--temp.subnav--]
<?
}else{
$arrpd=array();
$arr1pd=$empire->query("select classid,classname,sonclass,featherclass,islast from {$dbtbpre}enewsclass");
while($arr2pd=$empire->fetch($arr1pd)){
$arrpd[]=$arr2pd['featherclass'];
}
$arrpd=implode(",",$arrpd); //获取所有父栏目的id
$zipd='|'.$bclassidpd.'|'; //当前栏目id
if(strstr($arrpd,$zipd)){ //判断当前栏目id如果属于父栏目数组,那么当前栏目就有子栏目
?>
[!--temp.subnav2--]
<?
}else{
if($class_r[$class_r[$bclassidpd][bclassid]][bclassid]==0){
?>
[!--temp.subnav--]
<?
}else{
?>
[!--temp.subnav3--]
<?
}
}
}
?>
[!--temp.sidebar_list--]
$smalltext = esub(strip_tags($r[smalltext]),150,'...'); //清除简介中的html,限制150个字
$listtemp='
';
$smalltext = esub(strip_tags($r[smalltext]),150,'...'); //清除简介中的html,限制150个字
$listtemp='
';
[!--temp.pagelist--]
[!--oldtitle--]
'.$smalltext.'...
[!--oldtitle--]
'.$smalltext.'...

