1
SMF Coding Discussion / Re: ทำยังงัยให้เอา mouseover แล้วให้ขึ้นเป็นข้อความในกระทู้อะคับ
« เมื่อ: 19/01/07, 20:49:50 »
ขอบคุณครับ
ส่วนนี้จะช่วยให้คุณสามารถดูกระทู้ทั้งหมดสมาชิกนี้ โปรดทราบว่าคุณสามารถเห็นเฉพาะกระทู้ในพื้นที่ที่คุณเข้าถึงในขณะนี้
// Show the start of the tab section.
echo '
<table height="21" cellpadding="0" cellspacing="0" border="0" style="margin-left: 10px;">
<tr>
<td class="menutab_' , $first , '"> </td>';
// Show the [home] button.
echo ($current_action=='home' || $context['browser']['is_ie4']) ? '<td class="menutab_active_' . $first . '"> </td>' : '' , '
<td valign="top" class="menutab_' , $current_action == 'home' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '">' , $txt[103] , '</a>
</td>' , $current_action == 'home' ? '<td class="menutab_active_' . $last . '"> </td>' : '';
// Show the [help] button.
echo ($current_action == 'help' || $context['browser']['is_ie4']) ? '<td class="menutab_active_' . $first . '"> </td>' : '' , '
<td valign="top" class="menutab_' , $current_action == 'help' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=help">' , $txt[119] , '</a>
</td>' , $current_action == 'help' ? '<td class="menutab_active_' . $last . '"> </td>' : '';
// How about the [search] button?
if ($context['allow_search'])
echo ($current_action == 'search' || $context['browser']['is_ie4']) ? '<td class="menutab_active_' . $first . '"> </td>' : '' , '
<td valign="top" class="menutab_' , $current_action == 'search' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=search">' , $txt[182] , '</a>
</td>' , $current_action == 'search' ? '<td class="menutab_active_' . $last . '"> </td>' : '';
// Is the user allowed to administrate at all? ([admin])
if ($context['allow_admin'])
echo ($current_action == 'admin' || $context['browser']['is_ie4']) ? '<td class="menutab_active_' . $first . '"> </td>' : '' , '
<td valign="top" class="menutab_' , $current_action == 'admin' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=admin">' , $txt[2] , '</a>
</td>' , $current_action == 'admin' ? '<td class="menutab_active_' . $last . '"> </td>' : '';