LOGO nie dociągnięte
|
h |
Dodany dnia 05.07.2007 22:37:54
|
Początkujący
Postów: 108
Data rejestracji: 14.02.2007 21:16
ZBANOWANY: Dożywotnio
|
Jak widać na fotce mam nie dociągnięte logo. Gdy poszerze logo mam dalej taki sam ubytek. Co zrobić??
Tu jest kod mojego theme
<?php
/*--------------------------------------------+
| PHP-Fusion v6 - Content Management System |
|---------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2006 |
| web: http://www.php-fusion.co.uk |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
/*--------------------------------------------+
| Uriah Heep Theme for PHP-Fusion v6 |
|---------------------------------------------|
| author: Lorkan Themes - Shedrock © 2006 |
| web: http://phpfusion-themes.com |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
/* 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,$userdata;
echo "<table cellSpacing='1' cellPadding='5' width='40%' class='bodyline' border='0'><tr>";
echo "<td class='td1'>";
echo "<table height='100%' cellSpacing='1' cellPadding='1' width='40%' border='0'><tr>";
echo "<td colSpan='3'>";
echo "<table cellSpacing='0' cellPadding='0' width='100%' align='center' border='0'><tr>";
echo "<td width='100%' colSpan='3'>";
echo "<table cellSpacing='0' cellPadding='0' width='100%' align='center'><tr>";
echo "<td><img src='".THEME."images/head-top-left.gif' width='4' height='10'></td>";
echo "<td width='100%' background='".THEME."images/head-top.gif' class='td2'>";
echo "<img height='1' src='".THEME."images/spacer.gif' width='100%'></td>";
echo "<td><img src='".THEME."images/head-top-right.gif' width='4' height='10'></td></tr></table>";
echo "<table cellSpacing='0' cellPadding='0' width='100%' border='0'><tr>";
echo "<td background='".THEME."images/head-side-left.gif'>";
echo "<img src='".THEME."images/head-side-left.gif' width='4' height='3'></td>";
echo "<td width='100%'>";
echo "<table cellSpacing='0' cellPadding='0' width='100%' border='0'><tr>";
echo "<td width='100%'>";
echo "<table cellSpacing='1' cellPadding='0' width='100%' class='td2' border='0'><tr>";
echo "<td width='100%' class='td2'>";
echo "<table cellSpacing='0' cellPadding='0' width='100%'><tr>";
echo "<td width='50%'><a href='".BASEDIR."index.php'>";
echo "<img title='".$settings[sitename]."' src='".THEME."images/logo.gif' border='0' width='980' height='145'></a></td>";
echo "<td style='padding-right:8px;' align='right' width='50%'>";
echo "</div>";
echo "</td></tr></table>";
echo "</td></tr></table>";
echo "</td></tr></table>";
echo "<td background='".THEME."images/head-side-right.gif'>";
echo "<img src='".THEME."images/head-side-right.gif' width='4' height='1'></td></tr></table>";
echo "<table cellSpacing='0' cellPadding='0' width='100%' align='center'><tr>";
echo "<td width='6' class='td1'>";
echo "<img src='".THEME."images/footer-left.gif' width='4' height='3'></td>";
echo "<td width='100%' background='".THEME."images/footer-bg.gif' class='td2'>";
echo "<img height='1' src='".THEME."images/spacer.gif' width='100%'></td>";
echo "<td width='6' class='td1'>";
echo "<img src='".THEME."images/footer-right.gif' width='4' height='3'>";
echo "</td></tr></table>";
echo "</td></tr></table>";
echo "<table><tr><td></td></tr></table>";
echo "<table cellSpacing='0' cellPadding='0' width='100%' align='center' border='0'><tr>";
echo "<td width='100%' colSpan='3'>";
echo "<table cellSpacing='0' cellPadding='0' width='100%' align='center'><tr>";
echo "<td><img src='".THEME."images/head-top-left.gif' width='4' height='1'></td>";
echo "<td width='100%' background='".THEME."images/head-top.gif' class='td2'>";
echo "<img height='1' src='".THEME."images/spacer.gif' width='100%'></td>";
echo "<td><img src='".THEME."images/head-top-right.gif' width='4' height='1'></td></tr></table>";
echo "<table cellSpacing='0' cellPadding='0' width='100%' border='0'><tr>";
echo "<td background='".THEME."images/head-side-left.gif'>";
echo "<img src='".THEME."images/head-side-left.gif' width='4' height='3'></td>";
echo "<td width='100%'>";
echo "<table cellSpacing='0' cellPadding='0' width='100%' border='0'><tr>";
echo "<td width='100%'>";
echo "<table cellSpacing='1' cellPadding='5' width='100%' class='td1' border='0'><tr>";
echo "<td class='td2'>";
echo "<table cellSpacing='1' cellPadding='1' width='100%' border='0'><tr>";
echo "<td class='Headernav' noWrap height='15'>";
Edytowane przez h dnia 05.07.2007 23:36:29
Jeżeli czegoś nie ma w Google to nie istnieje - Bill Gates
|
|
|
|
Wścibski Gość |
Dodany dnia 14.01.2025 23:28:21
|
Pan Kontekstualny
Postów: n^x
Data rejestracji: Zawsze
|
|
IP: localhost |
|
|
qwertyuiop |
Dodany dnia 05.07.2007 22:48:58
|
Początkujący
Postów: 120
Data rejestracji: 24.08.2006 20:15
|
A może warto w tej części kodu coś pozmieniać?
.
.
.
echo "<td width='50%'><a href='".BASEDIR."index.php'>";
echo "<img title='".$settings[sitename]."' src='".THEME."images/logo.gif' border='0' width='980' height='145'></a></td>";
[b]echo "<td style='padding-right:8px;' align='right' width='50%'>";[/b]
.
.
.
Edytowane przez qwertyuiop dnia 05.07.2007 22:49:22
|
|
|
|
zezol |
Dodany dnia 05.07.2007 23:10:53
|
Bywalec
Postów: 593 Pomógł: 34
Data rejestracji: 09.12.2006 22:16
|
Po prosu usunąć to na czerwono ;) Logo samo się dopasuje ;)
echo "<img title='".$settings[sitename]."' src='".THEME."images/logo.gif' border='0'[color=red] width='980' height='145'[/color]></a></td>";
|
|
|
|
h |
Dodany dnia 05.07.2007 23:36:18
|
Początkujący
Postów: 108
Data rejestracji: 14.02.2007 21:16
ZBANOWANY: Dożywotnio
|
echo "<td style='padding-right:[b]8[/b]px;' align='right' width='50%'>";
Pogrubione zaminiłem na 1 i gitara gra.
Jeżeli czegoś nie ma w Google to nie istnieje - Bill Gates
|
|
|
|
analia777 |
Dodany dnia 14.07.2007 15:42:02
|
Przedszkolak
Postów: 4
Data rejestracji: 12.07.2007 12:20
|
url mojej strony www.faith.yoyo.pl
U mnie tez jest niedociągniete ktoś poradzi?
<?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) |
+--------------------------------------------*/
/*--------------------------------------------+
| Valencia Theme for PHP-Fusion v6 |
|---------------------------------------------|
| author: PHP-Fusion Themes - Shedrock © 2005 |
| web: http://phpfusion.org |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#000000";
$body_bg = "#FFFFFF";
$theme_width = "100%";
$theme_width_l = "180";
$theme_width_r = "180";
function render_header($header_content) {
global $theme_width,$settings;
echo "<table align='center' width='$theme_width' class='bodyline' cellspacing='0' cellpadding='0' border='0'>";
echo "<tr><td>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td valign='middle' width='100%' style='background-image:url(".THEME."images/logo_bg.gif)' height='85'>";
// Start banner code
echo "<table width='100%' cellspacing='0' cellpadding='4'>";
echo "<tr><td width='100%'>$header_content</td>";
echo "</tr></table>";
// End banner code
echo "</td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
echo "<td height='24'><table width='100%' border='0' cellpadding='4' cellspacing='0'><tr><td class='nav-header'>\n";
echo showsublinks("<img border='0' src='".THEME."images/divider.gif'>","white")."</td>\n";
echo "<td align='right' class='nav-header'>".showsubdate()."</td></tr></table>";
echo "<table width='100%' cellspacing='5' cellpadding='0'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$locale,$settings;
echo "</tr>\n</table>\n";
echo "<table align='center' width='$theme_width' cellspacing='0' cellpadding='0'>";
echo "<tr><td>".stripslashes($settings['footer'])."</td></tr></table><br>\n";
echo "<table align='center' border='0' cellpadding='0' cellspacing='0' width='100%'>";
echo "<tr><td width='15'></td>";
echo "<td class='footer' align='left' width='38%'>";
if ($license == false) {
echo "Powered by <a href='http://www.php-fusion.co.uk' target='_blank'>PHP-Fusion</a> © 2003-2006";
}
echo "</td>";
echo "<td class='footer' align='center' width='24%'>Valencia Theme by: <a href='http://www.phpfusion-themes.com' target='_blank'>PHP-Fusion Themes</a>";
echo "</td>";
echo "<td class='footer' align='right' width='38%'>";
echo "<strong>".$settings['counter']." </strong>".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."\n");
echo "</td></tr></table></td></tr></table></td></tr></table>";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='panel-left3'><img src='".THEME."images/blank.gif' width='6' height='21' alt='' style='display:block'></td>";
echo "<td width='100%' class='panel-main3'>$subject</td>";
echo "<td class='panel-right3'><img src='".THEME."images/blank.gif' width='6' height='21' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left3'><img src='".THEME."images/blank.gif' width='6' height='1' alt='' style='display:block'></td>";
echo "<td class='news-body'><div style='width:100%;vertical-align:top;'>$news</div><br>";
echo "<div style='margin-top:5px'>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='infobar'>".newsposter($info)."</td>";
echo "<td align='right' class='infobar2'>";
echo openform("N",$info['news_id']).newsopts($info,"·").closeform("N",$info['news_id']);
echo "</td></tr></table></div></td>";
echo "<td class='border-right3'><img src='".THEME."images/blank.gif' width='6' height='1' alt='' style='display:block'>";
echo "</td></tr><tr>";
echo "<td class='border-bleft3'><img src='".THEME."images/blank.gif' width='6' height='16' alt='' style='display:block'></td>";
echo "<td class='border-bmain3'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>";
echo "<td class='border-bright3'><img src='".THEME."images/blank.gif' width='6' height='16' alt='' style='display:block'></td>";
echo "</tr></table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='panel-left4'><img src='".THEME."images/blank.gif' width='6' height='21' alt='' style='display:block'></td>";
echo "<td width='100%' class='panel-main4'>$subject</td>";
echo "<td class='panel-right4'><img src='".THEME."images/blank.gif' width='6' height='21' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left4'><img src='".THEME."images/blank.gif' width='6' height='1' alt='' style='display:block'></td>";
echo "<td class='side-bodyx'><div style='width:100%;vertical-align:top;'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div><br>";
echo "<div style='margin-top:5px'>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='infobar3'>".articleposter($info)."</td>";
echo "<td align='right' class='infobar4'>";
echo openform("A",$info['article_id']).articleopts($info,"·").closeform("A",$info['article_id']);
echo "</td></tr></table></div></td>";
echo "<td class='border-right4'><img src='".THEME."images/blank.gif' width='6' height='1' alt='' style='display:block'></td>";
echo "</tr><tr>";
echo "<td class='border-bleft4'><img src='".THEME."images/blank.gif' width='6' height='16' alt='' style='display:block'></td>";
echo "<td class='border-bmain4'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>";
echo "<td class='border-bright4'><img src='".THEME."images/blank.gif' width='6' height='16' alt='' style='display:block'></td>";
echo "</tr></table>\n";
}
function opentable($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
echo "<tr><td class='panel-left2'><img src='".THEME."images/blank.gif' width='6' height='21' alt='' style='display:block'></td>";
echo "<td width='100%' class='panel-main2'>$title</td>";
echo "<td class='panel-right2'><img src='".THEME."images/blank.gif' width='6' height='21' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left2'><img src='".THEME."images/blank.gif' width='6' height='1' alt='' style='display:block'></td>";
echo "<td class='table-body'>\n";
}
function closetable() {
echo "</td>";
echo "<td class='border-right2'><img src='".THEME."images/blank.gif' width='6' height='1' alt='' style='display:block'></td></tr>";
echo "<tr>";
echo "<td class='border-bleft2'><img src='".THEME."images/blank.gif' width='6' height='16' alt='' style='display:block'></td>";
echo "<td class='border-bmain2'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>";
echo "<td class='border-bright2'><img src='".THEME."images/blank.gif' width='6' height='16' alt='' style='display:block'></td>";
echo "</tr></table>\n";
}
function openside($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='panel-left'><img src='".THEME."images/blank.gif' width='6' height='21' alt='' style='display:block'></td>";
echo "<td width='100%' class='panel-main'>$title</td>";
echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='6' height='21' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='6' height='1' alt='' style='display:block'></td>";
echo "<td class='side-body'>\n";
}
function closeside() {
echo "</td>";
echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='6' height='1' alt='' style='display:block'></td></tr>";
echo "<tr>";
echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='6' height='16' alt='' style='display:block'></td>";
echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>";
echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='6' height='16' alt='' style='display:block'></td>";
echo "</tr></table>\n";
tablebreak();
}
function opensidex($title,$open="on") {
$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" : "on";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='panel-left4'><img src='".THEME."images/blank.gif' width='6' height='21' alt='' style='display:block'></td>";
echo "<td class='panel-main4'>$title</td>";
echo "<td align='right' class='panel-main4'><img src='".THEME."images/panel_$box_img.gif' name='b_$boxname' alt='' onclick=\"javascript:flipBox('$boxname')\"></td>";
echo "<td class='panel-right4'><img src='".THEME."images/blank.gif' width='6' height='21' alt='' style='display:block'></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='border-left4'><img src='".THEME."images/blank.gif' width='6' height='1' alt='' style='display:block'></td>";
echo "<td class='side-bodyx'>";
echo "<div id='box_$boxname'".($open=="off" ? "style='display:none'" : "").">\n";
}
function closesidex() {
echo "</div>";
echo "<td class='border-right4'><img src='".THEME."images/blank.gif' width='6' height='1' alt='' style='display:block'></td></tr>";
echo "<tr>";
echo "<td class='border-bleft4'><img src='".THEME."images/blank.gif' width='6' height='16' alt='' style='display:block'></td>";
echo "<td class='border-bmain4'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>";
echo "<td class='border-bright4'><img src='".THEME."images/blank.gif' width='6' height='16' alt='' style='display:block'></td>";
echo "</tr></table>\n";
}
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td></td></tr></table>\n";
}
?>
Edytowane przez Pieka dnia 14.07.2007 17:01:25
|
|
|
|
Pieka |
Dodany dnia 14.07.2007 17:02:46
|
Postów: 19885 Pomógł: 767
v7.02.03 Data rejestracji: 23.02.2005 18:12
|
Wyloguj sie, zobacz co nam pokazujesz, nastepnie popraw (wylacz maintenance) i mozemy rozmawiac
Edytowane przez Pieka dnia 15.07.2007 14:17:40
Jestem jaki jestem
|
|
|
|
analia777 |
Dodany dnia 15.07.2007 13:06:19
|
Przedszkolak
Postów: 4
Data rejestracji: 12.07.2007 12:20
|
Juz się wylogowalem przepraszam - zapomnialem wylaczyc prace na serwerze
Widac ze logo jest nie dociagniete... jesli moge to jakos zmienic (rozciagnac,zmniejszyc w pionie lub poziomie) prosilbym o informcje ktore linie w moim kodzie za to odpowiadają | I prosiłbym odrazu mnie nie krzyżowac naprawde jestem nowy w php i instrukcje jakkolwiek proste i łopatologiczne nie pomagały. Dlatego zwracam się do Was
. Aha napisałeś popraw...Czy wysłałem zły kod? Jeśli tak to który plik za to odpowiada? (oczywiście mam na myśli ustawienia loga )
Edytowane przez analia777 dnia 15.07.2007 13:20:36
|
|
|
|
Pieka |
Dodany dnia 15.07.2007 14:30:15
|
Postów: 19885 Pomógł: 767
v7.02.03 Data rejestracji: 23.02.2005 18:12
|
Po pierwsze, zmien sobie szerokosc strony w theme.php (linia 28) na:
$theme_width = "941";
Po drugie, usun z tego samego pliku (linia 38):
style='background-image:url(".THEME."images/logo_bg.gif)'
lub zamien na kolor:
style='background-color:#C7E9FE;'
Chwilowy podglad: http://pieka.lua.pl
Jestem jaki jestem
|
|
|
|
analia777 |
Dodany dnia 17.07.2007 14:07:34
|
Przedszkolak
Postów: 4
Data rejestracji: 12.07.2007 12:20
|
Dzięki bardzo hula |
|
|