OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
3-31-025chanakya
/
CreateLeadPage
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
03/31/2025 06:36:42 AM
rwxr-xr-x
📁
NW_images
-
03/26/2025 04:16:42 AM
rwxr-xr-x
📁
assets
-
03/26/2025 04:16:42 AM
rwxr-xr-x
📄
db_gallery.php
292 bytes
03/26/2025 03:48:04 AM
rw-r--r--
📄
edit_template.php
658 bytes
03/26/2025 03:48:04 AM
rw-r--r--
📄
fetch_data.php
773 bytes
03/26/2025 03:48:04 AM
rw-r--r--
📄
fetch_titles.php
0 bytes
03/26/2025 03:48:04 AM
rw-r--r--
📄
form.js
7.64 KB
03/26/2025 03:48:04 AM
rw-r--r--
📄
getAnalyticsData.php
1.45 KB
03/26/2025 03:48:04 AM
rw-r--r--
📁
images2
-
03/26/2025 04:07:44 AM
rwxr-xr-x
📁
images3
-
03/26/2025 04:07:45 AM
rwxr-xr-x
📁
images4
-
03/26/2025 04:07:46 AM
rwxr-xr-x
📄
index.php
11.32 KB
03/26/2025 03:48:04 AM
rw-r--r--
📄
load_template.php
2.21 KB
03/26/2025 03:48:04 AM
rw-r--r--
📄
nleditor_navbar.php
22.5 KB
03/26/2025 03:48:04 AM
rw-r--r--
📁
pages
-
03/26/2025 04:16:46 AM
rwxr-xr-x
📁
process
-
03/26/2025 04:07:46 AM
rwxr-xr-x
📄
process.js
30.37 KB
03/26/2025 03:48:04 AM
rw-r--r--
📄
processb.js
31.17 KB
03/26/2025 03:48:04 AM
rw-r--r--
📄
save-template.php
2.75 KB
03/26/2025 03:48:04 AM
rw-r--r--
📄
savedPages.php
20.61 KB
03/26/2025 03:48:04 AM
rw-r--r--
📄
script.js
34.02 KB
03/26/2025 03:48:04 AM
rw-r--r--
📄
styles.css
2.43 KB
03/26/2025 03:48:04 AM
rw-r--r--
📄
upload.php
858 bytes
03/26/2025 03:48:04 AM
rw-r--r--
📁
uploads
-
03/26/2025 04:16:47 AM
rwxr-xr-x
Editing: fetch_data.php
Close
<?php // Include database connection include('../assets/php/db_config.php'); include('../assets/php/validate.logged.php'); // Query to fetch data (example) $sql = "SELECT id, title, description FROM user_collection where user_id = $gUserId limit 5"; // Modify this query to suit your database structure $result = $creamdb->query($sql); $data = array(); // Create an empty array to store fetched data if ($result->num_rows > 0) { // Fetch all rows and store them in the $data array while($row = $result->fetch_assoc()) { $data[] = $row; // Add row to the data array } } else { $data = array("message" => "No records found"); } echo json_encode($data); // Return data as JSON $creamdb->close(); // Close the connection ?>