Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Reikia pagalbos su headeriu!

Parašė robert· 2008 Lap. 19 16:11:22
#7

header.php :

<?php
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT" );
header("Cache-Control: no-cache, must-revalidate" );
header("Pragma: no-cache" );

if(file_exists('../includes/constants.php')){
include_once "../includes/constants.php";
include_once "../includes/rating_functions.php";
} else {
include_once "includes/constants.php";
include_once "includes/rating_functions.php";
}

?>
<!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" xml:lang="en" lang="en">
<head>
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1' />
<link href="<?=$web_path;?>css/music.css" type="text/css" rel="stylesheet" />
<link href="<?=$web_path;?>sablonai/stilius.css" type="text/css" rel="stylesheet" />
<title><? if (isset($_GET[search])) { echo "$search - "; } ?><?=$settings['site_title'];?></title>
<meta name="keywords" content="<?=$settings['site_keywords'];?>" />
<meta name="description" content="<?=$settings['site_desc'];?>" />
<link rel="stylesheet" href="<?=$web_path;?>css/pop.css" media="screen,projection" type="text/css" />
<link rel="stylesheet" href="<?=$web_path;?>css/style.css" media="screen,projection" type="text/css" />
<link rel="stylesheet" href="<?=$web_path;?>css/rating_style.css" media="screen,projection" type="text/css" />
<?
include $web_bandymas."css/style.php";
include $web_bandymas."css/rating_style.php";
include $web_bandymas."includes/functions.php";
include $web_bandymas."includes/language.php";
include_once($web_bandymas."includes/sources/init.php");
?>
<script language="JavaScript" type="text/javascript" src="<?=$web_path;?>js/ajax_search.js"></script>
<script type="text/javascript" src="<?=$web_path;?>js/prototype.js"></script>
<script type="text/javascript" src="<?=$web_path;?>js/pop.js"></script>
<script type="text/javascript" src="<?=$web_path;?>js/tooltip.js"></script>
<script type="text/javascript" src="<?=$web_path;?>js/display.js"></script>
<script type="text/javascript" src="<?=$web_path;?>js/email.js"></script>

</head>
<body>
<center>
    <table height='190' border='0' cellpadding='0' cellspacing='0' class='header' style='margin:auto; background-position:center;'>
<tr>
      <td colspan='4' rowspan='4'><img src='<?=$web_path;?>sablonai/images/judam_01.png' width='316' height='118' alt='' /></td>
      <td colspan='4'>
         <img src='<?=$web_path;?>sablonai/images/judam_02.png' width='484' height='24' alt=''></td>
      <td>
         <img src='<?=$web_path;?>sablonai/images/spacer.gif' width='1' height='24' alt=''></td>
   </tr>
   <tr>
      <td colspan='3' rowspan='2'>
         <img src='<?=$web_path;?>sablonai/images/judam_03.png' width='468' height='60' alt=''></td>
      <td>
         <img src='<?=$web_path;?>sablonai/images/judam_04.png' width='16' height='60' alt=''></td>
      <td>
         <img src='<?=$web_path;?>sablonai/images/spacer.gif' width='1' height='60' alt=''></td>
   </tr>
   <tr>
      <td rowspan='2'>
         <img src='<?=$web_path;?>sablonai/images/judam_05.png' width='16' height='34' alt=''></td>
      <td>
         <img src='<?=$web_path;?>sablonai/images/spacer.gif' width='1' height='1' alt=''></td>
   </tr>
   <tr>
      <td colspan='3'>
         <img src='<?=$web_path;?>sablonai/images/judam_06.png' width='468' height='33' alt=''></td>
      <td>
         <img src='<?=$web_path;?>sablonai/images/spacer.gif' width='1' height='33' alt=''></td>
   </tr>
   <tr>
      <td rowspan='6'>
         <img src='<?=$web_path;?>sablonai/images/judam_07.png' width='15' height='68' alt=''></td>
     <td colspan='6' background='<?=$web_path;?>sablonai/images/judam_08.png' width='769' height='68'>
        <table width='700' border='0' align='center' class='meniu'>
  <tr>
    <td width='257'><a href='http://judam.net'>Pagrindinis</a> :: <a href='http://judam.net/reklama.php'>Reklama</a> :: <a href='http://judam.net/kontaktai.php'>Kontaktai</a> :: <a href='http://judam.net/duk.php'>D.U.K</a></td>
    <td width='433'><div align='right'><? if($session->logged_in){?>
      <span><?=$lang['Welcome'];?> <? echo $session->username; ?></span>
         <span>|</span>
         <a href="<?=$web_path;?>userinfo.php?user=<? echo $session->username; ?>"><?=$lang['AccountHome'];?></a>
              <span>|</span>
      <? if($session->isAdmin()){?>
      <a href="<?=$web_path;?>admin/admin.php"><?=$lang['AdminPanel'];?></a> <span>|</span>
      <? } ?>
         <a href="<?=$web_path;?>myplaylist"><?=$lang['MyPlaylist'];?></a>
              <span>|</span>
       <a href="<?=$web_path;?>process.php" class="white"><?=$lang['Logout'];?></a>   
       <? } else { ?>
       <?=$lang['NotaMember'];?> <a href="<?=$web_path;?>register.php"><?=$lang['Signup'];?></a>
          <span>|</span>
      <a href="<?=$web_path;?>main.php"><?=$lang['MemberLogin'];?></a>
      <? } ?></div></td>
  </tr>
</table></td>
      <td rowspan='6'>
         <img src='<?=$web_path;?>sablonai/images/judam_09.png' width='14' height='68' alt=''></td>
   </tr>
   </tr>
   <tr>   </tr>
   <tr>   </tr>
   <tr>   </tr>
   <tr>
      
  <td>
         <img src='<?=$web_path;?>sablonai/images/spacer.gif' width='1' height='1' alt=''></td>
   </tr>
   <tr>
      <td>
         <img src='<?=$web_path;?>sablonai/images/spacer.gif' width='15' height='1' alt=''></td>
      <td>
         <img src='<?=$web_path;?>sablonai/images/spacer.gif' width='155' height='1' alt=''></td>
      <td>
         <img src='<?=$web_path;?>sablonai/images/spacer.gif' width='102' height='1' alt=''></td>
      <td>
         <img src='<?=$web_path;?>sablonai/images/spacer.gif' width='44' height='1' alt=''></td>
      <td>
         <img src='<?=$web_path;?>sablonai/images/spacer.gif' width='213' height='1' alt=''></td>
      <td>
         <img src='<?=$web_path;?>sablonai/images/spacer.gif' width='109' height='1' alt=''></td>
      <td>
         <img src='<?=$web_path;?>sablonai/images/spacer.gif' width='146' height='1' alt=''></td>
      <td>
         <img src='<?=$web_path;?>sablonai/images/spacer.gif' width='16' height='1' alt=''></td>
      <td></td>
   </tr>
</table>