• if(getThum($r['id'])){
  • $thum='

![]()
';

  • }else{
  • $thum='';
  • }
  • - $listtemp='- - - '.$thum.'
  • - **
  • [!--title--]
  • - [!--newstime--]
  • '.$class_r[$r['classid']]['classname'].'
  • - **
  • '.mkSmalltext($r['id'],'news','newstext').'...[查看全文]
  • - ';复制代码

只知道这段列表内容模板(list.var) (*)有问题,但不知道怎么修复。

知道它有问题的理由是,这段代码放进去,生成的时候就会500错误。如果把这段代码清空则生成就正常了。