| Szerkosc strny w Themie - Leviathan | 
| kosa26 | Dodany dnia 04.11.2006 08:55:54 | 
|  
 Przedszkolak
 
  
 
 Postów: 10
 Data rejestracji: 20.06.2006 14:12
 
 
 | A wiec tak szuka?em, znalazlem ze trzeba zmienic szerokosc w zmiennej, zmieni?em. Nic to nie dalo wiec zwracam sie z prosba aby mi powiedziec co zmienic, za??czam theme.php: 
 
 <?
 //************************************************************************************************************************//
 // Theme Name: Leviathan 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 = "#FAFAFA";
 $body_bg = "#899DA4";
 $theme_width = "800";
 $theme_width_l = "170";
 $theme_width_r = "170";
 
 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,$userdata;
 
 echo "<table class='borderline' border='0' cellpadding='0' cellspacing='0' bgcolor='#70889A' width='100%' align='center'>\n";
 echo "<tr><td bgColor='#394B5B'>";
 echo "<table cellSpacing='0' cellPadding='0' width='100%' border='0'>";
 echo "<tr><td align='left' width='1' background='".THEME."images/header_bg.gif' height='100'></td>";
 echo "<td vAlign='top' align='left' width='100%' background='".THEME."images/header_bg.gif' bgColor='#4F5D69' height='100'>";
 echo "<a href='".BASEDIR."index.php'><img src='".THEME."images/logo.gif' width='222' height='100' title='".$settings[sitename]."'></a></td>";
 echo "<td align='left' width='1' background='".THEME."images/header_bg.gif'></td></tr>";
 echo "<tr><td align='left' width='1' background='".THEME."images/header_nav_bg1.gif' height='41'></td>";
 echo "<td valign='center' align='left' background='".THEME."images/header_nav_bg.gif' bgColor='#6180ac' height='41'>";
 echo "<table height='41' cellSpacing='0' cellPadding='0' width='100%' border='0'>";
 echo"<tr>";
 
 //URL IMAGES BEGIN HERE
 
 echo "<td width='60' height='41'><a onmouseover=\"MM_swapImage('Image1','','".THEME."images/home_over.gif',1)\" onmouseout='MM_swapImgRestore()' href='".BASEDIR."index.php'><img src='".THEME."images/home.gif' name='Image1' width='60' height='41'></a></td>";
 echo "<td width='77' height='41'><a onmouseover=\"MM_swapImage('Image2','','".THEME."images/forum_over.gif',1)\" onmouseout='MM_swapImgRestore()' href='".BASEDIR."forum/index.php'><img src='".THEME."images/forum.gif' name='Image2' width='77' height='41'></a></td>";
 echo "<td width='81' height='41'><a onmouseover=\"MM_swapImage('Image3','','".THEME."images/downloads_over.gif',1)\" onmouseout='MM_swapImgRestore()' href='".BASEDIR."downloads.php'><img src='".THEME."images/downloads.gif' name='Image3' width='81' height='41'></a></td>";
 echo "<td width='64' height='41'><a onmouseover=\"MM_swapImage('Image5','','".THEME."images/gallery_on.gif',1)\" onmouseout=\"MM_swapImgRestore()\" href='".BASEDIR."photogallery.php'><img src='".THEME."images/gallery.gif' name='Image5' width='64' height='41'></a></td>";
 echo "<td width='77' height='41'><a onmouseover=\"MM_swapImage('Image6','','".THEME."images/articles_on.gif',1)\" onmouseout=\"MM_swapImgRestore()\" href='".BASEDIR."articles.php'><img src='".THEME."images/articles.gif' name='Image6' width='77' height='41'></a></td>";
 echo "<td width='77' height='41'><a onmouseover=\"MM_swapImage('Image7','','".THEME."images/search_on.gif',1)\" onmouseout=\"MM_swapImgRestore()\" href='".BASEDIR."search.php'><img src='".THEME."images/search.gif' name='Image7' width='77' height='41'></a></td>";
 
 //URL IMAGES END HERE
 
 echo "<td width='100%'><img height='41' src='".THEME."images/header_nav_bg.gif' width='6'></td></tr></table></td>";
 echo"<table width='100%' cellpadding='1' bgcolor='#394B5B' cellspacing='0' border='0'>";
 echo "<tr valign='top'>";
 echo "<td valign='middle' align='right'>";
 echo "<table width='100%' cellpadding='4' bgcolor='#394B5B' cellspacing='0' border='0'>";
 }
 
 function render_footer($license=false) {
 
 global $theme_width,$settings,$locale;
 
 echo "</td></tr></table>\n";
 echo "<table cellSpacing='0' cellPadding='0' width='100%' border='0'><tr>";
 echo "<td>".stripslashes($settings['footer'])."</td><br>";
 echo "<table cellSpacing='0' cellPadding='0' width='100%' border='0'>";
 echo "<tr><td width='35%' class='botnav' align='left'>";
 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='20%' class='botnav' align='center'>Leviathan by: <a target='_blank' href='http://phpfusion.org'><img title='PHP-Fusion Themes' src='".THEME."images/fthemes.gif' style='vertical-align:middle;'></a></td>";
 echo "<td width='35%' class='botnav' align='middle'><div align='right'>";
 echo "<font class='visits'>".$settings['counter']." </b></font>".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."\n");
 echo "</div></td></tr></table>";
 }
 
 function render_news($subject, $news, $info) {
 
 global $locale;
 
 echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'>";
 echo "<tr><td><table width='100%' border='0' cellspacing='0' cellpadding='1'>";
 echo "<tr><td bgcolor='#8B9BA9'><table width='100%' border='0' cellspacing='0' cellpadding='4'>";
 echo "<tr><td bgcolor='#2E373F'><table width='100%' border='0' cellspacing='0' cellpadding='0'>";
 echo "<tr><td bgcolor='#8B9BA9'><table width='100%' border='0' cellspacing='1' cellpadding='4'>";
 echo "<tr><td bgcolor='07243A'><img align='left' src='".THEME."images/small_arrow.gif'><img src='".THEME."images/pixel.gif' width='6' height='1'><font class='news-title'>$subject</font>";
 echo "</td></tr>";
 echo "<tr><td colspan='2' bgcolor='#4C5A66'>";
 echo "<table border='0' width='100%' bgcolor='#4C5A66' align='center'><tr><td>";
 echo "<br><font class='content'>$news</font></td></tr></table>";
 echo "<br><center><img src='".THEME."images/line_break.gif' width='98%' height='1' vspace='0'></center> ";
 echo "  <div align='left'><b><font class='tiny'>";
 echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
 echo "".$locale['041'].showdate("longdate", $info['news_date'])."";
 echo "</div><div align='right'>";
 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></div>";
 echo "</tr></table></td></tr></table></td></tr></table></td></tr></table></td></tr></table>";
 }
 
 function render_article($subject, $article, $info) {
 
 global $locale;
 
 echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'>";
 echo "<tr><td><table width='100%' border='0' cellspacing='0' cellpadding='1'>";
 echo "<tr><td bgcolor='#8B9BA9'><table width='100%' border='0' cellspacing='0' cellpadding='4'>";
 echo "<tr><td bgcolor='#2E373F'><table width='100%' border='0' cellspacing='0' cellpadding='0'>";
 echo "<tr><td bgcolor='#8B9BA9'><table width='100%' border='0' cellspacing='1' cellpadding='4'>";
 echo "<tr><td bgcolor='07243A'><img align='left' src='".THEME."images/small_arrow.gif'><img src='".THEME."images/pixel.gif' width='6' height='1'><font class='news-title'>$subject</font></td>";
 echo "</tr>";
 echo "<tr><td colspan='2' bgcolor='#4C5A66'>";
 echo "<table border='0' width='100%' bgcolor='#4C5A66' align='center'><tr><td>";
 echo "<br><font class='content'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</font>";
 echo "</td></tr></table>";
 echo " <b><font class='tiny'>";
 echo "<br><center><img src='".THEME."images/line_break.gif' width='98%' height='1' vspace='3'></center> <div align='left'>";
 echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
 echo "".$locale['041'].showdate("longdate", $info['article_date'])."";
 echo "</div><div align='right'>";
 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 "</div></tr></table></td></tr></table></td></tr></table></td></tr></table></td></tr></table>";
 }
 
 // Open table begins
 function opentable($title) {
 
 echo "<table border='0' style='border: 1px solid #8B9BA9' cellspacing='1' width='100%' cellpadding='3'><tr>";
 echo "<td height='26' width='100%' bgcolor='#214057'> ";
 echo "<font class='title'>$title</font>";
 echo "</td></tr>";
 echo "<tr><td bgcolor='#4C5A66' class='side-body' width='100%'>";
 }
 
 // Close table end
 function closetable() {
 echo "</td></tr></table>\n";
 
 }
 
 function openside($title) {
 
 echo "<table border='0' style='border: 1px solid #8B9BA9' cellspacing='1' width='100%' cellpadding='3'><tr>";
 echo "<td height='26' width='100%' bgcolor='#07243A'>";
 echo "<img border='0' src='".THEME."images/small_arrow.gif' hspace='5'><font class='block-title'>$title</font>";
 echo "</td></tr>";
 echo "<tr><td bgcolor='#4C5A66' class='side-body' width='100%'>";
 }
 
 function closeside() {
 echo "</td></tr></table>";
 tablebreak();
 }
 
 function opensidex($title,$open="on") {
 
 if($open=="on"){$box_img="off";}else{$box_img="on";}
 echo "<table border='0' style='border: 1px solid #8B9BA9' cellspacing='1' width='100%' cellpadding='3'><tr>";
 echo "<td height='26' width='100%' bgcolor='#07243A'>";
 echo "<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>";
 echo "</td></tr>";
 echo "<tr><td bgcolor='#4C5A66' class='side-body' width='100%'>";
 echo "<div id='box_$title'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";
 }
 
 
 function closesidex() {
 
 echo "</div></td></tr></table>";
 tablebreak();
 }
 
 // Table functions
 function tablebreak() {
 echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='8'></td></tr></table>\n";
 }
 ?>
 | 
|  |   
 
 | 
			
				|  | 
			
				| W?cibski Go?? | Dodany dnia 30.10.2025 06:40:19 | 
			
				| Pan Kontekstualny 
 Postów: n^x
 Data rejestracji: Zawsze
 
 
 |   | 
			
				| IP: localhost |  | 
		
|  | 
| jantom | Dodany dnia 04.11.2006 10:24:26 | 
|  
 Weteran
 
  
 
 Postów: 3460
 Pomógł: 123
 Data rejestracji: 31.03.2005 20:10
 
 
 | A spróbuj zast?pi? (jest to na samym pocz?tku render_header) 
 tymecho "<table class='borderline' border='0' cellpadding='0' cellspacing='0' bgcolor='#70889A' width='100%' align='center'>\n";
 echo "<table class='borderline' border='0' cellpadding='0' cellspacing='0' bgcolor='#70889A' width='$theme_width' align='center'>\n";
 Edytowane przez jantom dnia 04.11.2006 10:25:30
 | 
|  | 
 | 
|  | 
| kosa26 | Dodany dnia 04.11.2006 10:37:10 | 
|  
 Przedszkolak
 
  
 
 Postów: 10
 Data rejestracji: 20.06.2006 14:12
 
 
 | juz sam do tego doszed?em 
 <?//************************************************************************************************************************//
 // Theme Name: Leviathan 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 = "#FAFAFA";
 $body_bg = "#899DA4";
 $theme_width = "800";
 $theme_width_l = "170";
 $theme_width_r = "170";
 
 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,$userdata;
 
 [b]echo "<table class='borderline' border='0' cellpadding='0' cellspacing='0' bgcolor='#70889A' width='100%' align='center'>\n";[/b]
 echo "<tr><td bgColor='#394B5B'>";
 echo "<table cellSpacing='0' cellPadding='0' width='100%' border='0'>";
 echo "<tr><td align='left' width='1' background='".THEME."images/header_bg.gif' height='100'></td>";
 echo "<td vAlign='top' align='left' width='100%' background='".THEME."images/header_bg.gif' bgColor='#4F5D69' height='100'>";
 echo "<a href='".BASEDIR."index.php'><img src='".THEME."images/logo.gif' width='222' height='100' title='".$settings[sitename]."'></a></td>";
 echo "<td align='left' width='1' background='".THEME."images/header_bg.gif'></td></tr>";
 echo "<tr><td align='left' width='1' background='".THEME."images/header_nav_bg1.gif' height='41'></td>";
 echo "<td valign='center' align='left' background='".THEME."images/header_nav_bg.gif' bgColor='#6180ac' height='41'>";
 echo "<table height='41' cellSpacing='0' cellPadding='0' width='100%' border='0'>";
 echo"<tr>";
 
 //URL IMAGES BEGIN HERE
 
 echo "<td width='60' height='41'><a onmouseover=\"MM_swapImage('Image1','','".THEME."images/home_over.gif',1)\" onmouseout='MM_swapImgRestore()' href='".BASEDIR."index.php'><img src='".THEME."images/home.gif' name='Image1' width='60' height='41'></a></td>";
 echo "<td width='77' height='41'><a onmouseover=\"MM_swapImage('Image2','','".THEME."images/forum_over.gif',1)\" onmouseout='MM_swapImgRestore()' href='".BASEDIR."forum/index.php'><img src='".THEME."images/forum.gif' name='Image2' width='77' height='41'></a></td>";
 echo "<td width='81' height='41'><a onmouseover=\"MM_swapImage('Image3','','".THEME."images/downloads_over.gif',1)\" onmouseout='MM_swapImgRestore()' href='".BASEDIR."downloads.php'><img src='".THEME."images/downloads.gif' name='Image3' width='81' height='41'></a></td>";
 echo "<td width='64' height='41'><a onmouseover=\"MM_swapImage('Image5','','".THEME."images/gallery_on.gif',1)\" onmouseout=\"MM_swapImgRestore()\" href='".BASEDIR."photogallery.php'><img src='".THEME."images/gallery.gif' name='Image5' width='64' height='41'></a></td>";
 echo "<td width='77' height='41'><a onmouseover=\"MM_swapImage('Image6','','".THEME."images/articles_on.gif',1)\" onmouseout=\"MM_swapImgRestore()\" href='".BASEDIR."articles.php'><img src='".THEME."images/articles.gif' name='Image6' width='77' height='41'></a></td>";
 echo "<td width='77' height='41'><a onmouseover=\"MM_swapImage('Image7','','".THEME."images/search_on.gif',1)\" onmouseout=\"MM_swapImgRestore()\" href='".BASEDIR."search.php'><img src='".THEME."images/search.gif' name='Image7' width='77' height='41'></a></td>";
 
 //URL IMAGES END HERE
 
 echo "<td width='100%'><img height='41' src='".THEME."images/header_nav_bg.gif' width='6'></td></tr></table></td>";
 echo"<table width='100%' cellpadding='1' bgcolor='#394B5B' cellspacing='0' border='0'>";
 echo "<tr valign='top'>";
 echo "<td valign='middle' align='right'>";
 echo "<table width='100%' cellpadding='4' bgcolor='#394B5B' cellspacing='0' border='0'>";
 }
 
 function render_footer($license=false) {
 
 global $theme_width,$settings,$locale;
 
 echo "</td></tr></table>\n";
 echo "<table cellSpacing='0' cellPadding='0' width='100%' border='0'><tr>";
 echo "<td>".stripslashes($settings['footer'])."</td><br>";
 echo "<table cellSpacing='0' cellPadding='0' width='100%' border='0'>";
 echo "<tr><td width='35%' class='botnav' align='left'>";
 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='20%' class='botnav' align='center'>Leviathan by: <a target='_blank' href='http://phpfusion.org'><img title='PHP-Fusion Themes' src='".THEME."images/fthemes.gif' style='vertical-align:middle;'></a></td>";
 echo "<td width='35%' class='botnav' align='middle'><div align='right'>";
 echo "<font class='visits'>".$settings['counter']." </b></font>".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."\n");
 echo "</div></td></tr></table>";
 }
 
 function render_news($subject, $news, $info) {
 
 global $locale;
 
 echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'>";
 echo "<tr><td><table width='100%' border='0' cellspacing='0' cellpadding='1'>";
 echo "<tr><td bgcolor='#8B9BA9'><table width='100%' border='0' cellspacing='0' cellpadding='4'>";
 echo "<tr><td bgcolor='#2E373F'><table width='100%' border='0' cellspacing='0' cellpadding='0'>";
 echo "<tr><td bgcolor='#8B9BA9'><table width='100%' border='0' cellspacing='1' cellpadding='4'>";
 echo "<tr><td bgcolor='07243A'><img align='left' src='".THEME."images/small_arrow.gif'><img src='".THEME."images/pixel.gif' width='6' height='1'><font class='news-title'>$subject</font>";
 echo "</td></tr>";
 echo "<tr><td colspan='2' bgcolor='#4C5A66'>";
 echo "<table border='0' width='100%' bgcolor='#4C5A66' align='center'><tr><td>";
 echo "<br><font class='content'>$news</font></td></tr></table>";
 echo "<br><center><img src='".THEME."images/line_break.gif' width='98%' height='1' vspace='0'></center> ";
 echo " <div align='left'><b><font class='tiny'>";
 echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
 echo "".$locale['041'].showdate("longdate", $info['news_date'])."";
 echo "</div><div align='right'>";
 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></div>";
 echo "</tr></table></td></tr></table></td></tr></table></td></tr></table></td></tr></table>";
 }
 
 function render_article($subject, $article, $info) {
 
 global $locale;
 
 echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'>";
 echo "<tr><td><table width='100%' border='0' cellspacing='0' cellpadding='1'>";
 echo "<tr><td bgcolor='#8B9BA9'><table width='100%' border='0' cellspacing='0' cellpadding='4'>";
 echo "<tr><td bgcolor='#2E373F'><table width='100%' border='0' cellspacing='0' cellpadding='0'>";
 echo "<tr><td bgcolor='#8B9BA9'><table width='100%' border='0' cellspacing='1' cellpadding='4'>";
 echo "<tr><td bgcolor='07243A'><img align='left' src='".THEME."images/small_arrow.gif'><img src='".THEME."images/pixel.gif' width='6' height='1'><font class='news-title'>$subject</font></td>";
 echo "</tr>";
 echo "<tr><td colspan='2' bgcolor='#4C5A66'>";
 echo "<table border='0' width='100%' bgcolor='#4C5A66' align='center'><tr><td>";
 echo "<br><font class='content'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</font>";
 echo "</td></tr></table>";
 echo " <b><font class='tiny'>";
 echo "<br><center><img src='".THEME."images/line_break.gif' width='98%' height='1' vspace='3'></center> <div align='left'>";
 echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
 echo "".$locale['041'].showdate("longdate", $info['article_date'])."";
 echo "</div><div align='right'>";
 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 "</div></tr></table></td></tr></table></td></tr></table></td></tr></table></td></tr></table>";
 }
 
 // Open table begins
 function opentable($title) {
 
 echo "<table border='0' style='border: 1px solid #8B9BA9' cellspacing='1' width='100%' cellpadding='3'><tr>";
 echo "<td height='26' width='100%' bgcolor='#214057'> ";
 echo "<font class='title'>$title</font>";
 echo "</td></tr>";
 echo "<tr><td bgcolor='#4C5A66' class='side-body' width='100%'>";
 }
 
 // Close table end
 function closetable() {
 echo "</td></tr></table>\n";
 
 }
 
 function openside($title) {
 
 echo "<table border='0' style='border: 1px solid #8B9BA9' cellspacing='1' width='100%' cellpadding='3'><tr>";
 echo "<td height='26' width='100%' bgcolor='#07243A'>";
 echo "<img border='0' src='".THEME."images/small_arrow.gif' hspace='5'><font class='block-title'>$title</font>";
 echo "</td></tr>";
 echo "<tr><td bgcolor='#4C5A66' class='side-body' width='100%'>";
 }
 
 function closeside() {
 echo "</td></tr></table>";
 tablebreak();
 }
 
 function opensidex($title,$open="on") {
 
 if($open=="on"){$box_img="off";}else{$box_img="on";}
 echo "<table border='0' style='border: 1px solid #8B9BA9' cellspacing='1' width='100%' cellpadding='3'><tr>";
 echo "<td height='26' width='100%' bgcolor='#07243A'>";
 echo "<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>";
 echo "</td></tr>";
 echo "<tr><td bgcolor='#4C5A66' class='side-body' width='100%'>";
 echo "<div id='box_$title'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";
 }
 
 
 function closesidex() {
 
 echo "</div></td></tr></table>";
 tablebreak();
 }
 
 // Table functions
 function tablebreak() {
 echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='8'></td></tr></table>\n";
 }
 ?>
 
 | 
|  |   
 
 | 
|  | 
| Rap | Dodany dnia 06.11.2006 15:47:02 | 
|  
 Przedszkolak
 
  
 
 Postów: 84
 Data rejestracji: 30.07.2006 20:06
 
 Złamana licencja
 
 | A jak zrobi? to w tej skórce (Webmaster-blue) nie moge w tym znale?? takiej rzeczy jak  powy?ej wymienione, 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(
 '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>";
 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='50' cellSpacing='0' cellPadding='0' border='0'><tr>";
 echo "<td style='WIDTH: 45%'>";
 echo "<img alt='".$settings[sitename]."' src='http://img62.imageshack.us/img62/4343/paskinalogoie7.jpg' border='0' width='400' height='74'></a>";
 echo "</td>";
 echo "<td style='padding-right:15px;' align='right'><a class='clockbarcolor' href='#' onClick=\"return clickreturnvalue()\" onMouseover=\"dropdownmenu(this, event, menu1, '185px')\" onMouseout=\"delayhidemenu()\"><img src='".THEME."images/quicktips.gif'></a></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 "<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 "<br>
 <br>";
 }
 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";
 }
 ?>
 | 
|  | 
 |