Co to za logo, ktore wazy 8MB?? Czy Ty kiedykolwiek widziales cokolwiek w internecie o takiej wadze??
Pomysl troszke, to nie boli..
Mianowicie to http://www.fotosi...b1b1ad7b2a
Myślenie nie boli...
ten sposób z header content dla loga które jest np. na fotce albo imageshack'u :( nie działa...
[News] Dal innych lóg na serwerze też nie działa oczywiście mówię o header content co podał MeTeo. Tak zrobiłem:
<?
//************************************************************************************************************************//
// Theme Name: Evergreen Theme for PHP-Fusion 6.00
// Theme Design: by: PHP-Fusion Themes (http://phpfusion.org)
// version 2.0
//
// PHP-Fusion Themes and/or Lorkan is a Registered Organization and holds a copyright with CIPO
// Original Author of file: PHP-Fusion Themes [Shedrock]
// Developed by: PHP-Fusion Themes - Bringing Your Portal To Life
// Copyright © 2005 by PHP-Fusion Themes - All Rights Reserved
// ----------------------------------------------------------------------
// THEME MODIFICATION
// Users may alter or modify this theme at their own risk,
// but only for their own use. They may also hire PHP-Fusion Themes to modify their own copy of the theme.
// Although users may modify the code for their use,
// modified code may not be resold or distributed,
// without express written permission from PHP-Fusion Themes.
//
// DISPLAY OF COPYRIGHT NOTICES REQUIRED
// All copyright notices used within the scripts that the scripts generate,
// MUST remain intact. Furthermore, these notices must remain visible.
//
// SUPPORT
// PHP-Fusion Themes provides free support on all their theme designs.
// (includes consulting, troubleshooting and fixing problems).
// For Support, please visit us at: http://www.phpfusion.org/forum/viewforum.php?forum_id=2
//
// PHP-Fusion Themes is not liable for any products or services offered by means of the theme.
// The user must assume the entire risk of using the program.
//************************************************************************************************************************//
/************************/
/* Theme Settings */
/************************/
$body_text = "#000000";
$body_bg = "#C0B9B2";
$theme_width = "65%";
$theme_width_l = "160";
$theme_width_r = "160";
echo "<script type='text/javascript' src='".THEME."search/global.js'></script>";
echo "<script type='text/javascript' src='".THEME."search/menu.js'></script>";
echo'
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>';
function render_header($header_content) {
global $theme_width,$settings;
include LOCALE.LOCALESET."search.php";
echo "<table align='center' style='width: 902px; border-collapse: collapse' cellSpacing='0' cellPadding='0' border='0'>";
echo "<tr><td align='middle'><table style='width: 100%' cellSpacing='0' cellPadding='0' border='0'>";
echo "<tr><td vAlign='top' align='left'><img src='".THEME."images/header_left.jpg' width='14' height='124'></td>";
echo "<td align='middle' colspan='2'><a href='index.php'><img title='".$settings[sitename]."' src='".THEME."$Header_content'></a></td>";
echo "<td vAlign='top' align='right'><img src='".THEME."images/header_right.jpg' width='14' height='124'></td></tr>";
echo "<tr><td align='middle' background='".THEME."images/links_left.jpg'></td>";
echo "<td width='675' height='26' background='".THEME."images/navi_bg1.jpg'><div align='center'>";
//IMAGE URL LINK IMAGES
echo "<a onmouseover=\"MM_swapImage('Image1','','".THEME."images/home_on.gif',1)\" onmouseout='MM_swapImgRestore()' href='".BASEDIR."index.php'><img src='".THEME."images/home.gif' name='Image1' width='79' height='17'></a> ";
echo "<a onmouseover=\"MM_swapImage('Image2','','".THEME."images/forums_on.gif',1)\" onmouseout='MM_swapImgRestore()' href='".BASEDIR."forum/index.php'><img src='".THEME."images/forums.gif' name='Image2' width='79' height='17'></a> ";
echo "<a onmouseover=\"MM_swapImage('Image3','','".THEME."images/account_on.gif',1)\" onmouseout='MM_swapImgRestore()' href='".BASEDIR."edit_profile.php'><img src='".THEME."images/account.gif' name='Image3' width='79' height='17'></a> ";
echo "<a onmouseover=\"MM_swapImage('Image4','','".THEME."images/downloads_on.gif',1)\" onmouseout='MM_swapImgRestore()' href='".BASEDIR."downloads.php'><img src='".THEME."images/downloads.gif' name='Image4' width='79' height='17'></a> ";
echo "<a onmouseover=\"MM_swapImage('Image5','','".THEME."images/articles_on.gif',1)\" onmouseout='MM_swapImgRestore()' href='".BASEDIR."articles.php'><img src='".THEME."images/articles.gif' name='Image5' width='79' height='17'></a> ";
//END URL LINK IMAGES
echo "<a href='#goto_forumsearch' id='forumsearch'><img src='".THEME."images/search.gif'></a><script type='text/javascript'>lkmenu_register('forumsearch');</script>";
echo "<div class='lkmenu_popup' id='forumtools_menu' style='display:none'></div>";
echo "<div class='lkmenu_popup' id='forumsearch_menu' style='display:none'>";
echo "<form action='".BASEDIR."search.php' method='post'>";
echo "<table cellpadding='2' cellspacing='0' border='0'>";
echo "<tr><td background='".THEME."images/search_header.gif' height='22'><img align='left' src='".THEME."images/icon_search.gif'><font class='search-title'><center>Search Menu<a name='goto_forumsearch'></a></font>";
echo "</td></tr>";
echo "<tr><td width='255px'><font class='lkmenu_text'>Search for Keywords:</font><hr>";
if ($stype == "") $stype = "n";
echo "<input type='text' name='stext' value='Enter search here...' class='lkmenu_input' style='width:255px' onBlur=\"if(this.value=='') this.value='Enter search here...';\" onFocus=\"if(this.value=='Enter search here...') this.value='';\" ><hr>";
echo "<input type='submit' name='search' value='".$locale['408']."' class='button'><br>";
echo "<input type='radio' name='stype' value='a'".($stype == "a" ? " checked" : "")."> ".$locale['402']."";
echo "<input type='radio' name='stype' value='n'".($stype == "n" ? " checked" : "")."> ".$locale['403']."";
echo "<input type='radio' name='stype' value='f'".($stype == "f" ? " checked" : "")."> ".$locale['404']."";
echo "<input type='radio' name='stype' value='d'".($stype == "d" ? " checked" : "")."> ".$locale['405']."";
echo "<input type='radio' name='stype' value='w'".($stype == "w" ? " checked" : "")."> ".$locale['406']."";
echo "<input type='radio' name='stype' value='m'".($stype == "m" ? " checked" : "")."> ".$locale['407']."";
echo "</td></tr></table></form></div>";
echo"<script type='text/javascript'>LKT_init();</script>";
echo "</center></div>";
echo "<td align='center' width='228' height='26' background='".THEME."images/navi_bg2.jpg'>";
echo "<font class='block-title'>".ucwords(showdate($settings['subheaderdate'], time()))."</font>";
echo "<td align='right' background='".THEME."images/links_right.jpg'>";
echo "</td></tr></table></center></div>";
echo "<table width='100%' cellpadding='0' bgcolor='#607043' cellspacing='0' border='0'>";
echo "<tr valign='top'>";
echo "<td width='14' valign='top' background='".THEME."images/side_left.gif'><img src='".THEME."images/side_left.gif' width='14' height='0'></td>";
}
function render_footer($license=false) {
global $theme_width,$settings,$locale;
echo "<td width='14' valign='top' background='".THEME."images/side_right.gif'><img src='".THEME."images/side_right.gif' width='14' height='0'></td>";
echo "</tr>\n</table>\n";
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'><tr><td width='16'>";
echo "<img src='".THEME."images/header_left.jpg' width='14' height='24'></td>";
echo "<td width='40%' background='".THEME."images/footer.gif'> ";
if ($license == false) {
echo "Powered by <a target='_blank' href='http://www.php-fusion.co.uk'><img src='".THEME."images/fusion.gif' title='PHP-Fusion' style='vertical-align:middle;'></a> v".$settings['version']." © 2003-2005";
}
echo "</td>";
echo "<td width='40%' background='".THEME."images/footer.gif'>";
echo "<div align='left'> <font class='white'>";
echo "Evergreen by: <a target='_blank' href='http://phpfusion.org'><img title='PHP-Fusion Themes' src='".THEME."images/fthemes.gif' style='vertical-align:middle;'></a>";
echo "</td></div>";
echo "<td width='20%' background='".THEME."images/footer.gif'><div align='right'>";
echo "<font class='tiny'><b>".$settings['counter']." </b></font>".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."\n");
echo " </td></div>";
echo "<td width='17'><img src='".THEME."images/header_right.jpg' width='14' height='24'></td></tr></table>";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table cellSpacing='0' cellPadding='0' width='100%' border='0'>";
echo "<tr><td width='1%'>";
echo "<img src='".THEME."images/graphx_1.gif' width='17' height='26'></td>";
echo "<td width='100%' background='".THEME."images/graphx_2.gif'><font class='storytitle'><b>";
echo "$subject</b></font></td>";
echo "<td width='1%'><img src='".THEME."images/graphx_3.gif' width='15' height='26'>";
echo "</td></tr><tr><td background='".THEME."images/graphx_4.gif' height='20'>";
echo " </td>";
echo "<td vAlign='top' bgColor='#607043' align='right'>";
echo "<table border='0' cellpadding='4' cellspacing='0' width='100%'><tr>";
echo "<table border='0' width='100%' bgcolor='#607043' align='center'><tr><td>";
echo "<br>$news</tr></table>";
echo "<div align='right'><br>";
echo "<table class='news-footer' border='0' cellpadding='0' cellspacing='0' width='100%'>";
echo "<tr><td align='left' width='100%'>";
echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
echo "".$locale['041'].showdate("longdate", $info['news_date'])."";
echo "</td></div></tr>";
echo "<tr><td align='right'width='100%'>";
echo "".($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> · ";
echo "".$info['news_reads'].$locale['044']." ";
echo "<a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;'></a><br>";
echo "</td></tr></table></td>";
echo "<td background='".THEME."images/graphx_5.gif'> </td></tr>";
echo "<tr><td vAlign='top' height='14'>";
echo "<img src='".THEME."images/graphx_6.gif' width='17' height='14'></td>";
echo "<td vAlign='top' background='".THEME."images/graphx_7.gif'> </td>";
echo "<td><img src='".THEME."images/graphx_8.gif' width='15' height='14'>";
echo "</td></tr></table>";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table cellSpacing='0' cellPadding='0' width='100%' border='0'>";
echo "<tr><td width='1%'>";
echo "<img src='".THEME."images/graphx_1.gif' width='17' height='26'></td>";
echo "<td width='100%' background='".THEME."images/graphx_2.gif'><font class='storytitle'><b>";
echo "$subject</b></font></td>";
echo "<td width='1%'><img src='".THEME."images/graphx_3.gif' width='15' height='26'>";
echo "</td></tr><tr><td background='".THEME."images/graphx_4.gif' height='20'>";
echo " </td>";
echo "<td vAlign='top' bgColor='#607043' align='right'>";
echo "<table border='0' cellpadding='4' cellspacing='0' width='100%'><tr>";
echo "<table border='0' width='100%' bgcolor='#607043' align='center'><tr><td>";
echo "<br>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</tr></table>";
echo "<div align='right'><br>";
echo "<table class='news-footer' border='0' cellpadding='0' cellspacing='0' width='100%'>";
echo "<tr><td align='left' width='100%'>";
echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
echo "".$locale['041'].showdate("longdate", $info['article_date'])."";
echo "</td></div></tr>";
echo "<tr><td align='right'width='100%'>";
if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." · ";
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']."' border='0' style='vertical-align:middle;'></a>";
echo "</td></tr></table></td>";
echo "<td background='".THEME."images/graphx_5.gif'> </td></tr>";
echo "<tr><td vAlign='top' height='14'><img src='".THEME."images/graphx_6.gif' width='17' height='14'></td>";
echo "<td vAlign='top' background='".THEME."images/graphx_7.gif'> </td>";
echo "<td><img src='".THEME."images/graphx_8.gif' width='15' height='14'></td></tr></table>";
}
function opentable($title) {
echo "<table cellSpacing='0' cellPadding='0' width='100%' border='0'>";
echo "<td width='1%'><img src='".THEME."images/graphx_1.gif' width='17' height='26'></td>";
echo "<td width='100%' background='".THEME."images/graphx_2.gif'>";
echo "<font class='head-title'>$title</font></td>";
echo "<td width='1%'><img src='".THEME."images/graphx_3.gif' width='15' height='26'></td></tr>";
echo "<tr><td background='".THEME."images/graphx_4.gif' height='18'></td>";
echo "<td vAlign='top' bgColor='#607043'>";
}
function closetable() {
echo "</td>";
echo "<td background='".THEME."images/graphx_5.gif'> </td></tr>";
echo "<tr><td vAlign='top' height='15'><img src='".THEME."images/graphx_6.gif' width='17' height='14'></td>";
echo "<td vAlign='top' background='".THEME."images/graphx_7.gif'> </td>";
echo "<td><img src='".THEME."images/graphx_8.gif' width='15' height='14'></td></tr></table>";
}
function openside($title) {
echo "<table cellSpacing='0' cellPadding='0' width='100%' border='0'>";
echo "<td width='1%'><img src='".THEME."images/graphx_1.gif' width='17' height='26'></td>";
echo "<td width='100%' background='".THEME."images/graphx_2.gif'>";
echo "<font class='block-title'>$title</font></td>";
echo "<td width='1%'><img src='".THEME."images/graphx_3.gif' width='15' height='26'></td></tr>";
echo "<tr><td background='".THEME."images/graphx_4.gif' height='18'></td>";
echo "<td vAlign='top' bgColor='#607043'>";
}
function closeside() {
echo "</td>";
echo "<td background='".THEME."images/graphx_5.gif'> </td></tr>";
echo "<tr><td vAlign='top' height='15'><img src='".THEME."images/graphx_6.gif' width='17' height='14'></td>";
echo "<td vAlign='top' background='".THEME."images/graphx_7.gif'> </td>";
echo "<td><img src='".THEME."images/graphx_8.gif' width='15' height='14'></td></tr></table>";
tablebreak();
}
function opensidex($title,$open="on") {
if($open=="on"){$box_img="off";}else{$box_img="on";}
echo"<table cellSpacing='0' cellPadding='0' width='100%' border='0'>
<td width='1%'>
<img src='".THEME."images/graphx_1.gif' width='17' height='26'></td>
<td width='100%' background='".THEME."images/graphx_2.gif'>
<img align='left' onclick=\"javascript:flipBox('$title')\" name='b_$title' border='0' src='".THEME."images/panel_$box_img.gif'><font class='block-title'>$title</font></td>
<td width='1%'>
<img src='".THEME."images/graphx_3.gif' width='15' height='26'></td></tr>
<tr><td background='".THEME."images/graphx_4.gif' height='18'>
</td>
<td vAlign='top' bgColor='#607043'>
<div id='box_$title'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";
}
function closesidex() {
echo "</td>";
echo "<td background='".THEME."images/graphx_5.gif'> </td></tr>";
echo "<tr><td vAlign='top' height='15'><img src='".THEME."images/graphx_6.gif' width='17' height='14'></td>";
echo "<td vAlign='top' background='".THEME."images/graphx_7.gif'> </td>";
echo "<td><img src='".THEME."images/graphx_8.gif' width='15' height='14'></td></tr></table>";
tablebreak();
}
// Table functions
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='8'></td></tr></table>\n";
}
?>
Edytowane przez Rogalik88 dnia 28.10.2006 09:33:04
|