-[E]xSoMax[Z]- โพสต์ 2011-12-9 13:01:45

[HTML + CSS] ใส่กรอบการ์ตูนให้ "ตอบกระทู้"

แก้ไขครั้งสุดท้ายโดย -xSoMax- เมื่อ 2012-1-8 16:53






http://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-

ตอบกระทู้กันมั่ง ไม่ใช้แต่สูปอย่างเดียว!!

อย่าลืมกด + กะกาน!เปนกำลังใจต่อปาย!....................

-[E]xSoMax[Z]- โพสต์ 2011-12-11 14:26:12

ดีมากโหลดไป 11 คนแต่การตอบคือ 0 sm913dz

k1lanchz โพสต์ 2011-12-11 15:35:36

ขอบคุณครับ

bombbnut โพสต์ 2011-12-11 15:42:20

แก้ไขครั้งสุดท้ายโดย bombbnut เมื่อ 2011-12-11 15:45

แก้ไขครั้งสุดท้ายโดย bombbnut เมื่อ 2011-12-11 15:43

sm942dzsm942dz ขอบคุณค่ะ แต่หนู งง อ่าค่ะ

static/image/สกินที่คุณใช้/drc_tbg


/drc_tbg สร้างโฟเดอร์ชื่อนี้หรอค่ะ

bombbnut โพสต์ 2011-12-11 15:52:11

ต้นฉบับโพสต์โดย bombbnut เมื่อ 2011-12-11 15:42 static/image/common/back.gif
แก้ไขครั้งสุดท้ายโดย bombbnut เมื่อ 2011-12-11 15:45

แก้ไขครั้ ...

{:972:}หนู หาอันที่พี่ให้ค้นหาไม่เจออ่าค่ะ {:979:} งงไปหมดและ อิิอ

junchan2406 โพสต์ 2011-12-11 19:11:09

ขอบคุณคะ ดูๆแล้วยังงงอยู่นิดหน่อย แต่จะเรียนรู้ไปเรื่อยๆคะ @^^@

jbservice โพสต์ 2011-12-20 17:36:08

ขอบคุณครับ

evil4revenge555 โพสต์ 2011-12-21 07:24:04

ขอบ คุน ค่ะsm901dz

huter2006 โพสต์ 2011-12-21 10:34:02

สวดยอดครับ

sm942dz

chanonjojojo โพสต์ 2012-1-3 08:24:50

ขอบคุณคับป๋ม
หน้า: [1] 2 3 4
ดูในรูปแบบกติ: [HTML + CSS] ใส่กรอบการ์ตูนให้ "ตอบกระทู้"