<?php //{*
require_once('../var/smarty/Smarty.class.php');
$smarty = new Smarty;
$smarty->template_dir = '.';
$smarty->compile_dir = '.';
$smarty->php_handling = SMARTY_PHP_ALLOW;
$smarty->display($_SERVER['SCRIPT_FILENAME']);
exit();
//*}?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html">
</head>
<body>
<p>It's {$smarty.now|date_format:"%Y-%m-%d %H:%M:%S"}</p>
<h1>Server Variables</h1>
<table>
<tr><th>Key</th><th>Value</th></tr>
{foreach from=$smarty.server key=key item=value}
<tr><th>{$key|escape}</th><td>{$value|escape}</td></tr>
{/foreach}
</table>
</body>
</html>