如何去掉评论
小 中 大
内容页模板中删除以下代码:
- <!-- 评论 -->
- <div id="comment">
- <form action="<?php echo url('comment/add'); ?>" method="POST" name="comment_form">
- <div class="comm">
- <a href='<?php echo url('comment/list/aid/'.$archive['aid']); ?>' style="float:right;padding-right:20px;font-size:12px;color:#cc0000;">已有<span id="commentnumber">{comment::countcomment($archive['aid'])}</span>位网友发表评论 <strong>点击查看</strong></a><strong>我要评论:</strong></div>
- <div class="blank5"></div>
- <textarea name="content" id="textarea"></textarea>
- <div style="margin-top:10px;line-height:34px;"><input type="hidden" name="aid" value="{$aid}"/>
- 用户名:<input type="text" name="username" class="key" value="<?php echo get('username');?>"/> <!--验证码:<?php //echo verify();?> <inputtype="text" name="verify" value="" size="4" /--><input name="submit" class="input" value="发表评论" type="submit"/>
- </div>
- </form>
- </div>
复制代码
0
微信客服
您的建站服务专家
售前咨询
模板定制
售前咨询
功能定制