本帖最后由 berezatara 于 2012-2-24 16:09 编辑
美好的一天!
帮助笔者不放过Помогите отключить вывод слева аватарки пользователя.
这是正确的。
Это оригинальный код темплейта. Как в нем отключить?- <!--{subtemplate common/header}-->
- <script type="text/javascript">var fid = parseInt('$_G[fid]'), tid = parseInt('$_G[tid]');</script>
- <!--{if $modmenu['thread'] || $modmenu['post']}-->
- <script type="text/javascript" src="{$_G['setting']['jspath']}forum_moderate.js?{VERHASH}"></script>
- <!--{/if}-->
- <script type="text/javascript" src="{$_G['setting']['jspath']}forum_viewthread.js?{VERHASH}"></script>
- <script type="text/javascript">zoomstatus = parseInt($_G['setting']['zoomstatus']);var imagemaxwidth = '{$_G['setting']['imagemaxwidth']}';var aimgcount = new Array();</script>
- <style id="diy_style" type="text/css"></style>
- <!--[diy=diynavtop]--><div id="diynavtop" class="area"></div><!--[/diy]-->
- <!--{hook/viewthread_top}-->
- <!--{ad/text/wp a_t}-->
- <style id="diy_style" type="text/css"></style>
- <div class="wp">
- <!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
- </div>
- <div id="ct" class="wp cl ct2">
- <div class="mn">
- <div id="pt" class="bm cl">
- <div class="z">
- <a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a>$navigation <em>›</em> <a href="forum.php?mod=viewthread&tid=$_G[tid]">$_G[forum_thread][short_subject]</a>
- </div>
- </div>
-
-
-
- <div id="pgt" class="pgs mbm cl {if $modmenu['thread']}pbm bbs{/if}" style="display:none;">
- <!--{if $_G['forum']['threadsorts'] && $_G['forum']['threadsorts']['templatelist']}-->
- <!--{loop $_G['forum']['threadsorts']['types'] $id $name}-->
- <button id="newspecial" class="pn pnc" onclick="location.href='forum.php?mod=post&action=newthread&fid=$_G[fid]&extra=$extra&sortid=$id'"><strong>{lang i_want}$name</strong></button>
- <!--{/loop}-->
- <!--{else}-->
- <!--{if !$_G['forum_thread']['is_archived']}--><a id="newspecial" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu({'ctrlid':this.id})"{if !$_G['forum']['allowspecialonly'] && empty($_G['forum']['picstyle']) && !$_G['forum']['threadsorts']['required']} onclick="showWindow('newthread', 'forum.php?mod=post&action=newthread&fid=$_G[fid]')"{else} onclick="location.href='forum.php?mod=post&action=newthread&fid=$_G[fid]';return false;"{/if} href="javascript:;" title="{lang send_posts}"><img src="{IMGDIR}/pn_post.png" alt="{lang send_posts}" /></a><!--{/if}-->
- <!--{/if}-->
- <!--{if $allowpostreply && !$_G['forum_thread']['archiveid']}-->
- <a id="post_reply" onclick="showWindow('reply', 'forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]')" href="javascript:;" title="{lang reply}"><img src="{IMGDIR}/pn_reply.png" alt="{lang reply}" /></a>
- <!--{/if}-->
- <!--{hook/viewthread_postbutton_top}-->
- </div>
-
- <!--{if $_G['group']['allowpost'] && ($_G['group']['allowposttrade'] || $_G['group']['allowpostpoll'] || $_G['group']['allowpostreward'] || $_G['group']['allowpostactivity'] || $_G['group']['allowpostdebate'] || $_G['setting']['threadplugins'] || $_G['forum']['threadsorts'])}-->
- <ul class="p_pop" id="newspecial_menu" style="display: none">
- <!--{if !$_G['forum']['allowspecialonly']}--><li><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]">{lang post_newthread}</a></li><!--{/if}-->
- <!--{if $_G['forum']['threadsorts'] && !$_G['forum']['allowspecialonly']}-->
- <!--{loop $_G['forum']['threadsorts']['types'] $id $threadsorts}-->
- <!--{if $_G['forum']['threadsorts']['show'][$id]}-->
- <li class="popupmenu_option"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&sortid=$id">$threadsorts</a></li>
- <!--{/if}-->
- <!--{/loop}-->
- <!--{/if}-->
- <!--{if $_G['group']['allowpostpoll']}--><li class="poll"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&special=1">{lang post_newthreadpoll}</a></li><!--{/if}-->
- <!--{if $_G['group']['allowpostreward']}--><li class="reward"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&special=3">{lang post_newthreadreward}</a></li><!--{/if}-->
- <!--{if $_G['group']['allowpostdebate']}--><li class="debate"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&special=5">{lang post_newthreaddebate}</a></li><!--{/if}-->
- <!--{if $_G['group']['allowpostactivity']}--><li class="activity"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&special=4">{lang post_newthreadactivity}</a></li><!--{/if}-->
- <!--{if $_G['group']['allowposttrade']}--><li class="trade"><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&special=2">{lang post_newthreadtrade}</a></li><!--{/if}-->
- <!--{if $_G['setting']['threadplugins']}-->
- <!--{loop $_G['forum']['threadplugin'] $tpid}-->
- <!--{if array_key_exists($tpid, $_G['setting']['threadplugins']) && @in_array($tpid, $_G['group']['allowthreadplugin'])}-->
- <li class="popupmenu_option"{if $_G['setting']['threadplugins'][$tpid][icon]} style="background-image:url($_G['setting']['threadplugins'][$tpid][icon])"{/if}><a href="forum.php?mod=post&action=newthread&fid=$_G[fid]&specialextra=$tpid">{$_G['setting']['threadplugins'][$tpid][name]}</a></li>
- <!--{/if}-->
- <!--{/loop}-->
- <!--{/if}-->
- </ul>
- <!--{/if}-->
-
- <!--{if $modmenu['post']}-->
- <div id="mdly" class="fwinmask" style="display:none;">
- <table cellspacing="0" cellpadding="0" class="fwin">
- <tr>
- <td class="t_l"></td>
- <td class="t_c"></td>
- <td class="t_r"></td>
- </tr>
- <tr>
- <td class="m_l"> </td>
- <td class="m_c">
- <div class="f_c">
- <div class="c">
- <h3>{lang admin_select} <strong id="mdct" class="xi1"></strong> {lang piece}: </h3>
- <!--{if $_G['forum']['ismoderator']}-->
- <!--{if $_G['group']['allowwarnpost']}--><a href="javascript:;" onclick="modaction('warn')">{lang modmenu_warn}</a><span class="pipe">|</span><!--{/if}-->
- <!--{if $_G['group']['allowbanpost']}--><a href="javascript:;" onclick="modaction('banpost')">{lang modmenu_banpost}</a><span class="pipe">|</span><!--{/if}-->
- <!--{if $_G['group']['allowdelpost'] && !$rushreply}--><a href="javascript:;" onclick="modaction('delpost')">{lang modmenu_deletepost}</a><span class="pipe">|</span><!--{/if}-->
- <!--{if $_G['group']['allowstickreply']}--><a href="javascript:;" onclick="modaction('stickreply')">{lang modmenu_stickpost}</a><span class="pipe">|</span><!--{/if}-->
- <!--{/if}-->
- <!--{if $_G['forum_thread']['pushedaid'] && $allowpostarticle}--><a href="javascript:;" onclick="modaction('pushplus', '', 'aid=$_G[forum_thread][pushedaid]', 'portal.php?mod=portalcp&ac=article&op=pushplus')">{lang modmenu_pushplus}</a><span class="pipe">|</span><!--{/if}-->
- </div>
- </div>
- </td>
- <td class="m_r"></td>
- </tr>
- <tr>
- <td class="b_l"></td>
- <td class="b_c"></td>
- <td class="b_r"></td>
- </tr>
- </table>
- </div>
- <!--{/if}-->
-
- <!--{if $modmenu['thread']}-->
- <div id="pt" class="bm cl" style="height:60px;">
- <!--{eval $modopt=0;}-->
- <!--{if $_G['forum']['ismoderator']}-->
- <!--{if $_G['group']['allowdelpost']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modthreads(3, 'delete')">{lang modmenu_deletethread}</a><span class="pipe">|</span><!--{/if}-->
- <!--{if $_G['group']['allowbumpthread'] && !$_G['forum_thread']['is_archived']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modthreads(3, 'down')">{lang modmenu_updown}</a><span class="pipe">|</span><!--{/if}-->
- <!--{if $_G['group']['allowstickthread'] && ($_G['forum_thread']['displayorder'] <= 3 || $_G['adminid'] == 1) && !$_G['forum_thread']['is_archived']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modthreads(1, 'stick')">{lang modmenu_stickthread}</a><span class="pipe">|</span><!--{/if}-->
- <!--{if $_G['group']['allowhighlightthread'] && !$_G['forum_thread']['is_archived']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modthreads(1, 'highlight')">{lang modmenu_highlight}</a><span class="pipe">|</span><!--{/if}-->
- <!--{if $_G['group']['allowdigestthread'] && !$_G['forum_thread']['is_archived']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modthreads(1, 'digest')">{lang modmenu_digestpost}</a><span class="pipe">|</span><!--{/if}-->
- <!--{if $_G['group']['allowrecommendthread'] && !empty($_G['forum']['modrecommend']['open']) && $_G['forum']['modrecommend']['sort'] != 1 && !$_G['forum_thread']['is_archived']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modthreads(1, 'recommend')">{lang modmenu_recommend}</a><span class="pipe">|</span><!--{/if}-->
- <!--{if $_G['group']['allowstampthread'] && !$_G['forum_thread']['is_archived']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('stamp')">{lang modmenu_stamp}</a><span class="pipe">|</span><!--{/if}-->
- <!--{if $_G['group']['allowstamplist'] && !$_G['forum_thread']['is_archived']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('stamplist')">{lang modmenu_icon}</a><span class="pipe">|</span><!--{/if}-->
- <!--{if $_G['group']['allowclosethread'] && !$_G['forum_thread']['is_archived'] && $_G['forum']['status'] != 3}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modthreads(4)"><!--{if !$_G['forum_thread']['closed']}-->{lang modmenu_switch_off}<!--{else}-->{lang modmenu_switch_on}<!--{/if}--></a><span class="pipe">|</span><!--{/if}-->
- <!--{if $_G['group']['allowmovethread'] && !$_G['forum_thread']['is_archived'] && $_G['forum']['status'] != 3}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modthreads(2, 'move')">{lang modmenu_move}</a><span class="pipe">|</span><!--{/if}-->
- <!--{if $_G['group']['allowedittypethread'] && !$_G['forum_thread']['is_archived']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modthreads(2, 'type')">{lang modmenu_type}</a><span class="pipe">|</span><!--{/if}-->
- <!--{if !$_G['forum_thread']['special'] && !$_G['forum_thread']['is_archived']}-->
- <!--{if $_G['group']['allowcopythread'] && $_G['forum']['status'] != 3}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('copy')">{lang modmenu_copy}</a><span class="pipe">|</span><!--{/if}-->
- <!--{if $_G['group']['allowmergethread'] && $_G['forum']['status'] != 3}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('merge')">{lang modmenu_merge}</a><span class="pipe">|</span><!--{/if}-->
- <!--{if $_G['group']['allowrefund'] && $_G['forum_thread']['price'] > 0}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('refund')">{lang modmenu_restore}</a><span class="pipe">|</span><!--{/if}-->
- <!--{/if}-->
- <!--{if $_G['group']['allowsplitthread'] && !$_G['forum_thread']['is_archived'] && $_G['forum']['status'] != 3}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('split')">{lang modmenu_split}</a><span class="pipe">|</span><!--{/if}-->
- <!--{if $_G['group']['allowrepairthread'] && !$_G['forum_thread']['is_archived']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('repair')">{lang modmenu_repair}</a><span class="pipe">|</span><!--{/if}-->
- <!--{if $_G['forum_thread']['is_archived'] && $_G['adminid'] == 1}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('restore', '', 'archiveid={$_G[forum_thread][archiveid]}')">{lang modmenu_archive}</a><span class="pipe">|</span><!--{/if}-->
- <!--{if $_G['forum_firstpid']}-->
- <!--{if $_G['group']['allowwarnpost']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('warn', '$_G[forum_firstpid]')">{lang modmenu_warn}</a><span class="pipe">|</span><!--{/if}-->
- <!--{if $_G['group']['allowbanpost']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('banpost', '$_G[forum_firstpid]')">{lang modmenu_banthread}</a><span class="pipe">|</span><!--{/if}-->
- <!--{/if}-->
- <!--{if $_G['group']['allowremovereward'] && $_G['forum_thread']['special'] == 3 && !$_G['forum_thread']['is_archived']}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('removereward')">{lang modmenu_removereward}</a><span class="pipe">|</span><!--{/if}-->
- <!--{if $_G['forum']['status'] == 3 && in_array($_G['adminid'], array('1','2')) && $_G['forum_thread']['closed'] < 1}--><a href="javascript:;" onclick="modthreads(5, 'recommend_group');return false;">{lang modmenu_grouprecommend}</a><span class="pipe">|</span><!--{/if}-->
- <!--{if $_G['group']['allowmanagetag']}--><a href="javascript:;" onclick="showWindow('mods', 'forum.php?mod=tag&op=manage&tid=$_G[tid]', 'get', 0)">{lang post_tag}</a><span class="pipe">|</span><!--{/if}-->
- <!--{/if}-->
- <!--{if $allowpusharticle && $allowpostarticle}--><!--{eval $modopt++}--><a href="javascript:;" onclick="modaction('push', '$_G[forum_firstpid]', 'op=push&idtype=tid&id=$_G[tid]', 'portal.php?mod=portalcp&ac=index')">{lang modmenu_pusharticle}</a><span class="pipe">|</span><!--{/if}-->
- <!--{hook/viewthread_modoption}-->
- </div>
- <!--{/if}-->
-
-
- <div id="postlist">
- <!--{if $_G['forum_thread']['replycredit'] > 0 || $rushreply}-->
- <div id="pl_top">
- <table cellspacing="0" cellpadding="0">
- <tr class="ad">
- <td class="pls"></td>
-
- </tr>
- <!--{if $_G['forum_thread']['replycredit'] > 0 }-->
- <tr>
- <td class="pls vm ptm">
- <img src="{IMGDIR}/thread_prize_s.png" class="hm" alt="{lang replycredit}" />
- <strong>{$_G['forum_thread']['replycredit']} {$_G['setting']['extcredits'][$_G[forum_thread][replycredit_rule][extcreditstype]][unit]}{$_G['setting']['extcredits'][$_G[forum_thread][replycredit_rule][extcreditstype]][title]}</strong>
- </td>
- </tr>
- <!--{if $rushreply}-->
- <tr class="ad">
- <td class="pls"></td>
- </tr>
- <!--{/if}-->
- <!--{/if}-->
-
- <!--{if $rushreply}-->
- <tr>
- <td class="pls vm ptm">
- <img src="{IMGDIR}/rushreply_s.png" class="vm" alt="{lang rushreply}" />
- <strong>{lang rushreply}</strong>
- </td>
- </tr>
- <!--{/if}-->
- </table>
- </div>
- <!--{/if}-->
-
- <!--{hook/viewthread_title_row}-->
-
- <!--{eval $postcount = 0;}-->
- <!--{loop $postlist $post}-->
- <!--{if $post['invisible'] != -5}-->
- <!--{if $rushreply && $_G['gp_checkrush'] && $post['rewardfloor'] != 1}-->
- <!--{eval continue;}-->
- <!--{/if}-->
- <div id="post_$post[pid]" class="cl">
- <!--{subtemplate forum/viewthread_node}-->
- </div>
- <!--{eval $postcount++;}-->
- <!--{/if}-->
- <!--{/loop}-->
-
- <div id="postlistreply" class="pl cl"><div id="post_new" class="viewthread_table" style="display: none"></div></div>
- </div>
-
- <!--{if $modmenu['thread']}-->
- <div class="xi2">
- <script type="text/javascript">
- $('modmenu').lastChild.style.visibility = 'hidden';
- document.write($('modmenu').innerHTML);
- </script>
- </div>
- <!--{/if}-->
-
- <form method="post" autocomplete="off" name="modactions" id="modactions">
- <input type="hidden" name="formhash" value="{FORMHASH}" />
- <input type="hidden" name="optgroup" />
- <input type="hidden" name="operation" />
- <input type="hidden" name="listextra" value="$_G[gp_extra]" />
- <input type="hidden" name="page" value="$page" />
- </form>
-
- $_G['forum_tagscript']
-
- <div class="pgs mtm mbm cl">
- $multipage
- <span class="pgb y"{if $_G['setting']['visitedforums']} id="visitedforumstmp" onmouseover="$('visitedforums').id = 'visitedforumstmp';this.id = 'visitedforums';showMenu({'ctrlid':this.id,'pos':'21'})"{/if}><a href="$upnavlink">{lang return_forumdisplay}</a></span>
- </div>
-
- <!--{hook/viewthread_middle}-->
- <!--[diy=diyfastposttop]--><div id="diyfastposttop" class="area"></div><!--[/diy]-->
- <!--{if $_G['setting']['fastpost'] && ($allowpostreply || !$_G['uid']) && !$_G['forum_thread']['archiveid'] && ($_G['forum']['status'] != 3 || $_G['isgroupuser'])}-->
- <!--{subtemplate forum/viewthread_fastpost}-->
- <!--{/if}-->
-
- <!--{hook/viewthread_bottom}-->
-
- <!--{if ($_G['setting']['visitedforums'] || $oldthreads) && $_G['forum']['status'] != 3}-->
- <div id="visitedforums_menu" class="{if $oldthreads}visited_w {/if}p_pop blk cl" style="display: none;">
- <table cellspacing="0" cellpadding="0">
- <tr>
- <!--{if $oldthreads}-->
- <td id="v_threads">
- <h3 class="mbn pbn bbda xg1">{lang viewd_threads}</h3>
- <ul class="xl xl1">
- <!--{loop $oldthreads $oldtid $oldsubject}-->
- <li><a href="forum.php?mod=viewthread&tid=$oldtid">$oldsubject</a></li>
- <!--{/loop}-->
- </ul>
- </td>
- <!--{/if}-->
- <!--{if $_G['setting']['visitedforums']}-->
- <td id="v_forums">
- <h3 class="mbn pbn bbda xg1">{lang viewed_forums}</h3>
- <ul class="xl xl1">
- $_G['setting']['visitedforums']
- </ul>
- </td>
- <!--{/if}-->
- </tr>
- </table>
- </div>
- <!--{/if}-->
- <!--{if $_G['medal_list']}-->
- <!--{loop $_G['medal_list'] $medalid $medal}-->
- <div id="md_{$medalid}_menu" class="tip tip_4" style="display: none;">
- <div class="tip_horn"></div>
- <div class="tip_c">
- <h4>$medal[name]</h4>
- <p>$medal[description]</p>
- </div>
- </div>
- <!--{/loop}-->
- <!--{/if}-->
-
- <!--{if !IS_ROBOT && !empty($_G[setting][lazyload])}-->
- <script type="text/javascript">
- new lazyload();
- </script>
- <!--{/if}-->
-
- <!--{if !IS_ROBOT && $_G['setting']['threadmaxpages'] > 1}-->
- <script type="text/javascript">document.onkeyup = function(e){keyPageScroll(e, <!--{if $page > 1}-->1<!--{else}-->0<!--{/if}-->, <!--{if $page < $_G['setting']['threadmaxpages'] && $page < $_G['page_next']}-->1<!--{else}-->0<!--{/if}-->, 'forum.php?mod=viewthread&tid=$_G[tid]<!--{if $_G[gp_authorid]}-->&authorid=$_G[gp_authorid]<!--{/if}-->', $page);}</script>
- <!--{/if}-->
- </div>
- <div class="sd" id="sd">
- <div class="bm">
- <div class="bm_c cl">
- <!--{if !$_G['forum_thread']['is_archived']}-->
- <a class="eis_newspecial" id="newspecialtmp" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu({'ctrlid':this.id})"{if !$_G['forum']['allowspecialonly']} onclick="showWindow('newthread', 'forum.php?mod=post&action=newthread&fid=$_G[fid]')"{else} onclick="location.href='forum.php?mod=post&action=newthread&fid=$_G[fid]';return false;"{/if} href="javascript:;" title ="{lang send_posts}">Новая</a>
- <!--{/if}-->
- <!--{if $allowpostreply && !$_G['forum_thread']['archiveid']}-->
- <a class="eis_reply" id="post_replytmp" onclick="showWindow('reply', 'forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]')" href="javascript:;" title="{lang reply}">{lang reply}</a>
- <!--{else}-->
- <a class="eis_reply" id="post_replytmp" onclick="showWindow('reply', 'forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]')" href="javascript:;" title="{lang reply}">{lang reply}</a>
- <!--{/if}-->
- </div>
- </div>
-
-
-
- <!--{subtemplate common/eis_dz}-->
-
- </div>
- </div>
- <div class="wp mtn">
- <!--[diy=diy3]--><div id="diy3" class="area"></div><!--[/diy]-->
- </div>
- <!--{if $_G['relatedlinks']}-->
- <script type="text/javascript">
- var relatedlink = [];
- <!--{loop $_G['relatedlinks'] $key $link}-->
- relatedlink[$key] = {'sname':'$link[name]', 'surl':'$link[url]'};
- <!--{/loop}-->
- relatedlinks('postmessage_$_G[forum_firstpid]');
- </script>
- <!--{/if}-->
- <!--{if !empty($_G['cookie']['clearUserdata']) && $_G['cookie']['clearUserdata'] == 'forum'}-->
- <script type="text/javascript">saveUserdata('forum', '')</script>
- <!--{/if}-->
- <!--{if $my_search_se_url}-->
- <script type="text/javascript" language="utf-8" src="$my_search_se_url"></script>
- <!--{/if}-->
- <!--{subtemplate common/footer}-->
复制代码
|