diff options
Diffstat (limited to 'admin')
-rw-r--r-- | admin/WebConsole/idiomas/php/esp/nada_esp.php | 13 | ||||
-rw-r--r-- | admin/WebConsole/nada.php | 33 |
2 files changed, 42 insertions, 4 deletions
diff --git a/admin/WebConsole/idiomas/php/esp/nada_esp.php b/admin/WebConsole/idiomas/php/esp/nada_esp.php index 24ffedbe..0822b100 100644 --- a/admin/WebConsole/idiomas/php/esp/nada_esp.php +++ b/admin/WebConsole/idiomas/php/esp/nada_esp.php @@ -13,4 +13,15 @@ $TbMsg[5]="Navegador"; $TbMsg[6]="Versión Navegador"; -?>
\ No newline at end of file +//________________________________________________________________________________________________________ +// +// Tip of the Day! +//________________________________________________________________________________________________________ + + $Tip=array(); + $Tip[0]="Las primeras jornadas de OpenGnsys en verano de 2018 en Málaga dieron nombre a la versión Espeto"; + $Tip[1]="Tip1"; + $Tip[2]="Tip2"; + $Tip[3]="Tip3"; + +?> diff --git a/admin/WebConsole/nada.php b/admin/WebConsole/nada.php index 9e0aa255..9cd4d028 100644 --- a/admin/WebConsole/nada.php +++ b/admin/WebConsole/nada.php @@ -221,19 +221,46 @@ if (empty($data->project)) { </body> </html> -<?php } else { ?> +<?php } +else { +$data = json_decode(@file_get_contents(__DIR__ . '/../doc/VERSION.json')); +if (empty($data->project)) { + $version = "OpenGnsys"; +} else { + $version = @$data->project.' ' . @$data->version.' ' + . (isset($data->codename) ? '('.$data->codename.') ' : '') . @$data->release; +} +?> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <link rel="stylesheet" type="text/css" href="./estilos.css"> </head> <body> + + +<div class="cabeceras"> + <div align="center" > Tip of the Day! </div> + + -"Here we will show our content" +<div align="center" class="sobrecabeceras"> ¿Sabías que...?</div> + + +<div align="center" class="subcabeceras"><?php echo $Tip[array_rand($Tip)];?></div> + <div> + + + <div class="subcabeceras">Server IP: <?php echo $_SESSION['ipdevice']; ?> </div> + <div class="subcabeceras">Sistema : <?php echo $tipodevice; ?> </div> + <div class="subcabeceras">Navegador: <?php echo $nav; ?> v.<?php echo $vernav; ?> </div> + </div> + + +</div> </body> </html> - <?php } ?> |