[d27f22b] | 1 | <? |
---|
| 2 | // ************************************************************************************************************************************************* |
---|
[5070d59] | 3 | // Aplicación WEB: ogAdmWebCon |
---|
[d27f22b] | 4 | // Copyright 2003-2005 Jos�Manuel Alonso. Todos los derechos reservados. |
---|
[5070d59] | 5 | // Fecha Creación: Diciembre-2003 |
---|
| 6 | // Fecha Última modificación: Marzo-2005 |
---|
[d27f22b] | 7 | // Nombre del fichero: barramenu.php |
---|
[5070d59] | 8 | // Descripción :Este fichero implementa el menu general de la Aplicación |
---|
[d27f22b] | 9 | // ************************************************************************************************************************************************* |
---|
| 10 | include_once("./includes/ctrlacc.php"); |
---|
| 11 | include_once("./includes/constantes.php"); |
---|
| 12 | include_once("./idiomas/php/".$idioma."/barramenu_".$idioma.".php"); |
---|
| 13 | //________________________________________________________________________________________________________ |
---|
| 14 | ?> |
---|
| 15 | <HTML> |
---|
[5070d59] | 16 | <TITLE>Administración web de aulas</TITLE> |
---|
[d27f22b] | 17 | <HEAD> |
---|
| 18 | <META HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=ISO-8859-1"> |
---|
[5070d59] | 19 | <LINK rel="stylesheet" type="text/css" href="estilos.css"> |
---|
[d27f22b] | 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 | <A href="#" style="text-decoration: none"><IMG border=0 src="./images/iconos/centros.gif"> <SPAN class="menupral"><?echo $TbMsg[0]?></SPAN></A> </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 | <A href="#" style="text-decoration: none"><IMG border=0 src="./images/iconos/acciones.gif"> <SPAN class=menupral ><?echo $TbMsg[1]?></SPAN></A> </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 | <A href="#" style="text-decoration: none"><IMG border=0 src="./images/iconos/imagenes.gif"> <SPAN class=menupral ><?echo $TbMsg[2]?></SPAN></A> </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 | <A href="#" style="text-decoration: none"><IMG border=0 src="./images/iconos/confihard.gif"> <SPAN class=menupral ><?echo $TbMsg[3] ?></SPAN></A> </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 | <A href="#" style="text-decoration: none"><IMG border=0 src="./images/iconos/confisoft.gif"> <SPAN class=menupral ><?echo $TbMsg[4] ?></SPAN></A> </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 | <A href="#" style="text-decoration: none"><IMG border=0 src="./images/iconos/servidores.gif"> <SPAN class=menupral ><?echo $TbMsg[5] ?></SPAN></A> </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 | <A href="#" style="text-decoration: none"><IMG border=0 src="./images/iconos/menus.gif"> <SPAN class=menupral ><?echo $TbMsg[6] ?></SPAN></A> </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 | <A href="#" style="text-decoration: none"><IMG border=0 src="./images/iconos/reservas.gif"> <SPAN class=menupral ><?echo $TbMsg[7] ?></SPAN></A> </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> <IMG src="./images/iconos/administracion.gif"> <?echo $TbMsg[8] ?> </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> <IMG src="./images/iconos/iconos.gif"> <?echo $TbMsg[9] ?> </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> |
---|