OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
cream
/
Xpress_backup
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
01/06/2025 07:58:55 AM
rw-r--r--
📄
.gitignore
42 bytes
01/06/2025 07:58:55 AM
rw-r--r--
📄
.htaccess
803 bytes
01/06/2025 07:58:55 AM
rw-r--r--
📄
.htaccess.swp
12 KB
01/06/2025 07:58:56 AM
rw-r--r--
📄
.travis.yml
199 bytes
01/06/2025 07:58:56 AM
rw-r--r--
📄
09-01-25navbar.php
23.78 KB
05/19/2025 10:07:19 AM
rw-r--r--
📄
15-02-25viewList.php
15.21 KB
05/19/2025 10:07:19 AM
rw-r--r--
📄
17-02-25newCompaign.php
13.09 KB
05/19/2025 10:07:17 AM
rw-r--r--
📁
NLEditor
-
05/19/2025 10:07:19 AM
rwxr-xr-x
📄
addList.php
5.65 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
adi_deliveryViewList.php
11.25 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
aditya_choose.php
6.13 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
aditya_viewCampaign.php
25.53 KB
05/19/2025 10:07:19 AM
rwxrwxrwx
📁
assets
-
01/06/2025 08:00:13 AM
rwxr-xr-x
📄
back_choose_template.php
8.12 KB
05/19/2025 10:07:19 AM
rw-r--r--
📄
blacklist.php
13.47 KB
05/19/2025 10:07:19 AM
rw-r--r--
📄
bounceViewList.php
13.28 KB
05/19/2025 10:07:19 AM
rw-r--r--
📄
bounce_handler.php
5.05 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
checkNotificationTopics.php
5.11 KB
05/19/2025 10:07:19 AM
rw-r--r--
📁
check_identity
-
05/19/2025 10:07:17 AM
rwxr-xr-x
📄
checknotif.php
1.01 KB
05/19/2025 10:07:19 AM
rw-r--r--
📄
choose_template.php
9.73 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
clickViewList.php
11.72 KB
05/19/2025 10:07:19 AM
rw-r--r--
📄
click_handler.php
1.75 KB
05/19/2025 10:07:19 AM
rw-r--r--
📄
complaintsViewList.php
7.43 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
complaints_handler.php
2.89 KB
05/19/2025 10:07:19 AM
rw-r--r--
📄
composer.json
200 bytes
01/06/2025 07:59:01 AM
rw-r--r--
📄
composer.lock
39.12 KB
01/06/2025 07:59:01 AM
rw-r--r--
📄
createList.php
17.48 KB
05/19/2025 10:07:19 AM
rw-r--r--
📁
credentials
-
01/06/2025 08:01:45 AM
rwxr-xr-x
📄
csv.php
11.8 KB
05/19/2025 10:07:17 AM
rw-r--r--
📁
data
-
03/03/2025 11:56:59 AM
rwxrwxrwx
📄
db.php
1000 bytes
05/19/2025 10:07:17 AM
rw-r--r--
📄
deleteCampaign.php
966 bytes
05/19/2025 10:07:19 AM
rw-r--r--
📄
delete_list.php
903 bytes
05/19/2025 10:07:17 AM
rw-r--r--
📄
delete_users.php
435 bytes
05/19/2025 10:07:17 AM
rw-r--r--
📄
deliveryViewList.php
11.45 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
delivery_handler.php
3.25 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
download_Complaints.php
1.16 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
download_bounces.php
1.18 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
download_clicked.php
1.23 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
download_delivered.php
1.12 KB
05/19/2025 10:07:19 AM
rw-r--r--
📄
download_open.php
1.22 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
download_report.php
3.33 KB
05/19/2025 10:07:19 AM
rw-r--r--
📄
download_unique_open.php
1.6 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
duplicate_campaign.php
1.62 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
edit_campaign.php
1.45 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
edit_list.php
9.99 KB
05/19/2025 10:07:19 AM
rw-r--r--
📄
feedback.php
1.66 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
fetch_template.php
493 bytes
05/19/2025 10:07:17 AM
rw-r--r--
📄
footer.php
1.7 KB
05/19/2025 10:07:17 AM
rw-r--r--
📁
grfx
-
01/06/2025 08:01:47 AM
rwxrwxrwx
📄
himanshu_index.php
6.66 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
himanshu_newCompaign.php
11.92 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
housekeeping.php
23.07 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
index.php
7.95 KB
05/19/2025 10:07:17 AM
rwxrwxrwx
📄
insert_list.php
2.64 KB
05/19/2025 10:07:17 AM
rw-r--r--
📁
js
-
01/06/2025 08:01:49 AM
rwxr-xr-x
📄
load.php
159 bytes
05/19/2025 10:07:19 AM
rw-r--r--
📁
log
-
01/07/2025 07:47:04 AM
rwxrwxrwx
📄
main.css
1.32 KB
01/09/2025 10:38:27 AM
rw-r--r--
📄
navbar.php
22.64 KB
05/19/2025 10:07:19 AM
rw-r--r--
📄
navbar_menu.php
1.65 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
newCompaign.php
14.61 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
obc_cards.php
8.25 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
openViewList.php
13.25 KB
05/19/2025 10:07:19 AM
rw-r--r--
📄
open_handler.php
1.75 KB
05/19/2025 10:07:19 AM
rw-r--r--
📁
process
-
05/19/2025 10:07:17 AM
rwxrwxrwx
📄
process_emails.php
11.96 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
real-recipients.csv
39.48 KB
01/06/2025 07:59:07 AM
rw-r--r--
📄
resubscribe.php
5.61 KB
05/19/2025 10:07:19 AM
rw-r--r--
📄
sample.csv
55 bytes
01/06/2025 07:59:08 AM
rw-r--r--
📄
save.php
252 bytes
05/19/2025 10:07:17 AM
rw-r--r--
📄
save_campaign.php
612 bytes
05/19/2025 10:07:17 AM
rw-r--r--
📄
saved_content.html
6.48 KB
01/07/2025 11:02:10 AM
rw-r--r--
📄
send_email.php
987 bytes
05/19/2025 10:07:17 AM
rwxrwxrwx
📄
send_email_campaignGraph.php
2.24 KB
05/19/2025 10:07:19 AM
rwxrwxrwx
📄
sendgrid.php
3.62 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
showListMembers.php
10.69 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
showcase.php
7.93 KB
05/19/2025 10:07:19 AM
rw-r--r--
📄
sidebar.php
0 bytes
05/19/2025 10:07:17 AM
rw-r--r--
📄
sns_subscribe.php
5.25 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
submit_form.php
2.48 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
template_index.php
7.37 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
test-mail.csv
337 bytes
01/06/2025 07:59:10 AM
rw-r--r--
📄
test.php
969 bytes
05/19/2025 10:07:17 AM
rw-r--r--
📄
test_process_emails.php
1.91 KB
05/19/2025 10:07:19 AM
rw-r--r--
📄
unsubscribe.php
7.63 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
upload_image.php
606 bytes
05/19/2025 10:07:17 AM
rw-r--r--
📁
uploads
-
03/03/2025 01:00:59 PM
rwxrwxrwx
📁
vendor
-
05/19/2025 10:07:19 AM
rwxr-xr-x
📄
verify.html
486 bytes
01/06/2025 07:59:11 AM
rw-r--r--
📄
verify.php
3.12 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
verify_email.php
5.12 KB
05/19/2025 10:07:19 AM
rw-r--r--
📄
viewCampaign.php
25.37 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
viewList.php
16.51 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
xpress_handler.php
10.38 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
znewCompaign.php
11.22 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
zunsubscribe.php
6.02 KB
05/19/2025 10:07:19 AM
rw-r--r--
📄
zzindex.php
6.89 KB
05/19/2025 10:07:19 AM
rw-r--r--
📄
zzzzindex.php
6.76 KB
05/19/2025 10:07:17 AM
rw-r--r--
📄
zzzzzindex.php
6.88 KB
05/19/2025 10:07:19 AM
rw-r--r--
Editing: choose_template.php
Close
<?php include 'NLEditor/db_gallery.php'; include '../assets/php/validate.logged.php'; // Query to fetch templates $sql = "SELECT fileUrl FROM userTemplates WHERE user_id = $gUserId"; // Adjust table/column names $result = $conn->query($sql); // Fetch templates into an array $templates = []; if ($result && $result->num_rows > 0) { while ($row = $result->fetch_assoc()) { $templates[] = $row; } } $conn->close(); ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>My Templates</title> <!-- jQuery & Bootstrap --> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"></script> <!-- Font Awesome --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.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> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- Font Awesome CSS --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.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="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous" /> <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="../assets/css/styles.css"> <link rel="stylesheet" href="main.css"> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script> <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/kz1jcdrlicpzilnm0x80vemrxz252921vwmb10kytce5n9ez/tinymce/7/tinymce.min.js" referrerpolicy="origin"></script> --> <!-- <script src="https://cdn.tiny.cloud/1/u5oz235qw5jiqww4udm90ocp9zg2rncblqo2ch0ym3twjgyt/tinymce/5/tinymce.min.js" referrerpolicy="origin"></script> --> <script src="https://cdn.tiny.cloud/1/gg63dftxs904yq8t5rs5qyu8xo1wnzpfo1rflntk3u6ic37t/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> <link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.10.5/font/bootstrap-icons.min.css" rel="stylesheet"> <script src="../inc/common.js"></script> <script type="text/javascript"></script> <style> h2 { text-align: center; padding-top: 10px; } .container { display: flex; flex-wrap: wrap; gap: 20px; justify-content: left; } .card { width: 350px; background: #fff; border-radius: 10px; box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); overflow: hidden; text-align: center; cursor: pointer; transition: transform 0.3s ease-in-out; } .card:hover { transform: scale(1.05); } .card img, .card iframe { width: 100%; height: 300px; object-fit: cover; } .card-title { padding: 10px; font-size: 16px; font-weight: medium; margin-bottom: 0px; color: #db5919; } .button-container { display: flex; gap: 10px; justify-content: center; margin-top: 20px; } .email-button, button { padding: 8px 20px; font-size: 16px; border: none; border-radius: 5px; cursor: pointer; transition: background-color 0.3s, transform 0.3s ease-in-out; text-align: center; } .email-button { background-color: #db5919; color: white; } .email-button:hover { background-color: #c04e17; transform: scale(1.05); } button { background-color: #797979; color: white; margin-top: 20px; } button:hover { transform: scale(1.05); } .modal-content { margin-top: 100px; } .modal-body { position: relative; -ms-flex: 1 1 auto; flex: 1 1 auto; padding: 0; } button:focus { outline: 0; outline: 0; } .go-back-bar { margin-top: 1px !important; } #editButton { display: none; } .Preview_button { margin-top: 0px; background-color: #db5919; color: #fafafa; } .title_button { display: flex; flex-direction: row; justify-content: space-around; gap: 10px; padding: 10px; } </style> <script> function showTemplatePreview(templateUrl) { let basePath = "https://knoblycream.com/Xpress/NLEditor/uploads/"; let fullUrl = basePath + templateUrl; // Set iframe src document.getElementById('templatePreview').src = fullUrl; // Set button actions dynamically document.getElementById('sendEmailButton').onclick = function() { sendEmail(templateUrl); }; document.getElementById('editButton').onclick = function() { window.location.href = 'NLEditor/test_index.php?template=' + encodeURIComponent(templateUrl); }; // Show the modal $('#templateModal').modal('show'); } function sendEmail(templateUrl) { localStorage.setItem('newsletterContent', templateUrl); localStorage.setItem('campaignName', 'Your Campaign Name'); window.location.href = 'template_index.php'; } </script> </head> <body class="sb-nav-fixed"> <? include "navbar.php" ?> <? include '../assets/php/go_backbar.php'; ?> <h2>My Templates</h2> <div class="container"> <?php foreach ($templates as $template) : $fileUrl = htmlspecialchars($template['fileUrl']); $filePath = "https://knoblycream.com/Xpress/NLEditor/uploads/" . $fileUrl; $fileExtension = pathinfo($fileUrl, PATHINFO_EXTENSION); ?> <div class="card"> <?php if (in_array($fileExtension, ['jpg', 'jpeg', 'png', 'gif'])) : ?> <img src="<?= $filePath ?>" alt="Template Preview"> <?php elseif (in_array($fileExtension, ['html', 'php'])) : ?> <iframe src="<?= $filePath ?>" frameborder="0"></iframe> <?php else : ?> <img src="default-preview.jpg" alt="No Preview Available"> <?php endif; ?> <div class="title_button"> <div class="card-title"><?= pathinfo($fileUrl, PATHINFO_FILENAME) ?></div> <button class="Preview_button" title="Template Preview & email" onclick="showTemplatePreview('<?= $fileUrl ?>')">Preview</button> </div> </div> <?php endforeach; ?> </div> <!-- Modal for Template Preview --> <div class="modal fade" id="templateModal" tabindex="-1" aria-labelledby="templateModalLabel" aria-hidden="true"> <div class="modal-dialog modal-lg"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="templateModalLabel">Template Preview</h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body text-center"> <iframe id="templatePreview" width="100%" height="400px" style="border: 1px solid #ccc;"></iframe> </div> <div class="modal-footer"> <div class="button-container"> <button class="email-button" id="sendEmailButton">Send Email</button> <button id="editButton">Edit</button> </div> </div> </div> </div> </div> </body> </html>