[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"); |
---|
[3cba7cf] | 22 | |
---|
| 23 | include_once("../includes/HTMLCTESELECT.php"); |
---|
| 24 | include_once("../includes/TomaDato.php"); |
---|
| 25 | include_once("../includes/ConfiguracionesParticiones.php"); |
---|
| 26 | include_once("../includes/RecopilaIpesMacs.php"); |
---|
| 27 | include_once("./includes/asistentes/AyudanteFormularios.php"); |
---|
| 28 | |
---|
[eb3e2b8] | 29 | //________________________________________________________________________________________________________ |
---|
| 30 | include_once("./includes/capturaacciones.php"); |
---|
| 31 | //________________________________________________________________________________________________________ |
---|
| 32 | //________________________________________________________________________________________________________ |
---|
| 33 | $cmd=CreaComando($cadenaconexion); |
---|
| 34 | if (!$cmd) |
---|
| 35 | Header('Location: '.$pagerror.'?herror=2'); // Error de conexión con servidor B.D. |
---|
| 36 | //________________________________________________________________________________________________________ |
---|
| 37 | |
---|
| 38 | ?> |
---|
| 39 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
---|
| 40 | <html> |
---|
| 41 | <head> |
---|
| 42 | <title> Administración web de aulas </title> |
---|
| 43 | <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> |
---|
| 44 | <LINK rel="stylesheet" type="text/css" href="../estilos.css"> |
---|
| 45 | <SCRIPT language="javascript" src="./jscripts/EjecutarScripts.js"></SCRIPT> |
---|
[12603f8] | 46 | <SCRIPT language="javascript" src="../comandos/jscripts/comunescomandos.js"></SCRIPT> |
---|
[eb3e2b8] | 47 | <SCRIPT language="javascript" src="./jscripts/asistentes.js"></SCRIPT> |
---|
[bddacad] | 48 | <SCRIPT language="javascript" src="./jscripts/OrigenesMaster.js"></SCRIPT> |
---|
[043e67d] | 49 | <?php echo '<SCRIPT language="javascript" src="../idiomas/javascripts/'.$idioma.'/comandos/ejecutarscripts_'.$idioma.'.js"></SCRIPT>'?> |
---|
| 50 | <?php echo '<SCRIPT language="javascript" src="../idiomas/javascripts/'.$idioma.'/comandos/comunescomandos_'.$idioma.'.js"></SCRIPT>'?> |
---|
[f676118] | 51 | <?php echo '<SCRIPT language="javascript" src="../idiomas/javascripts/'.$idioma.'/asistentes_'.$idioma.'.js"></SCRIPT>'?> |
---|
[bddacad] | 52 | |
---|
[eb3e2b8] | 53 | </head> |
---|
| 54 | |
---|
| 55 | |
---|
| 56 | <body> |
---|
[043e67d] | 57 | <?php |
---|
[eb3e2b8] | 58 | switch($ambito){ |
---|
| 59 | case $AMBITO_CENTROS : |
---|
| 60 | $urlimg='../images/iconos/centros.gif'; |
---|
| 61 | $textambito=$TbMsg[0]; |
---|
| 62 | break; |
---|
| 63 | case $AMBITO_GRUPOSAULAS : |
---|
| 64 | $urlimg='../images/iconos/carpeta.gif'; |
---|
| 65 | $textambito=$TbMsg[1]; |
---|
| 66 | break; |
---|
| 67 | case $AMBITO_AULAS : |
---|
| 68 | $urlimg='../images/iconos/aula.gif'; |
---|
| 69 | $textambito=$TbMsg[2]; |
---|
| 70 | if (isset($_GET["idambito"])) $idambito=$_GET["idambito"]; |
---|
| 71 | break; |
---|
| 72 | case $AMBITO_GRUPOSORDENADORES : |
---|
| 73 | $urlimg='../images/iconos/carpeta.gif'; |
---|
| 74 | $textambito=$TbMsg[3]; |
---|
| 75 | break; |
---|
| 76 | case $AMBITO_ORDENADORES : |
---|
| 77 | $urlimg='../images/iconos/ordenador.gif'; |
---|
| 78 | $textambito=$TbMsg[4]; |
---|
| 79 | break; |
---|
| 80 | } |
---|
[86bb5fc] | 81 | echo '<p align=center><span class=cabeceras>'.$TbMsg["WCRP31"].' </span><br>'; |
---|
[eb3e2b8] | 82 | echo '<IMG src="'.$urlimg.'"> <span align=center class=subcabeceras> |
---|
| 83 | <U>'.$TbMsg[6].': '.$textambito.','.$nombreambito.'</U></span> </span></p>'; |
---|
[3cba7cf] | 84 | |
---|
| 85 | $sws=$fk_sysFi | $fk_nombreSO | $fk_tamano | $fk_imagen | $fk_perfil | $fk_cache; |
---|
| 86 | pintaConfiguraciones($cmd,$idambito,$ambito,9,$sws,false); |
---|
| 87 | |
---|
[eb3e2b8] | 88 | ?> |
---|
| 89 | |
---|
| 90 | |
---|
| 91 | <form align=center name="fdatos" > |
---|
| 92 | |
---|
| 93 | |
---|
| 94 | |
---|
| 95 | <table align=center class=tabla_datos border="0" cellpadding="0" cellspacing="1"> |
---|
[043e67d] | 96 | <?php |
---|
[eb3e2b8] | 97 | include_once("./includes/asistentes/AyudanteFormularios.php"); |
---|
| 98 | include_once("./includes/asistentes/formCloneRemotePartition.php"); |
---|
| 99 | ?> |
---|
| 100 | |
---|
| 101 | |
---|
| 102 | |
---|
| 103 | <tr> |
---|
[043e67d] | 104 | <th><INPUT TYPE="button" NAME="GenerarInstruccion" Value="<?php echo $TbMsg["WDI12"] ?>" onClick="codeCloneRemotePartition(this.form)"> </th> |
---|
[345e789] | 105 | <td colspan="5"><textarea class="cajatexto" name="codigo" id="codigo" cols="70" rows="7"></textarea></td> |
---|
[eb3e2b8] | 106 | </tr> |
---|
| 107 | </table> |
---|
| 108 | </form> |
---|
| 109 | |
---|
[043e67d] | 110 | <?php |
---|
[eb3e2b8] | 111 | //________________________________________________________________________________________________________ |
---|
| 112 | include_once("./includes/formularioacciones.php"); |
---|
| 113 | //________________________________________________________________________________________________________ |
---|
| 114 | //________________________________________________________________________________________________________ |
---|
| 115 | include_once("./includes/opcionesacciones.php"); |
---|
| 116 | //________________________________________________________________________________________________________ |
---|
| 117 | ?> |
---|
| 118 | |
---|
| 119 | |
---|
| 120 | </body> |
---|
[835d044] | 121 | </html> |
---|
| 122 | |
---|