source: admin/WebConsole/barramenu.php @ 2256beb

918-git-images-111dconfigfileconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacionwebconsole3
Last change on this file since 2256beb was cd3ebe2, checked in by ramon <ramongomez@…>, 13 years ago

Versión 1.0.3, #454: Integrar código de buscador de equipos en consola web.

git-svn-id: https://opengnsys.es/svn/branches/version1.0@2483 a21b9725-9963-47de-94b9-378ad31fedc9

  • Property mode set to 100644
File size: 8.9 KB
Line 
1<?
2// ********************************************************************************************************
3// Aplicación WEB: ogAdmWebCon
4// Autor: José Manuel Alonso (E.T.S.I.I.) Universidad de Sevilla
5// Fecha Creación: Agosto-2010
6// Fecha Última modificación: Agosto-2010
7// Nombre del fichero: barramenu.php
8// Descripción :Este fichero implementa el menu general de la Aplicación
9// ********************************************************************************************************
10include_once("./includes/ctrlacc.php");
11include_once("./includes/constantes.php");
12include_once("./idiomas/php/".$idioma."/barramenu_".$idioma.".php");
13//________________________________________________________________________________________________________
14?>
15<HTML>
16        <TITLE>Administración web de aulas</TITLE>
17        <HEAD>
18        <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
19                <META HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=ISO-8859-1">
20                <LINK rel="stylesheet" type="text/css" href="estilos.css">
21                <SCRIPT language="javascript">
22                        var currentOp=null;
23                //________________________________________________________________________________________________________
24                function resaltar(o){
25                                if (o==currentOp) return
26                                o.style.borderBottomColor="#808080"
27                                o.style.borderRightColor="#808080"
28                                o.style.borderTopColor="#ffffff"
29                                o.style.borderLeftColor="#ffffff"
30                }
31                //________________________________________________________________________________________________________
32                function desresaltar(o){
33                                if (o==currentOp) return
34                                o.style.borderBottomColor="#d4d0c8"
35                                o.style.borderRightColor="#d4d0c8"
36                                o.style.borderTopColor="#d4d0c8"
37                                o.style.borderLeftColor="#d4d0c8"
38                }
39                //________________________________________________________________________________________________________
40                function eleccion(o,op){
41                                opadre=window.parent // Toma frame padre
42                                opadre.frames["frame_contenidos"].document.location.href="nada.php"
43                                var href;
44                                var     href2="nada.php"
45                                var     href3="./api/tree.html"
46                                var     href4="./api/main.html"
47                                var     href5="./api/index.html"
48
49                                switch(op){
50                                        case 1:
51                                                href="./principal/aulas.php"
52                                                break;
53                                        case 2:
54                                                        href="./principal/acciones.php"
55                                                        break;
56                                        case 3:
57                                                        href="./principal/imagenes.php"
58                                                        break;
59                                        case 4:
60                                                        href="./principal/hardwares.php"
61                                                        break;
62                                        case 5:
63                                                        href="./principal/softwares.php"
64                                                        break;
65                                        case 6:
66                                                        href="./principal/repositorios.php"
67                                                        break;
68                                        case 7:
69                                                        href="./principal/menus.php"
70                                                        break;
71                                        case 8:
72                                                        href="./principal/reservas.php"
73                                                        break;
74                                        case 9:
75                                                        href="./principal/administracion.php"
76                                                        break;
77                                        case 10:
78                                                        href="./images/L_Iconos.php"
79                                                        href2="./images/M_Iconos.php"
80                                                        break;
81                                        case 13:
82                                                        href="./principal/usuarios.php"
83                                                        break;
84                                        case 14:
85                                                href="./principal/aulas.php"
86                                                href2="./varios/buscar.php"
87                                                break;
88                                }
89                                var oldOp=currentOp
90                                currentOp=o;
91                                if (oldOp) desresaltar(oldOp);
92                                currentOp.style.borderBottomColor="#ffffff"
93                                currentOp.style.borderRightColor="#ffffff"
94                                currentOp.style.borderTopColor="#808080"
95                                currentOp.style.borderLeftColor="#808080"
96                                if(op<20){
97                                        opadre.frames["frame_arbol"].document.location.href=href
98                                        opadre.frames["frame_contenidos"].document.location.href=href2
99                                }
100                                else{
101                                                switch(op){
102                                                        case 21:                               
103                                                                        window.top.location.href="acceso.php";
104                                                                        break;
105                                                        case 22:               
106                                                                        opadre.frames["frame_contenidos"].document.location.href=href5
107                                                                        break;
108                                                }
109                                }
110                }
111        //________________________________________________________________________________________________________
112                </SCRIPT>
113        </HEAD>
114        <BODY bgcolor="#d4d0c8">
115                <FORM name=fdatos>
116                        <TABLE border=0 width=100% style="POSITION:absolute;LEFT:0px;TOP:0px" cellPadding=2 cellSpacing=0>
117                                <TR>
118                                        <TD align=left>
119                                                <TABLE  class=menupral align=left cellPadding=1 cellSpacing=0 >
120                                                  <TR valign=baseline>
121                                                        <TD width=10><IMG src="./images/iconos/pomo.gif"></TD>
122                                                        <? if($idtipousuario!=$SUPERADMINISTRADOR){?>
123                                                                <TD  onclick=eleccion(this,1)  onmouseout=desresaltar(this) onmouseover=resaltar(this) >
124                                                                        &nbsp;<A href="#" style="text-decoration: none"><IMG border=0 src="./images/iconos/centros.gif">&nbsp;<SPAN class="menupral"><?echo $TbMsg[0]?></SPAN></A>&nbsp;</TD>
125                                                                <TD width=4 align=middle><IMG src="./images/iconos/separitem.gif"></TD>
126                                                                <TD  onclick=eleccion(this,2) onmouseout=desresaltar(this) onmouseover=resaltar(this) align=middle>             
127                                                                        &nbsp;<A href="#" style="text-decoration: none"><IMG border=0 src="./images/iconos/acciones.gif">&nbsp;<SPAN class=menupral ><?echo $TbMsg[1]?></SPAN></A>&nbsp;</TD>
128                                                                <TD width=4 align=middle><IMG src="./images/iconos/separitem.gif"></TD>
129                                                                <TD   onclick=eleccion(this,3) onmouseout=desresaltar(this) onmouseover=resaltar(this) align=middle>
130                                                                        &nbsp;<A href="#" style="text-decoration: none"><IMG border=0 src="./images/iconos/imagenes.gif">&nbsp;<SPAN class=menupral ><?echo $TbMsg[2]?></SPAN></A>&nbsp;</TD>
131                                                                <TD width=4 align=middle><IMG src="./images/iconos/separitem.gif"></TD>
132                                                                <TD  onclick=eleccion(this,4) onmouseout=desresaltar(this) onmouseover=resaltar(this) align=middle>
133                                                                        &nbsp;<A href="#" style="text-decoration: none"><IMG border=0 src="./images/iconos/confihard.gif">&nbsp;<SPAN class=menupral ><?echo  $TbMsg[3] ?></SPAN></A>&nbsp;</TD>
134                                                                <TD width=4 align=middle><IMG src="./images/iconos/separitem.gif"></TD>
135                                                                <TD  onclick=eleccion(this,5) onmouseout=desresaltar(this) onmouseover=resaltar(this) align=middle>
136                                                                        &nbsp;<A href="#" style="text-decoration: none"><IMG border=0 src="./images/iconos/confisoft.gif">&nbsp;<SPAN class=menupral ><?echo  $TbMsg[4] ?></SPAN></A>&nbsp;</TD>
137                                                                <TD width=4 align=middle><IMG src="./images/iconos/separitem.gif"></TD>
138                                                                <TD  onclick=eleccion(this,6) onmouseout=desresaltar(this) onmouseover=resaltar(this) align=middle>
139                                                                        &nbsp;<A href="#" style="text-decoration: none"><IMG border=0 src="./images/iconos/repositorio.gif">&nbsp;<SPAN class=menupral ><?echo  $TbMsg[5] ?></SPAN></A>&nbsp;</TD>
140                                                                <TD width=4 align=middle><IMG src="./images/iconos/separitem.gif"></TD>
141                                                                <TD  onclick=eleccion(this,7) onmouseout=desresaltar(this) onmouseover=resaltar(this) align=middle>
142                                                                        &nbsp;<A href="#" style="text-decoration: none"><IMG border=0 src="./images/iconos/menus.gif">&nbsp;<SPAN class=menupral ><?echo  $TbMsg[6] ?></SPAN></A>&nbsp;</TD>
143                                                                <TD width=4 align=middle><IMG src="./images/iconos/separitem.gif"></TD>
144                                                                <td onclick="eleccion(this,14)" onmouseout="desresaltar(this)" onmouseover="resaltar(this)" align="middle">
145                                                                        &nbsp;<a href="#" style="text-decoration: none"><img border="0" src="./images/iconos/busquedas.gif">&nbsp;<span class="menupral"><?echo  $TbMsg[14] ?></span></a>&nbsp;</td>
146                                                                <td width="4" align="middle"><img src="./images/iconos/separitem.gif"></td>
147                                                               
148                                                                <!--TD  onclick=eleccion(this,8) onmouseout=desresaltar(this) onmouseover=resaltar(this) align=middle>
149                                                                        &nbsp;<A href="#" style="text-decoration: none"><IMG border=0 src="./images/iconos/reservas.gif">&nbsp;<SPAN class=menupral ><?echo  $TbMsg[7] ?></SPAN></A>&nbsp;</TD>
150                                                                <TD width=4 align=middle><IMG src="./images/iconos/separitem.gif"></TD-->
151                                                               
152                                                        <? }
153                                                        else{
154                                                                        if($idtipousuario==$SUPERADMINISTRADOR){?>
155                                                                                        <TD  onclick=eleccion(this,9) onmouseout=desresaltar(this) onmouseover=resaltar(this) align=middle>&nbsp;
156                                                                                        <A href="#" style="text-decoration: none"><IMG border=0 src="./images/iconos/administracion.gif">
157                                                                                        <SPAN class=menupral ><?echo  $TbMsg[8] ?></SPAN></A>&nbsp;</TD>
158                                                                                        <TD width=4 align=middle><IMG src="./images/iconos/separitem.gif"></TD>
159
160                                                                                        <TD  onclick=eleccion(this,10) onmouseout=desresaltar(this) onmouseover=resaltar(this) align=middle>&nbsp;
161                                                                                        <A href="#" style="text-decoration: none"><IMG border=0 src="./images/iconos/iconos.gif">
162                                                                                        <SPAN class=menupral ><?echo  $TbMsg[9] ?></SPAN></A>&nbsp;</TD>
163                                                                                        <TD width=4 align=middle><IMG src="./images/iconos/separitem.gif"></TD>
164                                                                        <?}?>
165                                                        <?}?>
166
167                                                        <TD  onclick=eleccion(this,22) onmouseout=desresaltar(this) onmouseover=resaltar(this) align=middle>&nbsp;
168                                                        <A href="#" style="text-decoration: none"><IMG border=0 src="./images/iconos/ayuda.gif">&nbsp;
169                                                        <SPAN class=menupral ><?echo  $TbMsg[11] ?></SPAN></A>&nbsp;</TD>
170                                                                <TD width=4 align=middle><IMG src="./images/iconos/separitem.gif"></TD>
171                                                        <TD  onclick=eleccion(this,21) onmouseout=desresaltar(this) onmouseover=resaltar(this) align=middle>&nbsp;
172                                                        <A href="#" style="text-decoration: none"><IMG border=0 src="./images/iconos/usuarioslog.gif">&nbsp;
173                                                        <SPAN class=menupral ><?echo  $TbMsg[10] ?></SPAN></A>&nbsp;</TD>
174               
175
176                                                   </TR>
177                                                 </TABLE>
178                                </TR>
179                         </TABLE>
180                </FORM>
181        </BODY>
182</HTML>
Note: See TracBrowser for help on using the repository browser.