1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- <?php echo 'Theme by Jeaviking http://www.jeavi.name';exit;?>
- <div id="comment" class="bm">
- <div class="portal_tit cl">
- <em>已有$data[commentnum]人参与</em>
-
- <h3>会员评论</h3>
- </div>
- <div id="comment_ul">
-
- <!--{if !empty($pricount)}-->
- <p class="mtn mbn y">{lang hide_portal_comment}</p>
- <!--{/if}-->
-
- <!--{if !$data[htmlmade]}-->
- <form id="cform" name="cform" class="cl" action="$form_url" method="post" autocomplete="off">
- <div class="tedt">
- <textarea name="message" rows="3" class="pt" id="message" {if !$_G['uid'] && !$_G[connectguest]}placeholder="登录后才能发表内容及参与互动"{/if} onkeydown="ctrlEnter(event, 'commentsubmit_btn');"></textarea>
- </div>
-
-
- <!--{if $secqaacheck || $seccodecheck}-->
- <!--{block sectpl}--><sec> <span id="sec<hash>" onclick="showMenu(this.id);"><sec></span><div id="sec<hash>_menu" class="p_pop p_opt" style="display:none"><sec></div><!--{/block}-->
- <div class="mtm z"><!--{subtemplate common/seccheck}--></div>
- <!--{/if}-->
-
-
-
- <!--{if !empty($topicid) }-->
- <input type="hidden" name="referer" value="$topicurl#comment" />
- <input type="hidden" name="topicid" value="$topicid">
- <!--{else}-->
- <input type="hidden" name="portal_referer" value="$viewurl#comment">
- <input type="hidden" name="referer" value="$viewurl#comment" />
- <input type="hidden" name="id" value="$data[id]" />
- <input type="hidden" name="idtype" value="$data[idtype]" />
- <input type="hidden" name="aid" value="$aid">
- <!--{/if}-->
- <input type="hidden" name="formhash" value="{FORMHASH}">
- <input type="hidden" name="replysubmit" value="true">
- <input type="hidden" name="commentsubmit" value="true" />
- <p class="ptn cl y">
- <button type="submit" name="commentsubmit_btn" id="commentsubmit_btn" value="true" class="pn y"><strong>{lang comment}</strong></button>
- </p>
- </form>
- <script type="text/javascript">
- jQuery(function(){
- jQuery(".tedt .pt").focus(function(){
- jQuery(this).addClass("bgchange");
- }).blur(function(){
- jQuery(this).removeClass("bgchange");
- });
- })
- </script>
-
- <!--{/if}-->
- <ul>
- <!--{loop $commentlist $comment}-->
- <!--{template portal/comment_li}-->
- <!--{if !empty($aimgs[$comment[cid]])}-->
- <script type="text/javascript" reload="1">aimgcount[{$comment[cid]}] = [<!--{echo implode(',', $aimgs[$comment[cid]]);}-->];attachimgshow($comment[cid]);</script>
- <!--{/if}-->
- <!--{/loop}-->
- </ul>
- <p class="ptn cl" style=" text-align:center">
- <!--{if $data[commentnum]}--><a href="$common_url" class="xi2">查看全部评论>></a><!--{/if}-->
- </p>
- </div>
- </div>
|