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
Rev | Line | |
---|
[3ec149c] | 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: controlacceso.php |
---|
| 8 | // Descripción :Este fichero redirecciona a la página principal con un código de error |
---|
| 9 | // ************************************************************************************************************************************************* |
---|
| 10 | $herror=0; |
---|
| 11 | if (isset($_GET["herror"])) $herror=$_GET["herror"]; |
---|
| 12 | //________________________________________________________________________________________________________ |
---|
| 13 | ?> |
---|
| 14 | <HTML> |
---|
| 15 | <TITLE> Administración web de aulas</TITLE> |
---|
| 16 | <HEAD> |
---|
| 17 | <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> |
---|
| 18 | <LINK rel="stylesheet" type="text/css" href="estilos.css"> |
---|
| 19 | </HEAD> |
---|
| 20 | <BODY> |
---|
| 21 | <? |
---|
| 22 | echo '<SCRIPT LANGUAGE="JAVASCRIPT">'.chr(13); |
---|
| 23 | echo ' var o=window.top;'.chr(13); |
---|
| 24 | echo ' var ao=o.parent;'.chr(13); |
---|
| 25 | echo ' while (o!=ao){ // Busca la primera ventana del navegador'.chr(13); |
---|
| 26 | echo ' ao=o;'.chr(13); |
---|
| 27 | echo ' o=o.parent;'; |
---|
| 28 | echo ' };'.chr(13); |
---|
| 29 | echo ' ao.location="./acceso.php?herror='.$herror.'";'.chr(13); |
---|
| 30 | echo '</SCRIPT>'.chr(13); |
---|
| 31 | ?> |
---|
| 32 | </BODY> |
---|
| 33 | </HTML> |
---|
Note: See
TracBrowser
for help on using the repository browser.