- ชื่อ: Stats on header
- ผู้เขียน: Crazy™
- นำเสนอโดย: DexMoreGroup
- ประเภท: New Feature
- รองรับ: SMF 1.1.xx
- ปรับปรุงล่าสุด: 20 มิถุนายน 2553
รายละเอียด ย้ายสถิติการใช้งานบอร์ดจากเดิมอยู่ในศูนย์กลางข้อมูล เอามาไว้ด้านบนในส่วนของ header
ตัวอย่าง
แก้ไขไฟล์:file index.template.php
ค้นหา -->>
// display the time
echo '
<td height="32" align="right">
<span class="smalltext">' , $context['current_time'], '</span>';
แก้เป็น -->>
// display the time
echo '
<td colspan="2" height="32" align="right">
<span class="smalltext">' , $context['current_time'], '</span>';
ค้นหา -->>
<tr id="upshrinkHeader"', empty($options['collapse_header']) ? '' : ' style="display: none;"', '>
<td valign="top" colspan="2">
<table width="100%" cellpadding="8" cellspacing="1" border="0" style="margin-top: 1px;">
แก้เป็น -->>
<tr id="upshrinkHeader"', empty($options['collapse_header']) ? '' : ' style="display: none;"', '>
<td valign="top" colspan="3">
<table width="100%" cellpadding="8" cellspacing="1" border="0" style="margin-top: 1px;"
ค้นหา -->>
<td colspan="2" width="100%" valign="top"><span class="middletext">';
// If the user is logged in, display stuff like their name, new messages, etc.
แก้เป็น -->>
<td width="50%" valign="top"><span class="middletext">';
// If the user is logged in, display stuff like their name, new messages, etc.
ค้นหา -->>
<span class="middletext">', $txt['smf52'], '</span>
<input type="hidden" name="hash_passwrd" value="" />
</form>';
}
echo '
</td>
</tr>
</table>
แก้เป็น -->>
ขออภัย! ท่านไม่สามารถเข้าถึงข้อมูลส่วนนี้ได้ กรุณาอ่าน เงื่อนไขการใช้งาน DexMore.Comลิงค์หัวข้อ:
http://dexmore.com/topic/369