403Webshell
Server IP : 172.67.206.42  /  Your IP : 104.23.197.33
Web Server : Apache
System : Linux server.localhost.com 6.8.0-85-generic #85-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 18 15:26:59 UTC 2025 x86_64
User : pahana ( 1029)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /home/pahana/public_html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/pahana/public_html//videos.php
<?php

include "php/header.php";
?>
<div class="contents">
    <div class="custom-container">
        <div class="row">
            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                <ol class="breadcrumb">
                    <li><a href="<?= $siteUrlMain; ?>">Home</a></li>
                    <li class="active">Videos</li>
                </ol>
            </div>
            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 equalcol conentsection">
                <div class="sections">
                    <h2 class="heading">Our Videos</h2>
                    <div class="clearfix"></div>
                    <div class="row">
                        <?php
                        if (isset($_GET["page"]))
                            $page = (int)$_GET["page"];
                        else
                            $page = 1;
                        $setLimit = 12;
                        $pageLimit = ($page * $setLimit) - $setLimit;

                        $sql = "select title,id,pgImg,description FROM videos;";
                        
                        $pgSql = "select COUNT(id) as totalCount FROM videos ORDER by id desc";

                        $query = mysqli_query($conn, $sql);
                        $numRow = mysqli_num_rows($query);
                        if ($numRow > 0) {
                            while ($rows = mysqli_fetch_array($query)) {
                                echo  '<div class="col-lg-4 col-md-6 col-sm-6 col-xs-12">
<div class="blogposttwo">
<figure>
<a href="' . videoUrl($rows['id']) . '">
<img src="' .  $siteUrlMain . 'img/' . (($rows['pgImg'] != "") ? $rows['pgImg'] : 'noImg.jpg') . '" class="img-responsive hovereffect" alt="' . $rows['title'] . '" />
</a>
</figure>
<div class="text">
<h4><a href="' . videoUrl($rows['id']) . '">' . stringTxtLimit($rows['title'], 33) . '</a></h4>
<div><p>' . stringTxtLimit($rows['description'], 33) . '</p></div>
<a href="' . videoUrl($rows['id']) . '" class="btn btn-primary btn-xs backcolor">Read More</a>
</div>
</div>
<div class="clearfix"></div>
</div>';
                            }
                            echo '</div>
</div>
<div class="clearfix"></div>';
                            echo tablePaging($pgSql, $setLimit, $page);
                        } else {
                            echo ' 
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<div class="blogposttwo">
<div class="text">
<div class="cateDesc">
No data found.
</div>
</div>
</div>
<div class="clearfix"></div>
</div>
</div>
</div>';
                        }
                        ?>
                        <div class="clearfix"></div>
                    </div>
                </div>
            </div>
        </div>
        <?php include "php/footer.php"; ?>

Youez - 2016 - github.com/yon3zu
LinuXploit