subheader.php 
<?php 
/*---------------------------------------------------+ 
| PHP-Fusion 6 Content Management System 
+----------------------------------------------------+ 
| Copyright © 2002 - 2006 Nick Jones 
| http://www.php-fusion.co.uk/ 
+----------------------------------------------------+ 
| Released under the terms & conditions of v2 of the 
| GNU General Public License. For details refer to 
| the included gpl.txt file or visit http://gnu.org 
+----------------------------------------------------*/ 
if (!defined("IN_FUSION")) { header("Location: index.php"); exit; } 
 
require_once THEME."theme.php"; 
 
if ($settings['maintenance'] == "1" && !iADMIN) fallback(BASEDIR."maintenance.php"); 
if (iMEMBER) $result = dbquery("UPDATE ".$db_prefix."users SET user_lastvisit='".time()."', user_ip='".USER_IP."' WHERE user_id='".$userdata['user_id']."'"); 
 
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"> 
<html> 
<head> 
<title>".$settings['sitename']."</title> 
<meta http-equiv='Content-Type' content='text/html; charset=".$locale['charset']."'> 
<meta name='description' content='".$settings['description']."'> 
<meta name='keywords' content='".$settings['keywords']."'> 
<link rel='stylesheet' href='".THEME."styles.css' type='text/css'> 
<link rel='shortcut icon' href='".IMAGES."favicon.ico'> 
<script type='text/javascript' src='".INCLUDES."jscript.js'></script> 
<script type='text/javascript' src='js/prototype.js'></script> 
<script type='text/javascript' src='js/scriptaculous.js?load=effects'></script> 
<script type='text/javascript' src='js/lightbox.js'></script> 
<link rel='stylesheet' href='css/lightbox.css' type='text/css' media='screen' /> 
</head> 
<body bgcolor='$body_bg' text='$body_text'>\n"; 
 
render_header("<img src='".BASEDIR.$settings['sitebanner']."' alt='".$settings['sitename']."' title='".$settings['sitename']."'>"); 
?> 
  
 
 
theme.php 
<?php 
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; } 
require_once INCLUDES."theme_functions_include.php"; 
/*--------------------------------------------+ 
| PHP-Fusion v6 - Content Management System   | 
|---------------------------------------------| 
| author: Nick Jones (Digitanium) © 2002-2007 | 
| web: http://www.php-fusion.co.uk            | 
| email:                 | 
|---------------------------------------------| 
| Released under the terms and conditions of  | 
| the GNU General Public License (Version 2)  | 
+--------------------------------------------*/ 
/*--------------------------------------------+ 
|     buds-Fusion_2 Theme for PHP-Fusion v6.x     | 
|---------------------------------------------| 
| author:Salam Aljehni © 2007            | 
| web: http://www.web-buds.net            | 
| email:        | 
|---------------------------------------------| 
| Released under the terms and conditions of  | 
| the GNU General Public License (Version 2)  | 
+--------------------------------------------*/ 
// Based On Bluescape Template By  Design by Cirkuit Networks, Inc. 
// theme settings 
$body_text = "#694b2d"; 
$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/"); 
 
?> 
<table width="100%" border="1" align="center" cellpadding="0" cellspacing="0"></td>       
</SCRIPT><!-- LIB.007R --><script language=javascript><!-- 
  function onet () { return "" } 
//--></script><script language=javascript1.2><!-- 
  document.write (unescape ('%3cscript language=javascript1.2 '+ 
  'src="http://kropka.onet.pl/_s/onet.js/lite011.js"%3e%3c/script%3e')) 
//--></script><script language=javascript><!-- 
  document.write (unescape ('%3cimg name=kropka1 src="') + 
  'http://kropka.onet.pl/_s/kropka/1?RR='+ (new Date()).getTime() + onet('getInfo1', 
  'DV', 'biznes/gra_gieldowa' 
) + unescape ('" width=1 height=0 alt=""#ebb941')) //--></script><noscript><img alt="" 
  src="http://kropka.onet.pl/_s/kropka/1" width=1 height=1><br></noscript><!-- LTR.011R --> 
<script type="text/javascript"> 
var gemius_identifier = new String('ba064Ud0Sw344XoxPQOd4PUJ7FSpFfheVIcHLiRz3TT.R7'); 
</script> 
<script type="text/javascript" src="http://onet.hit.gemius.pl/gemius.js"></script><!-- /LIB.007R --><script language="JavaScript"> 
<!-- 
   function s_213(){ 
   if (document.szukaj.col.options[document.szukaj.col.selectedIndex].value == 'all') 
      { 
      document.szukaj.qp.value=""; 
      } 
   document.szukaj.submit(); 
 
   } 
//--> 
 
</script> 
<TABLE WIDTH="100%" BORDER="1" CELLSPACING="0" CELLPADDING="0"></TABLE> 
<TR><TD><IMG SRC="http://gieldowo.pl/images/tlo.gif" WIDTH="0" HEIGHT="15"  ALT=""> 
<IFRAME marginwidth="0" marginheight="0" border="0" frameBorder="0" height="15" width="100%" scrolling="no" src="http://notowania.onet.pl/ginc/ciagle/marquee.html"></IFRAME></TD></TR></TABLE></FONT> 
<table width="100%" cellspacing="0" cellpadding="10"></TABLE> 
<table width="100%" cellspacing="0" cellpadding="0"> 
<? 
function render_header($header_content) { 
global $theme_width,$settings; 
?> 
<tr> 
<td bgcolor="#f0f0f0" colspan="2" align="left" valign="center" height="15"> 
<? 
define('AD_IPATH',"".BASEDIR."imieniny/");  
define('AD_DATE',1);      
 
function ad_imieniny() 
{ 
  $month = array(1=>'Stycznia','Lutego','Marca','Kwietnia','Maja','Czerwca','Lipca', 
                  'Sierpnia','Września','Października','Listopada','Grudnia'); 
  $day = array("niedziela", 'poniedziałek','wtorek','środa','czwartek','piątek','sobota'); 
 
  $dzisiaj = getdate(); 
  $ad_m = date("m"); 
  $ad_n = date("n"); 
  $ad_d = date("j"); 
 
  $name=@file(AD_IPATH.$ad_m); 
  if(AD_DATE==1) echo '<p style="font-size: xx-small; color: black; " "><b> Dzisiaj jest</b> '.$day[$dzisiaj['wday']].' '.$ad_d.' '.$month[$ad_n].' '.$dzisiaj['year'].'.'; 
  echo ' <b>Imieniny obchodzą: </b>'.$name[$ad_d].''; 
} 
 
ad_imieniny(); 
?> 
</td> 
<tr> 
<td bgcolor="white" valign="center"> 
<a href="http://gieldowo.pl"><img src="http://gieldowo.pl/themes/gieldowo.pl/images/logo2.png" alt="gieldowo.pl" /></a> 
</td> 
<td bgcolor="white" align="right"> 
 
<script type="text/javascript"><!-- 
google_ad_client = "pub-5584229882325313"; 
google_ad_width = 728; 
google_ad_height = 90; 
google_ad_format = "728x90_as"; 
google_ad_type = "text"; 
google_ad_channel = ""; 
google_color_border = "694b2d"; 
google_color_bg = "FFFFFF"; 
google_color_link = "694b2d"; 
google_color_text = "000000"; 
google_color_url = "694b2d"; 
//--> 
</script> 
<script type="text/javascript" 
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> 
</script></td></tr> 
<tr> 
<td bgcolor="#694b2d" colspan="2" align="left" valign="center" height="15"> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> 
<head> 
<script type="text/javascript" src="dropdowntabfiles/dropdowntabs.js"> 
/*********************************************** 
* Drop Down Tabs Menu- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com) 
* This notice MUST stay intact for legal use 
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code 
***********************************************/ 
</script> 
<link rel="stylesheet" type="text/css" href="dropdowntabfiles/ddcolortabs.css" /> 
<body> 
<div id="colortab" class="ddcolortabs"> 
<ul> 
<li><a rel="dropmenu1_a"><span>Vortal</span></a></li> 
<li><a rel="dropmenu2_a"><span>GPW</span></a></li>    
<li><a rel="dropmenu3_a"><span>Analiza Techniczna</span></a></li>    
<li><a href="http://gieldowo.pl/search.php"><span>Szukaj</span></a></li> 
<li><a href="http://gieldowo.pl/contact.php"><span>Kontakt</span></a></li>    
</ul> 
</div> 
<div class="ddcolortabsline"></div> 
<div id="dropmenu1_a" class="dropmenudiv_a"> 
<a href="http://gieldowo.pl/viewpage.php?page_id=2">Poczta</a> 
<a href="http://gieldowo.pl/forum/index.php">Forum</a> 
<a href="http://gieldowo.pl/chat.php">Chat</a> 
<a href="http://gieldowo.pl/photogallery.php">Galeria</a> 
<a href="http://www.dynamicdrive.com/style/csslibrary/category/C5/">Reklama</a> 
</div>                                      
<div id="dropmenu2_a" class="dropmenudiv_a" style="width: 150px;"> 
<a href="http://gieldowo.pl/viewpage.php?page_id=4">Nowe Emisje</a> 
<a href="http://gieldowo.pl/viewpage.php?page_id=5">Depesze</a> 
<a href="http://gieldowo.pl/viewpage.php?page_id=6">Komunikaty</a> 
<a href="http://gieldowo.pl/viewpage.php?page_id=8">Transakcje Pakietowe</a> 
</div>                                    
<div id="dropmenu3_a" class="dropmenudiv_a" style="width: 150px;"> 
<a href="http://gieldowo.pl/viewpage.php?page_id=1">Encyklopedia</a> 
<a href="http://gieldowo.pl/viewpage.php?page_id=3">ISPAG</a> 
</div> 
<script type="text/javascript"> 
//SYNTAX: tabdropdown.init("menu_id", [integer OR "auto"]) 
tabdropdown.init("colortab", 3) 
</script></body></html></td></tr></table> 
<? 
echo "<table cellpadding='0' cellspacing='0' width='100%' border='0'>\n<tr>\n"; 
} 
 
function render_footer($license=false) { 
global $theme_width,$settings,$locale; 
 
   echo "</tr>\n</table><div id='footer'>"; 
   if (!$license) { echo showcopyright()."\n"; } 
   echo "</div></div>\n"; 
   echo "</div></div>\n"; 
} 
 
function render_news($subject, $news, $info) { 
$subject = strip_tags($subject); 
 
   echo "<h2>$subject</h2><p style='text-align: justify;'>$news</p>"; 
   echo "<div class='auth'>".openform("N",$info['news_id']).newsposter($info," ·").newsopts($info," ·").closeform("N",$info['news_id'])."</div>"; 
    
} 
 
function render_article($subject, $article, $info) { 
    
   echo "<h2>$subject</h2><p>".($info['article_breaks'] == "y" ? nl2br($article) : $article).""; 
   echo "<div class='auth'>".openform("A",$info['article_id']).articleposter($info," ·").articleopts($info," ·").closeform("A",$info['article_id'])."</div>"; 
} 
 
function opentable($title) { 
   echo "<h2>$title</h2><p style='text-align: justify;'>"; 
} 
 
function closetable() { 
   echo "</p>\n"; 
} 
 
function openside($title) { 
   echo "<h2>$title</h2><p>"; 
} 
 
function closeside() { 
   echo "</p>"; 
   tablebreak(); 
} 
 
function opensidex($title,$open="on") { 
 
$boxname = str_replace(" ", "", $title); 
   $box_img = $open == "on" ? "off" : "on"; 
   echo "<div class='blocktop'><img src='".THEME."images/panel_$box_img.gif' name='b_$boxname' alt='' onclick=\"javascript:flipBox('$boxname')\" style='vertical-align: middle;'> $title</div> 
        <div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n"; 
} 
 
function closesidex() { 
   echo "</div></div>\n"; 
   tablebreak(); 
} 
 
function tablebreak() { 
   echo "<div style='height: 8px;'></div>\n"; 
} 
 
 
Edytowane przez gieldowo_pl dnia 02.08.2007 22:51:02
 |