OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
cream
/
sendy
/
includes
/
ares
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/27/2025 10:27:13 AM
rwxr-xr-x
📄
add-autoresponder.php
1.64 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
delete-ares.php
1.17 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
delete-attachment.php
800 bytes
05/19/2025 10:07:15 AM
rw-r--r--
📄
delete-email.php
670 bytes
05/19/2025 10:07:15 AM
rw-r--r--
📄
duplicate-email.php
1.41 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
main.php
5.96 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
save-autoresponder-email.php
7.2 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
toggle-autoresponder.php
365 bytes
05/19/2025 10:07:15 AM
rw-r--r--
📄
toggle-wysiwyg.php
498 bytes
05/19/2025 10:07:15 AM
rw-r--r--
📄
update-ar-title.php
466 bytes
05/19/2025 10:07:15 AM
rw-r--r--
Editing: duplicate-email.php
Close
<?php include('../functions.php');?> <?php include('../login/auth.php');?> <?php //------------------------------------------------------// // VARIABLES // //------------------------------------------------------// $app = isset($_GET['app']) && is_numeric($_GET['app']) ? mysqli_real_escape_string($mysqli, (int)$_GET['app']) : exit; $a = isset($_GET['a']) && is_numeric($_GET['a']) ? mysqli_real_escape_string($mysqli, (int)$_GET['a']) : exit; $ae = isset($_GET['ae']) && is_numeric($_GET['ae']) ? mysqli_real_escape_string($mysqli, (int)$_GET['ae']) : exit; //------------------------------------------------------// // FUNCTIONS // //------------------------------------------------------// //Duplicate the email $q = 'INSERT INTO ares_emails (ares_id, from_name, from_email, reply_to, title, plain_text, html_text, query_string, time_condition, created, wysiwyg, opens_tracking, links_tracking, segs, segs_excl) SELECT ares_id, from_name, from_email, reply_to, title, plain_text, html_text, query_string, time_condition, UNIX_TIMESTAMP(NOW()), wysiwyg, opens_tracking, links_tracking, segs, segs_excl FROM ares_emails WHERE id = '.$ae; $r = mysqli_query($mysqli, $q); if ($r) { header("Location: ".get_app_info('path')."/autoresponders-emails?i=".$app.'&a='.$a); } else echo 'Error duplicating.'; ?>