Hi, ich bin grad dabei meine erste HP zu basteln, aber irgendwie hängt der!
Wo liegt das Problem:
Wo liegt das Problem:
PHP-Code:
<?php
include ('inc\config.mysql.php');
function gettemplate($template,$endung="htm")
{
return str_replace("\"","\\"",implode("",file($template_dir.$template.".".$endung)));
}
function dooutput($template)
{
echo $template;
}
?>
<table border="0" cellpadding="0" cellspacing="0" width="1024">
<tr>
<td width="241" height="190" background="gfx/oben.jpg" colspan="2" valign="top"> </td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="241">
<tr>
<td width="241" height="527" background="gfx/links.jpg" colspan="2" valign="top"><p> </p>
<p> </p>
<p> $navbox</p>
<p> </p></td>
</tr>
</table>
<?php
eval ("\$navbox = \"".getTemplate("templates\navbox")."\";");
?>
Kommentar