Hmm.
That gave me a hint.
But it dont work.
I have made a template called "Test"
PHP Code:
<!-- test -->
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#666666" width="80%" align="center">
<tr><td>
<table cellpadding="4" cellspacing="1" border="0" width="100%" align="center">
<tr align="center">
<td bgcolor="#333333"><font color="CCCCCC" size="1" face="Verdana, Arial, Helvetica, sans-serif"><strong>
<?php
// Change the viriables down here
$day = 1;
$month = 8;
$year = 2003;
// Don't change anything after this
echo((int)((mktime (0,0,0,$month,($day+1),$year)-time(void))/86400)."
Dagar kvar till Joy Masters.");
?>
</strong></font> </td>
</tr>
</table>
</table>
<!-- test -->
And then i put a $test in my forumhome template.
And added
PHP Code:
eval("\$test = \"".gettemplate("test")."\";");
to my index.php.
It works 50% it shows the table but nothing in it. So the php code dont work. If i put some text before or after the <?php / ?> it displays fine.
The idea that flup has gives the same Table but no text.
/DonLKSAB