[eb3e2b8] | 1 | <?php |
---|
| 2 | // ************************************************************************************************************************************************* |
---|
| 3 | // Aplicacion WEB: ogAdmWebCon |
---|
| 4 | // Autor: Antonio J. Doblas Viso |
---|
| 5 | // Baso en Codigo Comando.php de : Jose Manuel Alonso (E.T.S.I.I.) Universidad de Sevilla |
---|
| 6 | // ************************************************************************************************************************************************* |
---|
| 7 | |
---|
| 8 | |
---|
| 9 | //Haciendo referencia a las funciones registradas y que seran interpretadas como funciones javascript |
---|
| 10 | |
---|
| 11 | |
---|
| 12 | |
---|
| 13 | /********HACIENDO CONSULTA A LA TABLA ordenadores***********/ |
---|
| 14 | include_once("../includes/ctrlacc.php"); |
---|
| 15 | include_once("../clases/AdoPhp.php"); |
---|
| 16 | include_once("../includes/constantes.php"); |
---|
| 17 | include_once("../includes/comunes.php"); |
---|
| 18 | include_once("../includes/CreaComando.php"); |
---|
| 19 | include_once("../includes/HTMLSELECT.php"); |
---|
| 20 | include_once("../idiomas/php/".$idioma."/comandos/ejecutarscripts_".$idioma.".php"); |
---|
[835d044] | 21 | include_once("../idiomas/php/".$idioma."/comandos/opcionesacciones_".$idioma.".php"); |
---|
[eb3e2b8] | 22 | //________________________________________________________________________________________________________ |
---|
| 23 | include_once("./includes/capturaacciones.php"); |
---|
| 24 | //________________________________________________________________________________________________________ |
---|
| 25 | //________________________________________________________________________________________________________ |
---|
| 26 | $cmd=CreaComando($cadenaconexion); |
---|
| 27 | if (!$cmd) |
---|
| 28 | Header('Location: '.$pagerror.'?herror=2'); // Error de conexión con servidor B.D. |
---|
| 29 | //________________________________________________________________________________________________________ |
---|
| 30 | |
---|
| 31 | ?> |
---|
| 32 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
---|
| 33 | <html> |
---|
| 34 | <head> |
---|
| 35 | <title> Administración web de aulas </title> |
---|
| 36 | <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> |
---|
| 37 | <LINK rel="stylesheet" type="text/css" href="../estilos.css"> |
---|
| 38 | <SCRIPT language="javascript" src="./jscripts/EjecutarScripts.js"></SCRIPT> |
---|
[12603f8] | 39 | <SCRIPT language="javascript" src="../comandos/jscripts/comunescomandos.js"></SCRIPT> |
---|
[eb3e2b8] | 40 | <SCRIPT language="javascript" src="./jscripts/asistentes.js"></SCRIPT> |
---|
[bddacad] | 41 | <SCRIPT language="javascript" src="./jscripts/OrigenesMaster.js"></SCRIPT> |
---|
[043e67d] | 42 | <?php echo '<SCRIPT language="javascript" src="../idiomas/javascripts/'.$idioma.'/comandos/ejecutarscripts_'.$idioma.'.js"></SCRIPT>'?> |
---|
| 43 | <?php echo '<SCRIPT language="javascript" src="../idiomas/javascripts/'.$idioma.'/comandos/comunescomandos_'.$idioma.'.js"></SCRIPT>'?> |
---|
[f676118] | 44 | <?php echo '<SCRIPT language="javascript" src="../idiomas/javascripts/'.$idioma.'/asistentes_'.$idioma.'.js"></SCRIPT>'?> |
---|
[bddacad] | 45 | |
---|
[eb3e2b8] | 46 | </head> |
---|
| 47 | |
---|
| 48 | |
---|
| 49 | <body> |
---|
[043e67d] | 50 | <?php |
---|
[eb3e2b8] | 51 | switch($ambito){ |
---|
| 52 | case $AMBITO_CENTROS : |
---|
| 53 | $urlimg='../images/iconos/centros.gif'; |
---|
| 54 | $textambito=$TbMsg[0]; |
---|
| 55 | break; |
---|
| 56 | case $AMBITO_GRUPOSAULAS : |
---|
| 57 | $urlimg='../images/iconos/carpeta.gif'; |
---|
| 58 | $textambito=$TbMsg[1]; |
---|
| 59 | break; |
---|
| 60 | case $AMBITO_AULAS : |
---|
| 61 | $urlimg='../images/iconos/aula.gif'; |
---|
| 62 | $textambito=$TbMsg[2]; |
---|
| 63 | if (isset($_GET["idambito"])) $idambito=$_GET["idambito"]; |
---|
| 64 | break; |
---|
| 65 | case $AMBITO_GRUPOSORDENADORES : |
---|
| 66 | $urlimg='../images/iconos/carpeta.gif'; |
---|
| 67 | $textambito=$TbMsg[3]; |
---|
| 68 | break; |
---|
| 69 | case $AMBITO_ORDENADORES : |
---|
| 70 | $urlimg='../images/iconos/ordenador.gif'; |
---|
| 71 | $textambito=$TbMsg[4]; |
---|
| 72 | break; |
---|
| 73 | } |
---|
[86bb5fc] | 74 | echo '<p align=center><span class=cabeceras>'.$TbMsg["WCRP31"].' </span><br>'; |
---|
[eb3e2b8] | 75 | echo '<IMG src="'.$urlimg.'"> <span align=center class=subcabeceras> |
---|
| 76 | <U>'.$TbMsg[6].': '.$textambito.','.$nombreambito.'</U></span> </span></p>'; |
---|
| 77 | ?> |
---|
| 78 | |
---|
| 79 | |
---|
| 80 | <form align=center name="fdatos" > |
---|
| 81 | |
---|
| 82 | |
---|
| 83 | |
---|
| 84 | <table align=center class=tabla_datos border="0" cellpadding="0" cellspacing="1"> |
---|
[043e67d] | 85 | <?php |
---|
[eb3e2b8] | 86 | include_once("./includes/asistentes/AyudanteFormularios.php"); |
---|
| 87 | include_once("./includes/asistentes/formCloneRemotePartition.php"); |
---|
| 88 | ?> |
---|
| 89 | |
---|
| 90 | |
---|
| 91 | |
---|
| 92 | <tr> |
---|
[043e67d] | 93 | <th><INPUT TYPE="button" NAME="GenerarInstruccion" Value="<?php echo $TbMsg["WDI12"] ?>" onClick="codeCloneRemotePartition(this.form)"> </th> |
---|
[345e789] | 94 | <td colspan="5"><textarea class="cajatexto" name="codigo" id="codigo" cols="70" rows="7"></textarea></td> |
---|
[eb3e2b8] | 95 | </tr> |
---|
| 96 | </table> |
---|
| 97 | </form> |
---|
| 98 | |
---|
[043e67d] | 99 | <?php |
---|
[eb3e2b8] | 100 | //________________________________________________________________________________________________________ |
---|
| 101 | include_once("./includes/formularioacciones.php"); |
---|
| 102 | //________________________________________________________________________________________________________ |
---|
| 103 | //________________________________________________________________________________________________________ |
---|
| 104 | include_once("./includes/opcionesacciones.php"); |
---|
| 105 | //________________________________________________________________________________________________________ |
---|
| 106 | ?> |
---|
| 107 | |
---|
| 108 | |
---|
| 109 | </body> |
---|
[835d044] | 110 | </html> |
---|
| 111 | |
---|