OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
cream
/
groupchat
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
06/17/2025 10:17:24 AM
rwxrwxr-x
📄
b_group.php
13.6 KB
05/19/2025 10:07:13 AM
rw-rw-r--
📄
b_index.php
25.61 KB
05/19/2025 10:07:13 AM
rw-rw-r--
📄
back_create_group.php
9.22 KB
05/19/2025 10:07:13 AM
rw-r--r--
📁
backup
-
05/19/2025 10:07:13 AM
rwxrwxr-x
📄
broadcast.php
22.48 KB
05/19/2025 10:07:13 AM
rw-rw-r--
📄
create_broadcast.php
19.39 KB
05/19/2025 10:07:13 AM
rw-rw-r--
📄
create_group.php
18.06 KB
05/19/2025 10:07:13 AM
rw-rw-r--
📁
dump
-
05/19/2025 10:07:13 AM
rwxrwxr-x
📄
group.php
21.38 KB
05/19/2025 10:07:13 AM
rw-rw-r--
📁
inc
-
05/19/2025 10:07:13 AM
rwxrwxr-x
📄
index.php
13.38 KB
05/19/2025 10:07:13 AM
rw-rw-r--
📄
join_now.php
7.77 KB
05/19/2025 10:07:13 AM
rw-rw-r--
📄
new2_index.php
17.63 KB
05/19/2025 10:07:13 AM
rw-r--r--
📄
new_index.php
17.11 KB
05/19/2025 10:07:13 AM
rw-r--r--
📄
sidebar.php
5.07 KB
05/19/2025 10:07:13 AM
rw-r--r--
📄
testing.php
3.32 KB
05/19/2025 10:07:13 AM
rw-rw-r--
📁
trash
-
05/19/2025 10:07:13 AM
rwxrwxr-x
📄
z_index.php
4.83 KB
05/19/2025 10:07:13 AM
rw-r--r--
Editing: testing.php
Close
<?php // Check if an AJAX request has been made if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['action']) && $_POST['action'] === 'join_group') { // Simulate processing the action // Here you would handle the actual logic, e.g., database update, etc. echo "You have successfully joined the group!"; exit(); } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Join Group</title> <!-- Bootstrap CSS --> <link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet"> <!-- jQuery --> <script src="https://code.jquery.com/jquery-3.5.1.min.js"></script> <!-- Bootstrap JS and Popper.js --> <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.6/dist/umd/popper.min.js"></script> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script> </head> <body> <div class="container mt-5"> <!-- Button to trigger the modal --> <button type="button" class="btn btn-primary" id="openModalBtn"> Join Group </button> </div> <!-- Bootstrap Modal --> <div class="modal fade" id="confirmModal" tabindex="-1" role="dialog" aria-labelledby="confirmModalLabel" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="confirmModalLabel">Confirm Action</h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> Are you sure you want to join this group? </div> <div class="modal-footer"> <button type="button" class="btn btn-secondary" data-dismiss="modal">Cancel</button> <button type="button" class="btn btn-primary" id="confirmBtn">Confirm</button> </div> </div> </div> </div> <script> $(document).ready(function() { // Show the modal when the "Join Group" button is clicked $('#openModalBtn').on('click', function() { $('#confirmModal').modal('show'); }); // Handle the confirmation button click $('#confirmBtn').on('click', function() { // Perform an AJAX request to the server $.ajax({ url: '', // URL of the current file type: 'POST', data: { action: 'join_group' }, success: function(response) { // Display the server's response alert(response); // Optionally, you can close the modal here $('#confirmModal').modal('hide'); }, error: function() { alert('An error occurred. Please try again.'); } }); }); }); </script> </body> </html>