queenyoda2006-04-13 14:19 | hello,
i need your help:
how can i include a voting script into the page or something else with the content admin.php menue?
it does´t work here
royalrags |
wallace2006-04-14 09:04 | The actual (php) scripts you need to include in the index.php NOT in the templates: that would not work. Then in the Template call your "variable" ...
For instance in index.php:
//SELF DEFINED VARIABLES - BEGIN //Last Modified $sMyFooterUpdate = "<span>© " . date('Y') . "</span>"; $last_modified = filemtime('db/categories.php'); $lastmodified = "<span class='tekst10'>Last update : ". date("d-m-Y", $last_modified) . "</span>";
And where you want to have the output insert in the template: padding-bottom: 3px;'>$lastmodified </td>
Offcourse you can do a simple include in index.php if it is a bigger script or even a complete system like a voting....
|