diff --git a/pandora_console/general/logon_ok.php b/pandora_console/general/logon_ok.php
index eeb3a2e4a4..adb3cdd078 100644
--- a/pandora_console/general/logon_ok.php
+++ b/pandora_console/general/logon_ok.php
@@ -26,50 +26,6 @@
echo $lang_label["main_text"];
echo "
";
- echo "";
- // Show last activity from this user
- echo "
" . $lang_label["user_last_activity"] . "
";
- // Show table header
- echo '
';
- echo '' . $lang_label["user"] . ' | ';
- echo '' . $lang_label["action"] . ' | ';
- echo '' . $lang_label["date"] . ' | ';
- echo '' . $lang_label["src_address"] . ' | ';
- echo '' . $lang_label["comments"] . ' |
';
-
- // Skip offset records
- $query1="SELECT * FROM tsesion WHERE (TO_DAYS(fecha) > TO_DAYS(NOW()) - 7)
- AND ID_usuario = '" . $nick . "' ORDER BY fecha DESC limit 15";
-
- $result = mysql_query ($query1);
- $contador = 5; // Max items
- $color = 1;
- while (($row = mysql_fetch_array ($result)) and ($contador > 0)) {
-
- if ($color == 1){
- $tdcolor = "datos";
- $color = 0;
- } else {
- $tdcolor = "datos2";
- $color = 1;
- }
-
- $usuario = $row["ID_usuario"];
- echo '';
- echo '' . $usuario . ' | ';
- echo '' . $row["accion"]. ' | ';
- echo '' . $row["fecha"]. ' | ';
- echo '' . $row["IP_origen"]. ' | ';
- echo '' . $row["descripcion"]. ' | ';
- echo '
';
-
- $contador--;
- }
-
- echo "";
- echo " |
";
- echo "
"; // activity
-
// Private messages pending to read !
$sql='SELECT COUNT(*) FROM tmensajes WHERE id_usuario_destino="'.$nick.'"
@@ -154,5 +110,50 @@
echo "";
echo "";
+
+ echo "";
+ // Show last activity from this user
+ echo "
" . $lang_label["user_last_activity"] . "
";
+ // Show table header
+ echo '
';
+ echo '' . $lang_label["user"] . ' | ';
+ echo '' . $lang_label["action"] . ' | ';
+ echo '' . $lang_label["date"] . ' | ';
+ echo '' . $lang_label["src_address"] . ' | ';
+ echo '' . $lang_label["comments"] . ' |
';
+
+ // Skip offset records
+ $query1="SELECT * FROM tsesion WHERE (TO_DAYS(fecha) > TO_DAYS(NOW()) - 7)
+ AND ID_usuario = '" . $nick . "' ORDER BY fecha DESC limit 15";
+
+ $result = mysql_query ($query1);
+ $contador = 5; // Max items
+ $color = 1;
+ while (($row = mysql_fetch_array ($result)) and ($contador > 0)) {
+
+ if ($color == 1){
+ $tdcolor = "datos";
+ $color = 0;
+ } else {
+ $tdcolor = "datos2";
+ $color = 1;
+ }
+
+ $usuario = $row["ID_usuario"];
+ echo '';
+ echo '' . $usuario . ' | ';
+ echo '' . $row["accion"]. ' | ';
+ echo '' . $row["fecha"]. ' | ';
+ echo '' . $row["IP_origen"]. ' | ';
+ echo '' . $row["descripcion"]. ' | ';
+ echo '
';
+
+ $contador--;
+ }
+
+ echo "";
+ echo " |
";
+ echo "
"; // activity
+
echo ''; // class "jus"
?>
\ No newline at end of file