I bought an autosurf script that seemed to have a lot of errors and have been able to fix them all except for one.
On the main member page I show this [show_server_time] and it won't show the server time. I checked all the codes in vars.php and in headfoot.php and they appear to be correct from what others have posted as solutions to this problem and yet I still have it.
From vars.php:
//Server Time:
$server_clock = "<br><font face=\"$fontface\" size=1><b>Current Server Time:</b> " . date('F, j'.'S Y g:i:s'.'a') . "</font>";
Then headfoot.php:
function members_main_menu() {
include("memlinks.html");
/
global $title, $fontface, $server_clock, $usrid;
$s_vals = file_reader("$mem_menu");
$s_vals = str_replace('[show_server_time]',
$server_clock, $s_vals);
$s_vals = str_replace('[session_name]', session_name(), $s_vals);
$s_vals = str_replace('[session_id]', session_id(), $s_vals);
echo($s_vals);
/
Please help me understand what I'm doing wrong.
Thank you!