{% else-1 %}
Mstivoj * 2.18
(21 дек 2015, 10:14) (0/0) [0]
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';
?>
Mstivoj * 2.18
(21 дек 2015, 10:10) (0/0) [0]
Ужасть... ошибки исправь сначало с ковычками.
  • 1 из 1