| Rotator banner'ów w theme | 
| dkarola | Dodany dnia 29.12.2006 21:33:05 | 
|  
 Przedszkolak
 
  
 
 Postów: 4
 Data rejestracji: 24.09.2006 09:46
 
 
 | Witam, 
 maj?c taki kod 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'>
 
 <tr><td><table cellpadding='0' cellspacing='0' width='100%'><tr>
 
 <td><table cellpadding='0' cellspacing='0' width='100%'><tr>
 
 <td><div align='right' id='clockbar'><div class='clockbarcolor'>
 
 <div id='Clock'></div><script type='text/javascript'>
 
 
 
 <!--
 
 
 
 var DayNam = new Array(
 
 
 
 'Niedziela','Poniedzia?ek','Wtorek','?roda','Czwartek','Pi?tek','Sobota');
 
 
 
 var MnthNam = new Array(
 
 
 
 'Stycze?','Luty','Marzec','Kwiecie?','Maj','Czerwiec','Lipiec','Sierpie?','Wrzesie?','Pa?dziernik','Listopad','Grudzie?');
 
 
 
 //-->
 
 
 
 </script>
 
 <script type='text/javascript' src='".THEME."/clock/clock.js'></script></div></div>
 
 <div align='right' id='pageheader'>
 
 <table style='WIDTH: 100%; height:50px;' cellSpacing='0' cellPadding='0' border='0'><tr>
 
 <td style='WIDTH: 45%'><a href='".BASEDIR."index.php'><img alt='".$settings[sitename]."' src='".THEME."images/logo.jpg' border='0' width='400' height='74'></a>
 
 </td>
 [color=red]<td align='right' style='WIDTH: 45%'>";
 //Rotator On
 include(INFUSIONS.'master_ads_panel/master_ads.php');
 //Rotator Off
 echo "</td>[/color]
 </tr>
 
 </table>
 
 </div>
 
 <table style='WIDTH: 100%' cellSpacing='0' cellPadding='0' border='0'><tr>
 
 <td class='subheader'>".showsublinks(" - ","subheader-text")."</td>
 
 <td class='subheader' style='vertical-align:middlie;' align='right'>
 
 <form action='".BASEDIR."search.php?stype=f' method='post'>
 
 <table cellSpacing='0' width='100%' cellPadding='0' border='0'><tr>
 
 <td align='right'><b>Search</b>  <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='';\">
 
 <input name='option' class='submit' type='submit' value='Search'>
 
 </td></tr>
 
 </table>
 
 </form>
 
 </td></tr>
 
 </table>
 
 </td></tr>
 
 </table>
 
 </td></tr>
 
 </table>
 
 <table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
 
 }
 
 function render_footer($license=false) {
 
 global $theme_width,$settings,$locale;
 
 echo "</tr>\n</table>\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>Webmaster Files Theme By: <a target='_blank'class='footerlink' href='http://www.webmaster-files.com'>Free Webmaster Resource</a><br><br>Powered by <a href='http://www.php-fusion.co.uk' class='footerlink' target='_blank'>PHP-Fusion</a>© 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";
 }
 ?>
 
 i taki rotator'a:
 
 include(INFUSIONS.'master_ads_panel/master_ads.php');
 
 gdzie powinnam wstawi? kod rotator'a aby by? ona kolo loga?
 Prosi?abym o szybk? odpowied?.
 Pozrawiam,
 Karolina.
 
 P.S. Jakby co - próbowa?am, ?eby nie by?o.
 Edytowane przez Pieka dnia 30.12.2006 01:48:35
 | 
|  | 
 | 
			
				|  | 
			
				| W?cibski Go?? | Dodany dnia 31.10.2025 16:09:20 | 
			
				| Pan Kontekstualny 
 Postów: n^x
 Data rejestracji: Zawsze
 
 
 |   | 
			
				| IP: localhost |  | 
		
|  | 
| arturg | Dodany dnia 29.12.2006 21:42:02 | 
|  
 Pocz?tkuj?cy
 
  
 
 Postów: 145
 Pomógł: 3
 Ostrzeżeń: 3
 Data rejestracji: 11.09.2006 10:23
 
 
 | spróbuj mo?e tutaj mi dzi? pomóg? Pieka mia?em podobny problem http://www.php-fu...ad_id=9479
 | 
|  | 
 | 
|  | 
| dkarola | Dodany dnia 29.12.2006 22:01:15 | 
|  
 Przedszkolak
 
  
 
 Postów: 4
 Data rejestracji: 24.09.2006 09:46
 
 
 | Ty masz inny theme, wi?c to b?dzie raczej zupe?nie gdzie indziej. Ale popatrze. 
 /// edit: hm. nadal nie wychodzi. pomo?e kto? jeszcze?
 Edytowane przez dkarola dnia 29.12.2006 23:12:43
 | 
|  | 
 | 
|  | 
| Pieka | Dodany dnia 29.12.2006 23:26:20 | 
|  
 
  
 
 Postów: 19887
 Pomógł: 767
 
  v7.02.03 Data rejestracji: 23.02.2005 18:12
 
 
 | dkarola napisa?/a:Ty masz inny theme, wi?c to b?dzie raczej zupe?nie gdzie indziej. Ale popatrze.
 
 /// edit: hm. nadal nie wychodzi. pomo?e kto? jeszcze?
 
 
 Poprawilem podany kod, sprawdz.
 
 Jestem jaki jestem   | 
|  | 
 | 
|  | 
| dkarola | Dodany dnia 29.12.2006 23:31:17 | 
|  
 Przedszkolak
 
  
 
 Postów: 4
 Data rejestracji: 24.09.2006 09:46
 
 
 | Rotator na swoim miejscu ale ca?y dó? si? nie wy?wietla. 
 ///edit: dobra, poradzia?am sobie. wystarczy?o wykasowa? 106 linijk?. dzi?ki za pomoc Pieka.
 Edytowane przez dkarola dnia 29.12.2006 23:49:15
 | 
|  | 
 | 
|  | 
| Pieka | Dodany dnia 29.12.2006 23:51:16 | 
|  
 
  
 
 Postów: 19887
 Pomógł: 767
 
  v7.02.03 Data rejestracji: 23.02.2005 18:12
 
 
 | dkarola napisa?/a:Rotator na swoim miejscu ale ca?y dó? si? nie wy?wietla.
 
 ///edit: dobra, poradzia?am sobie. wystarczy?o wykasowa? 106 linijk?. dzi?ki za pomoc Pieka.
 
 Wstawilem rotator, a nie modyfikowalem theme.
 Dziala, wiec jest ok.
 
 
 dkarola napisa?/a:Hm. No i niestety jest jeszcze jedno 'ale'. 106 linijka odpowiada?a za poziom? nawigacj?. I jak ona jest to strona nie dzia?a a dzia?a kiedy jej nie ma. Szczerze mówi?c wola?abym jednak, ?eby tam by?a. Wiecie mo?e jak to zrobi??
 
 Dam Ci moj plik, bo przy Twoim mieszaniu, to do przyszlego roku z tym do ladu nie dojdziesz
  
Pieka dodał/a następującą plik:
 Edytowane przez Pieka dnia 30.12.2006 01:36:39
 
 Jestem jaki jestem   | 
|  | 
 | 
|  | 
| Sqlim | Dodany dnia 06.01.2007 13:39:35 | 
|  
 Przedszkolak
 
  
 
 Postów: 10
 Data rejestracji: 08.10.2006 10:50
 
 
 | Maj?c taki kod: 
 
 <?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)  |
 +--------------------------------------------*/
 /*--------------------------------------------+
 |       Azara 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 = "#9A978E";
 $theme_width = "960";
 $theme_width_l = "170";
 $theme_width_r = "170";
 
 function render_header($header_content) {
 global $theme_width,$settings;
 
 echo "<table align='center' class='bodyline' width='$theme_width' cellspacing='0' cellpadding='0' border='0'>";
 echo "<tr><td width='25' nowrap='nowrap' class='lefttd'></td><td>";
 // Start banner code
 echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
 echo "<td width='100%' align='center' style='background-image:url(".THEME."images/logo_bg.gif)' height='110'>$header_content</td>";
 echo "<td align='right'></td></tr></table>";
 // End banner code
 echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>";
 echo "<td class='sub-header'><table width='100%' border='0' cellpadding='4' cellspacing='0' style='background-image:url(".THEME."images/cellpic_nav.gif);border:#8A8573 1px solid;'><tr>";
 echo "<td height='28' class='sub-header'>  ".showsublinks("<img border='0' src='".THEME."images/divider.gif'>")."</td>\n";
 echo "<td height='28' class='sub-header' width='250' nowrap><img align='right' border='0' src='".THEME."images/bevel.gif'><div align='right'><font class='date'><b>".showsubdate();
 echo "   </b></font></div>";
 echo "</td></tr></table></td></tr></table>";
 echo "<table width='100%' cellpadding='0' cellspacing='0' border='0' align='center'>";
 echo "<tr><td></td></tr></table>";
 echo "<table width='100%' cellpadding='0' cellspacing='0' border='0' align='center'>";
 echo "<tr valign='top'>";
 echo "<td valign='middle' align='right'>";
 echo "<table width='100%' cellpadding='2' bgcolor='#9A978E' cellspacing='0' border='0'><tr>";
 
 }
 
 function render_footer($license=false) {
 
 global $theme_width,$settings,$locale;
 
 echo "</tr>\n</table>\n";
 echo "<table cellpadding='2' cellspacing='0' width='$theme_width'><tr>";
 echo "<td>".stripslashes($settings['footer'])."<br>";
 echo "<table style='background-image:url(".THEME."images/cellpic_nav.gif);border: 1px solid #8A8573' cellSpacing='0' cellPadding='2' width='100%' border='0'>";
 echo "<tr><td height='28' width='35%' class='footer' align='left'><div align='left'>";
 if ($license == false) {
 echo "Powered by <a target='_blank' href='http://www.php-fusion.co.uk'>PHP-Fusion</a> © 2003-2006";
 }
 echo "</div></td>";
 echo "<td class='footer' height='28' width='20%'align='center'>Azara Theme by: <a href='http://www.phpfusion-themes.com' target='_blank'>PHP-Fusion Themes</a>";
 echo "<td class='footer' height='28' width='35%' align='right'>";
 echo "<font class='visits'><b>".$settings['counter']." </b></font>".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."\n");
 echo "</td></tr></table></td>";
 echo "</tr></table></td></tr></table>";
 echo "<td width='25' nowrap='nowrap' class='righttd'></td></table>";
 
 }
 
 function render_news($subject, $news, $info) {
 
 global $locale;
 
 echo "<table bgcolor='#ABA8A0' class='border2' cellspacing='0' width='100%' cellpadding='3'><tr>";
 echo "<td class='panel'><img align='right' border='0' src='".THEME."images/bevel.gif'>$subject</td>";
 echo "</tr></table>";
 echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
 echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
 echo "<td class='main-body'>$news</td></tr></table>";
 echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
 echo "<td class='news-footer'> ".newsposter($info)."</td>";
 echo "<td height='24' align='right' class='news-footer'>";
 echo openform("N",$info['news_id']).newsopts($info,"·").closeform("N",$info['news_id']);
 echo "</td></tr></table></td></tr></table>\n";
 }
 
 function render_article($subject, $article, $info) {
 
 global $locale;
 
 echo "<table bgcolor='#ABA8A0' class='border2' cellspacing='0' width='100%' cellpadding='3'><tr>";
 echo "<td class='panel'><img align='right' border='0' src='".THEME."images/bevel.gif'>$subject</td>";
 echo "</tr></table>";
 echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
 echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
 echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."";
 echo "</td></tr></table>";
 echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
 echo "<td class='news-footer'>".articleposter($info)."</td>";
 echo "<td height='24' align='right' class='news-footer'>";
 echo openform("A",$info['article_id']).articleopts($info,"·").closeform("A",$info['article_id']);
 echo "</td></tr></table></td></tr></table>\n";
 }
 
 // Open table begins
 function opentable($title) {
 
 echo "<table bgcolor='#ABA8A0' width='100%' cellpadding='2' cellspacing='0' class='border2'>";
 echo "<tr><td class='panel'>";
 echo "<img align='right' border='0' src='".THEME."images/bevel.gif'>$title</td></tr></table>";
 echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
 echo "<td class='main-body'>\n";
 }
 
 // Close table end
 function closetable() {
 echo "</td></tr></table>\n";
 }
 
 function openside($title) {
 
 echo "<table bgcolor='#ABA8A0' border='0' style='border: 1px solid #8A8573' cellspacing='0' width='100%' cellpadding='0'><tr>";
 echo "<td width='100%' class='panel'>";
 echo "<img align='right' border='0' src='".THEME."images/bevel.gif'>$title</td></tr>";
 echo "<tr><td bgcolor='#BAB7AE' class='side-body' width='100%'>";
 }
 
 function closeside() {
 echo "</td></tr></table>";
 tablebreak();
 }
 
 function opensidex($title,$open="on") {
 $boxname = str_replace(" ", "", $title);
 $box_img = $open == "on" ? "off" : "on";
 echo "<table bgcolor='#ABA8A0' border='0' style='border: 1px solid #8A8573' cellspacing='0' width='100%' cellpadding='0'><tr>";
 echo "<td width='100%' class='panel'>";
 echo "<img src='".THEME."images/panel_$box_img.gif' name='b_$boxname' alt='' onclick=\"javascript:flipBox('$boxname')\">$title";
 echo "</td></tr>";
 echo "<tr><td bgcolor='#BAB7AE' class='side-body' width='100%'>";
 echo "<div id='box_$boxname'".($open=="off" ? "style='display:none'" : "").">\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";
 }
 ?>
 
 
 gdzie mam wklei? kod rotatora
 
 
 include(INFUSIONS."brotator/brotator.php"); 
 
 zeby znajdowa? si? w tym miejscu, gdzie teraz mam panel Bannery?
 
 GRBF.com
[img]http://213.192.64.46/~grbf/grbf/images/photoalbum/album_1/baton.jpg[/img] | 
|  | 
 | 
|  | 
| Pieka | Dodany dnia 06.01.2007 14:33:45 | 
|  
 
  
 
 Postów: 19887
 Pomógł: 767
 
  v7.02.03 Data rejestracji: 23.02.2005 18:12
 
 
 | Wstawic do panela, a nie theme. 
 Jestem jaki jestem   | 
|  | 
 |