what php last 24 login

231
.
Mezo
i need php order for last 24 h login user
.
Koenig
(\/)____o_O____(\/)
select * from users where lastdate > unix_timestamp(now() - interval 24 hour)
.
(\/)____o_O____(\/)
Mezo, add link
users/lastvisited.php
Прикрепленные файлы:
.
(\/)____o_O____(\/)
screen
Прикрепленные файлы:
.
.
Mezo
i wont put sing out in home page
only login user can see sin out
i put this order in head.php
put how to show this only for logiin user
echo'<div class="header">' .
'<form action="exit.php" method="post"><p><input type="submit" name="submit" value="' . core::$lng['exit'] . '" /></p></form>' .
'</div>';
.
(\/)____o_O____(\/)
Mezo, if ($user_id) {
// echo .../ your code button exit
}
Всего: 7