source: admin/ogAdmSources/ogAdmWebCon/barramenu.php @ e42f34e

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 e42f34e was 8964f9b, checked in by ramon <ramongomez@…>, 16 years ago

Resstructuración de trunk.

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

  • Property mode set to 100644
File size: 7.2 KB
Line 
1<?
2// *************************************************************************************************************************************************
3// Aplicación WEB: ogAdmWebCon
4// Copyright 2003-2005 Jos�Manuel Alonso. Todos los derechos reservados.
5// Fecha Creación: Diciembre-2003
6// Fecha Última modificación: Marzo-2005
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=ISO-8859-1">
19                <LINK rel="stylesheet" type="text/css" href="estilos.css">
20                <SCRIPT language="javascript">
21                        var currentOp=null;
22                //________________________________________________________________________________________________________
23                function resaltar(o){
24                                if (o==currentOp) return
25                                o.style.borderBottomColor="#808080"
26                                o.style.borderRightColor="#808080"
27                                o.style.borderTopColor="#ffffff"
28                                o.style.borderLeftColor="#ffffff"
29                }
30                //________________________________________________________________________________________________________
31                function desresaltar(o){
32                                if (o==currentOp) return
33                                o.style.borderBottomColor="#d4d0c8"
34                                o.style.borderRightColor="#d4d0c8"
35                                o.style.borderTopColor="#d4d0c8"
36                                o.style.borderLeftColor="#d4d0c8"
37                }
38                //________________________________________________________________________________________________________
39                function eleccion(o,op){
40                                opadre=window.parent // Toma frame padre
41                                opadre.frames["frame_contenidos"].document.location.href="nada.php"
42                                var href;
43                                var     href2="nada.php"
44                                switch(op){
45                                        case 1:
46                                                href="./principal/aulas.php"
47                                                break;
48                                        case 2:
49                                                        href="./principal/acciones.php"
50                                                        break;
51                                        case 3:
52                                                        href="./principal/imagenes.php"
53                                                        break;
54                                        case 4:
55                                                        href="./principal/hardwares.php"
56                                                        break;
57                                        case 5:
58                                                        href="./principal/softwares.php"
59                                                        break;
60                                        case 6:
61                                                        href="./principal/servidores.php"
62                                                        break;
63                                        case 7:
64                                                        href="./principal/menus.php"
65                                                        break;
66                                        case 8:
67                                                        href="./principal/reservas.php"
68                                                        break;
69                                        case 9:
70                                                        href="./principal/administracion.php"
71                                                        break;
72                                        case 10:
73                                                        href="./images/L_Iconos.php"
74                                                        href2="./images/M_Iconos.php"
75                                                        break;
76                                }
77                                var oldOp=currentOp
78                                currentOp=o;
79                                if (oldOp) desresaltar(oldOp);
80                                currentOp.style.borderBottomColor="#ffffff"
81                                currentOp.style.borderRightColor="#ffffff"
82                                currentOp.style.borderTopColor="#808080"
83                                currentOp.style.borderLeftColor="#808080"
84                                opadre.frames["frame_arbol"].document.location.href=href
85                                opadre.frames["frame_contenidos"].document.location.href=href2
86                }
87                //________________________________________________________________________________________________________
88                </SCRIPT>
89        </HEAD>
90        <BODY bgcolor="#d4d0c8">
91                <FORM name=fdatos>
92                        <TABLE border=0  style="POSITION:absolute;LEFT:0px;TOP:0px" cellPadding=2 cellSpacing=0>
93                                <TR>
94                                        <TD align=left>
95                                                <TABLE  class=menupral align=left cellPadding=1 cellSpacing=0 >
96                                                  <TR valign=baseline>
97                                                        <TD width=10><IMG src="./images/iconos/pomo.gif"></TD>
98                                                        <? if($idtipousuario!=$SUPERADMINISTRADOR){?>
99                                                                <TD  onclick=eleccion(this,1)  onmouseout=desresaltar(this) onmouseover=resaltar(this) >
100                                                                        &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>
101                                                                <TD width=4 align=middle><IMG src="./images/iconos/separitem.gif"></TD>
102                                                                <TD  onclick=eleccion(this,2) onmouseout=desresaltar(this) onmouseover=resaltar(this) align=middle>             
103                                                                        &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>
104                                                                <TD width=4 align=middle><IMG src="./images/iconos/separitem.gif"></TD>
105                                                                <TD   onclick=eleccion(this,3) onmouseout=desresaltar(this) onmouseover=resaltar(this) align=middle>
106                                                                        &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>
107                                                                <TD width=4 align=middle><IMG src="./images/iconos/separitem.gif"></TD>
108                                                                <TD  onclick=eleccion(this,4) onmouseout=desresaltar(this) onmouseover=resaltar(this) align=middle>
109                                                                        &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>
110                                                                <TD width=4 align=middle><IMG src="./images/iconos/separitem.gif"></TD>
111                                                                <TD  onclick=eleccion(this,5) onmouseout=desresaltar(this) onmouseover=resaltar(this) align=middle>
112                                                                        &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>
113                                                                <TD width=4 align=middle><IMG src="./images/iconos/separitem.gif"></TD>
114                                                                <TD  onclick=eleccion(this,6) onmouseout=desresaltar(this) onmouseover=resaltar(this) align=middle>
115                                                                        &nbsp;<A href="#" style="text-decoration: none"><IMG border=0 src="./images/iconos/servidores.gif">&nbsp;<SPAN class=menupral ><?echo  $TbMsg[5] ?></SPAN></A>&nbsp;</TD>
116                                                                <TD width=4 align=middle><IMG src="./images/iconos/separitem.gif"></TD>
117                                                                <TD  onclick=eleccion(this,7) onmouseout=desresaltar(this) onmouseover=resaltar(this) align=middle>
118                                                                        &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>
119                                                                <TD width=4 align=middle><IMG src="./images/iconos/separitem.gif"></TD>
120                                                                <TD  onclick=eleccion(this,8) onmouseout=desresaltar(this) onmouseover=resaltar(this) align=middle>
121                                                                        &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>
122                                                                <TD width=4 align=middle><IMG src="./images/iconos/separitem.gif"></TD>
123                                                        <? }
124                                                        else{
125                                                                        if($idtipousuario==$SUPERADMINISTRADOR){?>
126                                                                                        <TD  onclick=eleccion(this,9) onmouseout=desresaltar(this) onmouseover=resaltar(this) align=middle>&nbsp;<IMG src="./images/iconos/administracion.gif">&nbsp;<?echo  $TbMsg[8] ?>&nbsp;</TD>
127                                                                                        <TD width=4 align=middle><IMG src="./images/iconos/separitem.gif"></TD>
128                                                                                        <TD  onclick=eleccion(this,10) onmouseout=desresaltar(this) onmouseover=resaltar(this) align=middle>&nbsp;<IMG src="./images/iconos/iconos.gif">&nbsp;<?echo  $TbMsg[9] ?>&nbsp;</TD>
129                                                                                        <TD width=4 align=middle><IMG src="./images/iconos/separitem.gif"></TD>
130                                                                        <?}?>
131                                                        <?}?>
132
133                                                   </TR>
134                                                 </TABLE>
135                                </TR>
136                         </TABLE>
137                </FORM>
138        </BODY>
139</HTML>
Note: See TracBrowser for help on using the repository browser.