summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/barramenu.php
diff options
context:
space:
mode:
authoralonso <alonso@us.es>2009-11-04 12:41:19 +0000
committeralonso <alonso@us.es>2009-11-04 12:41:19 +0000
commitb0dc2e4f68d239ce72f138c47d5762973dfa851e (patch)
tree8b22fe4101e8e527f474291ed19f4446f02a2343 /admin/WebConsole/barramenu.php
parenta7fa603b2d3bb05c60c61265f2bf4b561bb00ba3 (diff)
git-svn-id: https://opengnsys.es/svn/trunk@489 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/barramenu.php')
-rw-r--r--admin/WebConsole/barramenu.php139
1 files changed, 139 insertions, 0 deletions
diff --git a/admin/WebConsole/barramenu.php b/admin/WebConsole/barramenu.php
new file mode 100644
index 00000000..3aed7583
--- /dev/null
+++ b/admin/WebConsole/barramenu.php
@@ -0,0 +1,139 @@
+<?
+// ********************************************************************************************************
+// Aplicación WEB: ogAdmWebCon
+// Autor: José Manuel Alonso (E.T.S.I.I.) Universidad de Sevilla
+// Fecha Creación: Diciembre-2003
+// Fecha Última modificación: Marzo-2005
+// Nombre del fichero: barramenu.php
+// Descripción :Este fichero implementa el menu general de la Aplicación
+// ********************************************************************************************************
+include_once("./includes/ctrlacc.php");
+include_once("./includes/constantes.php");
+include_once("./idiomas/php/".$idioma."/barramenu_".$idioma.".php");
+//________________________________________________________________________________________________________
+?>
+<HTML>
+ <TITLE>Administración web de aulas</TITLE>
+ <HEAD>
+ <META HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=ISO-8859-1">
+ <LINK rel="stylesheet" type="text/css" href="estilos.css">
+ <SCRIPT language="javascript">
+ var currentOp=null;
+ //________________________________________________________________________________________________________
+ function resaltar(o){
+ if (o==currentOp) return
+ o.style.borderBottomColor="#808080"
+ o.style.borderRightColor="#808080"
+ o.style.borderTopColor="#ffffff"
+ o.style.borderLeftColor="#ffffff"
+ }
+ //________________________________________________________________________________________________________
+ function desresaltar(o){
+ if (o==currentOp) return
+ o.style.borderBottomColor="#d4d0c8"
+ o.style.borderRightColor="#d4d0c8"
+ o.style.borderTopColor="#d4d0c8"
+ o.style.borderLeftColor="#d4d0c8"
+ }
+ //________________________________________________________________________________________________________
+ function eleccion(o,op){
+ opadre=window.parent // Toma frame padre
+ opadre.frames["frame_contenidos"].document.location.href="nada.php"
+ var href;
+ var href2="nada.php"
+ switch(op){
+ case 1:
+ href="./principal/aulas.php"
+ break;
+ case 2:
+ href="./principal/acciones.php"
+ break;
+ case 3:
+ href="./principal/imagenes.php"
+ break;
+ case 4:
+ href="./principal/hardwares.php"
+ break;
+ case 5:
+ href="./principal/softwares.php"
+ break;
+ case 6:
+ href="./principal/servidores.php"
+ break;
+ case 7:
+ href="./principal/menus.php"
+ break;
+ case 8:
+ href="./principal/reservas.php"
+ break;
+ case 9:
+ href="./principal/administracion.php"
+ break;
+ case 10:
+ href="./images/L_Iconos.php"
+ href2="./images/M_Iconos.php"
+ break;
+ }
+ var oldOp=currentOp
+ currentOp=o;
+ if (oldOp) desresaltar(oldOp);
+ currentOp.style.borderBottomColor="#ffffff"
+ currentOp.style.borderRightColor="#ffffff"
+ currentOp.style.borderTopColor="#808080"
+ currentOp.style.borderLeftColor="#808080"
+ opadre.frames["frame_arbol"].document.location.href=href
+ opadre.frames["frame_contenidos"].document.location.href=href2
+ }
+ //________________________________________________________________________________________________________
+ </SCRIPT>
+ </HEAD>
+ <BODY bgcolor="#d4d0c8">
+ <FORM name=fdatos>
+ <TABLE border=0 style="POSITION:absolute;LEFT:0px;TOP:0px" cellPadding=2 cellSpacing=0>
+ <TR>
+ <TD align=left>
+ <TABLE class=menupral align=left cellPadding=1 cellSpacing=0 >
+ <TR valign=baseline>
+ <TD width=10><IMG src="./images/iconos/pomo.gif"></TD>
+ <? if($idtipousuario!=$SUPERADMINISTRADOR){?>
+ <TD onclick=eleccion(this,1) onmouseout=desresaltar(this) onmouseover=resaltar(this) >
+ &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>
+ <TD width=4 align=middle><IMG src="./images/iconos/separitem.gif"></TD>
+ <TD onclick=eleccion(this,2) onmouseout=desresaltar(this) onmouseover=resaltar(this) align=middle>
+ &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>
+ <TD width=4 align=middle><IMG src="./images/iconos/separitem.gif"></TD>
+ <TD onclick=eleccion(this,3) onmouseout=desresaltar(this) onmouseover=resaltar(this) align=middle>
+ &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>
+ <TD width=4 align=middle><IMG src="./images/iconos/separitem.gif"></TD>
+ <TD onclick=eleccion(this,4) onmouseout=desresaltar(this) onmouseover=resaltar(this) align=middle>
+ &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>
+ <TD width=4 align=middle><IMG src="./images/iconos/separitem.gif"></TD>
+ <TD onclick=eleccion(this,5) onmouseout=desresaltar(this) onmouseover=resaltar(this) align=middle>
+ &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>
+ <TD width=4 align=middle><IMG src="./images/iconos/separitem.gif"></TD>
+ <TD onclick=eleccion(this,6) onmouseout=desresaltar(this) onmouseover=resaltar(this) align=middle>
+ &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>
+ <TD width=4 align=middle><IMG src="./images/iconos/separitem.gif"></TD>
+ <TD onclick=eleccion(this,7) onmouseout=desresaltar(this) onmouseover=resaltar(this) align=middle>
+ &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>
+ <TD width=4 align=middle><IMG src="./images/iconos/separitem.gif"></TD>
+ <TD onclick=eleccion(this,8) onmouseout=desresaltar(this) onmouseover=resaltar(this) align=middle>
+ &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>
+ <TD width=4 align=middle><IMG src="./images/iconos/separitem.gif"></TD>
+ <? }
+ else{
+ if($idtipousuario==$SUPERADMINISTRADOR){?>
+ <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>
+ <TD width=4 align=middle><IMG src="./images/iconos/separitem.gif"></TD>
+ <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>
+ <TD width=4 align=middle><IMG src="./images/iconos/separitem.gif"></TD>
+ <?}?>
+ <?}?>
+
+ </TR>
+ </TABLE>
+ </TR>
+ </TABLE>
+ </FORM>
+ </BODY>
+</HTML>