原帖由 e_zailai 于 2006-11-18 09:38 发表 数据库所安装代码: ALTER TABLE `cdb_posts` drop `cments` ; drop TABLE `cdb_cments`;
使用道具 举报
原帖由 badfox 于 2006-11-18 10:05 发表 试验完可别忘了给个演示地址和测试账号阿! 可以自己改一下就成! 显示颜色可以在下面这段中改,只要你会HTML和CSS! <!--{if $post}--> <br><fieldset><legend>< ...
if($cmentspids) { $query = $db->query("SELECT * FROM {$tablepre}cments WHERE pid IN ($cmentspids) ORDER BY dateline DESC"); while($cments = $db->fetch_array($query)) { if(count($postlist[$cments['pid']]['cments']) < '5' ) { $cments['dateline'] = gmdate("$dateformat $timeformat", $cments['dateline'] + $timeoffset * 3600); $postlist[$cments['pid']]['cment'][] = $cments; } } }
本版积分规则 发表回复 回帖后跳转到最后一页
手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )
GMT+8, 2025-11-2 07:10 , Processed in 0.098552 second(s), 13 queries , Gzip On.
Powered by Discuz! X3.4
Copyright © 2001-2023, Tencent Cloud.