2008-07-17 Evi Vanoost <vanooste@rcbi.rochester.edu>

* pandora_console/general/logon_ok.php: Fixed bug, the latest update failed in the middle (SourceForge SVN problems) and didn't include this file.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@963 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
guruevi 2008-07-21 13:08:25 +00:00
parent d97b4be836
commit 590aa8a794
1 changed files with 5 additions and 2 deletions

View File

@ -172,9 +172,12 @@ $table->head[2] = lang_string ('date');
$table->head[3] = lang_string ('src_address');
$table->head[4] = lang_string ('comments');
$sql = sprintf ('SELECT ID_usuario,accion,fecha,IP_origen,descripcion FROM tsesion WHERE (utimestamp > UNIX_TIMESTAMP(NOW()) - 604800)
AND ID_usuario = "%s" ORDER BY fecha DESC LIMIT 5', $nick);
$sql = sprintf ("SELECT ID_usuario,accion,fecha,IP_origen,descripcion FROM `tsesion` WHERE (`utimestamp` > UNIX_TIMESTAMP(NOW()) - 604800)
AND `ID_usuario` = '%s' ORDER BY `fecha` DESC LIMIT 5", $nick);
$sessions = get_db_all_rows_sql ($sql);
if($sessions === false)
$sessions = array();
foreach ($sessions as $session) {
$data = array ();