* * www.waterspace.info * Desarrollado por 5aMu para XGProyect */ if (!defined('INSIDE')) { die(header("location:../../")); } $mtime = microtime(); $mtime = explode(" ", $mtime); $mtime = $mtime[1] + $mtime[0]; $starttime = $mtime; $fecha_actual = time(); $fecha_tope = time(); $i = 0; $Tope = 30; $Page = '<div id="content">' . MuestraFormulario() . ''; if (isset($_POST['dias']) == true) { $Tope = $_POST['dias']; } $Page .= '<br /><table><tr><th>Jugadores Inactivos</th><th> Tiempo desde su Ingreso(días) </th><th> Fecha de Ingreso </th><th> Último Acceso </th><th>En Vacaciones</th><th> Baneado </th></tr>'; for ($dia = $Tope; $dia > 2; $dia--) { $fecha1 = $fecha_actual - 24 * 60 * 60 * $dia; $fecha2 = $fecha_actual - 24 * 60 * 60 * ($dia + 1); $query = doquery("SELECT * FROM {{table}} WHERE onlinetime <= " . $fecha1 . " and onlinetime >" . $fecha2 . " ", "users"); while ($u = mysql_fetch_array($query)) { $Vacaciones = "No"; $Baneado = "No"; if ($u[urlaubs_modus] == 1) { $Dias = date("d", time() - ($u[urlaubs_modus_time] - 172800)); $Vacas++; $Vacaciones = "<a href='#' onmouseover=\"return overlib('<table border=1 width=200><tr><td align=left><font color=white>Inicio Vacaciones: <font></td><td align=right><font color=white>" . date("d/m/Y", $u[urlaubs_modus_time] - 172800) . "<font></td></tr><tr><td>Tiempo en vacaciones</td><td align=right>" . $Dias . "</td></tr></table>');\" onmouseout=\"return nd();\" ><b>Si</b></a>";
define('INSIDE', true); define('INSTALL', false); define('IN_ADMIN', true); $ugamela_root_path = './../'; include $ugamela_root_path . 'extension.inc'; include $ugamela_root_path . 'common.' . $phpEx; // Calcul de la duree de traitement (initialisation) $mtime = microtime(); $mtime = explode(" ", $mtime); $mtime = $mtime[1] + $mtime[0]; $starttime = $mtime; $fecha_actual = time(); $fecha_tope = time(); $i = 0; $Tope = 7; $Page = MuestraFormulario(); if (isset($_POST['dias']) == true) { $Tope = $_POST['dias']; } $Page .= '<table width=700"><tr><td class="c" colspan="6"><center><font color="lime">Tope seleccionado: ' . $Tope . '</font></center></td></tr><tr><th>Jugadores Inactivos</th><th> Tiempo desde su Ingreso(días) </th><th> Registrado </th><th> Ultimo Acceso </th><th>Vacaciones</th><th> Baneado </th></tr>'; for ($dia = $Tope; $dia > 2; $dia--) { $Page .= '<tr><th class="c" colspan="6" style="text-align:right;">Sin actividad ' . $dia . ' dias</th></tr>'; $fecha1 = $fecha_actual - 24 * 60 * 60 * $dia; $fecha2 = $fecha_actual - 24 * 60 * 60 * ($dia + 1); $query = doquery("SELECT * FROM {{table}} WHERE onlinetime <= " . $fecha1 . " and onlinetime >" . $fecha2 . " ", "users"); while ($u = mysql_fetch_array($query)) { $Vacaciones = "no"; $Baneado = "no"; if ($u[urlaubs_modus] == 1) { $Dias = date("d", time() - ($u[urlaubs_modus_time] - 172800)); $Vacas++;