下面是forumdisplay.htm的源文件,快速发帖不能用 求高手帮忙看下
<!--{subtemplate common/header}-->
<!--{if $_G['forum']['ismoderator']}-->
<script type="text/javascript" src="{$_G[setting][jspath]}forum_moderate.js?{VERHASH}"></script>
<!--{/if}-->
<style id="diy_style" type="text/css"></style>
<!--[diy=diynavtop]--><div id="diynavtop" class="area"></div><!--[/diy]-->
<div id="pt" class="yzc6191">
<div class="yzc7654">
<a href="./" class="yzc2223" title="{lang homepage}">$_G[setting][bbname]</a> $navigation
</div>
<!--{if $yezicheng_openheader}-->
<div class="yzc1329">
<!--{if $_G['basescript'] == 'forum' && empty($_G['disabledwidthauto']) && $_G['setting']
['switchwidthauto']}-->
<a href="javascript:;"><font color="#FC6D02"><!--{if !$_G
['forum_widthauto']}-->{lang switch_wide}<!--{else}-->{lang switch_narrow}<!--{/if}--></font></a>
<!--{/if}-->
</div>
<!--{/if}-->
</div>
<!--{ad/text/wp a_t}-->
<!--{if $yezicheng_header_list!=1}-->
<div class="yzc7594"><!--[diy=yezicheng_ldiy1]--><div id="yezicheng_ldiy1" class="area"></div><!--[/diy]--
></div>
<!--{/if}-->
<div class="yzc0149">
<!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
</div>
<div class="boardnav{if $yezicheng_list_zlb==1}l{elseif $yezicheng_list_zlb==2}r{/if}">
<!--{if $yezicheng_list_zlb>0}-->
<!--{eval $leftside=0;}-->
<DIV class="yzc4650">
<DIV class="yzc7599">
<DIV class="yzc6269">
<!--{/if}-->
<div id="ct" class="wp cl{if $_G['forum']['allowside']} ct2{/if}"{if $leftside} style="margin-left:
{$_G['leftsidewidth_mwidth']}px"{/if}>
<!--{if $leftside}-->
<div id="sd_bdl" class="yzc2851" style="width:{$_G['setting']['leftsidewidth']}px;margin-left:-{$_G['leftsidewidth_mwidth']}
px">
<!--{hook/forumdisplay_leftside_top}-->
<!--[diy=diyleftsidetop]--><div id="diyleftsidetop" class="area"></div><!--
[/diy]-->
<div class="yzc7565" id="forumleftside">
<!--{subtemplate forum/forumdisplay_leftside}-->
</div>
<!--[diy=diyleftsidebottom]--><div id="diyleftsidebottom"
class="area"></div><!--[/diy]-->
<!--{hook/forumdisplay_leftside_bottom}-->
</div>
<!--{/if}-->
<div class="yzc8140">
<div id="forum_header">
<!--{if $_G[forum][banner] && !$subforumonly}--><img src="$_G[forum][banner]" alt="$_G
['forum'][name]" /><!--{/if}-->
<div class="yzc4162">
<div class="yzc5842"><a href="forum.php?mod=forumdisplay&fid=$_G[fid]"><img alt="$_G
['forum'][name]" src="{$_G['style']['styleimgdir']}/listpic/yezicheng_{$_G[fid]}.gif"
onerror="this.onerror=null;this.src='{$_G['style']['styleimgdir']}/yezicheng_nofid.gif'"
class="yzc6013"></a></div>
<div class="yzc8971">
<div class="yzc6870">
<h2><a href="forum.php?mod=forumdisplay&fid=$_G[fid]">$_G['forum'][name]</a></h2>
<!--{if $_G['page'] == 1 && $_G['forum']['rules']}--><span class="yzc5538"><img
id="forum_rules_{$_G[fid]}_img" src="{IMGDIR}/collapsed_{$collapse[forum_rulesimg]}.gif" title="{lang
spread}" alt="{lang spread}" /></span><!--{/if}-->
<span class="yzc2854">
<a href="home.php?mod=spacecp&ac=favorite&type=forum&id=$_G[fid]&handlekey=favoriteforum"
id="a_favorite" class="yzc5648">{lang forum_favorite}
</a>
<!--{if rssforumperm($_G['forum']) && $_G[setting][rssstatus] && !$_G['gp_archiveid'] && !
$subforumonly}--><span class="yzc4895">|</span><a href="forum.php?mod=rss&fid=$_G[fid]&auth=$rssauth"
class="yzc9218" target="_blank" title="RSS">{lang rss_subscribe_this}</a><!--{/if}-->
<!--{if !empty($forumarchive)}-->
<span class="yzc9366">|</span><a id="forumarchive" href="javascript:;"
class="yzc4500"><!--{if $_G['gp_archiveid']}-->$forumarchive[$_G
['gp_archiveid']]['displayname']<!--{else}-->{lang forum_archive}<!--{/if}--></a>
<!--{/if}-->
<!--{hook/forumdisplay_forumaction}-->
<!--{if $_G['forum']['ismoderator']}-->
<!--{if $_G['forum']['recyclebin']}-->
<span class="yzc5935">|</span><a href="{if $_G['adminid'] == 1}admin.php?
mod=forum&action=recyclebin&frames=yes{elseif $_G['forum']['ismoderator']}forum.php?
mod=modcp&action=recyclebin&fid=$_G[fid]{/if}" class="yzc4602" target="_blank">{lang forum_recyclebin}</a>
<!--{/if}-->
<!--{if $_G['forum']['ismoderator'] && !$_G['gp_archiveid']}-->
<span class="yzc9254">|</span><strong>
<!--{if $_G['forum']['status'] != 3}-->
<a href="forum.php?mod=modcp&fid=$_G[fid]">{lang modcp}</a>
<!--{else}-->
<a href="forum.php?mod=group&action=manage&fid=$_G[fid]">{lang modcp}</a>
<!--{/if}-->
</strong>
<!--{/if}-->
<!--{if $_G['forum']['modworks']}-->
<!--{if $modusernum}--><span class="yzc6510">|</span><a href="forum.php?
mod=modcp&action=moderate&op=members&fid=$_G[fid]" target="_blank">{lang mod_works_moduser_existence}</a><!
--{/if}-->
<!--{/if}-->
<!--{hook/forumdisplay_modlink}-->
<!--{/if}-->
</span>
<!--{if (!empty($_G[forum][domain]) && !empty($_G['setting']['domain']['root']['forum'])) ||
$moderatedby || ($_G['page'] == 1 && $_G['forum']['rules'])}-->
<!--{if !empty($_G[forum][domain]) && !empty($_G['setting']['domain']['root']['forum'])}-->
<p>{lang forum_domain}: <a href="[url=http://{$_g[forum][domain]}.{$_g[]http://{$_G[forum][domain]}.{$_G['setting']['domain'[/url]]
['root']['forum']}" id="group_link">http://{$_G[forum][domain]}.{$_G['setting']['domain']['root']['forum']}
</a></p>
<!--{/if}-->
<!--{/if}-->
<p><!--{if $_G[forum][description]}-->版块介绍: {$_G[forum][description]}<!--{else}-->友情提
示, 暂无介绍, 请在后台版块管理中添加!<!--{/if}--></p>
<p>{lang forum_modedby}: <!--{if $moderatedby}--><span
class="yzc9155">$moderatedby</span><!--{else}-->*空缺中*<!--{/if}--></p>
<!--{if !empty($forumarchive)}-->
<div id="forumarchive_menu" class="yzc8341" style="display:none">
<ul>
<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]">{lang
threads_all}</a></li>
<!--{loop $forumarchive $id $info}-->
<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]
&archiveid=$id">{$info['displayname']} ({$info['threads']})</a></li>
<!--{/loop}-->
</ul>
</div>
<!--{/if}-->
</div>
</div>
</div>
<!--{if $_G['page'] == 1 && $_G['forum']['rules']}-->
<div id="forum_rules_{$_G[fid]}" style="$collapse['forum_rules'];">
<div class="yzc5161"><b>本版规则:</b><br>$_G['forum'][rules]</div>
</div>
<!--{/if}-->
<!--{if $subexists && $_G['page'] == 1}--><!--{template forum/forumdisplay_subforum}--><!--
{/if}-->
</div>
<!--{hook/forumdisplay_top}-->
<div class="yzc6313">
<!--[diy=diy4]--><div id="diy4" class="area"></div><!--[/diy]-->
</div>
<!--{if !empty($_G['forum']['recommendlist'])}-->
<div class="yzc7114">
<div class="yzc3117">
<h2>{lang forum_recommend}</h2>
</div>
<div class="yzc2922">
<!--{subtemplate forum/recommend}-->
</div>
</div>
<!--{/if}-->
<!--{hook/forumdisplay_middle}-->
<!--{if !$subforumonly}-->
<!--{if $recommendgroups && !$_G['forum']['allowside']}-->
<div class="yzc8344">
<div class="yzc9576">
<span class="yzc5378"><img id="recommendgroups_{$_G[forum]
[fid]}_img" src="{IMGDIR}/$collapseimg[recommendgroups]" title="{lang spread}" alt="{lang spread}"
onclick="toggle_collapse('recommendgroups_{$_G[forum][fid]}');" /></span>
<h2>{lang recommended_groups}</h2>
</div>
<div class="yzc9565" id="recommendgroups_{$_G[forum][fid]}"
style="$collapse[recommendgroups]">
<table cellspacing="0" cellpadding="0" class="yzc1531">
<!--{loop $recommendgroups $key $group}-->
<tr {if $key != 0}class="yzc1696"{/if}>
<td class="yzc3872">
<a href="forum.php?
mod=group&fid=$group[fid]" title="$group[name]" target="_blank"><img src="$group[icon]" alt="$group[name]"
width="32" /></a>
</td>
<td>
<h2><a href="forum.php?
mod=group&fid=$group[fid]" target="_blank">$group[name]</a><span class="yzc9251"> ($group[membernum] {lang
activity_member_unit})</span></h2>
<p><!--{echo cutstr($group
[description], 100)}--></p>
</td>
<td class="yzc0539">
<span class="yzc9426">$group
[threads] {lang index_threads}</span>
</td>
<td class="yzc4016">
<div>
<!--{if is_array($group
['lastpost'])}-->
<a href="forum.php?
mod=redirect&tid=$group[lastpost][tid]&goto=lastpost#lastpost" class="yzc0473"><!--{echo cutstr($group
[lastpost][subject], 30)}--></a> <cite>$group[lastpost][dateline] <!--{if $group['lastpost']['author']}--><a
href="home.php?mod=space&username={$group[lastpost][encode_author]}">{$group[lastpost][author]}</a><!--
{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
<!--{else}-->
{lang never}
<!--{/if}-->
</div>
</td>
</tr>
<!--{/loop}-->
</table>
</div>
</div>
<!--{/if}-->
<!--{if $threadmodcount}--><div class="yzc0452"><div
class="yzc7937"><strong>{lang forum_moderate_unhandled}</strong></div></div><!--{/if}-->
<div id="pgt" class="yzc1944">
$multipage
<span class="yzc3147" {if $_G[setting][visitedforums]}
id="visitedforums"{/if} ><a href="forum.php">{lang return_index}
</a></span>
<!--{if !$_G['gp_archiveid']}--><a href="javascript:;"
id="newspecial"{if !$_G['forum']['allowspecialonly'] && empty($_G['forum']['picstyle'])}
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} title="{lang
send_posts}"><img src="{IMGDIR}/pn_post.png" alt="{lang send_posts}" /></a><!--{/if}-->
<!--{hook/forumdisplay_postbutton_top}-->
</div>
<!--{subtemplate forum/forumdisplay_list}-->
<!--{/if}-->
<!--[diy=diyfastposttop]--><div id="diyfastposttop" class="area"></div><!--[/diy]-->
<!--{template forum/forumdisplay_fastpost}-->
<!--{hook/forumdisplay_bottom}-->
<!--[diy=diyforumdisplaybottom]--><div id="diyforumdisplaybottom"
class="area"></div><!--[/diy]-->
</div>
<!--{if $_G['forum']['allowside']}-->
<div class="yzc0554">
<!--{hook/forumdisplay_side_top}-->
<!--{if !$subforumonly}-->
<div class="yzc6774">
<div class="yzc5084">
<h2>{lang their}: <!--{eval echo cutstr($_G['cache']
['forums'][$_G['forum']['fup']]['name'], 22, '')}--></h2>
</div>
<div class="yzc3207">
<ul class="yzc0488">
<!--{loop $_G['cache']['forums'] $bforum}-->
<!--{if $bforum['fup'] == $_G['forum']['fup'] &&
$bforum['status']}-->
<li><a href="forum.php?
mod=forumdisplay&fid=$bforum[fid]">$bforum['name']</a></li>
<!--{/if}-->
<!--{/loop}-->
</ul>
</div>
</div>
<!--{if $recommendgroups}-->
<div class="yzc6645">
<div class="yzc3357">
<h2>{lang recommended_groups}</h2>
</div>
<div class="yzc6145">
<ul class="yzc3600">
<!--{loop $recommendgroups $key $group}-->
<li>
<a href="forum.php?mod=group&fid=$group[fid]"
title="$group[name]" target="_blank" class="yzc9235"><img src="$group[icon]" alt="$group[name]"></a>
<p><a href="forum.php?mod=group&fid=$group[fid]"
target="_blank">$group[name]</a></p>
</li>
<!--{/loop}-->
</ul>
</div>
</div>
<!--{/if}-->
<!--{if !($_G['forum']['simple'] & 1) && $_G[setting][whosonlinestatus]}-->
<div class="yzc5479">
<!--{if $detailstatus}-->
<div class="yzc4833">
<span class="yzc0691"><a href="forum.php?
mod=forumdisplay&fid=$_G[fid]&page=$page&showoldetails=no#online"><img src="{IMGDIR}/collapsed_no.gif"
alt="" /></a></span>
<h2>{lang forum_activeusers} ($onlinenum)</h2>
</div>
<div class="yzc0919">
<ul class="yzc4364">
<!--{loop $whosonline $key $online}-->
<li>
<a href="home.php?mod=space&uid=$online
[uid]" class="yzc1192"><!--{avatar($online[uid],small)}--></a>
<!--{if $online['uid']}-->
<p><a href="home.php?
mod=space&uid=$online[uid]">$online[username]</a></p>
<!--{else}-->
<p>$online[username]</p>
<!--{/if}-->
<span>$online[lastactivity]{LF}</span>
</li>
<!--{/loop}-->
</ul>
</div>
<!--{else}-->
<div class="yzc3562">
<span class="yzc7645"><a href="forum.php?
mod=forumdisplay&fid=$_G[fid]&page=$page&showoldetails=yes#online" class="yzc1127"><img
src="{IMGDIR}/collapsed_yes.gif" alt="" /></a></span>
<h2>{lang forum_activeusers} ($onlinenum)</h2>
</div>
<!--{/if}-->
</div>
<!--{/if}-->
<!--{/if}-->
<div class="yzc2876">
<!--[diy=diy2]--><div id="diy2" class="area"></div><!--[/diy]-->
</div>
<!--{hook/forumdisplay_side_bottom}-->
</div>
<!--{/if}-->
</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="yzc1647" 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="yzc8204"><a href="forum.php?
mod=post&action=newthread&fid=$_G[fid]&extra=$extra&sortid=$id">$threadsorts</a></li>
<!--{/if}-->
<!--{/loop}-->
<!--{/if}-->
<!--{if $_G['group']['allowpostpoll']}--><li class="yzc2315"><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="yzc5529"><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="yzc3481"><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="yzc1364"><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="yzc2644"><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="yzc4269"{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 $_G['setting']['visitedforums'] || $oldthreads}-->
<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="yzc6587">{lang viewd_threads}</h3>
<ul class="yzc1816">
<!--{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="yzc0087">{lang viewed_forums}</h3>
<ul class="yzc1992">
$_G['setting']['visitedforums']
</ul>
</td>
<!--{/if}-->
</tr>
</table>
</div>
<!--{/if}-->
<!--{if $_G['setting']['threadmaxpages'] > 1 && $page && !$subforumonly}-->
<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=forumdisplay&fid={$_G[fid]}&filter={$filter}&orderby={$_G
[gp_orderby]}{$forumdisplayadd |