OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
cream
/
old_sendy
/
includes
/
app
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/19/2025 10:07:16 AM
rwxr-xr-x
📄
check-email-verification.php
1.53 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
create.php
8.6 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
delete-logo.php
919 bytes
05/19/2025 10:07:16 AM
rw-r--r--
📄
delete.php
2.86 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
download-errors-csv.php
1.3 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
duplicate.php
2.28 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
edit.php
8.45 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
generate-password.php
1.57 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
main.php
1.66 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
progress.php
881 bytes
05/19/2025 10:07:16 AM
rw-r--r--
📄
verify-email.php
2.27 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
verify-login-email.php
808 bytes
05/19/2025 10:07:16 AM
rw-r--r--
Editing: duplicate.php
Close
<?php include('../functions.php');?> <?php include('../login/auth.php');?> <?php //------------------------------------------------------// // VARIABLES // //------------------------------------------------------// $campaign_id = isset($_POST['campaign_id']) && is_numeric($_POST['campaign_id']) ? mysqli_real_escape_string($mysqli, (int)$_POST['campaign_id']) : exit; $app_id = isset($_POST['on-brand']) && is_numeric($_POST['on-brand']) ? mysqli_real_escape_string($mysqli, (int)$_POST['on-brand']) : exit; //------------------------------------------------------// // FUNCTIONS // //------------------------------------------------------// //get campaign's data $q = 'SELECT from_name, from_email, reply_to, title, label, plain_text, html_text, query_string, bounce_setup, complaint_setup, opens_tracking, links_tracking FROM campaigns WHERE id = '.$campaign_id; $r = mysqli_query($mysqli, $q); if ($r && mysqli_num_rows($r) > 0) { while($row = mysqli_fetch_array($r)) { $from_name = $row['from_name']; $from_email = $row['from_email']; $reply_to = $row['reply_to']; $title = stripslashes($row['title']); $label = stripslashes($row['label']); $plain_text = stripslashes($row['plain_text']); $html_text = stripslashes($row['html_text']); $query_string = stripslashes($row['query_string']); $bounce_setup = $row['bounce_setup']; $complaint_setup = $row['complaint_setup']; $opens_tracking = $row['opens_tracking']; $links_tracking = $row['links_tracking']; } } //Insert into database $q3 = 'INSERT INTO campaigns (userID, app, from_name, from_email, reply_to, title, label, plain_text, html_text, query_string, bounce_setup, complaint_setup, wysiwyg, opens_tracking, links_tracking) VALUES ('.get_app_info('main_userID').', '.$app_id.', "'.$from_name.'", "'.$from_email.'", "'.$reply_to.'", "'.addslashes($title).'", "'.addslashes($label).'", "'.addslashes($plain_text).'", "'.addslashes($html_text).'", "'.addslashes($query_string).'", '.$bounce_setup.', '.$complaint_setup.', 1, '.$opens_tracking.', '.$links_tracking.')'; $r3 = mysqli_query($mysqli, $q3); if ($r3) header("Location: ".get_app_info('path')."/app?i=".$app_id); else echo 'Error duplicating.'; ?>