บ่าวกันต์
09-14-2007, 05:49 PM
http://www.esnips.com/imageable/large/c29afc19-8f5d-4559-8bbd-830215fc1bd9/?du=64d2f284-9087-102a-8e73-0017a4493db2&uu=6f45aa58-6a59-4b6d-8d6c-fc0dde586ef9&dt=1189767014000&fu=c2af3989-b185-44f5-8c4f-cfeb488a1aa0
เข้าไปที่ admincp -> Style ที่คุณใช้อยู่ในปัจจุบัน
ตามด้วย postbit -> postbit_legacy เลื่อนลงไปด้านล่างสุดของโค้ด
แล้วนำสคริปนี้ไปใส่
<if condition="!$GLOBALS['FIRSTPOSTID']">
<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]" colspan="2" align="center">
<b>::Nipa Advertisements::</b>
</td>
</tr>
<tr>
<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px">
<center>
<script type='text/javascript'><!--
np_ad_client = 'AID07083109';
np_ad_width = 600; // ความกว้าง
np_ad_height = 100; // ความสูง
np_color_border = '3399FF'; // สีขอบ
np_color_bg = 'FFFFFF'; // สีพื้น
np_color_link = '0000FF'; // สีlink
np_color_url = '008000'; // สีurl
np_color_text = '000000'; // สีรายละเอียด
np_advertise = 3; // จำนวนที่ต้องการโฆษณา
np_ad_amount = (np_advertise-1);
np_ad_format = '600x100_as';
np_ad_type = 'Rotate';
np_ad_channel = '';
//--></script>
<script type='text/javascript'
src='http://tns.nipa.co.th/pagead/show_v3adsponsors_h.js'>
</script>
</center>
</td>
</tr>
</table>
</if>
สำหรับโค้ด
<script type='text/javascript'><!--
np_ad_client = 'AID07083109';
np_ad_width = 600; // ความกว้าง
np_ad_height = 100; // ความสูง
np_color_border = '3399FF'; // สีขอบ
np_color_bg = 'FFFFFF'; // สีพื้น
np_color_link = '0000FF'; // สีlink
np_color_url = '008000'; // สีurl
np_color_text = '000000'; // สีรายละเอียด
np_advertise = 3; // จำนวนที่ต้องการโฆษณา
np_ad_amount = (np_advertise-1);
np_ad_format = '600x100_as';
np_ad_type = 'Rotate';
np_ad_channel = '';
//--></script>
<script type='text/javascript'
src='http://tns.nipa.co.th/pagead/show_v3adsponsors_h.js'>
</script>
จะเปลี่ยนไปตามที่คุณได้มาจาก NIPA อ่ะจ้าาาาาา
เข้าไปที่ admincp -> Style ที่คุณใช้อยู่ในปัจจุบัน
ตามด้วย postbit -> postbit_legacy เลื่อนลงไปด้านล่างสุดของโค้ด
แล้วนำสคริปนี้ไปใส่
<if condition="!$GLOBALS['FIRSTPOSTID']">
<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]" colspan="2" align="center">
<b>::Nipa Advertisements::</b>
</td>
</tr>
<tr>
<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px">
<center>
<script type='text/javascript'><!--
np_ad_client = 'AID07083109';
np_ad_width = 600; // ความกว้าง
np_ad_height = 100; // ความสูง
np_color_border = '3399FF'; // สีขอบ
np_color_bg = 'FFFFFF'; // สีพื้น
np_color_link = '0000FF'; // สีlink
np_color_url = '008000'; // สีurl
np_color_text = '000000'; // สีรายละเอียด
np_advertise = 3; // จำนวนที่ต้องการโฆษณา
np_ad_amount = (np_advertise-1);
np_ad_format = '600x100_as';
np_ad_type = 'Rotate';
np_ad_channel = '';
//--></script>
<script type='text/javascript'
src='http://tns.nipa.co.th/pagead/show_v3adsponsors_h.js'>
</script>
</center>
</td>
</tr>
</table>
</if>
สำหรับโค้ด
<script type='text/javascript'><!--
np_ad_client = 'AID07083109';
np_ad_width = 600; // ความกว้าง
np_ad_height = 100; // ความสูง
np_color_border = '3399FF'; // สีขอบ
np_color_bg = 'FFFFFF'; // สีพื้น
np_color_link = '0000FF'; // สีlink
np_color_url = '008000'; // สีurl
np_color_text = '000000'; // สีรายละเอียด
np_advertise = 3; // จำนวนที่ต้องการโฆษณา
np_ad_amount = (np_advertise-1);
np_ad_format = '600x100_as';
np_ad_type = 'Rotate';
np_ad_channel = '';
//--></script>
<script type='text/javascript'
src='http://tns.nipa.co.th/pagead/show_v3adsponsors_h.js'>
</script>
จะเปลี่ยนไปตามที่คุณได้มาจาก NIPA อ่ะจ้าาาาาา