T.ME/BIBIL_0DAY
CasperSecurity


Server : Apache/2
System : Linux server-15-235-50-60 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025 x86_64
User : gositeme ( 1004)
PHP Version : 8.2.29
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Directory :  /home/gositeme/domains/gositeme.com/public_html/quickqr/php/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/gositeme/domains/gositeme.com/public_html/quickqr/php/testimonials.php
<?php
// if testimonial is disable
if(!$config['testimonials_enable']){
    error($lang['PAGE_NOT_FOUND'], __LINE__, __FILE__, 1);
}

if(checkloggedin()) {
    update_lastactive();
}

if(!isset($_GET['page']))
    $page = 1;
else
    $page = $_GET['page'];

$limit = 9;

$sql = "SELECT * FROM `".$config['db']['pre']."testimonials`";

$total = mysqli_num_rows(mysqli_query($mysqli, "SELECT 1 FROM ".$config['db']['pre']."testimonials"));
$query = "$sql LIMIT ".($page-1)*$limit.",$limit";

$result = ORM::for_table($config['db']['pre'].'testimonials')->raw_query($query)->find_many();

$testimonials = array();
if ($result) {
    foreach ($result as $row)
    {
        $testimonials[$row['id']]['id'] = $row['id'];
        $testimonials[$row['id']]['name'] = $row['name'];
        $testimonials[$row['id']]['designation'] = $row['designation'];
        $testimonials[$row['id']]['content'] = $row['content'];
        $testimonials[$row['id']]['image'] = !empty($row['image']) ? $row['image'] : 'default_user.png';
    }
}

$pagging = pagenav($total,$page,$limit,$link['TESTIMONIALS']);

$page = new HtmlTemplate ('templates/' . $config['tpl_name'] . '/testimonials.tpl');
$page->SetParameter ('OVERALL_HEADER', create_header($lang['TESTIMONIALS']));
$page->SetLoop ('TESTIMONIALS',$testimonials);
$page->SetLoop ('PAGES', $pagging);
$page->SetParameter('SHOW_PAGING', (int)($total > $limit));
$page->SetParameter ('OVERALL_FOOTER', create_footer());
$page->CreatePageEcho();
?>

CasperSecurity Mini