hi,
mister admin, i have one question for you:
is it actually possible to put some php code in the header.tpl ?
as example the folowing one:
i keep getty some "smarty error", any ideas?Code:<?php $total = 15; $file_type = ".jpg"; $image_folder = "/public_html/random/"; $start = 1; $random = mt_rand($start, $total); $image_name = $random . $file_type; echo $image_folder.$image_name; ?>
best regards
Bookmarks