以下是Q吧整站代码:
<div class="flexh2">
<h2 class="pting_h2"><img src="http://imgcache.qbar.qq.com/b03style/img_default/topCorner2.png" alt="Right Corner" class="rc"/><a href="../" onclick="return parent.MAIN('home')">首页</a>-
{if Params.brdname}
<a href="../#l,${Params.brdid}" onclick='return parent.MAIN("l,${Params.brdid}")' class="hiblue">${Params.brdname}</a>-
{/if}
{if action=='add'}发帖
{elseif action=='modify'}{if Params.replyid}${Params.title} 回复{else} 主帖{/if}修改
{elseif action=='reply'}回复
{elseif action=='quote'}引用{/if}</h2>
</div>
<div class="flexBody hasLayout">
<div class="posting">
<span id="DOM_brdTR" style="display:none">
<p class="ptingbk"><span style="position:relative;top:-4px;">板块</span>
<span class="sel01"><select id="brdid">
<option>请选择板块......</option>
{for p in Boards}
{if (p.type==3 || p.type==9)}
<option {if !IsHaveWritePriv(p.brdid)} style='color:#E3E3E3'{/if} value="${p.brdid}">${p.title.toHTML()}</option>
{/if}
{/for}
</select></span><span id='D_showPrivMsg' style='margin-left:3px;display:none;color:red;font-weight:bold'>你没有本版发贴权限,请选择其他版面</span>
<span id="DOM_setTopTD" style="display:none">
{if IFP(24)}
<label for="isatp"><input type="checkbox" id="isatp" class="chbx" onclick="istp.disabled=this.checked" value="0"/>总置顶</label>
{/if}
{if IFP(23)}
<label for="istp"><input type="checkbox" id="istp" class="chbx" value="0"/>置顶</label>
{/if}
{if IFP(28)}
<label for="lock"><input type="checkbox" id="lock" class="chbx"/>锁定</label>
{/if}
</span></p>
</span>
<input type="hidden" id="atclid">
<p class="ptingTitle" id="DOM_titleTR" style="display:none">标题<input id="title" type="text" class="input1" maxlength="75" onkeyup="if (event.keyCode==13)FCKeditorAPI.GetInstance('DOM_editor').Focus()"/></p>
<p class="ptingTitle" id="DOM_replyTitleTR" style="display:none">回复<input id="DOM_replyTitle" type="text" disabled class="input1"/></p>
<div class="ptingCon">
<p class="ptingFunction">
<img src="http://imgcache.qbar.qq.com/b03style/img_default/icon_uplpic.gif" alt="插入图片" /><a href="javascript:ToInsertImage()">插入图片</a><img src="http://imgcache.qbar.qq.com/b03style/img_default/icon_qqvideo.gif" alt="插入QQVideo" /><a href="javascript:ToInsertQQVideo()">插入QQVideo</a>{if T.isIE}<img src="http://imgcache.qbar.qq.com/b03style/img_default/icon_uplpics.gif" alt="批量上传图片" /><a href="javascript:PicEditor()">批量上传图片</a> *需要安装插件,点击<a href="http://pic.qbar.qq.com/controls/QQPhotoDrawSetup.exe" target='_blank' class='strongHref'>这里</a>下载{/if}
<label for="DOM_insertBreakOnImg" title="插入小图片时建议不选择此选项">
<input type="checkbox" checked id="DOM_insertBreakOnImg" style="position:relative;top:-2px">插入图片自动换行</label>
</p>
<div id="uploader" style="display:none"></div>
<div class="ptingOper">
<textarea id="DOM_editor" class="ta1" style="display:none;height:350px"></textarea>
<span class="taHig">
<a class="href" onclick="EditorContentExpand(1)"><img onclick='EditorContentContract(1)' src="http://imgcache.qbar.qq.com/b03style/img_default/taH_more.gif" alt="增加高度" /></a>
<a class="href" onclick="EditorContentContract(1)"><img onclick='EditorContentExpand(1)' src="http://imgcache.qbar.qq.com/b03style/img_default/taH_less.gif" alt="减少高度" /></a>
</span>
<span>帖子大小<span id="D_contLenPer">0</span>%</span>
<a onclick="EditorEmptyContent()" class="href clearWord">清空内容</a>
</div>
<table class="yzm" style="width:715px">
<tr>{if cafe_info.req_verify==1&&(action=='add'||action=='quote'||action=='reply')}
<td style="width:140px"><img alt='验证码' id="D_vcodeimg" width="130" height="53" class='href' onclick="VerifyCode_Change(true)" title="看不清?点击换一张"/></td>
<td align="left"><a onclick="VerifyCode_Change(true)" class="href">看不清?换一张(不区分大小写)</a><br><input style="width:160px;" value="此处填入左侧验证码" id="D_verifyCode" class="input1" maxlength="4" onclick='VerifyCode_Focus()'/></td>
{/if}
<td align="right"><button class="com_btn" onclick='ArticleSubmit()'>发 表</button><br />[完成后按Ctrl+Enter发表]</td>
</tr>
</table>
</div>
</div>
</div>
<div class="flexBt">
<div><img src="http://imgcache.qbar.qq.com/b03style/img_default/botCorner2.png" alt="Right Corner" /></div>
</div>