打开 inc\artic_function.php 文件
if(is_file(ROOT_PATH."template/default/$webdb[SideTitleStyle].htm")){
$tplcode=read_file(ROOT_PATH."template/default/$webdb[SideTitleStyle].htm");
}else{
$tplcode=read_file(ROOT_PATH."template/default/side_tpl/0.htm");
}
//此次可修改
if($type=='hot'){
$tplcode=read_file(ROOT_PATH."template/default/side_tpl/0.htm");
}
//
$tplcode=addslashes($tplcode);
foreach($listdb AS $key=>$rs){
if( $webdb[path] && ($webdb[NewsMakeHtml]==1||$gethtmlurl) ){
$webdb[path]='';
}
$target=$rs[target]?'_blank':'_self';
if($type=='pic'){
$show.="<div class='p' style='float:left;width:130px;padding-left:5px;padding-top:5px;'> <a href='$webdb[www_url]$webdb[path]/bencandy.php?fid=$rs[fid]&id=$rs[aid]' style='display:block;width:120px;height:90px;border:1px solid #ccc;' target='$target'><img style='border:2px solid #fff;' width='120' height='90' src='$rs[picurl]' border='0'></a> <A HREF='$webdb[www_url]$webdb[path]/bencandy.php?fid=$rs[fid]&id=$rs[aid]' title='$rs[full_title]' target='$target'>$rs[title]</A> </div>";
}