在搜索列表模板列表内容模板(list.var) (*)加上以下代码

$searchid=$_GET['searchid'];$search=$empire->fetch1("selectkeyboardfrom{$dbtbpre}enewssearchwheresearchid='$searchid'limit1");$keyboard=$search['keyboard'];$title=str_replace($keyboard,"<fontcolor='red'>$keyboard</font>",$r[title]);$smalltext=str_replace($keyboard,"<fontcolor='red'>$keyboard</font>",$r[smalltext]);$listtemp='<li><ahref="[!--titleurl--]"title="[!--oldtitle--]"target="_blank">'.$title.'</a><divclass="media-box-note">'.$smalltext.'</div></li>';

在使用程序代码前打钩,如下图所示: