帝国ECMS 评论 自动生成HTML【转】

修改e/enews/plfun.php文件,找到:
//设置最后发表时间

在下面加上这个
 $usql=$empire->query(“update {$dbtbpre}_”.$class_r[$classid][tbname].” set havehtml=0 where id=’$id'”);

然后发表评论的地址返回地址改下就成
 <input type=”hidden” name=”ecmsfrom” value=”http://www.abc3210.com/e/action/ShowInfo?classid=26&id=321″ />

发表评论

邮箱地址不会被公开。 必填项已用*标注

click to changeSecurity Code