ยินดีต้อนรับคุณ, บุคคลทั่วไป กรุณา เข้าสู่ระบบ หรือ ลงทะเบียน

เข้าสู่ระบบด้วยชื่อผู้ใช้ รหัสผ่าน และระยะเวลาในเซสชั่น

ThaiSEOBoard.comพัฒนาเว็บไซต์CMS & Free Scriptช่วยด้วยครับมือใหม่ จะลบส่วนดังกล่าวนี้ยังไงครับ [SMF]
หน้า: [1]   ลงล่าง
พิมพ์
ผู้เขียน หัวข้อ: ช่วยด้วยครับมือใหม่ จะลบส่วนดังกล่าวนี้ยังไงครับ [SMF]  (อ่าน 11938 ครั้ง)
0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้
0gaara0
Newbie
*

พลังน้ำใจ: 3
ออฟไลน์ ออฟไลน์

กระทู้: 13



ดูรายละเอียด
« เมื่อ: 03 สิงหาคม 2014, 01:52:59 »

ผมจะลบส่วนในกรอบสีแดงนี้ได้ยังไงครับ



แล้วจะขยาย header ยังไงครับ ให้สูงหรือกว้างขึ้น ผมหาโค้ดไม่เจอ นี่ไฟล์ index.template.php ของผมครับ

โค๊ด:
<?php
// Version: 2.0.1; index

/*  This theme is released on Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License,
you are free to alter the theme to suit your site, you are not allowed to 
redstribute it without approval, or remove the author copyright without paying 
for copyright removal
*/

/* This template is, perhaps, the most important template in the theme. It
contains the main template layer that displays the header and footer of
the forum, namely with main_above and main_below. It also contains the
menu sub template, which appropriately displays the menu; the init sub
template, which is there to set the theme up; (init can be missing.) and
the linktree sub template, which sorts out the link tree.

The init sub template should load any data and set any hardcoded options.

The main_above sub template is what is shown above the main content, and
should contain anything that should be shown up there.

The main_below sub template, conversely, is shown after the main content.
It should probably contain the copyright statement and some other things.

The linktree sub template should display the link tree, using the data
in the $context[&#39;linktree&#39;] variable.

The menu sub template should display all the relevant buttons the user
wants and or needs.

For more information on the templating system, please see the site at:
[url]http://www.simplemachines.org/[/url]
*/

// Initialize the template... mainly little settings.
function template_init()
{
global $context$settings$options$txt;

/* Use images from default theme when using templates from the default theme?
if this is &#39;always&#39;, images from the default theme will be used.
if this is &#39;defaults&#39;, images from the default theme will only be used with default templates.
if this is &#39;never&#39; or isn&#39;t set at all, images from the default theme will not be used. */
$settings[&#39;use_default_images&#39;] = &#39;never&#39;;

/* What document type definition is being used? (for font size and other issues.)
&#39;xhtml&#39; for an XHTML 1.0 document type definition.
&#39;html&#39; for an HTML 4.01 document type definition. */
$settings[&#39;doctype&#39;] = &#39;xhtml&#39;;

/* The version this template/theme is for.
This should probably be the version of SMF it was created for. */
$settings[&#39;theme_version&#39;] = &#39;2.0.1&#39;;

/* Set a setting that tells the theme that it can render the tabs. */
$settings[&#39;use_tabs&#39;] = true;

/* Use plain buttons - as opposed to text buttons? */
$settings[&#39;use_buttons&#39;] = true;

/* Show sticky and lock status separate from topic icons? */
$settings[&#39;separate_sticky_lock&#39;] = true;

/* Does this theme use the strict doctype? */
$settings[&#39;strict_doctype&#39;] = false;

/* Does this theme use post previews on the message index? */
$settings[&#39;message_index_preview&#39;] = false;

/* Set the following variable to true if this theme requires the optional theme strings file to be loaded. */
$settings[&#39;require_theme_strings&#39;] = true;

 if(!$context[&#39;user&#39;][&#39;is_guest&#39;] && isset($_POST[&#39;options&#39;][&#39;mypic&#39;]))
{
include_once($GLOBALS[&#39;sourcedir&#39;] . &#39;/Profile-Modify.php&#39;);
makeThemeChanges($context[&#39;user&#39;][&#39;id&#39;], $settings[&#39;theme_id&#39;]);
$options[&#39;mypic&#39;] = $_POST[&#39;options&#39;][&#39;mypic&#39;];
}
elseif ($context[&#39;user&#39;][&#39;is_guest&#39;])
{
if (isset($_POST[&#39;options&#39;][&#39;mypic&#39;]))
{
$_SESSION[&#39;mypic&#39;] = $_POST[&#39;options&#39;][&#39;mypic&#39;];
$options[&#39;mypic&#39;] = $_SESSION[&#39;mypic&#39;];
}
elseif (isset($_SESSION[&#39;mypic&#39;]))
$options[&#39;mypic&#39;] = $_SESSION[&#39;mypic&#39;];
}

}

// The main sub template above the content.
function template_html_above()
{
global $context$settings$options$scripturl$txt$modSettings;

// Show right to left and the character set for ease of translating.
echo &#39;<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"&#39;, $context[&#39;right_to_left&#39;] ? &#39; dir="rtl"&#39; : &#39;&#39;, &#39;>
<head>&#39;;

// The ?fin20 part of this link is just here to make sure browsers don&#39;t cache it wrongly.
echo &#39;
<link rel="stylesheet" type="text/css" href="&#39;, $settings[&#39;theme_url&#39;], &#39;/css/index&#39;, $context[&#39;theme_variant&#39;], &#39;.css?fin20" />&#39;;

// Some browsers need an extra stylesheet due to bugs/compatibility issues.
foreach (array(&#39;ie7&#39;, &#39;ie6&#39;, &#39;webkit&#39;) as $cssfix)
if ($context[&#39;browser&#39;][&#39;is_&#39; . $cssfix])
echo &#39;
<link rel="stylesheet" type="text/css" href="&#39;, $settings[&#39;default_theme_url&#39;], &#39;/css/&#39;, $cssfix, &#39;.css" />&#39;;

// RTL languages require an additional stylesheet.
if ($context[&#39;right_to_left&#39;])
echo &#39;
<link rel="stylesheet" type="text/css" href="&#39;, $settings[&#39;theme_url&#39;], &#39;/css/rtl.css" />&#39;;

// Here comes the JavaScript bits!
echo &#39;
<script type="text/javascript" src="&#39;, $settings[&#39;default_theme_url&#39;], &#39;/scripts/script.js?fin20"></script>
<script type="text/javascript" src="&#39;, $settings[&#39;theme_url&#39;], &#39;/scripts/theme.js?fin20"></script>
<script type="text/javascript"><!-- // --><![CDATA[
var smf_theme_url = "&#39;, $settings[&#39;theme_url&#39;], &#39;";
var smf_default_theme_url = "&#39;, $settings[&#39;default_theme_url&#39;], &#39;";
var smf_images_url = "&#39;, $settings[&#39;images_url&#39;], &#39;";
var smf_scripturl = "&#39;, $scripturl, &#39;";
var smf_iso_case_folding = &#39;, $context[&#39;server&#39;][&#39;iso_case_folding&#39;] ? &#39;true&#39; : &#39;false&#39;, &#39;;
var smf_charset = "&#39;, $context[&#39;character_set&#39;], &#39;";&#39;, $context[&#39;show_pm_popup&#39;] ? &#39;
var fPmPopup = function ()
{
if (confirm("&#39; . $txt[&#39;show_personal_messages&#39;] . &#39;"))
window.open(smf_prepareScriptUrl(smf_scripturl)   "action=pm");
}
addLoadEvent(fPmPopup);&#39; : &#39;&#39;, &#39;
var ajax_notification_text = "&#39;, $txt[&#39;ajax_in_progress&#39;], &#39;";
var ajax_notification_cancel_text = "&#39;, $txt[&#39;modify_cancel&#39;], &#39;";
// ]]></script>&#39;;

echo &#39;
<meta http-equiv="Content-Type" content="text/html; charset=&#39;, $context[&#39;character_set&#39;], &#39;" />
<meta name="description" content="&#39;, $context[&#39;page_title_html_safe&#39;], &#39;" />&#39;, !empty($context[&#39;meta_keywords&#39;]) ? &#39;
<meta name="keywords" content="&#39; . $context[&#39;meta_keywords&#39;] . &#39;" />&#39; : &#39;&#39;, &#39;
<title>&#39;, $context[&#39;page_title_html_safe&#39;], &#39;</title>&#39;;

// Please don&#39;t index these Mr Robot.
if (!empty($context[&#39;robot_no_index&#39;]))
echo &#39;
<meta name="robots" content="noindex" />&#39;;

// Present a canonical url for search engines to prevent duplicate content in their indices.
if (!empty($context[&#39;canonical_url&#39;]))
echo &#39;
<link rel="canonical" href="&#39;, $context[&#39;canonical_url&#39;], &#39;" />&#39;;

// Show all the relative links, such as help, search, contents, and the like.
echo &#39;
<link rel="help" href="&#39;, $scripturl, &#39;?action=help" />
<link rel="search" href="&#39;, $scripturl, &#39;?action=search" />
<link rel="contents" href="&#39;, $scripturl, &#39;" />&#39;;

// If RSS feeds are enabled, advertise the presence of one.
if (!empty($modSettings[&#39;xmlnews_enable&#39;]) && (!empty($modSettings[&#39;allow_guestAccess&#39;]) || $context[&#39;user&#39;][&#39;is_logged&#39;]))
echo &#39;
<link rel="alternate" type="application/rss xml" title="&#39;, $context[&#39;forum_name_html_safe&#39;], &#39; - &#39;, $txt[&#39;rss&#39;], &#39;" href="&#39;, $scripturl, &#39;?type=rss;action=.xml" />&#39;;

// If we&#39;re viewing a topic, these should be the previous and next topics, respectively.
if (!empty($context[&#39;current_topic&#39;]))
echo &#39;
<link rel="prev" href="&#39;, $scripturl, &#39;?topic=&#39;, $context[&#39;current_topic&#39;], &#39;.0;prev_next=prev" />
<link rel="next" href="&#39;, $scripturl, &#39;?topic=&#39;, $context[&#39;current_topic&#39;], &#39;.0;prev_next=next" />&#39;;

// If we&#39;re in a board, or a topic for that matter, the index will be the board&#39;s index.
if (!empty($context[&#39;current_board&#39;]))
echo &#39;
<link rel="index" href="&#39;, $scripturl, &#39;?board=&#39;, $context[&#39;current_board&#39;], &#39;.0" />&#39;;

// Output any remaining HTML headers. (from mods, maybe?)
echo $context[&#39;html_headers&#39;];

echo &#39;
</head>
<body>&#39;;
}

function template_body_above()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;

echo !empty($settings[&#39;forum_width&#39;]) ? &#39;
<div id="wrapper" style="width: &#39; . $settings[&#39;forum_width&#39;] . &#39;">&#39; : &#39;&#39;, &#39;
<div id="header" style="background: url(&#39; . $settings[&#39;images_url&#39;] . &#39;/header.jpg);">
<div id="upper_section">
<div style="float:left"><a href="&#39;, $scripturl, &#39;"><img src="&#39; . $settings[&#39;images_url&#39;] . &#39;/logo.png"></a></div>
<div>&#39;;

// If the user is logged in, display stuff like their name, new messages, etc.
if ($context[&#39;user&#39;][&#39;is_logged&#39;])
{
if (!empty($context[&#39;user&#39;][&#39;avatar&#39;]))
echo &#39;
<div style="float:right;width:80px;height:80px"><p class="" style="float:right;text-align:right">&#39;, $context[&#39;user&#39;][&#39;avatar&#39;][&#39;image&#39;], &#39;</p></div>&#39;;

echo &#39;
<div style="float:right;"><ul class="reset" style="text-align: right">
<li class="greeting">&#39;, $txt[&#39;hello_member_ndt&#39;], &#39; <span>&#39;, $context[&#39;user&#39;][&#39;name&#39;], &#39;</span></li>
<li><a href="&#39;, $scripturl, &#39;?action=unread">&#39;, $txt[&#39;unread_since_visit&#39;], &#39;</a></li>
<li><a href="&#39;, $scripturl, &#39;?action=unreadreplies">&#39;, $txt[&#39;show_unread_replies&#39;], &#39;</a></li>&#39;;

// Is the forum in maintenance mode?
if ($context[&#39;in_maintenance&#39;] && $context[&#39;user&#39;][&#39;is_admin&#39;])
echo &#39;
<li class="notice">&#39;, $txt[&#39;maintain_mode_on&#39;], &#39;</li>&#39;;

// Are there any members waiting for approval?
if (!empty($context[&#39;unapproved_members&#39;]))
echo &#39;
<li>&#39;, $context[&#39;unapproved_members&#39;] == 1 ? $txt[&#39;approve_thereis&#39;] : $txt[&#39;approve_thereare&#39;], &#39; <a href="&#39;, $scripturl, &#39;?action=admin;area=viewmembers;sa=browse;type=approve">&#39;, $context[&#39;unapproved_members&#39;] == 1 ? $txt[&#39;approve_member&#39;] : $context[&#39;unapproved_members&#39;] . &#39; &#39; . $txt[&#39;approve_members&#39;], &#39;</a> &#39;, $txt[&#39;approve_members_waiting&#39;], &#39;</li>&#39;;

if (!empty($context[&#39;open_mod_reports&#39;]) && $context[&#39;show_open_reports&#39;])
echo &#39;
<li><a href="&#39;, $scripturl, &#39;?action=moderate;area=reports">&#39;, sprintf($txt[&#39;mod_reports_waiting&#39;], $context[&#39;open_mod_reports&#39;]), &#39;</a></li>&#39;;

echo &#39;
<li>&#39;, $context[&#39;current_time&#39;], &#39;</li>
</ul></div>&#39;;

}

// Otherwise they&#39;re a guest - this time ask them to either register or login - lazy bums...
elseif (!empty($context[&#39;show_login_bar&#39;]))
{
echo &#39;
<script type="text/javascript" src="&#39;, $settings[&#39;default_theme_url&#39;], &#39;/scripts/sha1.js"></script>
<form style="text-align: right" id="guest_form" action="&#39;, $scripturl, &#39;?action=login2" method="post" accept-charset="&#39;, $context[&#39;character_set&#39;], &#39;" &#39;, empty($context[&#39;disable_login_hashing&#39;]) ? &#39; onsubmit="hashLoginPassword(this, &#39;&#39; . $context[&#39;session_id&#39;] . &#39;&#39;);"&#39; : &#39;&#39;, &#39;>
<div class="info">&#39;, sprintf($txt[&#39;welcome_guest&#39;], $txt[&#39;guest_title&#39;]), &#39;</div>
<input type="text" name="user" size="10" class="input_text" />
<input type="password" name="passwrd" size="10" class="input_password" />
<select name="cookielength">
<option value="60">&#39;, $txt[&#39;one_hour&#39;], &#39;</option>
<option value="1440">&#39;, $txt[&#39;one_day&#39;], &#39;</option>
<option value="10080">&#39;, $txt[&#39;one_week&#39;], &#39;</option>
<option value="43200">&#39;, $txt[&#39;one_month&#39;], &#39;</option>
<option value="-1" selected="selected">&#39;, $txt[&#39;forever&#39;], &#39;</option>
</select>
<input type="submit" value="&#39;, $txt[&#39;login&#39;], &#39;" class="button_submit" /><br />
<div class="info">&#39;, $txt[&#39;quick_login_dec&#39;], &#39;</div>&#39;;

if (!empty($modSettings[&#39;enableOpenID&#39;]))
echo &#39;
<br /><input type="text" name="openid_identifier" id="openid_url" size="25" class="input_text openid_login" />&#39;;

echo &#39;
<input type="hidden" name="hash_passwrd" value="" />
</form>&#39;;
}


echo &#39;
</div>

</div></div>&#39;;

// Show the menu here, according to the menu sub template.
template_menu();

echo &#39;
<br class="clear" />&#39;;

// The main content should go here.
echo &#39;
<div id="content_section"><div>
<div><br />&#39;;

// Custom banners and shoutboxes should be placed here, before the linktree.
//PLEASE NOTE: this is area for an advertisement
dt();
// Show the navigation tree.
theme_linktree();
}

function template_body_below()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;

echo &#39;
</div>
</div></div>&#39;;

// Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere!
echo &#39;
<div id="footer_section"><div>
<ul class="reset">
<li class="copyright">&#39;, theme_copyright(), &#39;</li>
<li class="copyright"><strong>Theme</strong> by indytheme.com &copy; 2013</li>&#39;;
if (!empty($settings[&#39;cc_control&#39;]))
{
echo&#39;
<li>&#39;, !empty($settings[&#39;cc&#39;]) ? &#39;&#39;. parse_bbc($settings[&#39;cc&#39;]). &#39;&#39; : &#39;&#39;, &#39;</li>&#39;;
}
echo&#39;
<li><a id="button_xhtml" href="http://validator.w3.org/check/referer" target="_blank" class="new_win" title="&#39;, $txt[&#39;valid_xhtml&#39;], &#39;"><span>&#39;, $txt[&#39;xhtml&#39;], &#39;</span></a></li>
&#39;, !empty($modSettings[&#39;xmlnews_enable&#39;]) && (!empty($modSettings[&#39;allow_guestAccess&#39;]) || $context[&#39;user&#39;][&#39;is_logged&#39;]) ? &#39;<li><a id="button_rss" href="&#39; . $scripturl . &#39;?action=.xml;type=rss" class="new_win"><span>&#39; . $txt[&#39;rss&#39;] . &#39;</span></a></li>&#39; : &#39;&#39;, &#39;
<li class="last"><a id="button_wap2" href="&#39;, $scripturl , &#39;?wap2" class="new_win"><span>&#39;, $txt[&#39;wap2&#39;], &#39;</span></a></li>
</ul>&#39;;

// Show the load time?
if ($context[&#39;show_load_time&#39;])
echo &#39;
<p>&#39;, $txt[&#39;page_created&#39;], $context[&#39;load_time&#39;], $txt[&#39;seconds_with&#39;], $context[&#39;load_queries&#39;], $txt[&#39;queries&#39;], &#39;</p>&#39;;

echo &#39;
</div></div>&#39;, !empty($settings[&#39;forum_width&#39;]) ? &#39;
</div>&#39; : &#39;&#39;;
}

function template_html_below()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;

echo &#39;
</body></html>&#39;;
}

// Show a linktree. This is that thing that shows "My Community | General Category | General Discussion"..
function theme_linktree($force_show = false)
{
global $context, $settings, $options, $shown_linktree;

// If linktree is empty, just return - also allow an override.
if (empty($context[&#39;linktree&#39;]) || (!empty($context[&#39;dont_default_linktree&#39;]) && !$force_show))
return;

echo &#39;
<div class="navigate_section">
<ul>&#39;;

// Each tree item has a URL and name. Some may have extra_before and extra_after.
foreach ($context[&#39;linktree&#39;] as $link_num => $tree)
{
echo &#39;
<li&#39;, ($link_num == count($context[&#39;linktree&#39;]) - 1) ? &#39; class="last"&#39; : &#39;&#39;, &#39;>&#39;;

// Show something before the link?
if (isset($tree[&#39;extra_before&#39;]))
echo $tree[&#39;extra_before&#39;];

// Show the link, including a URL if it should have one.
echo $settings[&#39;linktree_link&#39;] && isset($tree[&#39;url&#39;]) ? &#39;
<a href="&#39; . $tree[&#39;url&#39;] . &#39;"><span>&#39; . $tree[&#39;name&#39;] . &#39;</span></a>&#39; : &#39;<span>&#39; . $tree[&#39;name&#39;] . &#39;</span>&#39;;

// Show something after the link...?
if (isset($tree[&#39;extra_after&#39;]))
echo $tree[&#39;extra_after&#39;];

// Don&#39;t show a separator for the last one.
if ($link_num != count($context[&#39;linktree&#39;]) - 1)
echo &#39; »&#39;;

echo &#39;
</li>&#39;;
}
echo &#39;
</ul>
</div>&#39;;

$shown_linktree = true;
}

// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
global $context, $settings, $options, $scripturl, $txt;

echo &#39;
<div id="main_menu">
<ul class="dropmenu">&#39;;

foreach ($context[&#39;menu_buttons&#39;] as $act => $button)
{
echo &#39;
<li id="button_&#39;, $act, &#39;">
<a class="&#39;, $button[&#39;active_button&#39;] ? &#39;active &#39; : &#39;&#39;, &#39;firstlevel" href="&#39;, $button[&#39;href&#39;], &#39;"&#39;, isset($button[&#39;target&#39;]) ? &#39; target="&#39; . $button[&#39;target&#39;] . &#39;"&#39; : &#39;&#39;, &#39;>
<span class="&#39;, isset($button[&#39;is_last&#39;]) ? &#39;last &#39; : &#39;&#39;, &#39;firstlevel">&#39;, $button[&#39;title&#39;], &#39;</span>
</a>&#39;;
if (!empty($button[&#39;sub_buttons&#39;]))
{
echo &#39;
<ul>&#39;;

foreach ($button[&#39;sub_buttons&#39;] as $childbutton)
{
echo &#39;
<li>
<a href="&#39;, $childbutton[&#39;href&#39;], &#39;"&#39;, isset($childbutton[&#39;target&#39;]) ? &#39; target="&#39; . $childbutton[&#39;target&#39;] . &#39;"&#39; : &#39;&#39;, &#39;>
<span&#39;, isset($childbutton[&#39;is_last&#39;]) ? &#39; class="last"&#39; : &#39;&#39;, &#39;>&#39;, $childbutton[&#39;title&#39;], !empty($childbutton[&#39;sub_buttons&#39;]) ? &#39;...&#39; : &#39;&#39;, &#39;</span>
</a>&#39;;
// 3rd level menus :)
if (!empty($childbutton[&#39;sub_buttons&#39;]))
{
echo &#39;
<ul>&#39;;

foreach ($childbutton[&#39;sub_buttons&#39;] as $grandchildbutton)
echo &#39;
<li>
<a href="&#39;, $grandchildbutton[&#39;href&#39;], &#39;"&#39;, isset($grandchildbutton[&#39;target&#39;]) ? &#39; target="&#39; . $grandchildbutton[&#39;target&#39;] . &#39;"&#39; : &#39;&#39;, &#39;>
<span&#39;, isset($grandchildbutton[&#39;is_last&#39;]) ? &#39; class="last"&#39; : &#39;&#39;, &#39;>&#39;, $grandchildbutton[&#39;title&#39;], &#39;</span>
</a>
</li>&#39;;

echo &#39;
</ul>&#39;;
}

echo &#39;
</li>&#39;;
}
echo &#39;
</ul>&#39;;
}
echo &#39;
</li>&#39;;
}

echo &#39;
</ul>
</div>&#39;;
}

// Generate a strip of buttons.
function template_button_strip($button_strip, $direction = &#39;top&#39;, $strip_options = array())
{
global $settings, $context, $txt, $scripturl;

if (!is_array($strip_options))
$strip_options = array();

// Create the buttons...
$buttons = array();
foreach ($button_strip as $key => $value)
{
if (!isset($value[&#39;test&#39;]) || !empty($context[$value[&#39;test&#39;]]))
$buttons[] = &#39;
<li><a&#39; . (isset($value[&#39;id&#39;]) ? &#39; id="button_strip_&#39; . $value[&#39;id&#39;] . &#39;"&#39; : &#39;&#39;) . &#39; class="button_strip_&#39; . $key . (isset($value[&#39;active&#39;]) ? &#39; active&#39; : &#39;&#39;) . &#39;" href="&#39; . $value[&#39;url&#39;] . &#39;"&#39; . (isset($value[&#39;custom&#39;]) ? &#39; &#39; . $value[&#39;custom&#39;] : &#39;&#39;) . &#39;><span>&#39; . $txt[$value[&#39;text&#39;]] . &#39;</span></a></li>&#39;;
}

// No buttons? No button strip either.
if (empty($buttons))
return;

// Make the last one, as easy as possible.
$buttons[count($buttons) - 1] = str_replace(&#39;<span>&#39;, &#39;<span class="last">&#39;, $buttons[count($buttons) - 1]);

echo &#39;
<div class="buttonlist&#39;, !empty($direction) ? &#39; float&#39; . $direction : &#39;&#39;, &#39;"&#39;, (empty($buttons) ? &#39; style="display: none;"&#39; : &#39;&#39;), (!empty($strip_options[&#39;id&#39;]) ? &#39; id="&#39; . $strip_options[&#39;id&#39;] . &#39;"&#39;: &#39;&#39;), &#39;>
<ul>&#39;,
implode(&#39;&#39;, $buttons), &#39;
</ul>
</div>&#39;;

}
function dt()
{
global $context, $settings, $txt;
if (!empty($settings[&#39;advert_control&#39;]))
{
echo&#39;
<div id="upshrinkHeaderIC1">
<div class="title_barIC">
<h4 class="titlebg">
<span class="ie6_header floatleft">
<span>&#39;, $txt[&#39;advert_header&#39;], &#39;</span>
</span>
</h4>
</div>
<span id="advert">&#39;, !empty($settings[&#39;advert1&#39;]) ? &#39;&#39;. parse_bbc($settings[&#39;advert1&#39;]). &#39;&#39; : &#39;&#39;, &#39;</span>&#39;;
echo&#39;
</div>&#39;;
}
}
?>
« แก้ไขครั้งสุดท้าย: 03 สิงหาคม 2014, 01:54:42 โดย 0gaara0 » บันทึกการเข้า
CreePer
สมุนแก๊งเสียว
*

พลังน้ำใจ: 101
ออฟไลน์ ออฟไลน์

กระทู้: 784



ดูรายละเอียด
« ตอบ #1 เมื่อ: 03 สิงหาคม 2014, 01:55:55 »

แก้ใน Css ครับ รบกวนขอลิ้งค์เว็บหน่อยจะได้บอกชัดเจน
บันทึกการเข้า
0gaara0
Newbie
*

พลังน้ำใจ: 3
ออฟไลน์ ออฟไลน์

กระทู้: 13



ดูรายละเอียด
« ตอบ #2 เมื่อ: 03 สิงหาคม 2014, 02:06:19 »

แก้ใน Css ครับ รบกวนขอลิ้งค์เว็บหน่อยจะได้บอกชัดเจน


ผมยังไม่มีเว็บหน่ะครับ พึ่งหัดทำในเครื่องตัวเองครับ นี่ไฟล์ css ผมครับ รบกวนด้วยนะครับ

http://goo.gl/sCofC1
บันทึกการเข้า
CreePer
สมุนแก๊งเสียว
*

พลังน้ำใจ: 101
ออฟไลน์ ออฟไลน์

กระทู้: 784



ดูรายละเอียด
« ตอบ #3 เมื่อ: 03 สิงหาคม 2014, 02:16:49 »

แก้ความสูงของ Header ในไฟล์ css : #header
และ ปรับความกว้างของบอร์ด ได้ใน css : wrapper หรือ index.template.php หรือ หน้าแอดมินครับ
บันทึกการเข้า
proexcellant
หัวหน้าแก๊งเสียว
*

พลังน้ำใจ: 141
ออฟไลน์ ออฟไลน์

กระทู้: 1,314



ดูรายละเอียด เว็บไซต์
« ตอบ #4 เมื่อ: 03 สิงหาคม 2014, 02:21:29 »

ขอแนะการแก้ไขที่จะทำให้ง่ายขึ้นครับ

ให้คลิกขาวที่หน้าเว็บ แล้วคลิกที่ตรวจสอบองค์ประกอบเว็บไซต์

แล้วไปจิ้มตรงที่ต้องการจะแก้ไข หลังจากนั้นเพื่อความชัวร์ ลองแก้ไข css ตรงนั้นดูก่อนว่าใช่ตรงที่เราต้องการแก้หรือไม่

เมื่อใช่แล้ว เราค่อยนำ class หรือ id css อันนั้นไปหาในไฟล์อีกทีว่ามันอยู่ตรงไหน จะช่วยทำให้หาจุดที่ต้องการแก้ไขง่ายขึ้นครับ

ปล.ถ้าผมพูดงงขออภัยด้วยครับ
บันทึกการเข้า

0gaara0
Newbie
*

พลังน้ำใจ: 3
ออฟไลน์ ออฟไลน์

กระทู้: 13



ดูรายละเอียด
« ตอบ #5 เมื่อ: 03 สิงหาคม 2014, 02:38:13 »

แก้ความสูงของ Header ในไฟล์ css : #header
และ ปรับความกว้างของบอร์ด ได้ใน css : wrapper หรือ index.template.php หรือ หน้าแอดมินครับ

ขอแนะการแก้ไขที่จะทำให้ง่ายขึ้นครับ

ให้คลิกขาวที่หน้าเว็บ แล้วคลิกที่ตรวจสอบองค์ประกอบเว็บไซต์

แล้วไปจิ้มตรงที่ต้องการจะแก้ไข หลังจากนั้นเพื่อความชัวร์ ลองแก้ไข css ตรงนั้นดูก่อนว่าใช่ตรงที่เราต้องการแก้หรือไม่

เมื่อใช่แล้ว เราค่อยนำ class หรือ id css อันนั้นไปหาในไฟล์อีกทีว่ามันอยู่ตรงไหน จะช่วยทำให้หาจุดที่ต้องการแก้ไขง่ายขึ้นครับ

ปล.ถ้าผมพูดงงขออภัยด้วยครับ

ได้รอยหยักเพิ่มมาอีกแล้ว ขอบคุณท่านทั้งสองนะครับ ผมยัง+ไม่ได้ ขอติดไว้ก่อนนะครับ  wanwan017
บันทึกการเข้า
zazane
หัวหน้าแก๊งเสียว
*

พลังน้ำใจ: 61
ออฟไลน์ ออฟไลน์

กระทู้: 1,582



ดูรายละเอียด เว็บไซต์
« ตอบ #6 เมื่อ: 03 สิงหาคม 2014, 02:48:08 »

ขอบคุณมากค่ะ
บันทึกการเข้า

วิธีหาเงินที่ง่ายๆ วันละ 350 ผ่านเว็บครอบลิงค์คลิกเลยค่ะ
popup เจ้านี้ สมัครง่าย ทำเงินง่ายทางนี้
 โฮสติ้งคุณภาพสูง ราคาถูก มาตรฐาน ISO เจ้าเดียวในไทย

pauy
coolsweet
หัวหน้าแก๊งเสียว
*

พลังน้ำใจ: 49
ออฟไลน์ ออฟไลน์

กระทู้: 1,072



ดูรายละเอียด เว็บไซต์
« ตอบ #7 เมื่อ: 03 สิงหาคม 2014, 07:37:12 »

เยี่ยมไปเลยครับผม  wanwan017
บันทึกการเข้า

romance69
หัวหน้าแก๊งเสียว
*

พลังน้ำใจ: 169
ออฟไลน์ ออฟไลน์

กระทู้: 2,165



ดูรายละเอียด เว็บไซต์
« ตอบ #8 เมื่อ: 03 สิงหาคม 2014, 10:10:37 »

กรอบสีแดง อยู่ใน Boardindex.template ครับ
« แก้ไขครั้งสุดท้าย: 03 สิงหาคม 2014, 10:12:04 โดย romance69 » บันทึกการเข้า

ขายปลั๊กอิน Wordpress ตรวจหวยออนไลน์ อัปเดตอัตโนมัติ ราคา 2,500 บาท ใส่โค้ด THAISEO10 รับส่วนลด 10%
รับเขียนเว็บไซต์, รับเขียน Theme wordpress, รับเขียน Plugin wordpress
หน้า: [1]   ขึ้นบน
พิมพ์