:: กรุณาอย่าปั่นพีอาลิงก์ หากพบเจอลบยูสเซอร์ โดยไม่มีการชี้แจง ::
0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้
<div style="width: 100%;" class="topbar"> <table cellspacing="0" cellpadding="0" border="0" style="width:100%;"> <tr> <td style="padding:0;" width="1" height="120">'; if(!($settings['logo_not_show'])) { if (empty($settings['header_logo_url'])) echo ' <a href="', $scripturl, '"><img src="', $settings['images_url'] . '/'. $settings['theme_main_color'], '/logo.jpg" style="margin: 0px;" alt="', $context['forum_name'], '" title="', $context['forum_name'], '"/></a>'; else echo ' <a href="', $scripturl, '"><img src="', $settings['header_logo_url'], '" style="margin: 0px;" alt="', $context['forum_name'], '" /></a>'; } echo ' </td>'; if (!empty($settings['show_name_near_logo'])) echo ' <td> <span style="font-family: \'Trebuchet MS\', Verdana, sans-serif; font-size: 150%; color: white; padding-top: 30px; padding-left: 30px; white-space: normal;">', $context['forum_name'], '</span> </td>'; if (!empty($settings['top_right_html'])) echo ' <td valign="top" align="right"> <div style="color: white; padding-top: 10px; float:right;">', $settings['top_right_html'], '</div> </td>'; echo ' </tr> </table> </div>
<div style="width: 100%;" class="topbar"> <table cellspacing="0" cellpadding="0" border="0" style="width:100%;"> <tr> <td style="padding:0;" width="1" height="120"> <img src="', $settings['images_url'] . '/'. $settings['theme_main_color'], '/logo.jpg" style="margin: 0px;" alt="', $context['forum_name'], '" title="', $context['forum_name'], '"/></td> </tr> </table> </div>
<td style="padding:0;" width="1" height="120"> <img src="', $settings['images_url'] . '/'. $settings['theme_main_color'], '/logo.jpg" style="margin: 0px;" alt="', $context['forum_name'], '" title="', $context['forum_name'], '"/></td>
<td style="padding:0;" width="1" height="120"> <script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="ความกว้าง" height="ความสูง"> <param name="movie" value="' . $settings['images_url'] . '/ชื่อไฟล์.swf" /> <param name="quality" value="high" /> <embed src="' . $settings['images_url'] . '/ชื่อไฟล์.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" width="ความกว้าง" height="ความสูง"></embed> </object></td>
/* The main body of the entire forum. */body{ margin: 0px; padding: 0px;}
/* The main body of the entire forum. */body{ margin: 10px auto 0 auto; padding: 0px;}
// Show a random news item? (or you could pick one from news_lines...) if (!empty($settings['enable_news'])) echo ' <td valign="middle" height="30" class="smalltext" style="padding-left:10px; padding-top:0px; padding-bottom:0px;"> <b>', $txt[102], '</b>: ', $context['random_news_line'], ' </td> '; echo ' <td valign="middle" height="30" style="padding-top:0px; padding-bottom:0px; padding-right:20px;" class="middletext" align="right"> <form action="', $scripturl, '?action=search2" method="post" accept-charset="', $context['character_set'], '" style="margin: 0px;"> <a href="', $scripturl, '?action=search;advanced"><img src="'.$settings['images_url'].'/filter.gif" align="middle" style="margin: 0px;" alt="" /></a> <input type="text" name="search" value="" style="width: 190px;" /> <input type="submit" name="submit" value="', $txt[182], '" style="width: 11ex;" /> <input type="hidden" name="advanced" value="0" />'; // Search within current topic? if (!empty($context['current_topic'])) echo ' <input type="hidden" name="topic" value="', $context['current_topic'], '" />'; // If we're on a certain board, limit it to this board ;). elseif (!empty($context['current_board'])) echo ' <input type="hidden" name="brd[', $context['current_board'], ']" value="', $context['current_board'], '" />'; echo ' </form> </td> </tr> </table>
//Start show search and languages bar echo ' <td valign="middle" height="30" style="padding: 0 0 0 20px;" class="middletext" align="left"> <form action="', $scripturl, '?action=search2" method="post" accept-charset="', $context['character_set'], '" style="margin: 0px;"> <input type="submit" name="submit" value="', $txt[182], '" style="width: 11ex;" /> <input type="text" name="search" value="" style="width: 190px;" /> <input type="hidden" name="advanced" value="0" /> <a href="', $scripturl, '?action=search;advanced"><img src="'.$settings['images_url'].'/filter.gif" align="middle" style="margin: 0px;" alt="" /></a>'; // Search within current topic? if (!empty($context['current_topic'])) echo ' <input type="hidden" name="topic" value="', $context['current_topic'], '" />'; // If we're on a certain board, limit it to this board ;). elseif (!empty($context['current_board'])) echo ' <input type="hidden" name="brd[', $context['current_board'], ']" value="', $context['current_board'], '" />'; echo ' </form> </td> <td valign="middle" height="30" style="padding: 0 20px 0 0;" class="middletext" align="right"> <b>Languages </b> <a href="javascript:window.location += (window.location.href.indexOf(\'?\') != -1 ? \';\' : \'?\') + \'language=thai-utf8\';void(0);"><img src="' . $settings['images_url'] . '/th.gif" border="0" title="Thai"/></a> <a href="javascript:window.location += (window.location.href.indexOf(\'?\') != -1 ? \';\' : \'?\') + \'language=english\';void(0);"><img src="' . $settings['images_url'] . '/gb.gif" border="0" title="English"/></a> </td> </tr> </table>
// Show a random news item? (or you could pick one from news_lines...) if (!empty($settings['enable_news'])) echo ' <td valign="middle" height="30" class="smalltext" style="padding-left:10px; padding-top:0px; padding-bottom:0px;"> <b>', $txt[102], '</b>: ', $context['random_news_line'], ' </td>
array( 'id' => 'enable_news', 'label' => $txt[379], ),
/*array( 'id' => 'enable_news', 'label' => $txt[379], ),*/
.menubg , tr.menubg td{ margin: 0px; font-size: 80%; font-weight:bold; text-transform: uppercase;}.menubg2 , tr.menubg2 td{ margin: 0px; font-size: 80%; font-weight:bold; text-transform: uppercase;}
.menubg , tr.menubg td{ margin: 0px; font-size: 14px; font-family: Tahoma, Verdana, Arial, "Arial Unicode MS", "Bitstream Vera Sans", "Lucida Grande", Helvetica, sans-serif; font-weight:bold; text-transform: uppercase;}.menubg2 , tr.menubg2 td{ margin: 0px; font-size: 14px; font-family: Tahoma, Verdana, Arial, "Arial Unicode MS", "Bitstream Vera Sans", "Lucida Grande", Helvetica, sans-serif; font-weight:bold; text-transform: uppercase;}
<div class="menubar"> <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr>'; // Show the menu here, according to the menu sub template.
<div class="menubar"> <table align="center" border="0" cellspacing="0" cellpadding="0" width="80%"> <tr>'; // Show the menu here, according to the menu sub template.
// Dummy place holder, to set the height echo' <td align="center" class="menubg" height="30" width="20"> </td>'; // Show the [home] button. echo' <td align="center" class="menubg' , $current_action == 'home' ? '2' : '' , '"> <a href="', $scripturl, '">' , $txt[103] , '</a> </td>'; // Show the [help] button. echo' <td align="center" class="menubg' , $current_action == 'help' ? '2' : '' , '"> <a href="', $scripturl, '?action=help">' , $txt[119] , '</a> </td>'; // How about the [search] button? if ($context['allow_search']) echo' <td align="center" class="menubg' , $current_action == 'search' ? '2' : '' , '"> <a href="', $scripturl, '?action=search">' , $txt[182] , '</a> </td>'; // Is the user allowed to administrate at all? ([admin]) if ($context['allow_admin']) echo' <td align="center" class="menubg' , $current_action == 'admin' ? '2' : '' , '"> <a href="', $scripturl, '?action=admin">' , $txt[2] , '</a> </td>'; // Edit Profile... [profile] if ($context['allow_edit_profile']) echo' <td align="center" class="menubg' , $current_action == 'profile' ? '2' : '' , '"> <a href="', $scripturl, '?action=profile">' , $txt[79] , '</a> </td>'; // Go to PM center... [pm] if ($context['user']['is_logged'] && $context['allow_pm']) echo' <td align="center" class="menubg' , $current_action == 'pm' ? '2' : '' , '"> <a href="', $scripturl, '?action=pm">' , $txt['pm_short'] , ' ', $context['user']['unread_messages'] > 0 ? '[<strong>'. $context['user']['unread_messages'] . '</strong>]' : '' , '</a> </td>'; // The [calendar]! if ($context['allow_calendar']) echo' <td align="center" class="menubg' , $current_action == 'calendar' ? '2' : '' , '"> <a href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '</a> </td>'; // the [member] list button if ($context['allow_memberlist']) echo' <td align="center" class="menubg' , $current_action == 'mlist' ? '2' : '' , '"> <a href="', $scripturl, '?action=mlist">' , $txt[331] , '</a> </td>'; // If the user is a guest, show [login] button. if ($context['user']['is_guest']) echo' <td align="center" class="menubg' , $current_action == 'login' ? '2' : '' , '"> <a href="', $scripturl, '?action=login">' , $txt[34] , '</a> </td>'; // If the user is a guest, also show [register] button. if ($context['user']['is_guest']) echo' <td align="center" class="menubg' , $current_action == 'register' ? '2' : '' , '"> <a href="', $scripturl, '?action=register">' , $txt[97] , '</a> </td>'; // Otherwise, they might want to [logout]... if ($context['user']['is_logged']) echo' <td align="center" class="menubg' , $current_action == 'logout' ? '2' : '' , '"> <a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">' , $txt[108] , '</a> </td>'; // Dummy place holder, to end things echo' <td align="center" class="menubg" width="20"> </td>';
// Show the start of the bottom section. echo ' <td width="20" align="left" valign="middle"> </td>'; // Show the [home] button. echo' <td width="70" align="center"> <a href="..index.php"><img src="' . $settings['images_url'] . '/home.png" onload="fixPNG(this)" title="' , $txt[103] , '" /></a> </td>'; // Show the [forum] button. echo' <td width="70" align="center"> <a href="', $scripturl , '"><img src="' . $settings['images_url'] . '/forum.png" onload="fixPNG(this)" title="' , $txt[003] , '" /></a> </td>'; // Show the [help] button. echo' <td width="70" align="center"> <a href="', $scripturl, '?action=help"><img src="' . $settings['images_url'] . '/help.png" onload="fixPNG(this)" title="' , $txt[119] , '" /></a> </td>'; // Is the user allowed to administrate at all? ([admin]) if ($context['allow_admin']) echo' <td width="70" align="center"> <a href="', $scripturl, '?action=admin"><img src="' . $settings['images_url'] . '/admin.png" onload="fixPNG(this)" title="' , $txt[2] , '" /></a> </td>'; // Edit Profile... [profile] if ($context['allow_edit_profile']) echo' <td width="70" align="center"> <a href="', $scripturl, '?action=usercp;u=',$ID_MEMBER,'"><img src="' . $settings['images_url'] . '/profile.png" onload="fixPNG(this)" title="' , $txt[79] , '" /></a> </td>'; // Go to PM center... [pm] if ($context['user']['is_logged'] && $context['allow_pm']) echo' <td width="70" align="center"> <a href="', $scripturl, '?action=pm"><img src="' . $settings['images_url'] . '/pm.png" onload="fixPNG(this)" title="' , $txt['pm_short'] , '" /></a> </td>'; // The [calendar]! if ($context['allow_calendar']) echo' <td width="70" align="center"> <a href="', $scripturl, '?action=calendar"><img src="' . $settings['images_url'] . '/calendar.png" onload="fixPNG(this)" title="' , $txt['calendar24'] , '" /></a> </td>'; // the [member] list button if ($context['allow_memberlist']) echo' <td width="70" align="center"> <a href="', $scripturl, '?action=mlist"><img src="' . $settings['images_url'] . '/members.png" onload="fixPNG(this)" title="' , $txt[331] , '" /></a> </td>'; // If the user is a guest, show [login] button. if ($context['user']['is_guest']) echo' <td width="70" align="center"> <a href="', $scripturl, '?action=login"><img src="' . $settings['images_url'] . '/login.png" onload="fixPNG(this)" title="' , $txt[34] , '" /></a> </td>'; // If the user is a guest, also show [register] button. if ($context['user']['is_guest']) echo' <td width="70" align="center"> <a href="', $scripturl, '?action=register"><img src="' . $settings['images_url'] . '/register.png" onload="fixPNG(this)" title="' , $txt[97] , '" /></a> </td>'; // Otherwise, they might want to [logout]... if ($context['user']['is_logged']) echo' <td width="70" align="center"> <a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '"><img src="' . $settings['images_url'] . '/logout.png" onload="fixPNG(this)" title="' , $txt[108] , '" /></a> </td>'; // The end of tab section. echo ' <td width="20" align="right"> </td>';
.menubar{ width: 100%; height: 30px;}
.menubar{ width: 100%; height: 55px; padding: 5px 0 5px 0;}
/*Correctly handle PNG transparency in Win IE 5.5 & 6.http://homepage.ntlworld.com/bobosola. Updated 18-Jan-2006.Use in <HEAD> with DEFER keyword wrapped in conditional comments:<!--[if lt IE 7]><script defer type="text/javascript" src="pngfix.js"></script><![endif]-->*/if (is_ie5up && !is_ie7up && document.body.filters){ // Find the relevant images to act upon. for (var i = 0; i < document.images.length; i++) { var img = document.images[i]; var imgName = img.src.toLowerCase(); if (img.className && img.className.indexOf("png_fix") != -1 && imgName.substr(imgName.length - 3, imgName.length) == "png") { var newImageHTML = '<span'; newImageHTML += img.id ? ' id="' + img.id + '"' : ''; newImageHTML += img.title ? ' title="' + img.title + '"' : (img.alt ? ' title="' + img.alt + '"' : ''); newImageHTML += img.className ? ' class="' + img.className + '"' : ''; var ImgStyle = 'display:inline-block;' + img.style.cssText + ';'; ImgStyle += img.parentElement.href ? 'cursor:hand;' : ''; if (img.width) ImgStyle += 'width:' + img.width + 'px;height:' + img.height + 'px;'; ImgStyle += 'filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\'' + img.src + '\', sizingMethod=\'scale\');'; newImageHTML += 'style="' + ImgStyle + '"'; newImageHTML += '></span>'; img.outerHTML = newImageHTML; i--; } }}
<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script>
<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/pngfix.js"></script>
// Show the [home] button. echo' <td width="70" align="center"> <a href="..index.php"><img src="' . $settings['images_url'] . '/home.png" onload="fixPNG(this)" title="' , $txt[103] , '" /></a> </td>';
// Show the [home] button. echo' <td width="70" align="center"> <a href="..index.php"><img src="' . $settings['images_url'] . '/home.png" onload="fixPNG(this)" /><br />' , $txt[103] , '</a> </td>'; // Show the [forum] button. echo' <td width="70" align="center"> <a href="', $scripturl , '"><img src="' . $settings['images_url'] . '/forum.png" onload="fixPNG(this)" /><br />' , $txt[003] , '</a> </td>';
/* By default (td, body..) use verdana in black. */body, td, th , tr{ font-size: small; font-family: verdana, sans-serif;}
/* By default (td, body..) use verdana in black. */body, td, th , tr{ font-size: 14px; font-family: Tahoma, Verdana, Arial, "Arial Unicode MS", "Bitstream Vera Sans", "Lucida Grande", Helvetica, sans-serif;}