Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: padekit su tema plz...............

Parašė Narysx· 2008 Bal. 25 20:04:25
#10

Šitą vietą:

// theme settings
$body_text = "#000000";
$body_bg = "#FFFFFF";
$theme_width = "100%";
$theme_width_l = "170";
$theme_width_r = "170";

function render_header($header_content) {
global $theme_width,$settings;
echo "<table align='center' width='100%' border='0' cellpadding='0' cellspacing='0' style='background-image:url(".THEME."images/header-center.gif);margin-top:-5px;'><tr><td>";
// Header logo
echo "<table align='center' style='background-image:url(".THEME."images/header-center.gif)' border='0' cellpadding='0' cellspacing='0' width='".$theme_width."'>";
echo "<tr><td width='15'><img src='".THEME."images/header-left.png' width='92' height='200' alt=''></td>";
echo "<td width='100%' class='header-center'>";
echo "<table width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td align='center'><a href='".BASEDIR."index.php'><img src='".THEME."images/logo.png' alt='".$settings['sitename']."'></a></td></tr>";
//echo "<tr><td>".$header_content."</td></tr>";
echo "</table></td>";
echo "<td width='15'><img src='".THEME."images/header-right.png' width='92' height='200' alt=''></td></tr></table>\n";
echo "<img src='".THEME."images/pixel.gif' height='5' alt=''>";
// Header logo
echo "<table align='center' border='0' cellpadding='0' cellspacing='0' width='".$theme_width."'>";
echo "<tr><td width='42'><img src='".THEME."images/nav-left.png' width='38' height='40' alt=''></td>";
echo "<td width='75%' class='navlinktbl'>";






Pakeisk į:

// theme settings
$body_text = "#000000";
$body_bg = "#FFFFFF";
$theme_width = "100%";
$theme_width_l = "170";
$theme_width_r = "170";

function render_header($header_content) {
global $theme_width,$settings;
echo "<table align='center' width='100%' border='0' cellpadding='0' cellspacing='0' style='background-image:url(".THEME."images/header-center.gif);margin-top:-5px;'><tr><td>";
// Header logo
echo "<table align='center' style='background-image:url(".THEME."images/header-center.gif)' border='0' cellpadding='0' cellspacing='0' width='".$theme_width."'>";
echo "<tr><td width='15'><img src='".THEME."images/header-left.png' width='92' height='200' alt=''></td>";
echo "<td width='100%' class='header-center'>";
echo "<table width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td align='center'><a href='".BASEDIR."index.php'><img src='".THEME."images/logo.gif' alt='".$settings['sitename']."'></a></td></tr>";
//echo "<tr><td>".$header_content."</td></tr>";
echo "</table></td>";
echo "<td width='15'><img src='".THEME."images/header-right.png' width='92' height='200' alt=''></td></tr></table>\n";
echo "<img src='".THEME."images/pixel.gif' height='5' alt=''>";
// Header logo
echo "<table align='center' border='0' cellpadding='0' cellspacing='0' width='".$theme_width."'>";
echo "<tr><td width='42'><img src='".THEME."images/nav-left.png' width='38' height='40' alt=''></td>";
echo "<td width='75%' class='navlinktbl'>";