Innanzitutto grazie infite per i consigli.
Poi ti riporto l'intero file header.php:
<?php
/*
$Id: header.php,v 1.36 2002/08/15 17:29:47 dgw_ Exp $
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2001 osCommerce
Released under the GNU General Public License
*/
// check if the 'install' directory exists, and warn of its existence
if (WARN_INSTALL_EXISTENCE == 'true') {
if (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/install')) {
tep_output_warning(WARNING_INSTALL_DIRECTORY_EXISTS);
}
}
// check if the configure.php file is writeable
if (WARN_CONFIG_WRITEABLE == 'true') {
if ( (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) && (is_writeable(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) ) {
tep_output_warning(WARNING_CONFIG_FILE_WRITEABLE);
}
}
// check if the session folder is writeable
if (WARN_SESSION_DIRECTORY_NOT_WRITEABLE == 'true') {
if (STORE_SESSIONS == '') {
if (!is_dir(tep_session_save_path())) {
tep_output_warning(WARNING_SESSION_DIRECTORY_NON_EXISTENT);
} elseif (!is_writeable(tep_session_save_path())) {
tep_output_warning(WARNING_SESSION_DIRECTORY_NOT_WRITEABLE);
}
}
}
// check session.auto_start is disabled
if ( (function_exists('ini_get')) && (WARN_SESSION_AUTO_START == 'true') ) {
if (ini_get('session.auto_start') == '1') {
tep_output_warning(WARNING_SESSION_AUTO_START);
}
}
if ( (WARN_DOWNLOAD_DIRECTORY_NOT_READABLE == 'true') && (DOWNLOAD_ENABLED == 'true') ) {
if (!is_dir(DIR_FS_DOWNLOAD)) {
tep_output_warning(WARNING_DOWNLOAD_DIRECTORY_NON_EXISTENT);
}
}
?>
<html>
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
</head>
<body>
<script language="JavaScript">
<!--
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
.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_findObj(n, d) { //v4.0
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[n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers.document);
if(!x && document.getElementById) x=document.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))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<html>
<head>
<STYLE>
.spanstyle {
position:absolute;
visibility:visible;
top:-50px;
font-size:10pt;
font-family:Verdana;
font-weight:bold;
color:black;
}
</STYLE>
</body>
</html>
<div align="center">
<center>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#000000" width="780" id="AutoNumber1" bgcolor="#FCE45C">
<tr>
<td bgcolor="#fce45c">
<html>
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#000000" width="100%" id="AutoNumber1" bgcolor="#FCE45C">
<tr>
<td width="784">
<body>
<table align="center" border="0" cellPadding="0" cellSpacing="0" width="780">
<tr>
<td width="25%">
<img src="http://www.gelateriamatteo.com/images/logo_interno1.gif" tppabs="http://www.gelateriamatteo.com/images/logo_interno1.gif" width="201" height="37"></td>
<td colspan="2">
<table cellpadding="0" cellspacing="0" width="579">
<tr>
<td width="213">
<img src="../barranew_01_int.gif" tppabs="barranew_01_int.gif" width="213" height="37" border="0" usemap="#Map"></td>
<td width="144" background="../barranew_02_int.gif" tppabs="barranew_02_int.gif" align="right">
<!-- Inizio codice Chat online Gelateria Matteo -->
<style type="text/css"><!-- #surveyDiv {position:absolute; height:1; width:1; top:0; left:0;} --></style><script language="JavaScript"src="surveys.php-base_url=http---www.gelateriamatteo.com-supporto" tppabs="http://www.gelateriamatteo.com/supporto ... /script><a href="javascript:if(confirm('http://www.phplivesupport.com/ \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.phplivesupport.com/'" tppabs="http://www.phplivesupport.com/"></a><script language="JavaScript" src="status_image.php-base_url=http---www.gelateriamatteo.com-supporto&l=gelateria&x=1&deptid=0&btn=1" tppabs="http://www.gelateriamatteo.com/supporto ... cript><div id="surveyDiv" style="visibility:hidden"></div>
<!-- Fine codice Chat online Gelateria Matteo -->
</td>
<td width="222">
<img src="../barranew_03_int.gif" tppabs="barranew_03_int.gif" width="222" height="37"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="25%">
<img src="../logo_interno2.gif" tppabs="logo_interno2.gif" width="201" height="17"></td>
<td width="2%" bgcolor="#90A4B9">
<img src="../pezzo_curva.gif" tppabs="pezzo_curva.gif" width="13" height="17"></td>
<td width="73%" bgcolor="#90A4B9">
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="left">
<tr bgcolor="#90A4B9">
<td>
<div align="center"><a href="../chi_siamo.php" tppabs="../chi_siamo.php">
<img src="../chi_siamo_giu.gif" tppabs="../chi_siamo_giu.gif" width="65" height="17" name="Image1" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1','','../chi_siamo_su-1.gif'/*tpa=../chi_siamo_su.gif*/,1)" border="0"></a></div>
</td>
<td>
<div align="center"><a href="../prodotti.php" tppabs="../prodotti.php">
<img src="../prodotti_giu.gif" tppabs="../prodotti_giu.gif" width="68" height="17" name="Image2" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image2','','../prodotti_su.gif'/*tpa=../prodotti_su.gif*/,1)" border="0"></a></div>
</td>
<td>
<div align="center"><a href="../fondatore.php" tppabs="../fondatore.php">
<img src="../fondatore_giu.gif" tppabs="../fondatore_giu.gif" width="85" height="17" name="Image3" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image3','','../fondatore_su.gif'/*tpa=../fondatore_su.gif*/,1)" border="0"></a></div>
</td>
<td>
<div align="center"><a href="../riconoscimenti.php" tppabs="../riconoscimenti.php">
<img src="../riconoscimenti_giu.gif" tppabs="../riconoscimenti_giu.gif" width="100" height="17" name="Image4" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image4','','../riconoscimenti_su.gif'/*tpa=../riconoscimenti_su.gif*/,1)" border="0"></a></div>
</td>
<td>
<div align="center"><a href="http://www.gelateriamatteo.com/negozio/" tppabs="http://www.gelateriamatteo.com/negozio/">
<img src="../acquista_giu.gif" tppabs="../acquista_giu.gif" width="102" height="17" name="Image5" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image5','','../acquista_su.gif'/*tpa=../acquista_su.gif*/,1)" border="0"></a></div>
</td>
</tr>
</table>
</td>
</tr>
<map name="Map">
<area shape="rect" coords="143, 6, 193, 30" href="/forum/" tppabs="/forum/">
<area shape="rect" coords="25,6,85,28" href="../contatti.php" tppabs="../contatti.php">
<area shape="rect" coords="93,12,128,26" href="../homeita.php" tppabs="../homeita.php">
</map>
<tr>
<td width="25%">
<img src="../logo_interno3.gif" width="201" height="63"></td>
<td bgColor="#fce45c" colSpan="2"> </td>
</tr>
</table>
</body>
<tr class="headerNavigation">
<td class="headerNavigation" width="98%" bgcolor="#FCE45C">
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bgcolor="#FFFFFF" width="99%" id="AutoNumber2" height="10">
<tr>
<td width="50%"> <?php echo $breadcrumb->trail(' » '); ?></td>
<td width="50%">
<p align="right"> <?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?></a> | <?php } ?><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a> | <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a> | <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a> </td>
</td>
</tr>
</table>
</center>
</div>
</td>
</tr>
</table>
<?php
if ($HTTP_GET_VARS['error_message'] != '') {
?>
<table border="0" width="780" cellspacing="0" cellpadding="2">
<tr class="headerError">
<td class="headerError"><?php echo urldecode($HTTP_GET_VARS['error_message']); ?></td>
</tr>
</table>
</div>
<?php
}
if ($HTTP_GET_VARS['info_message'] != '') {
?>
<table border="0" width="780" cellspacing="0" cellpadding="2">
<tr class="headerInfo">
<td class="headerInfo"><?php echo $HTTP_GET_VARS['info_message']; ?></td>
</tr>
</table></td>
</tr>
</table>
</center>
</div>
</div>
</html>
<?php
}
?>