
vado subito al dunque.. ho questo errore:
Codice PHP:
Fatal error: Call to undefined function: menu() in [...]\index.template.php on line 36
mi dice che nn posso includere Menu();... xke? Menu() si trova in menu.template.php e nel config c'è la variabile $themedir.. cmq questo è il codice della pagina
Codice PHP:
include(config.php');
include($themedir.'/menu.template.php');
// Riunisco i tag principale per semplificare l'inclusione
// Header
function TopHeader()
{
?>
<html>
<head>
<link rel="stylesheet" href="Theme/style.css" type="text/css" />
</head>
<body>
<table cellpadding="0" cellspacing="0" border="0" id="content" align="center">
<tr>
<td colspan="3">
<table cellpadding="0" cellspacing="0" border="0" id="header" align="center">
<tr>
<td class="bg-header-left">[img]Theme/img/bg-header-left.gif[/img]</td>
<td class="bg-header-center" id="logo"></td>
<td class="bg-header-cut">[img]Theme/img/bg-header-cut.gif[/img]</td>
<td class="bg-header-center" id="search">
</td>
<td class="bg-header-right">[img]Theme/img/bg-header-right.gif[/img]</td>
</tr>
</table>
Menu();
<?php
}
?>