|
官方论坛发的http://www.phpwind.net/read-htm-tid-2118265.html貌似更先进一点了. template/风格名/thread.htm 找到 - <div class="cc" style="padding:0 10px 10px;" id="tabA">
上加 - <!--
- EOT;
- if($winduid){
- $check_num = $db->get_value("SELECT count(*) FROM pw_threads WHERE authorid=$winduid AND ifcheck=0 AND fid=$fid");
- }
- if($check_num){
- print <<<EOT
- -->
- <style>
- .bm {
- background: none repeat scroll 0 0 #FFFFFF;
- border-top: 1px solid #CDCDCD;
- border-bottom: 1px solid #CDCDCD;
- margin-bottom:5px;
- }
- .ntc_l {
- background: none repeat scroll 0 0 #FEFEE9;
- padding: 5px 10px;
- }
- .xi2, .xi2 a, .xi3 a {
- color: #336699;
- }
- .hm {
- text-align: center;
- }
- </style>
- <div class="bm"><div class="ntc_l hm xi2"><strong><a href="thread.php?fid={$fid}&search=check">您有 {$check_num} 个主题正等待审核中,点击查看</a></strong></div></div>
- <!--
- EOT;
- }
- print <<<EOT
- -->
|