是不是加在e/class/userfun.php中 <?php //---------------------------用户自定义标签函数文件 function user_EchoJieQu($jianjie,$subnews){ global $empire,$public_r,$class_r,$navinfor; if(empty($navinfor[$jianjie])) { return ''; } $value=$navinfor[$jianjie]; //截取字符 if(!empty($subnews)) { $value=sub($value,0,$subnews,false); } echo $value; } ?>
|