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


Viewing file:     home2.php (10.52 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
include "load_ipanel.php";
$sliderCtrl = new GenericCtrl("Slider");
$slides $sliderCtrl->getObjectByField("status""A"true70"posicao ASC");

$noticiaCtrl = new NoticiaCtrl();
$noticiasDestaque $noticiaCtrl->getNoticiasDestaque(3);
$idsNoticiasDestaque = array();

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

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

<!DOCTYPE HTML>
<html lang="pt-br">
    <?php include "mod_head.php" ?>
    <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 ($noticiasDestaque as $destaque) {
                            
$idsNoticiasDestaque array_merge($idsNoticiasDestaque, array($destaque['id']));
                            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 notícias</h2>
                                </header>
                                <ul class="style5">
                                    <?php
                                    $maisNoticias 
$noticiaCtrl->getNoticias('capa'$idsNoticiasDestaque7);
                                    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 notícias</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>Vídeos/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>" $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 Vídeos/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" ?>

        </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.004 ]--