0):
$time=Time();
$act=Mysql_Query("UPDATE xusers SET last='$time', status='1' WHERE id='{$_SESSION['sess_UserID']}' AND status<>'2'");
endif;
?>
";
// KONEC MENU ON-LINE
?>
|
|
ON-LINE |
'0'");
// KDY� NIKDO NEN� ON-LINE
echo "";
while($record=mysql_fetch_array($kol)): // KDYZ JE ONLINE
echo "";
endwhile;
echo "";
// RU�EN� AKTIVN�HO USERA
$noow=Time()-600; // LIMIT 10 MINUT
$konec=Mysql_Query("UPDATE xusers SET status=0 WHERE last<'$noow'");
// ZJISTOVANI DOSLYCH ZPRAV
if($action!="postman_add.php3"):
$dotaz=mysql_query("SELECT xpostman.*, xusers.nick FROM `xpostman`, `xusers` WHERE `pro` = '{$_SESSION['sess_UserID']}' AND `doruceno` = '0' AND xusers.id=xpostman.od");
while($odpo=mysql_fetch_array($dotaz)):
$pom=$odpo["id"];
$datum=Date("d.m.y H:i", $odpo["datum"]);
$ql=mysql_query("UPDATE `xpostman` SET `doruceno` = 1 WHERE `id` = '$pom'");
echo "";
endwhile;
endif;
echo " | ";
echo " |
|
DISKUZE |
3): ?>
3): ?>
0): ?>
|
2):
include("menus/admin.php3");
endif;
endif;
?>
|
|
|
|
|