source: admin/WebConsole/barramenu.php @ af8cca4

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 af8cca4 was 3ec149c, checked in by alonso <alonso@…>, 15 years ago

git-svn-id: https://opengnsys.es/svn/trunk@1314 a21b9725-9963-47de-94b9-378ad31fedc9

  • Property mode set to 100644
File size: 8.4 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                                }
85                                var oldOp=currentOp
86                                currentOp=o;
87                                if (oldOp) desresaltar(oldOp);
88                                currentOp.style.borderBottomColor="#ffffff"
89                                currentOp.style.borderRightColor="#ffffff"
90                                currentOp.style.borderTopColor="#808080"
91                                currentOp.style.borderLeftColor="#808080"
92                                if(op<20){
93                                        opadre.frames["frame_arbol"].document.location.href=href
94                                        opadre.frames["frame_contenidos"].document.location.href=href2
95                                }
96                                else{
97                                                switch(op){
98                                                        case 21:                               
99                                                                        window.top.location.href="acceso.php";
100                                                                        break;
101                                                        case 22:               
102                                                                        opadre.frames["frame_contenidos"].document.location.href=href4
103                                                                        break;
104                                                }
105                                }
106                }
107        //________________________________________________________________________________________________________
108                </SCRIPT>
109        </HEAD>
110        <BODY bgcolor="#d4d0c8">
111                <FORM name=fdatos>
112                        <TABLE border=0 width=100% style="POSITION:absolute;LEFT:0px;TOP:0px" cellPadding=2 cellSpacing=0>
113                                <TR>
114                                        <TD align=left>
115                                                <TABLE  class=menupral align=left cellPadding=1 cellSpacing=0 >
116                                                  <TR valign=baseline>
117                                                        <TD width=10><IMG src="./images/iconos/pomo.gif"></TD>
118                                                        <? if($idtipousuario!=$SUPERADMINISTRADOR){?>
119                                                                <TD  onclick=eleccion(this,1)  onmouseout=desresaltar(this) onmouseover=resaltar(this) >
120                                                                        &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>
121                                                                <TD width=4 align=middle><IMG src="./images/iconos/separitem.gif"></TD>
122                                                                <TD  onclick=eleccion(this,2) onmouseout=desresaltar(this) onmouseover=resaltar(this) align=middle>             
123                                                                        &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>
124                                                                <TD width=4 align=middle><IMG src="./images/iconos/separitem.gif"></TD>
125                                                                <TD   onclick=eleccion(this,3) onmouseout=desresaltar(this) onmouseover=resaltar(this) align=middle>
126                                                                        &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>
127                                                                <TD width=4 align=middle><IMG src="./images/iconos/separitem.gif"></TD>
128                                                                <TD  onclick=eleccion(this,4) onmouseout=desresaltar(this) onmouseover=resaltar(this) align=middle>
129                                                                        &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>
130                                                                <TD width=4 align=middle><IMG src="./images/iconos/separitem.gif"></TD>
131                                                                <TD  onclick=eleccion(this,5) onmouseout=desresaltar(this) onmouseover=resaltar(this) align=middle>
132                                                                        &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>
133                                                                <TD width=4 align=middle><IMG src="./images/iconos/separitem.gif"></TD>
134                                                                <TD  onclick=eleccion(this,6) onmouseout=desresaltar(this) onmouseover=resaltar(this) align=middle>
135                                                                        &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>
136                                                                <TD width=4 align=middle><IMG src="./images/iconos/separitem.gif"></TD>
137                                                                <TD  onclick=eleccion(this,7) onmouseout=desresaltar(this) onmouseover=resaltar(this) align=middle>
138                                                                        &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>
139                                                                <TD width=4 align=middle><IMG src="./images/iconos/separitem.gif"></TD>
140                                                               
141                                                                <!--TD  onclick=eleccion(this,8) onmouseout=desresaltar(this) onmouseover=resaltar(this) align=middle>
142                                                                        &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>
143                                                                <TD width=4 align=middle><IMG src="./images/iconos/separitem.gif"></TD-->
144                                                               
145                                                        <? }
146                                                        else{
147                                                                        if($idtipousuario==$SUPERADMINISTRADOR){?>
148                                                                                        <TD  onclick=eleccion(this,9) onmouseout=desresaltar(this) onmouseover=resaltar(this) align=middle>&nbsp;
149                                                                                        <A href="#" style="text-decoration: none"><IMG border=0 src="./images/iconos/administracion.gif">
150                                                                                        <SPAN class=menupral ><?echo  $TbMsg[8] ?></SPAN></A>&nbsp;</TD>
151                                                                                        <TD width=4 align=middle><IMG src="./images/iconos/separitem.gif"></TD>
152
153                                                                                        <TD  onclick=eleccion(this,10) onmouseout=desresaltar(this) onmouseover=resaltar(this) align=middle>&nbsp;
154                                                                                        <A href="#" style="text-decoration: none"><IMG border=0 src="./images/iconos/iconos.gif">
155                                                                                        <SPAN class=menupral ><?echo  $TbMsg[9] ?></SPAN></A>&nbsp;</TD>
156                                                                                        <TD width=4 align=middle><IMG src="./images/iconos/separitem.gif"></TD>
157                                                                        <?}?>
158                                                        <?}?>
159
160                                                        <TD  onclick=eleccion(this,22) onmouseout=desresaltar(this) onmouseover=resaltar(this) align=middle>&nbsp;
161                                                        <A href="#" style="text-decoration: none"><IMG border=0 src="./images/iconos/ayuda.gif">&nbsp;
162                                                        <SPAN class=menupral ><?echo  $TbMsg[11] ?></SPAN></A>&nbsp;</TD>
163                                                                <TD width=4 align=middle><IMG src="./images/iconos/separitem.gif"></TD>
164                                                        <TD  onclick=eleccion(this,21) onmouseout=desresaltar(this) onmouseover=resaltar(this) align=middle>&nbsp;
165                                                        <A href="#" style="text-decoration: none"><IMG border=0 src="./images/iconos/usuarioslog.gif">&nbsp;
166                                                        <SPAN class=menupral ><?echo  $TbMsg[10] ?></SPAN></A>&nbsp;</TD>
167               
168
169                                                   </TR>
170                                                 </TABLE>
171                                </TR>
172                         </TABLE>
173                </FORM>
174        </BODY>
175</HTML>
Note: See TracBrowser for help on using the repository browser.