以下代码加入到帝国cms模板里面
<?php
$ue=$empire->fetch1("select * from phome_ecms_fj where mc='$navinfor[mc]' limit 1");
$uee=$empire->fetch1("select * from phome_enewsclass where classid='$ue[classid]' limit 1");
$str=$ue[newstext];
$erp=explode("[!--empirenews.page--]",$str);
$mfcounet=count($erp);
if($mfcounet>1)
{
for($mdd=0;$mdd<$mfcounet;$mdd++)
{
$erp1=explode(' ',$erp[$mdd]);
if($mdd==0)
{
}
else
{
$ggd=$mdd+1;
$ggc=_;
}
?>
<li><a href="/<?=$uee['classpath']?>/<?=$ue['filename']?><?=$ggc?><?=$ggd?>.html" target="_blank">第<?=$mdd+1?>集</a></li>
<?php
}
}?>
其他fj是数据表模型名称