How should i do if i wanted some php code direcly into my template
Code:
<?php
$loadavg_array = explode(" ", exec("cat /proc/loadavg"));
$loadavg = $loadavg_array[2];
print("Server Load: " . $loadavg . "%");
?>
i want that under the copyright on all my pages, and also other debug code...
but when i try and input as it is now in copyright.tpl it dun't work as i want it to =)