U mnie jest to samo nic nie daje wstawienie <center></center> zamieszczam moj plik theme.php może znajdzie sie jakiś ass ktory mi pomoze
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
/*--------------------------------------------+
| PHP-Fusion v6 - Content Management System |
|---------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2007 |
| web: http://www.php-fusion.co.uk |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
/*--------------------------------------------+
| Webmaster Files Theme for PHP-Fusion v6.x |
| Modified by:http://www.webmaster-files.com |
|---------------------------------------------|
| author: PHP-Fusion Themes © 2007 |
| web: http://phpfusion-themes.com |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
// theme settings
$body_text = "#555555";
$body_bg = "#FEFEFE";
$theme_width = "70%";
$theme_width_l = "170";
$theme_width_r = "170";
// Right Panels off in Forum Mode
//$theme_panels_exclude = array("/forum/");
function render_header($header_content) {
global $theme_width,$settings;
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><table cellpadding='0' cellspacing='0' width='100%'><tr>
<td><div align='center' id='clockbar'><div class='clockbarcolor'>
<div id='Clock'></div><script type='text/javascript'>
<!--
var DayNam = new Array(
'Niedziela','Poniedziałek','Wtorek','¦roda','Czwartek','Pi±tek','Sobota');
var MnthNam = new Array(
'Styczeń','Luty','Marzec','Kwiecień','Maj','Czerwiec','Lipiec','Sierpień','Wrzesień','PaĽdziernik','Listopad','Grudzień');
//-->
</script>
<script type='text/javascript' src='".THEME."/clock/clock.js'></script></div></div>
<div align='center' id='pageheader'>
<table style='WIDTH: 25%; height:50px;' cellSpacing='0' cellPadding='0' border='0'><tr>
<td style='WIDTH: 100%'><a href='".BASEDIR."index.php'><img alt='".$settings[sitename]."' src='".THEME."images/logo.jpg' border='0' width='1000' height='100'></a>
</td></tr>
</table>
</div>
<table style='WIDTH: 100%' cellSpacing='0' cellPadding='0' border='0'><tr>
<td class='subheader'>".showsublinks(" - ","subheader-text")."</td>
<td class='subheader' style='vertical-align:middlie;' align='center'>
<form action='".BASEDIR."search.php?stype=f' method='post'>
<table cellSpacing='0' width='100%' cellPadding='0' border='0'><tr>
</td></tr>
</table>
</form>
</td></tr>
</table>
</td></tr>
</table>
</td></tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings,$locale;
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>Webmaster Files</b> Theme designed by: <a target='_blank' href='http://phpfusion-themes.com'>Fuzed Themes</a>";
echo "</td></tr>
</table>
</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 openform("N",$info['news_id']).newsposter($info," ·").newsopts($info," ·").closeform("N",$info['news_id']);
echo "</td>
</tr>
</table>
</td></tr>
</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 openform("A",$info['article_id']).articleposter($info," ·").articleopts($info," ·").closeform("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";
}
function openside($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 closeside() {
echo "</td></tr>
</table>\n";
tablebreak();
}
function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table style='WIDTH: 100%' cellSpacing='0' cellPadding='0' border='0'><tr>
<td class='tableHeadingBG'>
<div class='tableHeading'>$title</div></td>
<td align='right' class='tableHeadingBG'>".panelbutton($state,$boxname)."</td>
</tr>
<tr><td class='td-cell1' vAlign='top' colspan='2'>
<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%'>\n";
echo "<tr>\n<td height='5'></td>\n</tr>\n</table>\n";
}
?>
Chce wyśrodkować logo(header)
Z góry dzieki. THX.:):)
Edytowane przez Pieka dnia 31.10.2007 19:57:38
|