OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
cream
/
Xpress
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
06/17/2025 10:17:24 AM
rwxrwxr-x
📄
.browserslistrc
208 bytes
03/05/2025 10:49:45 AM
rw-r--r--
📄
.gitignore
42 bytes
03/05/2025 10:49:45 AM
rw-r--r--
📄
.htaccess
803 bytes
03/05/2025 10:49:45 AM
rw-r--r--
📄
.htaccess.swp
12 KB
03/05/2025 10:49:45 AM
rw-r--r--
📄
.travis.yml
199 bytes
03/05/2025 10:49:45 AM
rw-r--r--
📄
09-01-25navbar.php
23.78 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
15-02-25viewList.php
15.21 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
17-02-25newCompaign.php
13.09 KB
05/19/2025 10:07:16 AM
rw-r--r--
📁
NLEditor
-
05/28/2025 07:37:39 AM
rwxrwxrwx
📄
addList.php
6.89 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
adi_deliveryViewList.php
11.25 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
aditya_choose.php
6.13 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
aditya_choose_template.php
7.73 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
aditya_viewCampaign.php
25.53 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
adityanewCompaign.php
18.61 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
adityaprocess_emails.php
12.93 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
arvind_choose_templates.php
11.17 KB
05/19/2025 10:07:16 AM
rw-r--r--
📁
assets
-
03/05/2025 10:50:21 AM
rwxr-xr-x
📄
back_choose_template.php
8.12 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
blacklist.php
13.47 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
bounceViewList.php
15.04 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
bounce_handler.php
5.05 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
checkNotificationTopics.php
5.11 KB
05/19/2025 10:07:17 AM
rw-r--r--
📁
check_identity
-
05/19/2025 10:07:16 AM
rwxr-xr-x
📄
checknotif.php
1.01 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
choose_template.php
9.2 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
clickViewList.php
13.34 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
click_handler.php
1.75 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
complaintsViewList.php
8.78 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
complaints_handler.php
2.89 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
composer.json
200 bytes
03/05/2025 10:49:45 AM
rw-r--r--
📄
composer.lock
39.12 KB
03/05/2025 10:49:45 AM
rw-r--r--
📄
createList.php
19.88 KB
05/19/2025 10:07:17 AM
rw-r--r--
📁
credentials
-
03/05/2025 10:49:47 AM
rwxr-xr-x
📄
csv.php
13.12 KB
05/19/2025 10:07:16 AM
rw-r--r--
📁
data
-
03/05/2025 10:50:45 AM
rwxr-xr-x
📄
db.php
1000 bytes
05/19/2025 10:07:16 AM
rw-r--r--
📄
deleteCampaign.php
966 bytes
05/19/2025 10:07:17 AM
rw-r--r--
📄
deleteTemplate.php
1.55 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
delete_list.php
903 bytes
05/19/2025 10:07:16 AM
rw-r--r--
📄
delete_users.php
435 bytes
05/19/2025 10:07:16 AM
rw-r--r--
📄
deliveryViewList.php
13.13 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
delivery_handler.php
3.25 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
download_Complaints.php
1.16 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
download_bounces.php
1.18 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
download_clicked.php
1.23 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
download_delivered.php
1.12 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
download_open.php
1.22 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
download_report.php
3.33 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
download_unique_open.php
1.6 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
duplicate_campaign.php
1.62 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
edit_campaign.php
1.45 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
edit_list.php
11.92 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
feedback.php
1.66 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
fetch_template.php
493 bytes
05/19/2025 10:07:16 AM
rw-r--r--
📄
footer.php
1.36 KB
05/19/2025 10:07:16 AM
rw-r--r--
📁
grfx
-
03/05/2025 10:49:48 AM
rwxr-xr-x
📄
himanshu_index.php
6.66 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
himanshu_newCompaign.php
11.92 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
housekeeping.php
25.61 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
index.php
10.15 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
insert_list.php
2.64 KB
05/19/2025 10:07:16 AM
rw-r--r--
📁
js
-
03/05/2025 10:49:48 AM
rwxr-xr-x
📄
load.php
159 bytes
05/19/2025 10:07:17 AM
rw-r--r--
📁
log
-
03/05/2025 10:49:56 AM
rwxr-xr-x
📄
main.css
1.3 KB
03/05/2025 11:02:42 AM
rw-r--r--
📄
navbar.php
22.64 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
navbar_menu.php
1.89 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
newCompaign.php
16.72 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
obc_cards.php
8.25 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
openViewList.php
14.75 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
open_handler.php
1.75 KB
05/19/2025 10:07:17 AM
rw-r--r--
📁
process
-
05/19/2025 10:07:16 AM
rwxr-xr-x
📄
process_emails.php
13.27 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
real-recipients.csv
39.48 KB
03/05/2025 10:49:46 AM
rw-r--r--
📄
resubscribe.php
7.17 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
sample.csv
55 bytes
03/05/2025 10:49:46 AM
rw-r--r--
📄
save.php
252 bytes
05/19/2025 10:07:16 AM
rw-r--r--
📄
save_campaign.php
612 bytes
05/19/2025 10:07:16 AM
rw-r--r--
📄
saved_content.html
8 bytes
05/14/2025 08:36:09 AM
rw-r--r--
📄
send_email.php
987 bytes
05/19/2025 10:07:16 AM
rw-r--r--
📄
send_email_campaignGraph.php
2.24 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
sendgrid.php
3.62 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
showListMembers.php
12.16 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
showcase.php
7.93 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
sidebar.php
0 bytes
05/19/2025 10:07:16 AM
rw-r--r--
📄
sns_subscribe.php
5.25 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
submit_form.php
2.48 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
template_index.php
10.29 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
test-mail.csv
337 bytes
03/05/2025 10:49:47 AM
rw-r--r--
📄
test.php
969 bytes
05/19/2025 10:07:16 AM
rw-r--r--
📄
test_choose_template.php
6.85 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
test_process_emails.php
1.91 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
unsubscribe.php
7.63 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
upload_image.php
606 bytes
05/19/2025 10:07:16 AM
rw-r--r--
📁
uploads
-
05/23/2025 09:06:53 AM
rwxrwxrwx
📁
vendor
-
05/19/2025 10:07:17 AM
rwxr-xr-x
📄
verify.html
486 bytes
03/05/2025 10:49:47 AM
rw-r--r--
📄
verify.php
3.12 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
verify_email.php
5.12 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
viewCampaign.php
27.83 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
viewList.php
18.1 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
xpress_handler.php
10.38 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
znewCompaign.php
11.22 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
zunsubscribe.php
6.02 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
zzindex.php
6.89 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
zzzzindex.php
6.76 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
zzzzzindex.php
6.88 KB
05/19/2025 10:07:17 AM
rw-r--r--
Editing: zzzzzindex.php
Close
<!doctype html> <?php include '../inc/validate.logged.php'; include '../inc/config.php'; include 'db.php'; include '../assets/php/function.php'; $sql = "SELECT id, list_name FROM list WHERE list_name IS NOT NULL AND list_name != '' AND user_id='$gUserId' AND active = '1'"; $result = mysqli_query($conn, $sql); $listNames = []; while ($row = mysqli_fetch_assoc($result)) { $listNames[] = $row; } ?> <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> <!-- CSS and JS Libraries --> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"> <link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.10.5/font/bootstrap.min.css" rel="stylesheet"> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"> <link rel="stylesheet" href="../assets/css/styles.css"> <link rel="stylesheet" href="main.css"> <style> #preview { border: 1px solid #ccc; padding: 10px; margin-top: 10px; } textarea { width: 100%; height: 200px; display: none; } </style> </head> <body class="sb-nav-fixed"> <?php include "navbar.php"; ?> <?php include "../assets/php/go_backbar.php"; ?> <div id="layoutSidenav"> <?php include 'sidebar.php'; ?> <div id="layoutSidenav_content"> <main> <div id="panelContent" class="container-fluid col-md-9"> <div class="col-md-15"> <div class="main-content"> <ol class="breadcrumb my-3"> <li class="breadcrumb-item w-100" style="display:flex; justify-content:space-between; align-items:center;"> <h4 class="mt-1">Email Sender Interface</h4> </li> </ol> <div class="content"> <form id="emailForm" action="process_emails.php" method="post"> <div class="form-group"> <label for="createCampaign">Create Campaign:</label> <input type="text" class="form-control" name="createCampaign" id="createCampaign" required> </div> <div class="form-group"> <label for="subject">Subject:</label> <input type="text" class="form-control" name="subject" id="subject" required> </div> <div class="form-group"> <label for="emailBody">Mail Content:</label> <!-- "Edit Content" button placed above the preview --> <div class="mb-2"> <button type="button" id="toggleButton" class="btn btn-secondary"> Edit </button> </div> <textarea id="emailBody" name="emailBody" style="display: none;"> <p>Your initial preview content goes here.</p> </textarea> <div id="preview"> <p>Your initial preview content goes here.</p> </div> </div> <div class="form-group"> <label for="list_id">Select List Name:</label> <select class="form-control" name="list_id" id="list_id" required> <?php foreach ($listNames as $list) { echo "<option value='{$list['id']}'>{$list['list_name']}</option>"; } ?> </select> </div> <input type="hidden" name="action" value="newsletter" /> <button type="button" class="btn btn-primary" onclick="confirmSelection()">Send Emails</button> </form> </div> </div> </div> </div> </main> </div> </div> <?php include 'footer.php'; ?> <?php include '../assets/php/bottom_navbar.php'; ?> <script> let isPreviewVisible = true; // Toggle between textarea and preview document.getElementById('toggleButton').addEventListener('click', function() { const emailBody = document.getElementById('emailBody'); const preview = document.getElementById('preview'); if (isPreviewVisible) { // Switch to edit mode emailBody.value = preview.innerHTML; // Populate textarea with current preview content emailBody.style.display = 'block'; preview.style.display = 'none'; this.textContent = 'Show Preview'; } else { // Switch to preview mode preview.innerHTML = emailBody.value; // Update preview with textarea content emailBody.style.display = 'none'; preview.style.display = 'block'; this.textContent = 'Edit Content'; } isPreviewVisible = !isPreviewVisible; // Toggle state }); // Confirm before sending function confirmSelection() { const listDropdown = document.getElementById('list_id'); const selectedListName = listDropdown.options[listDropdown.selectedIndex].text; const confirmationMessage = "Are you sure you want to send an email to this list: " + selectedListName + "?"; if (confirm(confirmationMessage)) { document.getElementById('emailForm').submit(); } } </script> </body> </html>