1 | <?php |
---|
2 | // ************************************************************************************************************************************************* |
---|
3 | // Aplicación WEB: ogAdmWebCon |
---|
4 | // Autor: José Manuel Alonso (E.T.S.I.I.) Universidad de Sevilla |
---|
5 | // Fecha Creación: Año 2009-2010 |
---|
6 | // Fecha Última modificación: Agosto-2010 |
---|
7 | // Nombre del fichero: Comando.php |
---|
8 | // Descripción: |
---|
9 | // Implementación del comando "EjecutarScripts" |
---|
10 | // ************************************************************************************************************************************************* |
---|
11 | include_once("../includes/ctrlacc.php"); |
---|
12 | include_once("../clases/AdoPhp.php"); |
---|
13 | include_once("../includes/constantes.php"); |
---|
14 | include_once("../includes/comunes.php"); |
---|
15 | include_once("../includes/CreaComando.php"); |
---|
16 | include_once("../includes/HTMLSELECT.php"); |
---|
17 | include_once("../idiomas/php/".$idioma."/comandos/enviarmensaje_".$idioma.".php"); |
---|
18 | include_once("../idiomas/php/".$idioma."/comandos/opcionesacciones_".$idioma.".php"); |
---|
19 | //________________________________________________________________________________________________________ |
---|
20 | include_once("./includes/capturaacciones.php"); |
---|
21 | //________________________________________________________________________________________________________ |
---|
22 | //________________________________________________________________________________________________________ |
---|
23 | $cmd=CreaComando($cadenaconexion); |
---|
24 | if (!$cmd) |
---|
25 | Header('Location: '.$pagerror.'?herror=2'); // Error de conexión con servidor B.D. |
---|
26 | //________________________________________________________________________________________________________ |
---|
27 | ?> |
---|
28 | <HTML> |
---|
29 | <HEAD> |
---|
30 | <TITLE>Administración web de aulas</TITLE> |
---|
31 | <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> |
---|
32 | <LINK rel="stylesheet" type="text/css" href="../estilos.css"> |
---|
33 | <SCRIPT language="javascript" src="./jscripts/EnviarMensaje.js"></SCRIPT> |
---|
34 | <SCRIPT language="javascript" src="./jscripts/comunescomandos.js"></SCRIPT> |
---|
35 | <SCRIPT language="javascript" src="../jscripts/validators.js"></SCRIPT> |
---|
36 | <SCRIPT language="javascript" src="../clases/jscripts/HttpLib.js"></SCRIPT> |
---|
37 | <?php echo '<SCRIPT language="javascript" src="../idiomas/javascripts/'.$idioma.'/comandos/enviarmensaje_'.$idioma.'.js"></SCRIPT>'?> |
---|
38 | <?php echo '<SCRIPT language="javascript" src="../idiomas/javascripts/'.$idioma.'/comandos/comunescomandos_'.$idioma.'.js"></SCRIPT>'?> |
---|
39 | </HEAD> |
---|
40 | <BODY> |
---|
41 | <?php |
---|
42 | echo '<p align=center><span class=cabeceras>'.$TbMsg[5].' </span><br>'; |
---|
43 | //________________________________________________________________________________________________________ |
---|
44 | // |
---|
45 | include_once("./includes/FiltradoAmbito.php"); |
---|
46 | //________________________________________________________________________________________________________ |
---|
47 | ?> |
---|
48 | <P align=center><SPAN class=subcabeceras><?php echo $TbMsg[10] ?></SPAN></P> |
---|
49 | <form name="fdatos"> |
---|
50 | <table align=center class=tabla_datos border="0" cellpadding="0" cellspacing="1"> |
---|
51 | <tr> |
---|
52 | <th> <?php echo $TbMsg[7]?> </th> |
---|
53 | <td><input type="text" name="titulo"></td></tr> |
---|
54 | <tr> |
---|
55 | <th> <?php echo $TbMsg[9]?> </th> |
---|
56 | <td><textarea class="cajatexto" name="mensaje" cols="70" rows="18"></textarea></td></tr> |
---|
57 | <tr> <th align=center colspan="3"><?php echo $TbMsg["OGAGENT"] ?></th></tr> |
---|
58 | <tr> <th align=center colspan="3"><?php echo $TbMsg["OPTION"] ?></th></tr> |
---|
59 | </table> |
---|
60 | </form> |
---|
61 | <?php |
---|
62 | //________________________________________________________________________________________________________ |
---|
63 | include_once("./includes/formularioacciones.php"); |
---|
64 | //________________________________________________________________________________________________________ |
---|
65 | // Sólo permite ejecutar inmediantemente como opción de ejecución |
---|
66 | // include_once("./includes/opcionesacciones.php") |
---|
67 | ?> |
---|
68 | <P align=center><span class=subcabeceras>Opciones de Ejecución</span></P> |
---|
69 | <table align=center> |
---|
70 | <tr> |
---|
71 | <td><img border=0 style="cursor:pointer" src="../images/boton_aceptar_esp.gif" onclick="confirmar()" ></td> |
---|
72 | </tr> |
---|
73 | </table> |
---|
74 | <BR> |
---|
75 | <table class=opciones_ejecucion align=center> |
---|
76 | <tr> |
---|
77 | <td><input name=sw_ejya type=checkbox checked readonly></td> |
---|
78 | <td colspan=3> Ejecutar inmediatamente </td> |
---|
79 | </tr> |
---|
80 | <tr> |
---|
81 | <td> </td> |
---|
82 | <td><input name=sw_seguimiento type=radio value=1 readonly></td><td>Incluirlo en Cola de Acciones </td> |
---|
83 | </tr> |
---|
84 | <tr> |
---|
85 | <td> </td> |
---|
86 | <td><input checked name=sw_seguimiento type=radio value=0 readonly></td><td>No incluirlo en Cola de Acciones </td> |
---|
87 | </tr> |
---|
88 | </table> |
---|
89 | |
---|
90 | </form> |
---|
91 | <SCRIPT language="javascript"> |
---|
92 | Sondeo(); |
---|
93 | </SCRIPT> |
---|
94 | </BODY> |
---|
95 | </HTML> |
---|