OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
3-31-025chanakya
/
Xpress
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
03/31/2025 06:36:42 AM
rwxr-xr-x
📄
.browserslistrc
208 bytes
03/26/2025 04:06:47 AM
rw-r--r--
📄
.gitignore
42 bytes
03/26/2025 04:06:47 AM
rw-r--r--
📄
.htaccess
803 bytes
03/26/2025 04:06:47 AM
rw-r--r--
📄
.htaccess.swp
12 KB
03/26/2025 04:06:47 AM
rw-r--r--
📄
.travis.yml
199 bytes
03/26/2025 04:06:47 AM
rw-r--r--
📄
09-01-25navbar.php
30.59 KB
03/26/2025 04:06:47 AM
rw-r--r--
📄
15-02-25viewList.php
14.86 KB
03/26/2025 04:06:47 AM
rw-r--r--
📄
17-02-25newCompaign.php
12.43 KB
03/26/2025 04:06:47 AM
rw-r--r--
📁
NLEditor
-
03/26/2025 04:21:24 AM
rwxr-xr-x
📄
addList.php
6.06 KB
03/26/2025 04:06:47 AM
rw-r--r--
📄
adi_deliveryViewList.php
11.13 KB
03/26/2025 04:06:47 AM
rw-r--r--
📄
aditya_choose.php
6 KB
03/26/2025 04:06:47 AM
rw-r--r--
📄
aditya_choose_template.php
7.52 KB
03/26/2025 04:06:47 AM
rw-r--r--
📄
aditya_viewCampaign.php
24.73 KB
03/26/2025 04:06:47 AM
rw-r--r--
📄
arvind_choose_templates.php
10.83 KB
03/26/2025 04:06:47 AM
rw-r--r--
📁
assets
-
03/26/2025 04:20:38 AM
rwxr-xr-x
📄
back_choose_template.php
7.52 KB
03/26/2025 04:06:47 AM
rw-r--r--
📄
blacklist.php
13.06 KB
03/26/2025 04:06:47 AM
rw-r--r--
📄
bounceViewList.php
14.63 KB
03/26/2025 04:06:47 AM
rw-r--r--
📄
bounce_handler.php
5.05 KB
03/26/2025 04:06:47 AM
rw-r--r--
📄
checkNotificationTopics.php
5.11 KB
03/26/2025 04:06:47 AM
rw-r--r--
📁
check_identity
-
03/26/2025 04:16:12 AM
rwxr-xr-x
📄
checknotif.php
1020 bytes
03/26/2025 04:06:47 AM
rw-r--r--
📄
choose_template.php
6.74 KB
03/26/2025 04:06:47 AM
rw-r--r--
📄
clickViewList.php
13.01 KB
03/26/2025 04:06:47 AM
rw-r--r--
📄
click_handler.php
1.75 KB
03/26/2025 04:06:47 AM
rw-r--r--
📄
complaintsViewList.php
8.41 KB
03/26/2025 04:06:48 AM
rw-r--r--
📄
complaints_handler.php
2.89 KB
03/26/2025 04:06:48 AM
rw-r--r--
📄
composer.json
200 bytes
03/26/2025 04:06:48 AM
rw-r--r--
📄
composer.lock
39.12 KB
03/26/2025 04:06:48 AM
rw-r--r--
📄
createList.php
19.13 KB
03/26/2025 04:06:48 AM
rw-r--r--
📁
credentials
-
03/26/2025 04:16:13 AM
rwxr-xr-x
📄
csv.php
12.33 KB
03/26/2025 04:06:48 AM
rw-r--r--
📁
data
-
03/26/2025 04:21:24 AM
rwxr-xr-x
📄
db.php
991 bytes
03/26/2025 04:06:48 AM
rw-r--r--
📄
deleteCampaign.php
966 bytes
03/26/2025 04:06:48 AM
rw-r--r--
📄
deleteTemplate.php
1.55 KB
03/26/2025 04:06:48 AM
rw-r--r--
📄
delete_list.php
959 bytes
03/26/2025 04:06:48 AM
rw-r--r--
📄
delete_users.php
435 bytes
03/26/2025 04:06:48 AM
rw-r--r--
📄
deliveryViewList.php
12.9 KB
03/26/2025 04:06:49 AM
rw-r--r--
📄
delivery_handler.php
3.25 KB
03/26/2025 04:06:49 AM
rw-r--r--
📄
download_Complaints.php
1.16 KB
03/26/2025 04:06:49 AM
rw-r--r--
📄
download_bounces.php
1.18 KB
03/26/2025 04:06:49 AM
rw-r--r--
📄
download_clicked.php
1.23 KB
03/26/2025 04:06:49 AM
rw-r--r--
📄
download_delivered.php
1.12 KB
03/26/2025 04:06:49 AM
rw-r--r--
📄
download_open.php
1.22 KB
03/26/2025 04:06:49 AM
rw-r--r--
📄
download_report.php
3.33 KB
03/26/2025 04:06:49 AM
rw-r--r--
📄
download_unique_open.php
1.6 KB
03/26/2025 04:06:49 AM
rw-r--r--
📄
duplicate_campaign.php
1.67 KB
03/26/2025 04:06:49 AM
rw-r--r--
📄
edit_campaign.php
1.45 KB
03/26/2025 04:06:49 AM
rw-r--r--
📄
edit_list.php
11.69 KB
03/26/2025 04:06:50 AM
rw-r--r--
📄
feedback.php
1.71 KB
03/26/2025 04:06:50 AM
rw-r--r--
📄
fetch_template.php
493 bytes
03/26/2025 04:06:50 AM
rw-r--r--
📄
footer.php
1.35 KB
03/26/2025 04:06:50 AM
rw-r--r--
📁
grfx
-
03/26/2025 04:16:13 AM
rwxr-xr-x
📄
himanshu_index.php
6.58 KB
03/26/2025 04:06:50 AM
rw-r--r--
📄
himanshu_newCompaign.php
11.25 KB
03/26/2025 04:06:50 AM
rw-r--r--
📄
housekeeping.php
24.85 KB
03/26/2025 04:06:50 AM
rw-r--r--
📄
index.php
9.9 KB
03/26/2025 04:06:50 AM
rw-r--r--
📄
insert_list.php
2.64 KB
03/26/2025 04:06:50 AM
rw-r--r--
📁
js
-
03/26/2025 04:16:13 AM
rwxr-xr-x
📄
load.php
159 bytes
03/26/2025 04:06:50 AM
rw-r--r--
📁
log
-
03/26/2025 04:16:25 AM
rwxr-xr-x
📄
main.css
1.3 KB
03/26/2025 04:06:50 AM
rw-r--r--
📄
navbar.php
22.54 KB
03/26/2025 04:06:50 AM
rw-r--r--
📄
navbar_menu.php
1.94 KB
03/26/2025 04:06:50 AM
rw-r--r--
📄
newCompaign.php
16.25 KB
03/26/2025 04:06:50 AM
rw-r--r--
📄
obc_cards.php
7.58 KB
03/26/2025 04:06:50 AM
rw-r--r--
📄
openViewList.php
14.4 KB
03/26/2025 04:06:51 AM
rw-r--r--
📄
open_handler.php
1.75 KB
03/26/2025 04:06:51 AM
rw-r--r--
📁
process
-
03/26/2025 04:16:33 AM
rwxr-xr-x
📄
process_emails.php
12.53 KB
03/26/2025 04:06:51 AM
rw-r--r--
📄
real-recipients.csv
39.48 KB
03/26/2025 04:06:51 AM
rw-r--r--
📄
resubscribe.php
6.41 KB
03/26/2025 04:06:51 AM
rw-r--r--
📄
sample.csv
55 bytes
03/26/2025 04:06:51 AM
rw-r--r--
📄
save.php
252 bytes
03/26/2025 04:06:51 AM
rw-r--r--
📄
save_campaign.php
612 bytes
03/26/2025 04:06:51 AM
rw-r--r--
📄
saved_content.html
6.48 KB
03/26/2025 04:06:51 AM
rw-r--r--
📄
send_email.php
987 bytes
03/26/2025 04:06:51 AM
rw-r--r--
📄
send_email_campaignGraph.php
2.24 KB
03/26/2025 04:06:51 AM
rw-r--r--
📄
sendgrid.php
3.62 KB
03/26/2025 04:06:51 AM
rw-r--r--
📄
showListMembers.php
11.44 KB
03/26/2025 04:06:51 AM
rw-r--r--
📄
showcase.php
7.79 KB
03/26/2025 04:06:51 AM
rw-r--r--
📄
sidebar.php
0 bytes
03/26/2025 04:06:51 AM
rw-r--r--
📄
sns_subscribe.php
5.25 KB
03/26/2025 04:06:51 AM
rw-r--r--
📄
submit_form.php
2.48 KB
03/26/2025 04:06:51 AM
rw-r--r--
📄
template_index.php
10.08 KB
03/26/2025 04:06:51 AM
rw-r--r--
📄
test-mail.csv
337 bytes
03/26/2025 04:06:51 AM
rw-r--r--
📄
test.php
969 bytes
03/26/2025 04:06:51 AM
rw-r--r--
📄
test_choose_template.php
6.51 KB
03/26/2025 04:06:51 AM
rw-r--r--
📄
test_process_emails.php
1.91 KB
03/26/2025 04:06:51 AM
rw-r--r--
📄
unsubscribe.php
6.87 KB
03/26/2025 04:06:51 AM
rw-r--r--
📄
upload_image.php
606 bytes
03/26/2025 04:06:51 AM
rw-r--r--
📁
uploads
-
03/26/2025 04:16:39 AM
rwxr-xr-x
📁
vendor
-
03/26/2025 04:21:35 AM
rwxr-xr-x
📄
verify.html
486 bytes
03/26/2025 04:06:51 AM
rw-r--r--
📄
verify.php
2.54 KB
03/26/2025 04:06:51 AM
rw-r--r--
📄
verify_email.php
5.03 KB
03/26/2025 04:06:51 AM
rw-r--r--
📄
viewCampaign.php
26.94 KB
03/26/2025 04:06:51 AM
rw-r--r--
📄
viewList.php
17.65 KB
03/26/2025 04:06:51 AM
rw-r--r--
📄
xpress_handler.php
10.51 KB
03/26/2025 04:06:51 AM
rw-r--r--
📄
znewCompaign.php
10.52 KB
03/26/2025 04:06:52 AM
rw-r--r--
📄
zunsubscribe.php
5.82 KB
03/26/2025 04:06:52 AM
rw-r--r--
📄
zzindex.php
6.8 KB
03/26/2025 04:06:52 AM
rw-r--r--
📄
zzzzindex.php
6.68 KB
03/26/2025 04:06:52 AM
rw-r--r--
📄
zzzzzindex.php
55.73 KB
03/26/2025 04:06:52 AM
rw-r--r--
Editing: arvind_choose_templates.php
Close
<!doctype html> <?php include '../assets/php/validate.logged.php'; include '../inc/config.php'; include 'NLEditor/db_gallery.php'; include '../assets/php/function.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(); ?> <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="../assets/css/bootstrap.min.4.5.0.css"> <link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.10.5/font/bootstrap.min.css" rel="stylesheet"> <!-- Font Awesome CSS --> <link rel="stylesheet" href="../assets/css/all.min.5.15.3.css"> <link rel="stylesheet" href="../assets/css/all.min.5.15.css"> <link rel="stylesheet" href="../assets/css/all.min.6.6.css"> <link rel="stylesheet" href="../assets/css/all.min.5.15.css"> <script src="../assets/js/jquery-3.6.0.min.js"></script> <script src="../assets/js/bootstrap.min.4.5.js"></script> <link rel="stylesheet" href="../assets/css/all.min.5.15.3.css"> <link rel="stylesheet" href="../assets/css/all.min.5.15.css"> <link rel="stylesheet" href="main.css"> <link rel="stylesheet" href="../assets/css/styles.css"> <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; } .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: #db5919; transform: scale(1.05); } button { background-color: #db5919; color: white; } 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> <style> .sideWithMainContainer { display: flex; flex-direction: row; gap: 10px; overflow-x: hidden; } .sideMaincontent { height: 100vh; overflow-y: scroll; padding: 30px 0; } @media (min-width: 768px) { .col-md-2 { padding: 0px !important; } } @media (max-width: 768px) { .col-md-2 { display: none !important; } } .panelContent { height: 80% !important; overflow-y: auto !important; } /* #nleditor-editButton{ display: none; } */ </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_nleditor').modal('show'); } function sendEmail(templateUrl) { localStorage.setItem('newsletterContent', templateUrl); localStorage.setItem('campaignName', 'Your Campaign Name'); window.location.href = 'template_index.php'; } </script> --> <script> function showTemplatePreview(templateUrl) { let basePath = "https://knoblycream.com/Xpress/NLEditor/uploads/"; let fullUrl = basePath + templateUrl; // Set iframe src document.getElementById('nleditor-templatePreview').src = fullUrl; // Set button actions dynamically document.getElementById('nleditor-sendEmailButton').onclick = function() { sendEmail(templateUrl); }; document.getElementById('nleditor-editButton').onclick = function() { window.location.href = 'NLEditor/arvind-index.php?template=' + encodeURIComponent(templateUrl); }; // Show the modal using vanilla JavaScript instead of jQuery const modalElement = document.getElementById('nleditor-templateModal'); const modalInstance = new bootstrap.Modal(modalElement); modalInstance.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"> <?php include "assets/php/social_navbar.php"; ?> <div class="xpressMainConatiner" style="display: flex; flex-direction:column"> <!-- Modal for Template Preview --> <div class="modal fade nleditor-modal" id="nleditor-templateModal" tabindex="-1" aria-labelledby="nleditor-templateModalLabel" aria-hidden="true"> <div class="modal-dialog modal-lg"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="nleditor-templateModalLabel">Template Preview</h5> <button type="button" class="close nleditor-modal-close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body text-center"> <iframe id="nleditor-templatePreview" width="100%" height="400px" style="border: 1px solid #ccc;"></iframe> </div> <div class="modal-footer"> <div class="nleditor-button-container"> <button class="nleditor-email-button" id="nleditor-sendEmailButton">Send Email</button> <button id="nleditor-editButton">Edit</button> </div> </div> </div> </div> </div> <div class="sideWithMainContainer"> <div class="col-md-2"> <? include 'assets/php/sidebar.php' ?> </div> <div id="layoutSidenav" class="col-sm-12 col-md-10 sideMaincontent"> <? include 'navbar_menu.php' ?> <div id="layoutSidenav_content"> <h2>My Templates</h2> <div class="container" style="padding-bottom:50px;"> <?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="nleditor-preview-button" onclick="showTemplatePreview('<?= $fileUrl ?>')">Preview & Send</button> </div> </div> <?php endforeach; ?> </div> </div> </div> </div> <?php include 'footer.php'; ?> <?php include '../assets/php/bottom_navbar.php'; ?> </div> </body> </html>