questo è l'index.php del template:
<!--
author: raduga
http://mambasana.ru Per joomla 1.5
copyright: GNU/GPL
Adattato alla versione 1.0.x di joomla da Stefanogta
-->
<?php defined( "_VALID_MOS" ) or die( "Direct Access to this location is not allowed." );?>
<!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">
<head>
<?php if ( $my->id ) { initEditor(); } ?>
<meta http-equiv="Content-Type" content="text/html;><?php echo _ISO; ?>" />
<?php mosShowHead(); ?>
<?php echo "<link rel=\"stylesheet\" href=\"$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/css/template_css.css\" type=\"text/css\"/>" ; ?><?php echo "<link rel=\"shortcut icon\" href=\"$GLOBALS[mosConfig_live_site]/images/favicon.ico\" />" ; ?>
</head>
<body id="body_bg">
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="169" align="left" valign="middle">
<div >
<form action="index.php" method="post" class="search">
<input name="searchword" id="searchbox" maxlength="20" alt="Search" class="inputbox" type="text" size="20" value="search..." onblur="if(this.value=='') this.value='search...';" onfocus="if(this.value=='search...') this.value='';" />
<input type="hidden" name="option" value="com_search" /><input type="hidden" name="task" value="search" />
<input type="hidden" name="Itemid" value="0" /></form>
</div>
</td>
<td> </td>
<td width="601" align="center" class="topnav" valign="bottom">
<div>
<?php mosLoadModules ( 'user3',-1 ); ?>
</div>
</td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center" class="logoheader"> </td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" >
<tr>
<td class="top1" >
<div class="pw">
<?php mosPathWay(); ?>
</div>
<div class="date">
<?php
//CREATO DA PALOMBO STEFANO
//raccolta variabili
$data=date("w"); //data in inglese tre lettere (sun)
$mese=date("m"); //mese in inglese 2 numeri (08)
$anno=date("Y"); //Anno in quattro cifre (2007)
$ora=date("H:i"); //ora in ore minuti (21:35)
$numero=date("j");
//conversione in giorni italiani
switch($data){
case 0:
$data='Domenica';
break;
case 1:
$data='Lunedì';
break;
case 2:
$data='Martedì';
break;
case 3:
$data='Mercoledì';
break;
case 4:
$data='Giovedì';
break;
case 5:
$data='Venerdì';
break;
default:
$data='Sabato';
break;
}
//conversione in mesi italiani
switch($mese){
case 01:
$mese='Gennaio';
break;
case 02:
$mese='Febbraio';
break;
case 03:
$mese='Marzo';
break;
case 04:
$mese='Aprile';
break;
case 05:
$mese='Maggio';
break;
case 06:
$mese='Giugno';
break;
case 07:
$mese='Luglio';
break;
case 08:
$mese='Agosto';
break;
case 09:
$mese='Settembre';
break;
case 10:
$mese='Ottobre';
break;
case 11:
$mese='Novembre';
break;
default:
$mese='Dicembre';
break;
}?>
<?php echo "$data $numero $mese $anno"; //Per inserire l'ora mettere la variabile $ora
?>
</div>
</td>
</tr>
</table>
<table width="95%" class="top2" border="0" align="center" cellpadding="0" cellspacing="0" >
<tr>
<td valign="top" class="lcol">
<div class="leftrow">
<?php mosLoadModules ( 'left' ); ?>
</div>
</td>
<td class="bgline" ><img src="templates/biz_blue_ii/images/space.gif" alt="" width="7" border="0"/></td>
<!-- inizio separatore verticale -->
<td valign="top" width="100%" >
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-top: 5px solid #ffffff;"><!--fine separatore -->
<tr valign="top" >
<td colspan="3">
<div>
<?php mosLoadModules ( 'top' ); ?>
</div>
</td>
</tr>
<tr><td colspan="3"></td></tr>
<!-- da verificare -->
<tr>
<td valign="top" ><div>
<?php mosLoadModules ( 'user1' ); ?><!-- ultime notizie -->
</div>
</td>
<td width="4" class="mod" valign="top" bgcolor="#FFFFFF" ><div class="mod">
<td valign="top"><div>
<?php mosLoadModules ( 'user2' ); ?><!-- più letti -->
</div></td>
</tr>
<tr><td colspan="3"></td></tr>
<tr align="left" valign="top">
<td colspan="3" style="border-top: 3px solid #ffffff; padding: 3px;"><div class="main">
<?php mosMainBody(); ?>
<p> </p>
</div></td>
</tr>
<tr>
<td colspan="3" valign="top" style="border-top: 3px solid #FFFFFF;">
<div>
<?php mosLoadModules ( 'bottom' ); ?>
</div>
</td>
</tr>
</table>
</td>
<td class="bgline" ><img src="templates/biz_blue_ii/images/space.gif" alt="" width="7" border="0"/></td>
<td valign="top" class="rcol">
<div class="rightrow">
<?php mosLoadModules ( 'right' ); ?>
</div>
</td>
</tr>
</table>
<table width="100%" class="foot" align="center" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" align="center" class="footer" >
<?php include_once('includes/footer.php'); ?>
</td>
</tr>
</table>
</body>
</html>