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


Viewing file:     home.php (12.76 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
if (!isset($_SESSION)) session_start();
include 
"load_ipanel.php";
$sliderCtrl = new GenericCtrl("Slider");
$slides $sliderCtrl->getObjectByField("status""A"true70"posicao ASC");
$noticiaCtrl = new NoticiaCtrl();
$noticiasDestaque $noticiaCtrl->getNoticiasDestaque(6);
$keysNoticias array_rand($noticiasDestaque,3);

$idsNoticiasDestaque = array();

$artigoCtrl = new GenericCtrl("Artigo");
$artigos $artigoCtrl->getAllObjects(true70"dtArtigo DESC");

$videoCtrl = new VideoCtrl();
$videos $videoCtrl->getAllObjects(true7false"dtPostagem DESC");

?>

<!DOCTYPE HTML>
<html lang="pt-br">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <?php include "mod_head.php" ?>
    <style>
      #agenda {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: aliceblue;
    height: auto;
    min-width: 80%;
    border: 1px solid #000000;
    border-radius:25px;
    padding: 20px;
    font-family:verdana, arial, sans-serif;
    color: red;
    }
    .titulo {
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
        color: black;
    font-size: 20px;
    }
    .paragrafo {
        font-family: Arial, Helvetica, sans-serif;
        text-align: justify;
        font-size: 1.1rem;
        line-height: 1.6rem;
        color: black;
    }
    .close {
        color: #aaa;
        float: right;
        font-size: 28px;
        font-weight: bold;
    }
    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }
    </style>
    <script>
        $(document).ready(function () {
            $('#fecha').click(function (e) {
                e.preventDefault();
                $('#agenda').hide();
            })
        });
    </script>
    <body class="homepage">
        <div id="page-wrapper">
            <?php  include "mod_login.php" ?>
            <?php  include "mod_menu.php" ?>
            <?php  if (count($slides) > 0) { ?>
                <div id="banner-wrapper">
                    <div id="banner" class="container">
                        <div class="row">
                            <div class="12u 12u(mobile) important(mobile)">
                                <section>
                                    <div id="owl-slider" class="owl-carousel">
                                        <?php 
                                        
foreach ($slides as $slide) {
                                            if (
file_exists("ipanel/uploads/slider/" $slide['id'] . "/" $slide['imagem']) && !empty($slide['imagem'])) {
                                                echo 
"<div class=\"image eslider\" style=\"border-radius: 20px;\">";
                                                echo 
"<a href=\"" $slide['link'] . "\" target=\"_blank\"><img src=\"" $sliderCtrl->showImage($slide"Capa") . "\" alt=\"" $slide['titulo'] . "\"></a>";
                                                echo 
"</div>";
                                            }
                                        }
                                        
?>
                                    </div>
                                </section>
                            </div>
                        </div>
                    </div>
                </div>
            <?php  ?>

        
            <!-- Main Wrapper 
            <div id="main-wrapper">
                <div id="main" class="container">
                    <header>
                        <h2>Em Destaque</h2>
                    </header>
                    <div class="row">

                                <?php 
                                
// foreach ($keysNoticias as $key => $value) {
                                //     $idsNoticiasDestaque = array_merge($idsNoticiasDestaque, array($destaque['id']));
                                //     $destaque = $noticiasDestaque[$value];
                                //     if (!empty($destaque['url']) && $destaque['url'] != "#") {
                                //         $url = $destaque['url'];
                                //         $target = "_blank";
                                //     } else {
                                //         $url = "conteudo-noticia/" . $destaque['id'];
                                //         $target = "_self";
                                //     }


                                //     echo "<div class=\"4u 12u(mobile) meia-tela flip-container\" ontouchstart=\"this.classList.toggle('hover');\" id=\"destaque_flip\">";
                                //     echo "  <section class=\"noticia flipper\">";
                                //     echo "      <div class=\"front\">";
                                //     echo "          <a href=\"" . $url . "\" target=\"" . $target . "\" class=\"image featured border not-image\"><img src=\"" . $noticiaCtrl->showImage($destaque, "Capa") . "\" alt=\"" . $destaque['titulo'] . "\">";
                                //     echo "      </div>";
                                //     echo "      <div class=\"back\">";
                                //     echo "          <span class=\"data\">" . $data->convertDateSQLToDateBR($destaque['notdata']) . "</span>";
                                //     echo "          <span class=\"title\">" . $destaque['titulo'] . "</span></a>";
                                //     echo "          <p class=\"desc\">" . $destaque['gravata'] . "</p>";
                                //     echo "              <a href=\"" . $url . "\" target=\"" . $target . "\"  class=\"button readmore\">Ler mais</a>";
                                //     echo "      </div>";
                                //     echo "  </section>";
                                //     echo "</div>";
                                // }
                                
?>

                    </div>
                </div>
            </div>
            -->

            <!-- Extra Wrapper -->
            <div class="wrapper-style1 wrapper-featured">
                <div class="container">
                    <div class="row">
                        <div class="4u 12u(mobile)">
                            <section class="more_noticia">
                                <header>
                                    <h2>Mais noticias</h2>
                                </header>
                                <ul class="style5">
                                    <?php 
                                    $maisNoticias 
$noticiaCtrl->getNoticias('capa', array(), 7);
                                    foreach (
$maisNoticias as $noticia) {
                                        if (!empty(
$noticia['url']) && $noticia['url'] != "#") {
                                            
$url $noticia['url'];
                                            
$target "_blank";
                                        } else {
                                            
$url "conteudo-noticia/" $noticia['id'];
                                            
$target "_self";
                                        }
                                        echo 
"<li>";
                                        echo 
"  <p class=\"posted\">" $data->convertDateSQLToDateBR($noticia['notdata']) . "</p>";
                                        echo 
"  <h3><a href=\"" $url "\" target=\"" $target "\" >" $noticia['titulo'] . "</a></h3>";
                                        echo 
"</li>";
                                    }
                                    
?>
                                </ul>
                                <a href="lista-noticias" class="button">Mais noticias</a>
                            </section>
                        </div>
                        <div class="4u 12u(mobile)">
                            <section class="more_noticia">
                                <header>
                                    <h2>Artigos</h2>
                                </header>
                                <ul class="style5">
                                    <?php 
                                    
/* foreach ($artigos as $artigo) {
                                      echo "<li><a href=\"artigo/" . $artigo['id'] . "\">" . $artigo['titulo'] . " - Por <strong>" . $artigo['autor'] . "</strong></a></li>";
                                      } */
                                    
?>
                                    <?php 
                                    
foreach ($artigos as $artigo) {
                                        echo 
"<li>";
                                        echo 
"  <h3 style=\"padding-bottom: 0px !important\"><a href=\"conteudo-artigo/" $artigo['id'] . "\">" $artigo['titulo'] . "</a></h3>";
                                        echo 
"  <p class=\"posted\" style=\"margin:0px; padding-top: 0px !important\">Por: " $artigo['autor'] . "</p>";
                                        echo 
"</li>";
                                    }
                                    
?>
                                </ul>
                                <a href="lista-artigos" class="button">Todos os artigos</a>
                            </section>
                        </div>
                        <div class="4u 12u(mobile)">
                            <section class="more_event">
                                <header>
                                    <h2>Videos/Lives</h2>
                                </header>
                                <ul class="style2">
                                    <?php 
                                    
foreach ($videos as $video) {

                                        
$prefixo explode("="$video['link']);
                                        
$prefixo explode("&"$prefixo[1]);
                                        
$link "http://www.youtube.com/embed/" $prefixo[0];
                                        
$prefixo $prefixo[0];
                                        if(empty(
$prefixo)){
                                            
$prefixo str_replace("/"""strrchr($video['link'], "/"));
                                        }
                                        
$linkVideo "http://www.youtube.com/embed/" $prefixo;


                                        echo 
"<li>";
                                        echo 
"  <img src=\"http://img.youtube.com/vi/".$prefixo."/default.jpg\" style='width:100px !important; height:75px !important'>";

                                        
$dataEvento $data->convertDateSQLToDateBR($video['dtPostagem']);
                                        echo 
"  <h3 style='line-height:1.3'>" $dataEvento . (!empty($video['titulo']) ? " - " $video['titulo'] : "") . "</h3>";
                                        echo 
"  <p><a href=\"".$video['link']."\" target=\"blank\"".">" $video['descricao'] . "</a></p>";
                                        echo 
"</li>";
                                    }
                                    
?>
                                </ul>
                                <a href="videos" class="button">Todos os Videos/Lives</a>
                            </section>
                        </div>
                    </div>
                </div>
            </div>

            <!-- <div class="busca">
                <div class="container">
                    <div class="12u">
                        <form action="busca/" method="POST">
                            <p>Realize uma busca:</p>
                            <input type="text" name="termo_busca" required="required" value="">
                            <button class="new_botao" type="submit">Buscar <i class="fa fa-search"></button></i>
                        </form>
                    </div>
                </div>
            </div> -->

            <!-- Banners -->
            <?php  include "mod_banners.php" ?>

            <!-- Footer Wrapper -->
            <?php  include "mod_footer.php" ?>
            <!-- Agenda -->
            <!-- <div id="agenda">
  <a href="#" id="fecha" style="text-decoration: none; color:#000000; font-weight:bold;">
    <div style="float:right; width:20px; height: 20px; border: 2px solid black; border-radius: 50%; background-color: red; text-align:center;">
      X
    </div>
  </a>
  <div class="modal-content">
    <h2 class="titulo"><b>Aviso de f�rias coletivas do IRPEN</b></h2>
    <p class="paragrafo">
    Informamos que o Instituto de Registro Civil do Estado do Paran� (IRPEN) entrar� em f�rias coletivas a partir do dia 23 de dezembro de 2020, n�o havendo, portanto, atendimento durante esse per�odo.
    </p>
    <p class="paragrafo">
    A entidade retornar� ï¿½s suas atividades normais no dia 04/01/2021.
    </p>
    <p class="paragrafo">
    Agradecemos a compreens�o e desejamos a todos um Feliz Natal e um Ano Novo repleto de prosperidade, amor e sa�de!
    </p>
  </div>
</div> -->
            <!-- /Agenda -->
        </div>
    </body>
</html>
<?php   include "scripts.php" ?>

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