Witam, proszę o pomoc w wyśrodkowaniu skórki Maxitron oraz na zmianę szerokości na ok 900px
Próbowałem pozamieniać "100%" na 900px ale wszystko mi się porozjeżdżało...
Plik theme.php:
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#555555";
$body_bg = "#F8F7F5";
$theme_width = "100%";
$theme_width_l = "180";
$theme_width_r = "180";
// Right Panels off in Forum Mode - Custom coded
$theme_panels_exclude = array("/forum/");
function render_header($header_content) {
global $theme_width, $settings;
$cookieval = "";
if (isset($_COOKIE['Maxitron_Theme'])) {
$cookie = explode("&",$_COOKIE['Maxitron_Theme']);
for ($i = 0;$i < sizeof($cookie);$i++) {
$cookie2 = explode(":",$cookie[$i]);
if ($cookie2[0] == "hideleft" || $cookie2[0] == "hideright") {
$cookieval .= ",".$cookie2[0].":'".($cookie2[1] == 'off' ? 'off' : 'on')."'";
}
}
}
echo "
<center><br><img src='http://www.meble-an-mar.yoyo.pl/logo.PNG'></center>
</div>
</div>
<!-- nav -->
<div class='navPanel'>
<div class='innerNavPanel'>
<div class='buttons'>".showsublinks("","white")."
<div id='Clock' class='label'><script language='javascript' type='text/javascript'>Maxitron.tick();</script>
</div>
</div>
</div>
</div>
<div class='shadowStrip' align='center'> </div>\n";
echo "<table bgcolor='#F8F7F5' cellpadding='0' cellspacing='0' width='100%' align='center'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings;
echo "</tr>\n</table>\n";
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%' align='center' class='footer'>
<tr>
<td align='center' width='100%' align='center'>".stripslashes($settings['footer'])."<br>\n";
if (!$license) { echo showcopyright("")."<br><br>\n"; }
echo "</td>
</tr>
<tr>
<td align='center' width='100%' align='center'>".showcounter()." </td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
$subject = strip_tags($subject);
echo "<table cellpadding='0' cellspacing='1' width='100%' align='center' class='border'>
<tr>
<td class='news_articles'>$subject</td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("N",$info['news_id']).newsposter($info,"·").newsopts($info,"·").closeform("N",$info['news_id']);
echo "</td>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table width='100%' align='center' cellpadding='0' cellspacing='1' class='border'>
<tr>
<td class='news_articles'>$subject</td>
</tr>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("A",$info['article_id']).articleposter($info,"·").articleopts($info,"·").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='1' width='100%' align='center' class='border'>
<tr>
<td class='p_title'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";
}
function closetable() {
echo "</td>
</tr>
</table>\n";
tablebreak();
}
function openside($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%' align='center' class='border'>
<tr>
<td class='p_title'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";
}
function closeside() {
echo "</td>
</tr>
</table>\n";
tablebreak();
}
function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='100%' align='center' class='border'>
<tr>
<td width='100%' align='center' class='p_title'>$title</td>
<td class='p_title_box' align='center'>".panelbutton($state,$boxname)."</td>
</tr>
<tr>
<td colspan='2' class='side-body'>
<div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n";
}
function closesidex() {
echo "</div>
</td>
</tr>
</table>\n";
tablebreak();
}
function tablebreak() {
echo "<table cellpadding='0' cellspacing='0' width='100%' align='center'>\n<tr>\n<td height='8'></td>\n</tr>\n</table>\n";
}
?>
Kliknij i zaczekaj na załadowanie kodu ...
Adres strony na której ma to być: www.meble-an-mar.yoyo.pl
Edytowane przez mateusz789 dnia 23.01.2009 20:30:30
|