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: viewList.php
Close
<?php ini_set('display_startup_errors', 1); include '../inc/validate.logged.php'; include 'db.php'; // Initialize variables for search $search = ""; $whereClause = ""; // Process search query if it exists if ($_SERVER["REQUEST_METHOD"] == "GET" && isset($_GET['search'])) { $search = $_GET['search']; $whereClause = "AND list_name LIKE '%$search%'"; } // Fetch list data from the database based on search criteria $sql = "SELECT id, list_name, active FROM list WHERE user_id = '$gUserId' $whereClause"; $result = $conn->query($sql); ?> <!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"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"> <link rel="stylesheet" href="../inc/style.css" /> <!-- Custom CSS --> <style> /* Global Styles */ body { background-color: #f9f9f9; color: #333; } /* Container Padding and Margin */ .container-fluid { margin-top: 20px; } .main-content { background: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } /* Table Styles */ .table thead th { background-color: #007bff; color: white; } .table-striped tbody tr:nth-of-type(odd) { background-color: #f2f2f2; } .table td, .table th { vertical-align: middle; } /* Badge Styles */ .badge { padding: 0.5em; font-size: 0.9em; } .badge-active { background-color: #28a745; } .badge-inactive { background-color: #dc3545; } .badge-unsubscribed { background-color: #ffc107; } .badge-bounced { background-color: #6c757d; } /* Breadcrumb Styles */ .breadcrumb-item { flex-wrap: wrap; } .breadcrumb-item h4 { margin-bottom: 10px; } /* Button Styles */ .btn-group { display: flex; flex-wrap: wrap; margin-top: 10px; } .btn-group .btn { font-size: 0.75rem; padding: 0.3rem 0.6rem; border-radius: 0.2rem; border: 1px solid transparent; margin: 0.2rem; background-color: #f26522; color: #fff; } .btn-group .btn:hover { background-color: #e5532d; color: #fff; } /* Search Form Styles */ .search-form { margin-bottom: 20px; } .search-form .input-group { max-width: 100%; } .search-form .form-control, .search-form .btn { font-size: 0.75rem; border-radius: 0.2rem; } /* Responsive Adjustments */ @media (max-width: 768px) { .btn-group .btn { flex: 1 1 auto; margin-bottom: 5px; } .search-form .form-control, .search-form .btn { width: 100%; margin-bottom: 5px; } .search-form { flex-direction: column; align-items: stretch; } } @media (max-width: 576px) { .btn-group .btn { font-size: 0.65rem; padding: 0.3rem 0.5rem; } .search-form .form-control, .search-form .btn { font-size: 0.65rem; padding: 0.3rem; } } /* Footer Styles */ footer { background-color: #f1f1f1; padding: 10px 0; text-align: center; } </style> </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 class="main-content"> <div class="container"> <ol class="breadcrumb my-3"> <li class="breadcrumb-item w-100 d-flex flex-wrap justify-content-between align-items-center"> <h4 class="mt-1 mb-2 mb-md-0">Subscribers Lists</h4> <div class="btn-group ml-auto mb-2 mb-md-0" role="group" aria-label="Email Status Buttons"> <a href="bounceViewList.php" class="btn btn-outline-danger"> <i class="fas fa-envelope-broken"></i> Bounced Emails </a> <a href="deliveryViewList.php" class="btn btn-outline-success"> <i class="fas fa-paper-plane"></i> Delivered Emails </a> <a href="complaintsViewList.php" class="btn btn-outline-warning"> <i class="fas fa-exclamation-circle"></i> Complaints Emails </a> <a href="complaintsViewList.php" class="btn btn-outline-warning mark-as-spam"> <i class="fas fa-ban"></i> Mark as spam </a> </div> <a href="createList.php" class="btn btn-primary"> <i class="bi bi-arrow-left"></i> Back </a> </li> </ol> <div class="d-flex justify-content-between align-items-center mb-3"> <a href="addList.php" class="btn btn-primary"><i class="fas fa-plus"></i> Add a new list</a> <!-- Search form --> <form class="form-inline search-form" method="GET" action=""> <div class="input-group"> <input class="form-control" type="search" placeholder="Search" aria-label="Search" name="search" value="<?= htmlspecialchars($search) ?>"> <div class="input-group-append"> <button class="btn btn-outline-primary" type="submit"><i class="fas fa-search"></i> Search</button> </div> </div> </form> </div> <table class="table table-striped"> <thead> <tr> <th>ID</th> <th>List</th> <th>Status</th> <th>Edit</th> <th>Delete</th> </tr> </thead> <tbody> <?php if ($result->num_rows > 0) { while ($row = $result->fetch_assoc()) { echo "<tr>"; echo "<td>" . htmlspecialchars($row['id']) . "</td>"; echo "<td><a href='showListMembers.php?id=" . htmlspecialchars($row['id']) . "'>" . htmlspecialchars($row['list_name']) . "</a></td>"; echo "<td><span class='badge " . ($row['active'] == 1 ? 'badge-active' : 'badge-inactive') . "'>" . ($row['active'] == 1 ? 'Active' : 'Inactive') . "</span></td>"; echo "<td><a href='edit_list.php?id=" . htmlspecialchars($row['id']) . "'><i class='fa fa-pencil-alt'></i></a></td>"; echo "<td><a href='delete_list.php?id=" . htmlspecialchars($row['id']) . "'><i class='fa fa-trash'></i></a></td>"; echo "</tr>"; } } else { echo "<tr><td colspan='5'>No lists found</td></tr>"; } ?> </tbody> </table> </div> </div> </div> </main> </div> </div> <!-- Bootstrap and jQuery JS --> <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js"></script> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script> </body> </html>