Submit
Path:
~
/
home
/
ampckwxt
/
.trash
/
admin
/
File Content:
get_dashboard_chart_data.php
<?php include '../includes/koneksi.php'; header('Content-Type: application/json'); $action = $_GET['action'] ?? ''; if ($action == 'traffic') { $data = []; $result = mysqli_query($conn, "SELECT tanggal, jumlah FROM traffic_log ORDER BY tanggal ASC"); while ($row = mysqli_fetch_assoc($result)) { $timestamp = strtotime($row['tanggal']) * 1000; $data[] = [$timestamp, (int)$row['jumlah']]; } echo json_encode($data); } elseif ($action == 'member_harian') { $data = []; $result = mysqli_query($conn, " SELECT DATE(created_at) as tanggal, COUNT(*) as total FROM data_member GROUP BY DATE(created_at) ORDER BY tanggal ASC "); while ($row = mysqli_fetch_assoc($result)) { $timestamp = strtotime($row['tanggal']) * 1000; $data[] = [$timestamp, (int)$row['total']]; } echo json_encode($data); } ?>
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
adminlte
---
0777
assets
---
0777
member
---
0777
.htaccess
42 bytes
0777
all_data.php
24882 bytes
0777
atur_akses.php
3474 bytes
0777
dashboard_admin.php
11051 bytes
0777
database-baru.sql
1542 bytes
0777
edit_admin.php
2224 bytes
0777
error_log
10607 bytes
0777
export_admin.php
659 bytes
0777
export_member_excel.php
1462 bytes
0777
form_register_admin.php
4243 bytes
0777
ganti_password_admin.php
2078 bytes
0777
get_dashboard_chart_data.php
937 bytes
0777
get_member.php
318 bytes
0777
get_member_data.php
1313 bytes
0777
hapus_admin.php
1310 bytes
0777
hapus_member.php
1160 bytes
0777
hapus_semua_member.php
258 bytes
0777
index.php
2592 bytes
0777
kelola_admin.php
9486 bytes
0777
kelola_member.php
13463 bytes
0777
koneksi.php
466 bytes
0777
logout.php
84 bytes
0777
proses_edit_member.php
1163 bytes
0777
proses_ganti_password_admin.php
848 bytes
0777
proses_login_admin.php
2130 bytes
0777
proses_pengaturan_member.php
1875 bytes
0777
proses_tambah_member.php
2690 bytes
0777
proses_tambah_member_admin.php
768 bytes
0777
N4ST4R_ID | Naxtarrr