就是这个news_view.html.php文件的
zi7mvp 发表于 2009-12-04 21:38
我删除了这段代码,表面看起来没什么错误,会不会有其他影响,偶不知道,偶是菜鸟……-
- <!--{if !empty($_SCONFIG['commstatus'])}-->
- <!--{if !empty($_SCONFIG['viewspace_pernum'])}-->
- <div class="comment">
- <!--{if !empty($commentlist)}-->
- <!--{loop $commentlist $value}-->
- <div class="comm_list">
- <div class="title">
- <div class ="from_info">
- <span class="author">$_SCONFIG[sitename]<!--{if !$value[hidelocation]}--><!--{if $value[iplocation]!='LAN'}-->$value[iplocation]<!--{else}-->火星<!--{/if}--><!--{/if}-->网友
- <!--{if !empty($value[authorid]) && !$value[hideauthor]}--><a href="{S_URL}/space.php?uid=$value[authorid]">[{$value[author]}]</a><!--{/if}--></span>
- <!--{if $_SCONFIG[commshowip]}-->ip:<!--{if $value[hideip]}-->*.*.*.*<!--{else}-->$value[ip]<!--{/if}--><!--{/if}--></div>
- <span class="post_time">#date("Y-m-d H:i:s", $value["dateline"], 1)#</span>
- <a name="cid_$value[cid]"></a>
- </div>
- <div id="cid_$value[cid]" class="body">
- $value[message]
- </div>
- <div class="comm_op">
- <a href="javascript:;" onclick="clearcommentmsg();getQuote($value[cid]);">引用</a>
- | <a href="javascript:;" onclick="clearcommentmsg();$('message').focus();addupcid($value[cid]);" class="replay">回复</a>
- <!--{if $gv[status]}-->
- | <a href="{S_URL}/cp.php?action=click&op=add&clickid=33&groupid=3&idtype=comments&id=$value[cid]&hash=<!--{eval echo md5($value['authorid']."\t".$value['dateline']);}-->" id="click_comments_{$value[cid]}_33_3" onclick="ajaxmenu(event, this.id, 2000, 'show_clicknum')" class="up"><span class="color_red">支持</span><span class="color_gray">(<span id="click_{$value[cid]}_33">$value[click_33]</span>)</span></a>
- | <a href="{S_URL}/cp.php?action=click&op=add&clickid=34&groupid=3&idtype=comments&id=$value[cid]&hash=<!--{eval echo md5($value['authorid']."\t".$value['dateline']);}-->" id="click_comments_{$value[cid]}_34_3" onclick="ajaxmenu(event, this.id, 2000, 'show_clicknum')" class="down">反对<span class="color_gray">(<span id="click_{$value[cid]}_34">$value[click_34]</span>)</span></a>
- <!--{/if}-->
- <!--{if empty($value[authorid]) && $value[authorid] == $_SGLOBAL['supe_uid'] || $_SGLOBAL['member']['groupid'] == 1}-->
- | <a href="#action/viewcomment/itemid/$value[itemid]/cid/$value[cid]/op/delete/php/1#">删除</a>
- <!--{/if}-->
- </div>
- </div>
- <!--{/loop}-->
- <!--{/if}-->
- </div><!--comment end-->
- <!--{if checkperm('allowcomment')}-->
- <div class="sign_msg">
- <a name="sign_msg"></a>
- <form action="#action/viewcomment/itemid/$news[itemid]/php/1#" method="post">
- <script language="javascript" type="text/javascript" src="{S_URL}/batch.formhash.php?rand={eval echo rand(1, 999999)}"/></script>
- <fieldset>
- <legend>发表评论</legend>
- <div class="sign_msg_login">
-
- </div>
- <textarea style="background:#F9F9F9 url({S_URL}/images/comment/$_SCONFIG[commicon]) no-repeat 50% 50%;" id="message" cols="60" rows="4" name="message" onclick="clearcommentmsg();hideelement('imgseccode');" onblur="addcommentmsg();" onkeydown="ctlent(event,'postcomm');" />$_SCONFIG[commdefault]</textarea>
- <div class="sign_msg_sub">
- <!--{if $_SGLOBAL['supe_uid']}-->
- <!--{if checkperm('allowanonymous')}-->
- <label for="signcheck_01"><input class="input_checkbox" type="checkbox" id="signcheck_01" name="hideauthor" value="1" />匿名</label>
- <!--{/if}-->
- <!--{if checkperm('allowhideip')}-->
- <label for="signcheck_02"><input class="input_checkbox" type="checkbox" id="signcheck_02" name="hideip" value="1" />隐藏IP</label>
- <!--{/if}-->
- <!--{if checkperm('allowhidelocation')}-->
- <label for="signcheck_03"><input class="input_checkbox" type="checkbox" id="signcheck_03" name="hidelocation" value="1" />隐藏位置</label>
- <!--{/if}-->
- <!--{if $_SCONFIG['allowfeed']}-->
- <label for="signcheck_04"><input class="input_checkbox" type="checkbox" id="signcheck_04" name="addfeed" checked="checked">加入事件</label>
- <!--{/if}-->
- <!--{/if}-->
- <!--{if empty($_SCONFIG['noseccode'])}-->
- <span class="authcode_sub"><label style="margin-right:0;" for="seccode">验证码:</label>
- <input type="text" class="input_tx" size="10" id="seccode" name="seccode" maxlength="4" onfocus="showelement('imgseccode')" />
- <img style="display:none;" id="imgseccode" class="img_code" src="{S_URL}/do.php?action=seccode" onclick="newseccode('imgseccode');" alt="seccode" title="看不清?点击换一张" />
- <a class="changcode_txt" title="看不清?点击换一张" href="javascript:showelement('imgseccode');newseccode('imgseccode');">换一张</a>
- </span>
- <!--{/if}-->
-
- <input type="submit" value="发表" name="searchbtn" onclick="return submitcheck();" class="input_search"/>
- <input type="hidden" value="$news[type]" name="type" />
- <input type="hidden" value="submit" name="submitcomm" />
- <input type="hidden" id="itemid" name="itemid" value="$news[itemid]" />
- <input type="hidden" id="upcid" name="upcid" value="" size="5" />
- <input type="hidden" id="type" name="type" value="$news[type]" size="5" />
-
- </div>
-
- </fieldset>
- </form>
- <p class="sign_tip">网友评论仅供网友表达个人看法,并不表明本网同意其观点或证实其描述。</p>
- </div><!--sign_msg end-->
- <!--{/if}-->
- <!--{/if}-->
- <div id="comment_op"><a href="#action/viewcomment/itemid/$news[itemid]#" class="view" target="_blank">查看全部回复</a><span>【已有$news[replynum]位网友发表了看法】</span></div>
- <!--{/if}-->
复制代码 |