[HTML + CSS] ใส่กรอบการ์ตูนให้ "ตอบกระทู้"
แก้ไขครั้งสุดท้ายโดย -xSoMax- เมื่อ 2012-1-8 16:53http://image.free.in.th/z/iu/80566674.jpg
เปิดไพล์ viewthread_fastpost.htmเข้าไปที่ /สกินที่ใช้ /forum/viewthread_fastpost.htm
ค้นหา <table cellspacing="0" cellpadding="0">
<tr>
<td class="pls">
<!--{if $_G['uid']}--><div class="avatar"><!--{echo avatar($_G['uid'])}--></div><!--{/if}-->
<!--{hook/viewthread_fastpost_side}-->
</td>
<td class="plc">
<!--{/if}-->
<!--{hook/viewthread_fastpost_content}-->
<span id="fastpostreturn"></span>
<!--{if $_G == 5 && empty($firststand)}-->
<div class="pbt cl">
<div class="ftid sslt">
<select id="stand" name="stand">
<option value="">{lang debate_viewpoint}</option>
<option value="0">{lang debate_neutral}</option>
<option value="1">{lang debate_square}</option>
<option value="2">{lang debate_opponent}</option>
</select>
</div>
<script type="text/javascript">simulateSelect('stand');</script>
</div>
<!--{/if}-->
<div class="cl">
<!--{if empty($_G) && $_G}--><div id="fastsmiliesdiv" class="y"><div id="fastsmiliesdiv_data"><div id="fastsmilies"></div></div></div><!--{/if}-->
<div{if empty($_G) && $_G} class="hasfsl"{/if} id="fastposteditor">
<div class="tedt{if !($_G == 5 && empty($firststand))} mtn{/if}">
<div class="bar">
<span class="y">
<!--{hook/viewthread_fastpost_func_extra}-->
<a href="forum.php?mod=post&action=reply&fid=$_G&tid=$_G{if $_G}&from=$_G{/if}" onclick="return switchAdvanceMode(this.href)">{lang post_advancemode}</a>
</span>
<!--{eval $seditor = array('fastpost', array('bold', 'color', 'img', 'link', 'quote', 'code', 'smilies'), !$_G['uid'] ? 1 : 0, $allowpostattach ? '<span class="pipe z">|</span><span onclick="fastUload()" class="cur1 z">{lang e_attach_title}</span>' : '');}-->
<!--{hook/viewthread_fastpost_ctrl_extra}-->
<!--{subtemplate common/seditor}-->
</div>
<div class="area">
<!--{if $allowpostreply}-->
<textarea rows="6" cols="80" name="message" id="fastpostmessage" onKeyDown="seditor_ctlent(event, {if $_G['gp_ordertype'] != 1}'fastpostvalidate($(\'fastpostform\'))'{else}'$(\'fastpostform\').submit()'{/if});" tabindex="4" class="pt"></textarea>
<!--{elseif !$_G['uid']}-->
<div class="pt hm">{lang login_to_reply} <a href="member.php?mod=logging&action=login" onclick="showWindow('login', this.href)" class="xi2">{lang login}</a> | <a href="member.php?mod={$_G}" class="xi2">$_G['setting']['reglinkname']</a> <!--{hook/global_login_text}--></div>
<!--{/if}-->
</div>
</div>
</div>
</div>
<!--{if $allowpostreply && checkperm('seccode') && ($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 sec"><!--{subtemplate common/seccheck}--></div>
<!--{/if}-->
<!--{if $allowpostattach}-->
<script type="text/javascript">
var editorid = '';
var ATTACHNUM = {'imageused':0,'imageunused':0,'attachused':0,'attachunused':0}, ATTACHUNUSEDAID = new Array(), IMGUNUSEDAID = new Array();
</script>
<input type="hidden" name="posttime" id="posttime" value="{TIMESTAMP}" />
<div class="upfl{if empty($_G) && $_G} hasfsl{/if}">
<table cellpadding="0" cellspacing="0" border="0" id="attach_tblheader" style="display: none;">
<tr>
<td>{lang e_attach_insert}</td>
<td class="atds">{lang description}</td>
<!--{if $_G['group']['allowsetattachperm']}-->
<td class="attv">
{lang readperm}
<img src="{IMGDIR}/faq.gif" alt="Tip" class="vm" onmouseover="showTip(this)" tip="{lang post_select_usergroup_readacces}" />
</td>
<!--{/if}-->
<!--{if $_G['group']['maxprice']}--><td class="attpr">{$_G['setting']['extcredits'][$_G['setting']['creditstransextra']]}</td><!--{/if}-->
<td class="attc"></td>
</tr>
</table>
<div id="attachlist"></div>
</div>
<!--{/if}-->
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="subject" value="" />
<p class="ptm pnpost">
<button {if $allowpostreply}type="submit" {elseif !$_G['uid']}type="button" onclick="showWindow('login', 'member.php?mod=logging&action=login&guestmessage=yes')" {/if}name="replysubmit" id="fastpostsubmit" class="pn pnc vm" value="replysubmit" tabindex="5"><strong>{lang post_newreply}</strong></button>
<!--{if $_G['gp_ordertype'] != 1 && empty($_G)}-->
<label for="fastpostrefresh"><input id="fastpostrefresh" type="checkbox" class="pc" />{lang post_fastreply_gotolast}</label>
<script type="text/javascript">if(getcookie('fastpostrefresh') == 1) {$('fastpostrefresh').checked=true;}</script>
<!--{/if}-->
</p>
<!--{if empty($_G)}-->
</td>
</tr>
</table>แทนที่ <table cellspacing="0" cellpadding="0">
<tr>
<td class="pls">
<!--{if $_G['uid']}--><div class="avatar"><!--{echo avatar($_G['uid'])}--></div><!--{/if}-->
<!--{hook/viewthread_fastpost_side}-->
</td>
<td class="plc">
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="40"><img height="40" src="{IMGDIR}/drc_tbg/image/td_01.gif" width="40"/></td>
<td width:=auto background="{IMGDIR}/drc_tbg/image/td_02.gif"></td>
<td width="40"><img height="40" src="{IMGDIR}/drc_tbg/image/td_03.gif" width="40"/></td>
</tr>
<tr>
<td valign="top" background="{IMGDIR}/drc_tbg/image/td_04.gif"><img src="{IMGDIR}/drc_tbg/image/td_arrow.gif" height="80" width="40" vAlign="0" /></td>
<td background="{IMGDIR}/drc_tbg/image/td_05.gif">
<!--{/if}-->
<!--{hook/viewthread_fastpost_content}-->
<span id="fastpostreturn"></span>
<!--{if $_G == 5 && empty($firststand)}-->
<div class="pbt cl">
<div class="ftid sslt">
<select id="stand" name="stand">
<option value="">{lang debate_viewpoint}</option>
<option value="0">{lang debate_neutral}</option>
<option value="1">{lang debate_square}</option>
<option value="2">{lang debate_opponent}</option>
</select>
</div>
<script type="text/javascript">simulateSelect('stand');</script>
</div>
<!--{/if}-->
<div class="cl">
<!--{if empty($_G) && $_G}--><div id="fastsmiliesdiv" class="y"><div id="fastsmiliesdiv_data"><div id="fastsmilies"></div></div></div><!--{/if}-->
<div{if empty($_G) && $_G} class="hasfsl"{/if} id="fastposteditor">
<div class="tedt{if !($_G == 5 && empty($firststand))} mtn{/if}">
<div class="bar">
<span class="y">
<!--{hook/viewthread_fastpost_func_extra}-->
<a href="forum.php?mod=post&action=reply&fid=$_G&tid=$_G{if $_G}&from=$_G{/if}" onclick="return switchAdvanceMode(this.href)">{lang post_advancemode}</a>
</span>
<!--{eval $seditor = array('fastpost', array('bold', 'color', 'img', 'link', 'quote', 'code', 'smilies'), !$_G['uid'] ? 1 : 0, $allowpostattach ? '<span class="pipe z">|</span><span onclick="fastUload()" class="cur1 z">{lang e_attach_title}</span>' : '');}-->
<!--{hook/viewthread_fastpost_ctrl_extra}-->
<!--{subtemplate common/seditor}-->
</div>
<div class="area">
<!--{if $allowpostreply}-->
<textarea rows="6" cols="80" name="message" id="fastpostmessage" onKeyDown="seditor_ctlent(event, {if $_G['gp_ordertype'] != 1}'fastpostvalidate($(\'fastpostform\'))'{else}'$(\'fastpostform\').submit()'{/if});" tabindex="4" class="pt"></textarea>
<!--{elseif !$_G['uid']}-->
<div class="pt hm">{lang login_to_reply} <a href="member.php?mod=logging&action=login" onclick="showWindow('login', this.href)" class="xi2">{lang login}</a> | <a href="member.php?mod={$_G}" class="xi2">$_G['setting']['reglinkname']</a> <!--{hook/global_login_text}--></div>
<!--{/if}-->
</div>
</div>
</div>
</div>
<!--{if $allowpostreply && checkperm('seccode') && ($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 sec"><!--{subtemplate common/seccheck}--></div>
<!--{/if}-->
<!--{if $allowpostattach}-->
<script type="text/javascript">
var editorid = '';
var ATTACHNUM = {'imageused':0,'imageunused':0,'attachused':0,'attachunused':0}, ATTACHUNUSEDAID = new Array(), IMGUNUSEDAID = new Array();
</script>
<input type="hidden" name="posttime" id="posttime" value="{TIMESTAMP}" />
<div class="upfl{if empty($_G) && $_G} hasfsl{/if}">
<table cellpadding="0" cellspacing="0" border="0" id="attach_tblheader" style="display: none;">
<tr>
<td>{lang e_attach_insert}</td>
<td class="atds">{lang description}</td>
<!--{if $_G['group']['allowsetattachperm']}-->
<td class="attv">
{lang readperm}
<img src="{IMGDIR}/faq.gif" alt="Tip" class="vm" onmouseover="showTip(this)" tip="{lang post_select_usergroup_readacces}" />
</td>
<!--{/if}-->
<!--{if $_G['group']['maxprice']}--><td class="attpr">{$_G['setting']['extcredits'][$_G['setting']['creditstransextra']]}</td><!--{/if}-->
<td class="attc"></td>
</tr>
</table>
<div id="attachlist"></div>
</div>
<!--{/if}-->
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="subject" value="" />
<p class="ptm pnpost">
<button {if $allowpostreply}type="submit" {elseif !$_G['uid']}type="button" onclick="showWindow('login', 'member.php?mod=logging&action=login&guestmessage=yes')" {/if}name="replysubmit" id="fastpostsubmit" class="pn pnc vm" value="replysubmit" tabindex="5"><strong>{lang post_newreply}</strong></button>
<!--{if $_G['gp_ordertype'] != 1 && empty($_G)}-->
<label for="fastpostrefresh"><input id="fastpostrefresh" type="checkbox" class="pc" />{lang post_fastreply_gotolast}</label>
<script type="text/javascript">if(getcookie('fastpostrefresh') == 1) {$('fastpostrefresh').checked=true;}</script>
<!--{/if}-->
</p>
<!--{if empty($_G)}-->
<br />
</td>
<td valign="top" width="40" background="{IMGDIR}/drc_tbg/image/td_06.gif"></td>
</tr>
<tr>
<td vAlign="top" width="40"><img height="20" src="{IMGDIR}/drc_tbg/image/td_07.gif" width="40"/></td>
<td background="{IMGDIR}/drc_tbg/image/td_08.gif"></td>
<td align="right" width="40"><img height="20" src="{IMGDIR}/drc_tbg/image/td_09.gif" width="40"/></td>
</tr>
</table>
</td>
</tr>
</table>โหลดไพล์รูปไวที่ static/image/สกินที่คุณใช้/drc_tbg
http://image.free.in.th/z/iu/80566674.jpg
เสร็จแล้วอัพแคชจร้าBy -xSoMax-
ตอบกระทู้กันมั่ง ไม่ใช้แต่สูปอย่างเดียว!!
อย่าลืมกด + กะกาน!เปนกำลังใจต่อปาย!....................
ดีมากโหลดไป 11 คนแต่การตอบคือ 0 sm913dz ขอบคุณครับ แก้ไขครั้งสุดท้ายโดย bombbnut เมื่อ 2011-12-11 15:45
แก้ไขครั้งสุดท้ายโดย bombbnut เมื่อ 2011-12-11 15:43
sm942dzsm942dz ขอบคุณค่ะ แต่หนู งง อ่าค่ะ
static/image/สกินที่คุณใช้/drc_tbg
/drc_tbg สร้างโฟเดอร์ชื่อนี้หรอค่ะ ต้นฉบับโพสต์โดย bombbnut เมื่อ 2011-12-11 15:42 static/image/common/back.gif
แก้ไขครั้งสุดท้ายโดย bombbnut เมื่อ 2011-12-11 15:45
แก้ไขครั้ ...
{:972:}หนู หาอันที่พี่ให้ค้นหาไม่เจออ่าค่ะ {:979:} งงไปหมดและ อิิอ ขอบคุณคะ ดูๆแล้วยังงงอยู่นิดหน่อย แต่จะเรียนรู้ไปเรื่อยๆคะ @^^@ ขอบคุณครับ ขอบ คุน ค่ะsm901dz สวดยอดครับ
sm942dz ขอบคุณคับป๋ม