summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/asistentes/AsistenteParticionado.php
diff options
context:
space:
mode:
authoradv <adv@uma.es>2011-02-27 18:04:22 +0000
committeradv <adv@uma.es>2011-02-27 18:04:22 +0000
commiteb3e2b89ad2832d010292b0efb2f9c727b9de90b (patch)
tree4cf6838f4616ae868e51fd0415663487f64e7669 /admin/WebConsole/asistentes/AsistenteParticionado.php
parent7fe6ca768212b2d73b49e1d7b3efab44f3426e65 (diff)
branch 1.0 menu asistentes
git-svn-id: https://opengnsys.es/svn/branches/version1.0@1508 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/asistentes/AsistenteParticionado.php')
-rw-r--r--admin/WebConsole/asistentes/AsistenteParticionado.php131
1 files changed, 131 insertions, 0 deletions
diff --git a/admin/WebConsole/asistentes/AsistenteParticionado.php b/admin/WebConsole/asistentes/AsistenteParticionado.php
new file mode 100644
index 00000000..b48e0cf5
--- /dev/null
+++ b/admin/WebConsole/asistentes/AsistenteParticionado.php
@@ -0,0 +1,131 @@
+<?php
+// *************************************************************************************************************************************************
+// Aplicacion WEB: ogAdmWebCon
+// Autor: Antonio J. Doblas Viso
+// Baso en Codigo Comando.php de : Jose Manuel Alonso (E.T.S.I.I.) Universidad de Sevilla
+// Xajax
+// *************************************************************************************************************************************************
+
+
+require_once('xajax.common.php');
+//Haciendo referencia a las funciones registradas y que seran interpretadas como funciones javascript
+
+
+
+/********HACIENDO CONSULTA A LA TABLA ordenadores***********/
+include_once("../includes/ctrlacc.php");
+include_once("../clases/AdoPhp.php");
+include_once("../includes/constantes.php");
+include_once("../includes/comunes.php");
+include_once("../includes/CreaComando.php");
+include_once("../includes/HTMLSELECT.php");
+include_once("../idiomas/php/".$idioma."/comandos/ejecutarscripts_".$idioma.".php");
+
+
+
+include_once("../includes/HTMLCTESELECT.php");
+include_once("../includes/TomaDato.php");
+include_once("../includes/ConfiguracionesParticiones.php");
+include_once("../includes/RecopilaIpesMacs.php");
+
+ include_once("./includes/asistentes/AyudanteFormularios.php");
+
+
+//________________________________________________________________________________________________________
+include_once("./includes/capturaacciones.php");
+//________________________________________________________________________________________________________
+//________________________________________________________________________________________________________
+$cmd=CreaComando($cadenaconexion);
+if (!$cmd)
+ Header('Location: '.$pagerror.'?herror=2'); // Error de conexión con servidor B.D.
+//________________________________________________________________________________________________________
+
+?>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<title> Administración web de aulas </title>
+<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
+ <LINK rel="stylesheet" type="text/css" href="../estilos.css">
+ <SCRIPT language="javascript" src="./jscripts/EjecutarScripts.js"></SCRIPT>
+ <SCRIPT language="javascript" src="./jscripts/comunescomandos.js"></SCRIPT>
+ <SCRIPT language="javascript" src="./jscripts/asistentes.js"></SCRIPT>
+ <? echo '<SCRIPT language="javascript" src="../idiomas/javascripts/'.$idioma.'/comandos/ejecutarscripts_'.$idioma.'.js"></SCRIPT>'?>
+ <? echo '<SCRIPT language="javascript" src="../idiomas/javascripts/'.$idioma.'/comandos/comunescomandos_'.$idioma.'.js"></SCRIPT>'?>
+
+
+<?php
+//indicamos al objeto xajax se encargue de generar el javascript de las funciones registradas por ejm: ListarParticionesXip
+$xajax->printJavascript('../xajax/');
+?>
+</head>
+
+
+<body>
+<?
+switch($ambito){
+ case $AMBITO_CENTROS :
+ $urlimg='../images/iconos/centros.gif';
+ $textambito=$TbMsg[0];
+ break;
+ case $AMBITO_GRUPOSAULAS :
+ $urlimg='../images/iconos/carpeta.gif';
+ $textambito=$TbMsg[1];
+ break;
+ case $AMBITO_AULAS :
+ $urlimg='../images/iconos/aula.gif';
+ $textambito=$TbMsg[2];
+ if (isset($_GET["idambito"])) $idambito=$_GET["idambito"];
+ break;
+ case $AMBITO_GRUPOSORDENADORES :
+ $urlimg='../images/iconos/carpeta.gif';
+ $textambito=$TbMsg[3];
+ break;
+ case $AMBITO_ORDENADORES :
+ $urlimg='../images/iconos/ordenador.gif';
+ $textambito=$TbMsg[4];
+ break;
+ }
+ echo '<p align=center><span class=cabeceras>'.$descricomando.'&nbsp;</span><br>';
+ echo '<IMG src="'.$urlimg.'">&nbsp;&nbsp;<span align=center class=subcabeceras>
+ <U>'.$TbMsg[6].': '.$textambito.','.$nombreambito.'</U></span>&nbsp;&nbsp;</span></p>';
+
+ $sws=$fk_sysFi | $fk_nombreSO | $fk_tamano | $fk_imagen | $fk_perfil;
+ pintaConfiguraciones($cmd,$idambito,$ambito,7,$sws,false);
+
+ ?>
+
+
+ <form align=center name="fdatos" >
+
+
+
+ <table class=tabla_datos border="0" cellpadding="0" cellspacing="1">
+ <?
+ include_once("./includes/asistentes/formParticionado.php");
+?>
+
+ <tr>
+ <th colspan="5"><INPUT TYPE="button" NAME="GenerarInstruccion" Value="Generar InstruccionOG" onClick="codeParticionado(this.form)"> </th>
+ <td><textarea class="cajatexto" name="codigo" cols="70" rows="7"></textarea></td>
+ </tr>
+ </table>
+ </form>
+
+<?
+ //________________________________________________________________________________________________________
+ include_once("./includes/formularioacciones.php");
+ //________________________________________________________________________________________________________
+ //________________________________________________________________________________________________________
+ include_once("./includes/opcionesacciones.php");
+ //________________________________________________________________________________________________________
+
+
+
+
+
+?>
+
+
+</body>
+</html> \ No newline at end of file