Fridrix,
=============
<?
include_once '../sys/inc/start.php';
include_once '../sys/inc/compress.php';
include_once '../sys/inc/sess.php';
include_once '../sys/inc/home.php';
include_once '../sys/inc/settings.php';
include_once '../sys/inc/db_connect.php';
include_once '../sys/inc/ipua.php';
include_once '../sys/inc/fnc.php';
include_once '../sys/inc/user.php';
only_reg();
$set['title'] = 'time test';
include_once '../sys/inc/thead.php';
title();
aut();
if( $user['time_user']>=1) {
echo'test';
}
else
{
if (isset($_GET['go']))mysql_query("UPDATE `user` SET `time_user` = '1' WHERE `id` = '$user[id]' LIMIT 1"
;
}
echo "<form method='post' action='/time/index.php?&go'>";
echo "<input class='button' type='submit' value='включить время' /></form>n";
include_once '../sys/inc/tfoot.php';
?>