source: admin/WebConsole/varios/msgbrowser.php

qndtest
Last change on this file was 6694784, checked in by Ramón M. Gómez <ramongomez@…>, 5 years ago

#834: Fixing more code cleanup: CSS units, HTML tags; Javascript comparisons, and PHP variables.

  • Property mode set to 100644
File size: 2.5 KB
Line 
1<?php
2// *************************************************************************
3// Aplicación WEB: ogAdmWebCon
4// Autor: José Manuel Alonso (E.T.S.I.I.) Universidad de Sevilla
5// Fecha Creación: Año 2009-2010
6// Fecha útima modificación: Marzo-2006
7// Nombre del fichero: menubrowser.php
8// Descripción :
9//              Muestra menu en el browser del cliente
10// ****************************************************************************
11$idioma="esp"; // Por defecto idoma español
12include_once("../idiomas/php/".$idioma."/msgbrowser_".$idioma.".php");
13
14$idx="";
15$msg="";
16
17if (isset($_GET["msg"])) $msg=$_GET["msg"];  // Recoge indice del mensaje
18if (isset($_GET["idx"])) $idx=$_GET["idx"];  // Recoge indice del mensaje
19
20if(!empty($msg))
21        $mensaje=UrlDecode($msg);
22else
23        $mensaje=$TbMsg[$idx];
24?>
25<HTML>
26<HEAD>
27        <TITLE>Administración web de aulas</TITLE>
28        <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
29        <LINK rel="stylesheet" type="text/css" href="../estilos.css">
30        <STYLE TYPE="text/css">
31
32        .deepsea TD, .deepsea TH
33        {
34        background-color:#026afe;
35        color:#FFFFFF;
36        font-family: sans-serif;
37        font-weight:600;
38        }
39
40        .tdbarra{
41                background: url('../images/iconos/barraven.png');
42                color:#FFFFFF;
43                font-family: sans-serif;
44                font-size: 12px;
45                font-weight:300;
46                border: 1px solid #FFFFFF;
47                border-right-color: #000000;
48                border-bottom-color: #000000;
49    }
50        .tdclien{
51                background: url('../images/iconos/clienven.png');
52                color:#000000;
53                font-family: sans-serif;
54                font-size: 14px;
55                font-weight:300;
56                border: 1px solid #FFFFFF;
57                border-right-color: #999999;
58                border-bottom-color: #999999;
59    }
60        </STYLE>
61</HEAD>
62<BODY>
63<?php
64if(empty($idx) && empty($msg)) {
65        // No hay operaciones realizándose
66        echo '<BR><BR><BR><BR><BR>';
67        echo '<TABLE cellspacing=0 cellpadding=2 align=center border=0>';
68        echo '<TR><TD align=center><IMG border=0 src="../images/iconos/logoopengnsys.png"></TD></TR>';
69        echo '<TR><TD align=center><SPAN style="COLOR: #999999;FONT-FAMILY: Arial, sans-serif; FONT-SIZE: 12px;">Iniciando...</TD></TR>';
70        echo '</TR>';
71        echo '</TABLE>';
72}
73else{
74        // Se está realizando una operacion
75        echo '<h1>' . $TbMsg[23]   . ' </h1>';
76        echo '<h1>' . $TbMsg[24]   . ' </h1>';
77        echo '<BR><BR><BR>';
78        echo '<TABLE  cellspacing=0 cellpadding=2 align=center border=0>';
79        echo '<TR><TD align=center class="tdbarra">OpenGnsys Browser Message</TD><TR>';
80        echo '<TR><TD class="tdclien" valign=center >&nbsp;&nbsp;&nbsp;'.$mensaje.'&nbsp;&nbsp;&nbsp;</TD></TR>';
81        echo '</TABLE>';
82}
83?>
84</BODY>
85</HTML>
Note: See TracBrowser for help on using the repository browser.