Witam. Czy pomoże mi ktoś zmienić szerokość strony na 1000px ? Próbowałem już w styles ale udało się zmienić tylko szerokość loga. Oto theme.php skórki:
<?php
/*--------------------------------------------+
| PHP-Fusion v7 - Content Management System |
|---------------------------------------------|
| author: Artur(Digitanium) © 2002-2007 |
| web: http://www.php-fusion.co.uk |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU Affero GPL v3. |
+--------------------------------------------*/
/*--------------------------------------------+
| Webmaster Files Theme for PHP-Fusion v7.x |
| Modified by:http://www.webmaster-files.com |
|---------------------------------------------|
| author: PHP-Fusion Themes © 2007 |
| web: http://phpfusion-themes.com |
| email: |
|---------------------------------------------|
| Converted to V7 by Harly Petersen |
| web: http://php-fusion.openworld.dk |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU Affero GPL v3. |
+--------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }
//Theme settings
define("THEME_BULLET", "<img class='bullet' src='".THEME."images/arrow.gif' alt='->' border='0' />");
define("THEME_BULLET2", "<img class='bullet2' src='".THEME."images/arrow2.gif' alt='->' border='0' />");
define("THEME_WIDTH", "100%");
require_once INCLUDES."theme_functions_include.php";
function render_page($license=false) {
global $settings, $main_style, $locale;
echo "<table align='center' cellspacing='0' cellpadding='0' width='".THEME_WIDTH."' class='body-border'>
<tr>
<td><table cellpadding='0' cellspacing='0' width='100%'><tr>
<td>
<div align='right' id='pageheader'>
<table style='WIDTH: 100%; height:50px;' cellspacing='0' cellpadding='0' border='0'><tr>
<td align='left'>\n".showbanners()."</td>
</tr>
</table>
</div>
<table style='WIDTH: 100%; height:30px;' cellspacing='0' cellpadding='0' border='0'><tr>
<td class='subheader'>".showsublinks(" ".THEME_BULLET2." ", "white")."</td>
<td class='subheader' style='vertical-align:middle;' align='right'>
<td align='right' class='subheader'>".showsubdate()."</div></div>
</td></tr>
</table>
</td></tr>
</table>
</td></tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
echo "</tr>\n</table>
<table cellpadding='0' cellspacing='0' width='100%'><tr>
<td align='center' class='footer'>";
if (!$license) { echo showcopyright()."<br/><br/>\n"; } echo showcounter()."<br/><br/><b>GreenMediaSite</b> Theme designed by: <a target='_blank' href='http://www.mediasite.cba.pl/news.php'>MediaSite</a>";
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td colspan='2' class=''>".stripslashes($settings['footer'])."</td>
</tr>";
echo "</td></tr>
</table>\n";
}
function render_news($subject, $news, $info) {
$subject = strip_tags($subject);
echo "<table style='WIDTH: 100%;' cellspacing='0' cellpadding='2' border='0'><tr>
<td class='tableHeadingBG'><div class='tableHeading'>$subject</div>
</td></tr>
<tr><td class='td-cell1' style='WIDTH: 100%' valign='top'>$news</td></tr>
<tr><td class='td-cell2' align='center' style='WIDTH: 100%'>
<table cellspacing='0' cellpadding='0' border='0'><tr>
<td align='center'>";
echo newsposter($info," ·").newsopts($info,"·").itemoptions("N",$info['news_id']);
echo "</td>
</tr>
</table>
</td></tr>
</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n<td height='5'></td>\n</tr>\n</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table style='WIDTH: 100%;' cellspacing='0' cellpadding='2' border='0'><tr>
<td class='tableHeadingBG'><div class='tableHeading'>$subject</div></td></tr>
<tr><td class='td-cell1' style='WIDTH: 100%' valign='top'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>
</tr>
<tr><td class='td-cell2' align='center' style='WIDTH: 100%'>
<table cellspacing='0' cellpadding='0' border='0'><tr><td align='center'>";
echo articleposter($info," ·").articleopts($info,"·").itemoptions("A",$info['article_id']);
echo "</td>
</tr>
</table>
</td></tr>
</table>\n";
}
function opentable($title) {
echo "<table style='WIDTH: 100%' cellspacing='0' cellpadding='0' border='0'><tr>
<td class='tableHeadingBG'>
<div class='tableHeading'>$title</div></td>
</tr>
<tr><td class='td-cell1' valign='top'>";
}
function closetable() {
echo "</td></tr>
</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n<td height='5'></td>\n</tr>\n</table>\n";
}
function openside($title, $collapse = false, $state = "on") {
global $panel_collapse; $panel_collapse = $collapse;
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>\n<tr>\n";
echo "<td class='tableHeadingBG'>".$title."</td>\n";
if ($collapse == true) {
$boxname = str_replace(" ", "", $title);
echo "<td class='tableHeadingBG' align='right'>".panelbutton($state,$boxname)."</td>\n";
}
echo "</tr>\n<tr>\n";
echo "<td".($collapse == true ? " colspan='2'" : "")." class='side-body'>\n";
if ($collapse == true) { echo panelstate($state, $boxname); }
}
function closeside($collapse = false) {
global $panel_collapse;
if ($panel_collapse == true) { echo "</div>\n"; }
echo "</td>\n</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n<td height='5'></td>\n</tr>\n</table>\n";
}
?>
|