source: admin/WebConsole/comandos/EjecutarScripts.php

qndtest
Last change on this file was 79a6616, checked in by Ramón M. Gómez <ramongomez@…>, 5 years ago

#834: Fix some HTML tags, remove trailing tabs and convert newlines to Unix format.

  • Property mode set to 100644
File size: 3.9 KB
Line 
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// *************************************************************************************************************************************************
11include_once("../includes/ctrlacc.php");
12include_once("../clases/AdoPhp.php");
13include_once("../includes/constantes.php");
14include_once("../includes/comunes.php");
15include_once("../includes/CreaComando.php");
16include_once("../includes/HTMLSELECT.php");
17include_once("../idiomas/php/".$idioma."/comandos/ejecutarscripts_".$idioma.".php");
18include_once("../idiomas/php/".$idioma."/comandos/opcionesacciones_".$idioma.".php");
19//________________________________________________________________________________________________________
20include_once("./includes/capturaacciones.php");
21//________________________________________________________________________________________________________
22//________________________________________________________________________________________________________
23$cmd=CreaComando($cadenaconexion);
24if (!$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/EjecutarScripts.js"></SCRIPT>
34        <SCRIPT language="javascript" src="./jscripts/comunescomandos.js"></SCRIPT>
35        <SCRIPT language="javascript" src="../clases/jscripts/HttpLib.js"></SCRIPT>
36        <?php echo '<SCRIPT language="javascript" src="../idiomas/javascripts/'.$idioma.'/comandos/ejecutarscripts_'.$idioma.'.js"></SCRIPT>'?>
37        <?php echo '<SCRIPT language="javascript" src="../idiomas/javascripts/'.$idioma.'/comandos/comunescomandos_'.$idioma.'.js"></SCRIPT>'?>
38</HEAD>
39<BODY>
40<?php
41        echo '<p align=center><span class=cabeceras>'.$TbMsg[5].'&nbsp;</span><br>';
42        //________________________________________________________________________________________________________
43        //
44        include_once("./includes/FiltradoAmbito.php");
45        //________________________________________________________________________________________________________
46?>                     
47        <P align=center>
48        <SPAN class=subcabeceras><?php echo $TbMsg[10] ?></SPAN>
49        <form name="fdatos">
50                <table align=center  class=tabla_datos border="0" cellpadding="0" cellspacing="1">
51                        <tr>
52                        <th><?php echo $TbMsg[12] ?></th>
53                                <td><input type="radio" name="modoejecucion" value="false"><?php echo $TbMsg[13] ?>
54                                    <input type="radio" name="modoejecucion" value="true" checked><?php echo $TbMsg[14] ?>
55                                </td>
56                        </tr>
57                        <tr>
58                                <th>&nbsp;<?php echo $TbMsg[9]?>&nbsp;</th>
59                                <td><textarea class="cajatexto" name="codigo" cols="70" rows="18"></textarea></td></tr>
60                        <tr> <th align=center colspan="3"><?php echo $TbMsg[15] ?></th></tr>
61                </table>       
62        </form>
63        <?php
64        //________________________________________________________________________________________________________
65        include_once("./includes/formularioacciones.php");
66        //________________________________________________________________________________________________________
67        //________________________________________________________________________________________________________
68        include_once("./includes/opcionesacciones.php");
69        //________________________________________________________________________________________________________
70?>
71<SCRIPT language="javascript">
72        Sondeo();
73</SCRIPT>
74</BODY>
75</HTML>
Note: See TracBrowser for help on using the repository browser.