|
Puste bia?e miejsce przed bannerem.
|
| kamil1445 |
Dodany dnia 14.10.2006 18:09:27
|

Przedszkolak

Postów: 27
v6.01.xxx Data rejestracji: 04.10.2006 14:59
|
Witka!
Mam problemik, nie znam si? zbytnio nad php - która linijke trzeba modyfikowac albo zmieni? aby si? pozby? bia?ego pustego miejsca nad g?ównym bannerem:
stronka w budowie -> www.zs-gostyn.ovh...
Pozdrawiam i prosz? o pomoc równie? w tym temacie ->
http://www.php-fu...ad_id=7954 |
| |
|
|
| W?cibski Go?? |
Dodany dnia 29.10.2025 09:49:52
|
Pan Kontekstualny
Postów: n^x
Data rejestracji: Zawsze
|
|
| IP: localhost |
|
|
| dex |
Dodany dnia 14.10.2006 20:09:15
|

Pocz?tkuj?cy

Postów: 212
Data rejestracji: 16.08.2006 15:18
|
Daj tu swój theme.php, bo na moje oko co? namiesza?e?, ja wgra?em ten skin do siebie i mam wszystko dobrze
|
| |
|
|
| kamil1445 |
Dodany dnia 14.10.2006 21:30:45
|

Przedszkolak

Postów: 27
v6.01.xxx Data rejestracji: 04.10.2006 14:59
|
O dzi?ki Dex!
Mam jeszcze pytanko: jak zrobi? ?eby banner by? na ca?ej szeroko?ci? i ?eby nie by?o tej tabelki ze zegarem :(
www.zs-gostyn.ovh...
Prosze to jest mój theme.php:
<?
/*--------------------------------------------+
| PHP-Fusion v6 - Content Management System |
|---------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2005 |
| web: http://www.php-fusion.co.uk |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
/*--------------------------------------------+
| Bluescape Theme for PHP-Fusion v6.x |
|---------------------------------------------|
| author: PHP-Fusion Themes © 2005 |
| web: http://phpfusion.org |
| 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 = "100%";
$theme_width_l = "170";
$theme_width_r = "170";
// Right Panels off in Forum Mode
//$theme_panels_exclude = array("/forum/");
include THEME."menu.php";
function render_header($header_content) {
global $theme_width,$settings;
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' class='body-border'>";
echo "<tr><td><table cellpadding='0' cellspacing='0' width='100%'><tr>";
echo "<td><table cellpadding='0' cellspacing='0' width='100%'><tr>";
echo "<td><div align='right' id='clockbar'><div class='clockbarcolor'>";
echo "<div id='Clock'></div>";
echo "<script type='text/javascript'>
<!--
var DayNam = new Array(
'Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');
var MnthNam = new Array(
'January','February','March','April','May','June','July','August','September','October','November','December');
//-->
</script>";
echo "<script type='text/javascript' src='".THEME."/clock/clock.js'></script></div></div>";
echo "<div align='right' id='pageheader'>";
echo "<table style='WIDTH: 100%' height='10' cellSpacing='0' cellPadding='0' border='0'><tr>";
echo "<td style='WIDTH: 45%'>";
echo "<center><img alt='".$settings[sitename]."' src='".THEME."images/logo.jpg'></center></a>";
echo "</td>";
echo "</tr></table></div>";
echo "<table style='WIDTH: 100%' cellSpacing='0' cellPadding='0' border='0'><tr>";
echo "<td class='subheader'>";
$result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' ORDER BY link_order");
if (dbrows($result) != 0) {
$i = 0;
while($data = dbarray($result)) {
if (checkgroup($data['link_visibility'])) {
if ($data['link_url']!="---") {
if ($i != 0) { echo " - \n"; } else { echo "\n"; }
$link_target = ($data['link_window'] == "1" ? " target='_blank'" : "");
if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
echo "<a href='".$data['link_url']."'".$link_target."' class='subheader-text'>".$data['link_name']."</a>";
} else {
echo "<a href='".BASEDIR.$data['link_url']."'".$link_target."' class='subheader-text'>".$data['link_name']."</a>";
}
}
$i++;
}
}
}
echo "<td class='subheader' vAlign='center' align='right'>";
echo "<form name='search' action='".BASEDIR."search.php?stype=f' method='post'>";
echo "<table cellSpacing='0' width='100%' cellPadding='0' border='0'><tr>";
echo "<td align='right'><b>Search</b> ";
echo "<input type='text' class='input' name='stext' value='Search Forums' onBlur=\"if(this.value=='') this.value='Search Forums';\" onFocus=\"if(this.value=='Search Forums') this.value='';\">";
echo " <input name='option' class='submit' type='submit' value='Search'>";
echo "</td></tr></table></form>";
echo "</td></tr></table></div>";
echo "</td></tr></table>";
echo "</td></tr></table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
}
function render_footer($license=false) {
|
| |
|
|
| dex |
Dodany dnia 15.10.2006 20:58:52
|

Pocz?tkuj?cy

Postów: 212
Data rejestracji: 16.08.2006 15:18
|
Usuni?ta belka z zegarem, usuni?te okno search oraz baner na ca?? szeroko?c strony, musisz go tylko wy?rodkowac, ale o tym jest na forum

<?
/*--------------------------------------------+
| PHP-Fusion v6 - Content Management System |
|---------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2005 |
| web: http://www.php-fusion.co.uk |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
/*--------------------------------------------+
| Bluescape Theme for PHP-Fusion v6.x |
|---------------------------------------------|
| author: PHP-Fusion Themes © 2005 |
| web: http://phpfusion.org |
| 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 = "100%";
$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'>";
echo "<tr><td><table cellpadding='0' cellspacing='0' width='100%'><tr>";
echo "<td><table cellpadding='0' cellspacing='0' width='100%'><tr>";
echo "<div align='right' id='pageheader'>";
echo "<table style='WIDTH: 100%' height='50' cellSpacing='0' cellPadding='0' border='0'><tr>";
echo "<td style='WIDTH: 100%'>";
echo "<img alt='".$settings[sitename]."' src='".THEME."images/logo.jpg' border='0' width='100%' height='74'></a>";
echo "</td>";
echo "</tr></table></div>";
echo "<table style='WIDTH: 100%' cellSpacing='0' cellPadding='0' border='0'><tr>";
echo "<td class='subheader'>";
$result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' ORDER BY link_order");
if (dbrows($result) != 0) {
$i = 0;
while($data = dbarray($result)) {
if (checkgroup($data['link_visibility'])) {
if ($data['link_url']!="---") {
if ($i != 0) { echo " - \n"; } else { echo "\n"; }
$link_target = ($data['link_window'] == "1" ? " target='_blank'" : "");
if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
echo "<a href='".$data['link_url']."'".$link_target."' class='subheader-text'>".$data['link_name']."</a>";
} else {
echo "<a href='".BASEDIR.$data['link_url']."'".$link_target."' class='subheader-text'>".$data['link_name']."</a>";
}
}
$i++;
}
}
}
echo ($i == 0 ? " " : "")."</div></td>";
echo "<td class='subheader' vAlign='center' align='right'>";
echo "<table cellSpacing='0' width='100%' cellPadding='0' border='0'><tr>";
echo "</td></tr></table></form>";
echo "</td></tr></table></div>";
echo "</td></tr></table>";
echo "</td></tr></table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings,$locale;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'><tr>";
echo "<td align='center' class='footer'>".stripslashes($settings['footer'])."\n";
if ($license == false) {
echo "<b>Bluescape</b> by: <a target='_blank' href='http://phpfusion-themes.com'><img src='".THEME."images/fthemes.gif' style='vertical-align:top;'></a><br><br>Powered by <a href='http://www.php-fusion.co.uk' class='breadcrumb' target='_blank'>PHP-Fusion</a> v".$settings['version']." © 2003-2005<br><br>\n";
}
echo number_format($settings['counter'])." ".($settings['counter'] == 1 ? $locale['140']."<br>\n" : $locale['141']."<br>\n")."";
echo "</td></tr></table></td></tr></table>\n";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table style='WIDTH: 100%;' cellSpacing='0' cellPadding='2' border='0'><tr>";
echo "<td class='tableHeadingBG'><div class='tableHeading'>$subject</div></td></tr>";
echo "<tr><td class='td-cell1' style='WIDTH: 100%' vAlign='top'>$news</td></tr>";
echo "<tr><td class='td-cell2' align='center' style='WIDTH: 100%'>";
echo "<table cellSpacing='0' cellPadding='0' border='0'><tr>";
echo "<td><img src='".THEME."images/bullet.gif'> ".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>";
echo " ".$locale['041'].showdate("longdate", $info['news_date'])." · ".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "");
if ($info['news_allow_comments']) echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> ·\n";
echo $info['news_reads'].$locale['044']." ";
echo "<a href='print.php?type=N&item_id=".$info['news_id']."'><img align='right' src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>";
echo "</td></tr></table></td></tr></table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table style='WIDTH: 100%;' cellSpacing='0' cellPadding='2' border='0'><tr>";
echo "<td class='tableHeadingBG'><div class='tableHeading'>$subject</div></td></tr>";
echo "<tr><td class='td-cell1' style='WIDTH: 100%' vAlign='top'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td></tr>";
echo "<tr><td class='td-cell2' align='center' style='WIDTH: 100%'>";
echo "<table cellSpacing='0' cellPadding='0' border='0'><tr>";
echo "<td><img src='".THEME."images/bullet.gif'> ".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>";
echo " ".$locale['041'].showdate("longdate", $info['article_date'])." ·\n";
if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." ·\n";
echo $info['article_reads'].$locale['044']." ";
echo "<a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>";
echo "</td></tr></table></td></tr></table>\n";
}
function opentable($title) {
echo "<table style='WIDTH: 100%' cellSpacing='0' cellPadding='0' border='0'><tr>";
echo "<td class='tableHeadingBG'><div class='tableHeading'>$title</div></td></tr>";
echo "<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>";
echo "<td class='tableHeadingBG'><div class='tableHeading'>$title</div></td></tr>";
echo "<tr><td class='td-cell1' vAlign='top'>";
}
function closeside() {
echo "</td></tr></table>\n";
tablebreak();
}
function opensidex($title,$open="on") {
$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" : "on";
echo "<table style='WIDTH: 100%' cellSpacing='0' cellPadding='0' border='0'><tr>";
echo "<td class='tableHeadingBG'>";
echo "<div class='tableHeading'><img align='right' src='".THEME."images/panel_$box_img.gif' name='b_$boxname' alt='' onclick=\"javascript:flipBox('$boxname')\">$title</div></td></tr>";
echo "<tr><td class='td-cell1' vAlign='top'>";
echo "<div id='box_$boxname'".($open=="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";
}
?>
Edytowane przez dex dnia 15.10.2006 21:04:39
|
| |
|
|
| kamil1445 |
Dodany dnia 15.10.2006 21:38:53
|

Przedszkolak

Postów: 27
v6.01.xxx Data rejestracji: 04.10.2006 14:59
|
Dzi?ki Dex za pomoc, ale moimi si?ami zmodyfikowa?em to do tego stopnia
>http://zs-gostyn....g/news.php
Natomiast jak widzisz dalej mam bia?e miesjce przed nad bannerem.
Nie podoba?o mi si? jak rozici?gn??e? ten banner nie ?adnie wygl?da jest jaki? inny sposób? jak widzisz mam po lewej stronie i prawej ciut miejsca a banner jest na ?rodku. Jak pozby? si? tych miejsc?
theme.php:
<?
/*--------------------------------------------+
| PHP-Fusion v6 - Content Management System |
|---------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2005 |
| web: http://www.php-fusion.co.uk |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
/*--------------------------------------------+
| Bluescape Theme for PHP-Fusion v6.x |
|---------------------------------------------|
| author: PHP-Fusion Themes © 2005 |
| web: http://phpfusion.org |
| 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 = "100%";
$theme_width_l = "170";
$theme_width_r = "170";
// Right Panels off in Forum Mode
//$theme_panels_exclude = array("/forum/");
include THEME."menu.php";
function render_header($header_content) {
global $theme_width,$settings;
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' class='body-border'>";
echo "<tr><td><table cellpadding='0' cellspacing='0' width='100%'><tr>";
echo "<td><table cellpadding='0' cellspacing='0' width='100%'><tr>";
echo "<td><div align='right' id='clockbar'><div class='clockbarcolor'>";
echo "<div id='Clock'></div>";
echo "<script type='text/javascript' src='".THEME."/clock/clock.js'></script></div></div>";
echo "<div align='right' id='pageheader'>";
echo "<table style='WIDTH: 100%' height='10' cellSpacing='0' cellPadding='0' border='0'><tr>";
echo "<td style='WIDTH: 45%'>";
echo "<center><img alt='".$settings[sitename]."' src='".THEME."images/logo.jpg'></center></a>";
echo "</td>";
echo "</tr></table></div>";
echo "<table style='WIDTH: 100%' cellSpacing='0' cellPadding='0' border='0'><tr>";
echo "<td class='subheader'>";
$result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' ORDER BY link_order");
if (dbrows($result) != 0) {
$i = 0;
while($data = dbarray($result)) {
if (checkgroup($data['link_visibility'])) {
if ($data['link_url']!="---") {
if ($i != 0) { echo " - \n"; } else { echo "\n"; }
$link_target = ($data['link_window'] == "1" ? " target='_blank'" : "");
if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
echo "<a href='".$data['link_url']."'".$link_target."' class='subheader-text'>".$data['link_name']."</a>";
} else {
echo "<a href='".BASEDIR.$data['link_url']."'".$link_target."' class='subheader-text'>".$data['link_name']."</a>";
}
}
$i++;
}
}
}
echo "<td class='subheader' vAlign='center' align='right'>";
echo "<form name='search' action='".BASEDIR."search.php?stype=f' method='post'>";
echo "<table cellSpacing='0' width='100%' cellPadding='0' border='0'><tr>";
echo "<td align='right'><b>Search</b> ";
echo "<input type='text' class='input' name='stext' value='Search Forums' onBlur=\"if(this.value=='') this.value='Search Forums';\" onFocus=\"if(this.value=='Search Forums') this.value='';\">";
echo " <input name='option' class='submit' type='submit' value='Search'>";
echo "</td></tr></table></form>";
echo "</td></tr></table></div>";
echo "</td></tr></table>";
echo "</td></tr></table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings,$locale;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'><tr>";
echo "<td align='center' class='footer'>".stripslashes($settings['footer'])."\n";
if ($license == false) {
echo "<b>Bluescape</b> by: <a target='_blank' href='http://phpfusion-themes.com'><img src='".THEME."images/fthemes.gif' style='vertical-align:top;'> </a>Powered by <a href='http://www.php-fusion.co.uk' class='breadcrumb' target='_blank'>PHP-Fusion</a> v".$settings['version']."<br><br>\n";
}
echo number_format($settings['counter'])." ".($settings['counter'] == 1 ? $locale['140']."<br>\n" : $locale['141']."<br>\n")."";
echo "</td></tr></table></td></tr></table><br>\n";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table style='WIDTH: 100%;' cellSpacing='0' cellPadding='2' border='0'><tr>";
echo "<td class='tableHeadingBG'><div class='tableHeading'>$subject</div></td></tr>";
echo "<tr><td class='td-cell1' style='WIDTH: 100%' vAlign='top'>$news</td></tr>";
echo "<tr><td class='td-cell2' align='center' style='WIDTH: 100%'>";
echo "<table cellSpacing='0' cellPadding='0' border='0'><tr>";
echo "<td><img src='".THEME."images/bullet.gif'> ".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>";
echo " ".$locale['041'].showdate("longdate", $info['news_date'])." · ".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "");
if ($info['news_allow_comments']) echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> ·\n";
echo $info['news_reads'].$locale['044']." ";
echo "<a href='print.php?type=N&item_id=".$info['news_id']."'><img align='right' src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>";
echo "</td></tr></table></td></tr></table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table style='WIDTH: 100%;' cellSpacing='0' cellPadding='2' border='0'><tr>";
echo "<td class='tableHeadingBG'><div class='tableHeading'>$subject</div></td></tr>";
echo "<tr><td class='td-cell1' style='WIDTH: 100%' vAlign='top'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td></tr>";
echo "<tr><td class='td-cell2' align='center' style='WIDTH: 100%'>";
echo "<table cellSpacing='0' cellPadding='0' border='0'><tr>";
echo "<td><img src='".THEME."images/bullet.gif'> ".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>";
echo " ".$locale['041'].showdate("longdate", $info['article_date'])." ·\n";
if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." ·\n";
echo $info['article_reads'].$locale['044']." ";
echo "<a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>";
echo "</td></tr></table></td></tr></table>\n";
}
function opentable($title) {
echo "<table style='WIDTH: 100%' cellSpacing='0' cellPadding='0' border='0'><tr>";
echo "<td class='tableHeadingBG'><div class='tableHeading'>$title</div></td></tr>";
echo "<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>";
echo "<td class='tableHeadingBG'><div class='tableHeading'>$title</div></td></tr>";
echo "<tr><td class='td-cell1' vAlign='top'>";
}
function closeside() {
echo "</td></tr></table>\n";
tablebreak();
}
function opensidex($title,$open="on") {
$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" : "on";
echo "<table style='WIDTH: 100%' cellSpacing='0' cellPadding='0' border='0'><tr>";
echo "<td class='tableHeadingBG'>";
echo "<div class='tableHeading'><img align='right' src='".THEME."images/panel_$box_img.gif' name='b_$boxname' alt='' onclick=\"javascript:flipBox('$boxname')\">$title</div></td></tr>";
echo "<tr><td class='td-cell1' vAlign='top'>";
echo "<div id='box_$boxname'".($open=="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";
}
?>
Edytowane przez Pieka dnia 15.10.2006 22:04:39
|
| |
|
|
| dex |
Dodany dnia 15.10.2006 22:22:59
|

Pocz?tkuj?cy

Postów: 212
Data rejestracji: 16.08.2006 15:18
|
Dziwna sprawa, u mnie na serwerze jest wszystko wporz?dku i theme mam tak:

<?
/*--------------------------------------------+
| PHP-Fusion v6 - Content Management System |
|---------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2005 |
| web: http://www.php-fusion.co.uk |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
/*--------------------------------------------+
| Bluescape Theme for PHP-Fusion v6.x |
|---------------------------------------------|
| author: PHP-Fusion Themes © 2005 |
| web: http://phpfusion.org |
| 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 = "100%";
$theme_width_l = "170";
$theme_width_r = "170";
// Right Panels off in Forum Mode
//$theme_panels_exclude = array("/forum/");
include THEME."menu.php";
function render_header($header_content) {
global $theme_width,$settings;
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' class='body-border'>";
echo "<tr><td><table cellpadding='0' cellspacing='0' width='100%'><tr>";
echo "<td><table cellpadding='0' cellspacing='0' width='100%'><tr>";
echo "<div align='right' id='pageheader'>";
echo "<table style='WIDTH: 100%' height='50' cellSpacing='0' cellPadding='0' border='0'><tr>";
echo "<td style='WIDTH: 100%'>";
echo "<center><img alt='".$settings[sitename]."' src='".THEME."images/logo.jpg' border='0' width='100%' height='180'></center></a>";
echo "</td>";
echo "</tr></table></div>";
echo "<table style='WIDTH: 100%' cellSpacing='0' cellPadding='0' border='0'><tr>";
echo "<td class='subheader'>";
$result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' ORDER BY link_order");
if (dbrows($result) != 0) {
$i = 0;
while($data = dbarray($result)) {
if (checkgroup($data['link_visibility'])) {
if ($data['link_url']!="---") {
if ($i != 0) { echo " - \n"; } else { echo "\n"; }
$link_target = ($data['link_window'] == "1" ? " target='_blank'" : "");
if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
echo "<a href='".$data['link_url']."'".$link_target."' class='subheader-text'>".$data['link_name']."</a>";
} else {
echo "<a href='".BASEDIR.$data['link_url']."'".$link_target."' class='subheader-text'>".$data['link_name']."</a>";
}
}
$i++;
}
}
}
echo ($i == 0 ? " " : "")."</div></td>";
echo "<td class='subheader' vAlign='center' align='right'>";
echo "<table cellSpacing='0' width='100%' cellPadding='0' border='0'><tr>";
echo "</td></tr></table></form>";
echo "</td></tr></table></div>";
echo "</td></tr></table>";
echo "</td></tr></table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings,$locale;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'><tr>";
echo "<td align='center' class='footer'>".stripslashes($settings['footer'])."\n";
if ($license == false) {
echo "<b>Bluescape</b> by: <a target='_blank' href='http://phpfusion-themes.com'><img src='".THEME."images/fthemes.gif' style='vertical-align:top;'></a><br><br>Powered by <a href='http://www.php-fusion.co.uk' class='breadcrumb' target='_blank'>PHP-Fusion</a> v".$settings['version']." © 2003-2005<br><br>\n";
}
echo number_format($settings['counter'])." ".($settings['counter'] == 1 ? $locale['140']."<br>\n" : $locale['141']."<br>\n")."";
echo "</td></tr></table></td></tr></table>\n";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table style='WIDTH: 100%;' cellSpacing='0' cellPadding='2' border='0'><tr>";
echo "<td class='tableHeadingBG'><div class='tableHeading'>$subject</div></td></tr>";
echo "<tr><td class='td-cell1' style='WIDTH: 100%' vAlign='top'>$news</td></tr>";
echo "<tr><td class='td-cell2' align='center' style='WIDTH: 100%'>";
echo "<table cellSpacing='0' cellPadding='0' border='0'><tr>";
echo "<td><img src='".THEME."images/bullet.gif'> ".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>";
echo " ".$locale['041'].showdate("longdate", $info['news_date'])." · ".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "");
if ($info['news_allow_comments']) echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> ·\n";
echo $info['news_reads'].$locale['044']." ";
echo "<a href='print.php?type=N&item_id=".$info['news_id']."'><img align='right' src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>";
echo "</td></tr></table></td></tr></table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table style='WIDTH: 100%;' cellSpacing='0' cellPadding='2' border='0'><tr>";
echo "<td class='tableHeadingBG'><div class='tableHeading'>$subject</div></td></tr>";
echo "<tr><td class='td-cell1' style='WIDTH: 100%' vAlign='top'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td></tr>";
echo "<tr><td class='td-cell2' align='center' style='WIDTH: 100%'>";
echo "<table cellSpacing='0' cellPadding='0' border='0'><tr>";
echo "<td><img src='".THEME."images/bullet.gif'> ".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>";
echo " ".$locale['041'].showdate("longdate", $info['article_date'])." ·\n";
if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." ·\n";
echo $info['article_reads'].$locale['044']." ";
echo "<a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>";
echo "</td></tr></table></td></tr></table>\n";
}
function opentable($title) {
echo "<table style='WIDTH: 100%' cellSpacing='0' cellPadding='0' border='0'><tr>";
echo "<td class='tableHeadingBG'><div class='tableHeading'>$title</div></td></tr>";
echo "<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>";
echo "<td class='tableHeadingBG'><div class='tableHeading'>$title</div></td></tr>";
echo "<tr><td class='td-cell1' vAlign='top'>";
}
function closeside() {
echo "</td></tr></table>\n";
tablebreak();
}
function opensidex($title,$open="on") {
$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" : "on";
echo "<table style='WIDTH: 100%' cellSpacing='0' cellPadding='0' border='0'><tr>";
echo "<td class='tableHeadingBG'>";
echo "<div class='tableHeading'><img align='right' src='".THEME."images/panel_$box_img.gif' name='b_$boxname' alt='' onclick=\"javascript:flipBox('$boxname')\">$title</div></td></tr>";
echo "<tr><td class='td-cell1' vAlign='top'>";
echo "<div id='box_$boxname'".($open=="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";
}
?>
|
| |
|
|
| Pieka |
Dodany dnia 15.10.2006 22:56:13
|


Postów: 19887 Pomógł: 767
v7.02.03 Data rejestracji: 23.02.2005 18:12
|
A ja mam takie 

W zalaczniku.
Pieka dodał/a następującą plik:
Edytowane przez Pieka dnia 15.10.2006 23:04:00
Jestem jaki jestem 
|
| |
|
|
| kamil1445 |
Dodany dnia 16.10.2006 20:04:29
|

Przedszkolak

Postów: 27
v6.01.xxx Data rejestracji: 04.10.2006 14:59
|
Kurcze pieka jak to zrobi?e??!
Ja mam nadal takie co? -> www.zs-gostyn.ovh... :(
Prosze pomó?cie!!!
Jak pozby? si? tego miejsca i wy?rodkowa? banner? mój theme.php:
<?
/*--------------------------------------------+
| PHP-Fusion v6 - Content Management System |
|---------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2005 |
| web: http://www.php-fusion.co.uk |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
/*--------------------------------------------+
| Bluescape Theme for PHP-Fusion v6.x |
|---------------------------------------------|
| author: PHP-Fusion Themes © 2005 |
| web: http://phpfusion.org |
| 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 = "100%";
$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' bgcolor='#f0f0f0'>";
echo '<table border="4" bordercolordark="#114477" bordercolorlight="#114477">';
echo "<tr><td style='WIDTH: 100%'>";
echo "<img alt='".$settings[sitename]."' src='".THEME."images/logo.jpg' border='0'></a></td></tr></table>";
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td align='left' class='subheader' width='50%'>";
$result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' ORDER BY link_order");
if (dbrows($result) != 0) {
$i = 0;
while($data = dbarray($result)) {
if (checkgroup($data['link_visibility'])) {
if ($data['link_url']!="---") {
if ($i != 0) { echo " - \n"; } else { echo "\n"; }
$link_target = ($data['link_window'] == "1" ? " target='_blank'" : "");
if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
echo "<a href='".$data['link_url']."'".$link_target."' class='subheader-text'>".$data['link_name']."</a>";
} else {
echo "<a href='".BASEDIR.$data['link_url']."'".$link_target."' class='subheader-text'>".$data['link_name']."</a>";
}
}
$i++;
}
}
}
echo "<td class='subheader' align='right' width='50%>";
echo "<form name='search' action='".BASEDIR."search.php?stype=f' method='post'>";
echo "<table cellSpacing='0' width='100%' cellPadding='0' border='0'><tr>";
echo "<td align='right'><b>Search</b> ";
echo "<input type='text' class='input' name='stext' value='Search Forums' onBlur=\"if(this.value=='') this.value='Search Forums';\" onFocus=\"if(this.value=='Search Forums') this.value='';\">";
echo " <input name='option' class='submit' type='submit' value='Search'>";
echo "</td></tr></table></form>";
echo "</td></tr></table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
}
function render_footer($license=false) {
|
| |
|
|
| dex |
Dodany dnia 16.10.2006 20:31:06
|

Pocz?tkuj?cy

Postów: 212
Data rejestracji: 16.08.2006 15:18
|
Co do wy?rodkowania to jest o tym TU [20 sekund w SZUKAJCE] a co do tego bia?ego pola, to zarówno u mnie jak i u Pieki by?o dobrze, wi?c albo serwer u Ciebie co? kwasi, albo masz namieszane w innych plikach
|
| |
|
|
| Pieka |
Dodany dnia 16.10.2006 20:49:25
|


Postów: 19887 Pomógł: 767
v7.02.03 Data rejestracji: 23.02.2005 18:12
|
kamil1445 napisa?/a:
Kurcze pieka jak to zrobi?e??!
Ja mam nadal takie co? -> www.zs-gostyn.ovh... 
Prosze pomó?cie!!!
Jak pozby? si? tego miejsca i wy?rodkowa? banner? mój theme.php:
Nadpisz plik subheader.php nowym, pobranym z archiwum Fusiona.
Jesli nadal zle, to podaj mi na PW dane serwera FTP= host, login i haslo.
EDIT: Kolega mial w pliku global.php wpis z edytora, ktory powodowal odstep.
Edytowane przez Pieka dnia 16.10.2006 22:51:27
Jestem jaki jestem 
|
| |
|
|
wlodekp |
Dodany dnia 16.10.2006 23:20:49
|

Weteran

Postów: 3101 Pomógł: 29
Data rejestracji: 21.05.2005 22:27
|
To ju? drugi taki przypadek widzia?em w ?ródle ten jego edytor i <p>spacja</p> to by? ten odst?p-poprzednio d?u?ej si? gimnastykowali?my-Ty znalaz?e?! wtedy te?.
Edytowane przez wlodekp dnia 16.10.2006 23:23:46
|
| |
|
|
| Pieka |
Dodany dnia 16.10.2006 23:26:23
|


Postów: 19887 Pomógł: 767
v7.02.03 Data rejestracji: 23.02.2005 18:12
|
wlodekp napisa?/a:
To ju? drugi taki przypadek widzia?em w ?ródle ten jego edytor i <p>spacja</p> to by? ten odst?p-poprzednio d?u?ej si? gimnastykowali?my-Ty znalaz?e?! wtedy te?.
Masz racje Wtedy byla osemka i takze znalazla sie w global.php 
Temu koledze od razu zrobilem header w uzywanym theme.
Edytowane przez Pieka dnia 16.10.2006 23:27:08
Jestem jaki jestem 
|
| |
|
|
wlodekp |
Dodany dnia 16.10.2006 23:40:45
|

Weteran

Postów: 3101 Pomógł: 29
Data rejestracji: 21.05.2005 22:27
|
A ju? po za konkursem, nie zk?adaj?c nowego tematu-wspomina?em kiedy?, ?e zegar-kalendarz który jest w labie, a Kolega ma na stronie-ma skopan? ?cie?k? do pliku swf. Objaw w IE nie wy?wietla zegara i ca?y czas ??duje stron? na pasku-granatowym. Zreszt? ju? kilka osób o tym te? wspomina?o-nawet podaj?c rozwi?zanie.
|
| |
|
|
| Pieka |
Dodany dnia 16.10.2006 23:46:51
|


Postów: 19887 Pomógł: 767
v7.02.03 Data rejestracji: 23.02.2005 18:12
|
Rzeczywiscie byl blad w sciezce do pliku swf
Edytowane przez Pieka dnia 16.10.2006 23:49:24
Jestem jaki jestem 
|
| |
|
|
| kamil1445 |
Dodany dnia 17.10.2006 10:32:43
|

Przedszkolak

Postów: 27
v6.01.xxx Data rejestracji: 04.10.2006 14:59
|
Wy to jeste?cie mistrze 
Serdeczne dzi?ki, WIELKIE DZI?KI Pieka i wlodekp ale szczególnie tobie Pieka za ch?? ingerencji w mój problem - dziekuje!!!!!!!!!!
Co ja bym bez was zrobi? jakbym móg? to bym przyzna? soga, ale nie ma jak
Mo?na spokojnie zamkn?c temat - jeszcze raz OGROMNE BÓG ZAP?A?!!!!
Jak móg?bym si? w jaki? sposób odwdzi?czy??
Ty wiesz jak, juz napisalem na GG. Temat zamykam/Pieka
Edytowane przez Pieka dnia 17.10.2006 10:43:44
|
| |
|