OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
cream
/
reader
/
aws-ses
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
03/04/2025 08:32:49 AM
rwxr-xr-x
📄
.browserslistrc
208 bytes
03/03/2025 08:18:13 AM
rw-r--r--
📄
.gitignore
42 bytes
03/03/2025 08:18:13 AM
rw-r--r--
📄
.htaccess
803 bytes
03/03/2025 08:18:13 AM
rw-r--r--
📄
.htaccess.swp
12 KB
03/03/2025 08:18:13 AM
rw-r--r--
📄
.travis.yml
199 bytes
03/03/2025 08:18:13 AM
rw-r--r--
📄
addList.php
4.7 KB
05/19/2025 10:07:13 AM
rw-r--r--
📄
allTemplates.php
5 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
bbsns_subscribe.php
5.14 KB
05/19/2025 10:07:13 AM
rw-r--r--
📄
bcreateList.php
9.61 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
blacklist.php
14.07 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
bounceViewList.php
7.62 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
bounce_handler.php
5 KB
05/19/2025 10:07:13 AM
rw-r--r--
📄
bprocess_emails.php
6.73 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
checkNotificationTopics.php
5.11 KB
05/19/2025 10:07:15 AM
rw-r--r--
📁
check_identity
-
05/19/2025 10:07:13 AM
rwxr-xr-x
📄
checknotif.php
1.01 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
ckeditor.php
2.14 KB
05/19/2025 10:07:13 AM
rw-r--r--
📄
click_handler.php
1.75 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
combined.php
11.23 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
complaintsViewList.php
6.8 KB
05/19/2025 10:07:13 AM
rw-r--r--
📄
complaints_handler.php
2.89 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
composer.json
200 bytes
03/03/2025 08:18:13 AM
rw-r--r--
📄
composer.lock
39.12 KB
03/03/2025 08:18:13 AM
rw-r--r--
📄
createList.php
11.23 KB
05/19/2025 10:07:15 AM
rw-r--r--
📁
credentials
-
03/03/2025 08:19:01 AM
rwxr-xr-x
📄
csv.php
10.1 KB
05/19/2025 10:07:13 AM
rw-r--r--
📄
db.php
1000 bytes
05/19/2025 10:07:13 AM
rw-r--r--
📄
delete_list.php
509 bytes
05/19/2025 10:07:13 AM
rw-r--r--
📄
delete_users.php
435 bytes
05/19/2025 10:07:13 AM
rw-r--r--
📄
deliveryViewList.php
6.6 KB
05/19/2025 10:07:13 AM
rw-r--r--
📄
delivery_handler.php
3.25 KB
05/19/2025 10:07:13 AM
rw-r--r--
📄
download_Complaints.php
974 bytes
05/19/2025 10:07:13 AM
rw-r--r--
📄
download_bounces.php
1007 bytes
05/19/2025 10:07:13 AM
rw-r--r--
📄
download_delivered.php
971 bytes
05/19/2025 10:07:15 AM
rw-r--r--
📄
download_unique_open.php
1.6 KB
05/19/2025 10:07:13 AM
rw-r--r--
📄
edit_list.php
9.95 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
feedback.php
1.66 KB
05/19/2025 10:07:13 AM
rw-r--r--
📄
footer.php
4.2 KB
05/19/2025 10:07:13 AM
rw-r--r--
📄
groupchatnavbar.php
607 bytes
05/19/2025 10:07:13 AM
rw-r--r--
📄
housekeeping.php
10.6 KB
05/19/2025 10:07:13 AM
rw-r--r--
📄
index.php
8.12 KB
05/19/2025 10:07:13 AM
rw-r--r--
📄
insert_list.php
2.64 KB
05/19/2025 10:07:13 AM
rw-r--r--
📁
log
-
05/19/2025 10:07:13 AM
rwxr-xr-x
📄
navbar.php
1.63 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
newCompaign.php
7.59 KB
05/19/2025 10:07:13 AM
rw-r--r--
📄
new_table.php
13.36 KB
05/19/2025 10:07:13 AM
rw-r--r--
📄
open_handler.php
1.75 KB
05/19/2025 10:07:15 AM
rw-r--r--
📁
process
-
05/19/2025 10:07:13 AM
rwxr-xr-x
📄
process_emails.php
10.36 KB
05/19/2025 10:07:13 AM
rw-r--r--
📄
real-recipients.csv
39.48 KB
03/03/2025 08:18:13 AM
rw-r--r--
📄
resubscribe.php
5.38 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
sample.csv
55 bytes
03/03/2025 08:18:13 AM
rw-r--r--
📄
send_email.php
987 bytes
05/19/2025 10:07:13 AM
rw-r--r--
📄
send_email_campaignGraph.php
2.24 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
sendgrid.php
3.62 KB
05/19/2025 10:07:13 AM
rw-r--r--
📄
showListMembers.php
12.38 KB
05/19/2025 10:07:13 AM
rw-r--r--
📄
showcase.php
7.93 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
sidebar.php
3.12 KB
05/19/2025 10:07:13 AM
rw-r--r--
📄
sns_subscribe.php
5.25 KB
05/19/2025 10:07:13 AM
rw-r--r--
📄
submit_form.php
2.48 KB
05/19/2025 10:07:13 AM
rw-r--r--
📄
test-mail.csv
337 bytes
03/03/2025 08:18:14 AM
rw-r--r--
📄
test.php
969 bytes
05/19/2025 10:07:13 AM
rw-r--r--
📄
test_process_emails.php
1.91 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
unsubscribe.php
3.36 KB
05/19/2025 10:07:13 AM
rw-r--r--
📄
upload_image.php
606 bytes
05/19/2025 10:07:13 AM
rw-r--r--
📁
uploads
-
03/03/2025 08:19:12 AM
rwxr-xr-x
📁
vendor
-
05/19/2025 10:07:15 AM
rwxr-xr-x
📄
verify.html
486 bytes
03/03/2025 08:18:14 AM
rw-r--r--
📄
verify.php
3.12 KB
05/19/2025 10:07:13 AM
rw-r--r--
📄
verify_email.php
5.12 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
viewCampaign.php
13.05 KB
05/19/2025 10:07:13 AM
rw-r--r--
📄
viewList.php
9.76 KB
05/19/2025 10:07:13 AM
rw-r--r--
📄
zprocess_emails.php
10.21 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
zshowListMembers.php
4.54 KB
05/19/2025 10:07:13 AM
rw-r--r--
📄
zsidebar.php
3.27 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
zviewCampaign.php
8.94 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
zzedit_list.php
8.36 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
zzprocess_emails.php
10.07 KB
05/19/2025 10:07:15 AM
rw-r--r--
Editing: resubscribe.php
Close
<?php include 'db.php'; include '../inc/validate.logged.php'; $message = ''; // Initialize message variable if (isset($_POST['email'])) { $email = urldecode($_POST['email']); // Check if the email is already subscribed $stmt = $conn->prepare("SELECT status FROM subscribers WHERE email = ?"); $stmt->bind_param("s", $email); $stmt->execute(); $stmt->store_result(); if ($stmt->num_rows > 0) { $stmt->bind_result($status); $stmt->fetch(); if ($status == 'subscribed') { $message = "<h3>Your email is already subscribed.</h3>"; } else { // Update the subscriber's status to 'subscribed' and clear the unsubscribed_at field $stmt = $conn->prepare("UPDATE subscribers SET status = 'subscribed', unsubscribed_at = NULL WHERE email = ?"); $stmt->bind_param("s", $email); if ($stmt->execute()) { $message = "<h3>You have successfully re-subscribed.</h3>"; // Remove the email from the suppression list if it exists $stmt = $conn->prepare("DELETE FROM suppression_list WHERE email = ?"); $stmt->bind_param("s", $email); $stmt->execute(); $stmt->close(); } else { $message = "<h3>There was an error processing your request.</h3>"; } } } else { $message = "<h3>Email not found in the system.</h3>"; } } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Knobly Cream: Create • Reach • Measure</title> <!-- Bootstrap CSS --> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"> <!-- Font Awesome CSS --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"> <!-- Additional Stylesheets --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.0.0/animate.min.css"> <link rel="stylesheet" href="../inc/fontawesome/css/all.min.css"> <link rel="stylesheet" href="../inc/magnific-popup.css"> <link rel="stylesheet" href="../inc/style.css"> <link rel="stylesheet" href="../inc/genai_style.css"> <!-- jQuery --> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script> <!-- Bootstrap JS and dependencies --> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js" integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.8.0/Chart.min.js" crossorigin="anonymous"></script> <script src="https://cdn.tiny.cloud/1/u5oz235qw5jiqww4udm90ocp9zg2rncblqo2ch0ym3twjgyt/tinymce/5/tinymce.min.js" referrerpolicy="origin"></script> <script src="https://js.zohostatic.com/books/zfwidgets/assets/js/zf-widget.js"></script> <script src="../inc/jquery.magnific-popup.min.js"></script> <script src="../inc/common.js"></script> <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.5.3/dist/umd/popper.min.js"></script> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script> <link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet"> </head> <body class="sb-nav-fixed"> <?php include "navbar.php"; ?> <div id="layoutSidenav"> <?php include 'sidebar.php'; ?> <div id="layoutSidenav_content"> <main> <div id="panelContent" class="container-fluid"> </div> <div class="container"> <ol class="breadcrumb my-4"> <li class="breadcrumb-item d-flex justify-content-between align-items-center w-100"> <h4>Re-Subscribe to Your Email Address</h4> <!-- HTML with Inline CSS --> <div class="btn-group" role="group"> <a href="housekeeping.php" class="btn btn-primary"> <i class="fas fa-arrow-left"></i> Back </a> </div> </li> </ol> <form method="post" action="resubscribe.php"> <div class="form-group"> <label for="email">Email address:</label> <input type="email" id="email" name="email" class="form-control" required> </div> <button type="submit" class="btn btn-primary">Re-Subscribe</button> </form> <?php if ($message): ?> <div class="alert alert-info mt-3"> <?php echo $message; ?> </div> <?php endif; ?> </div> </main> </div> </div> </body> <?= include 'footer.php'; ?> </html>