OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
cream
/
old_sendy
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
06/17/2025 10:17:24 AM
rwxrwxr-x
📄
.htaccess
643 bytes
11/12/2024 09:44:50 AM
rw-r--r--
📄
_compatibility.php
3.83 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
_install.php
7.3 KB
05/19/2025 10:07:16 AM
rw-r--r--
📁
api
-
05/19/2025 10:07:16 AM
rwxr-xr-x
📄
app.php
33.77 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
autoresponders-create.php
23.29 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
autoresponders-edit.php
28.89 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
autoresponders-emails.php
26.81 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
autoresponders-list.php
15.85 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
autoresponders-report.php
40.18 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
autoresponders.php
77.28 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
blacklist-blocked-domains.php
13.39 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
blacklist-suppression.php
13.34 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
campaigns-rss.php
8.35 KB
05/19/2025 10:07:16 AM
rw-r--r--
📁
certs
-
11/12/2024 09:27:52 AM
rwxr-xr-x
📄
clear-queue.php
996 bytes
05/19/2025 10:07:16 AM
rw-r--r--
📄
confirm.php
9.34 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
create-template.php
3.99 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
create.php
15.92 KB
05/19/2025 10:07:16 AM
rw-r--r--
📁
css
-
11/12/2024 09:28:41 AM
rwxr-xr-x
📄
custom-fields.php
8.5 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
delete-from-list.php
5.29 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
detect-table-conflicts.php
2.47 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
edit-brand.php
57.32 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
edit-list.php
20.97 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
edit-template.php
4.65 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
edit.php
19.04 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
eula.txt
6.5 KB
11/12/2024 09:44:50 AM
rw-r--r--
📄
housekeeping-inactive.php
12.54 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
housekeeping-unconfirmed.php
14.01 KB
05/19/2025 10:07:16 AM
rw-r--r--
📁
img
-
11/12/2024 09:28:02 AM
rwxr-xr-x
📄
import-csv.php
18.68 KB
05/19/2025 10:07:16 AM
rw-r--r--
📁
includes
-
05/19/2025 10:07:16 AM
rwxr-xr-x
📄
index.php
18.77 KB
05/19/2025 10:07:16 AM
rw-r--r--
📁
js
-
11/12/2024 09:29:44 AM
rwxr-xr-x
📄
l.php
10.63 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
list.php
12.3 KB
05/19/2025 10:07:16 AM
rw-r--r--
📁
locale
-
11/12/2024 09:30:02 AM
rwxr-xr-x
📄
login.php
4.84 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
logout.php
133 bytes
05/19/2025 10:07:16 AM
rw-r--r--
📄
new-brand.php
46.35 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
new-list.php
1.98 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
payment.php
7.41 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
phpinfo.php
1.39 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
r.php
11 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
reconsent-success.php
3.91 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
remove-duplicates.php
2.94 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
report.php
48.79 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
reports.php
10.7 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
reset-cron.php
999 bytes
05/19/2025 10:07:16 AM
rw-r--r--
📄
rules.php
37.35 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
scheduled.php
39.51 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
search-all-brands.php
7.07 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
search-all-lists.php
10.68 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
search-campaigns.php
30.29 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
segment.php
45.8 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
segments-list.php
6.84 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
send-to.php
57.72 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
sending.php
8.9 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
settings.php
41.29 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
subscribe.php
29.26 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
subscribers.php
44.09 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
subscription.php
9.01 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
t.php
4.22 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
template-preview.php
4.55 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
templates.php
7.35 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
two-factor.php
4.33 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
unsubscribe-from-list.php
5.33 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
unsubscribe-success.php
3.9 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
unsubscribe.php
16.19 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
update-list.php
13.88 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
update-segments.php
3.09 KB
05/19/2025 10:07:16 AM
rw-r--r--
📁
uploads
-
11/26/2024 05:30:00 AM
rwxr-xr-x
📄
verification-status.php
3.63 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
w.php
17.76 KB
05/19/2025 10:07:16 AM
rw-r--r--
📄
webhooks-log.php
4.28 KB
05/19/2025 10:07:16 AM
rw-r--r--
Editing: update-list.php
Close
<?php include('includes/header.php');?> <?php include('includes/login/auth.php');?> <?php include('includes/subscribers/main.php');?> <?php //IDs $lid = isset($_GET['l']) && is_numeric($_GET['l']) ? mysqli_real_escape_string($mysqli, (int)$_GET['l']) : exit; $app = isset($_GET['i']) && is_numeric($_GET['i']) ? get_app_info('app') : exit; $err = isset($_GET['e']) ? $_GET['e'] : ''; if(get_app_info('is_sub_user')) { if(get_app_info('app')!=get_app_info('restricted_to_app')) { echo '<script type="text/javascript">window.location="'.addslashes(get_app_info('path')).'/update-list?i='.get_app_info('restricted_to_app').'&l='.$lid.'"</script>'; exit; } $q = 'SELECT app FROM lists WHERE id = '.$lid; $r = mysqli_query($mysqli, $q); if ($r) { while($row = mysqli_fetch_array($r)) { $a = $row['app']; } if($a!=get_app_info('restricted_to_app')) { echo '<script type="text/javascript">window.location="'.addslashes(get_app_info('path')).'/list?i='.get_app_info('restricted_to_app').'"</script>'; exit; } } } ?> <!-- Validation --> <script type="text/javascript" src="<?php echo get_app_info('path');?>/js/validate.js"></script> <script type="text/javascript"> $(document).ready(function() { $("#import-update-form").validate({ rules: { csv_file: { required: true } }, messages: { csv_file: "<?php echo addslashes(_('Please upload a CSV file'));?>" } }); $("#line-import-form").validate({ rules: { line: { required: true } }, messages: { line: "<?php echo addslashes(_('Please enter at least one combination of name & email'));?>" } }); }); </script> <div class="row-fluid"> <div class="span2"> <?php include('includes/sidebar.php');?> </div> <div class="span5"> <div> <p class="lead"> <?php if(get_app_info('is_sub_user')):?> <?php echo get_app_data('app_name');?> <?php else:?> <a href="<?php echo get_app_info('path'); ?>/edit-brand?i=<?php echo get_app_info('app');?>" data-placement="right" title="<?php echo _('Edit brand settings');?>"><?php echo get_app_data('app_name');?> <span class="icon icon-pencil top-brand-pencil"></span></a> <?php endif;?> </p> <p><?php echo _('List');?>: <a href="<?php echo get_app_info('path');?>/subscribers?i=<?php echo get_app_info('app');?>&l=<?php echo $_GET['l'];?>"><span class="label label-info"><?php echo get_list_data('name');?></span></a></p> <br/> </div> <h2><?php echo _('Import via CSV file');?></h2><br/> <form action="<?php echo get_app_info('path')?>/includes/subscribers/import-update.php" method="POST" accept-charset="utf-8" class="form-vertical" enctype="multipart/form-data" id="import-update-form"> <?php if($err==1):?> <div class="alert alert-error"> <button type="button" class="close" data-dismiss="alert">×</button> <strong><?php echo _('Number of columns in CSV does not match CSV format example (as shown below).');?></strong> </div> <?php elseif($err==3):?> <div class="alert alert-error"> <button type="button" class="close" data-dismiss="alert">×</button> <p><strong><?php echo _('Please upload a CSV file.');?></strong></p> <p><?php echo _('If you are uploading a huge CSV file, Try increasing the following values in your server\'s php.ini to larger numbers. Contact your hosting support if you\'re unsure how to do this.');?></p> <ul> <li><code>upload_max_filesize</code></li> <li><code>post_max_size</code></li> <li><code>memory_limit</code></li> <li><code>max_input_time</code></li> <li><code>max_execution_time</code> <?php echo _('(set to 0 so that execution won\'t time out indefinitely)');?></li> </ul> <p><?php echo _('Alternatively, try splitting your huge CSV file into several smaller sized CSV files and import them one after another.');?></p> </div> <?php elseif($err==4):?> <div class="alert alert-error"> <button type="button" class="close" data-dismiss="alert">×</button> <strong><?php echo _('Could not upload file. Please make sure permissions in /uploads/ folder is set to 777. Then remove the /csvs/ folder in the /uploads/ folder and try again.');?></strong> </div> <?php endif;?> <label class="control-label" for="csv_file"><em><?php echo _('CSV format');?>:</em></label> <ul> <li><?php echo _('Format your CSV the same way as the example below');?> <a href="<?php echo get_app_info('path');?>/includes/subscribers/sample-csv.php?l=<?php echo $lid;?>" title="" style="text-decoration:underline;">(<?php echo _('download sample CSV file');?>)</a></li> <li><?php echo _('Your CSV columns should be separated by commas, not semi-colons or any other characters');?></li> <li><?php echo _('The number of columns in your CSV should be the same as the example below');?></li> <li><?php echo _('If you want to import more than just name & email');?>, <a href="<?php echo get_app_info('path');?>/custom-fields?i=<?php echo $app;?>&l=<?php echo $lid;?>" title="" style="text-decoration:underline;"><?php echo _('create custom fields first');?></a></li> </ul> <table class="table table-bordered table-striped table-condensed" style="width: 300px;"> <tbody> <tr> <th><?php echo _('Name');?></th> <th><?php echo _('Email');?></th> <?php $q = 'SELECT custom_fields FROM lists WHERE id = '.$lid; $r = mysqli_query($mysqli, $q); if ($r) { while($row = mysqli_fetch_array($r)) { $custom_field = $row['custom_fields']; } if($custom_field!='') { $custom_field_array = explode('%s%', $custom_field); foreach($custom_field_array as $cf) { $cf_array = explode(':', $cf); echo '<th>'.$cf_array[0].'</th>'; } } } ?> </tr> <tr> <td>Philip Morris</td> <td>pmorris@gmail.com</td> <?php $q = 'SELECT custom_fields FROM lists WHERE id = '.$lid; $r = mysqli_query($mysqli, $q); if ($r) { while($row = mysqli_fetch_array($r)) { $custom_field = $row['custom_fields']; } if($custom_field!='') { $custom_field_array = explode('%s%', $custom_field); foreach($custom_field_array as $cf) { echo '<td></td>'; } } } ?> </tr> <tr> <td>Jane Webster</td> <td>jwebster@gmail.com</td> <?php $q = 'SELECT custom_fields FROM lists WHERE id = '.$lid; $r = mysqli_query($mysqli, $q); if ($r) { while($row = mysqli_fetch_array($r)) { $custom_field = $row['custom_fields']; } if($custom_field!='') { $custom_field_array = explode('%s%', $custom_field); foreach($custom_field_array as $cf) { echo '<td></td>'; } } } ?> </tr> </tbody> </table> <div class="control-group"> <div class="controls"> <input type="file" class="input-xlarge" id="csv_file" name="csv_file"> </div> </div> <?php //check if cron is set up $q = 'SELECT cron_csv FROM login WHERE id = '.get_app_info('main_userID'); $r = mysqli_query($mysqli, $q); if ($r) while($row = mysqli_fetch_array($r)) $cron = $row['cron_csv']; //get server path $server_path_array = explode('update-list.php', $_SERVER['SCRIPT_FILENAME']); $server_path = $server_path_array[0]; //Get gdpr_options $q = 'SELECT gdpr_options FROM apps WHERE id = '.get_app_info('app'); $r = mysqli_query($mysqli, $q); if ($r) while($row = mysqli_fetch_array($r)) $gdpr_options = $row['gdpr_options']; ?> <?php if($gdpr_options):?> <div class="control-group"> <div class="checkbox"> <label><input type="checkbox" name="gdpr_tag"><?php echo _('Apply <span class="label label-warning">GDPR</span> tag to imported subscribers?');?> <a href="javascript:void(0)" title="<?php echo _('If your data includes EU subscribers that were collected in a GDPR compliant manner, check this box to apply a \'GDPR\' tag to all of them. In your brand settings, you can turn on the \'GDPR\' safe switch\' so that Campaigns and Autoresponders will only always send to subscribers tagged with \'GDPR\'.');?>"><span class="icon icon-info-sign"></span></a></label> </div> </div> <br/> <?php endif;?> <input type="hidden" name="list_id" value="<?php echo $lid;?>"> <input type="hidden" name="app" value="<?php echo $app;?>"> <input type="hidden" name="cron" value="<?php echo $cron;?>"> <button type="submit" class="btn btn-inverse"><i class="icon icon-double-angle-down"></i> <?php echo _('Import');?></button> <br/><br/> <?php if(!$cron && !get_app_info('is_sub_user')): ?> <p class="alert alert-info" style="width: 70%;"><i class="icon icon-info-sign"></i> <?php echo _('If your CSV is huge and your server constantly timeout');?>, <a href="#cron-instructions" data-toggle="modal" style="text-decoration:underline;"><?php echo _('setup a cron job');?></a>. <?php echo _('By setting up a cron job, your CSV will continue to import without needing your window to be opened and timeouts will automatically be handled as well.');?></p> <div id="cron-instructions" class="modal hide fade"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal">×</button> <h3><i class="icon icon-time" style="margin-top: 5px;"></i> <?php echo _('Add a cron job');?></h3> </div> <div class="modal-body"> <p><?php echo _('To import large CSVs more reliably and have Sendy handle server timeouts, add a');?> <a href="http://en.wikipedia.org/wiki/Cron" target="_blank" style="text-decoration:underline"><?php echo _('cron job');?></a> <?php echo _('with the following command.');?></p> <h3><?php echo _('Time Interval');?></h3> <pre id="command">*/1 * * * * </pre> <h3><?php echo _('Command');?></h3> <pre id="command">php <?php echo $server_path;?>import-csv.php > /dev/null 2>&1</pre> <p><em><?php echo _('(Note that adding cron jobs vary from hosts to hosts, most offer a UI to add a cron job easily. Check your hosting control panel or consult your host if unsure.)');?></em>.</p> <p><?php echo _('The above cron job runs every 1 minute. You can set it at 5 minutes (eg. */5) or any interval you want. The shorter the interval, the faster your CSV will start to import. Once added, wait for cron job to start running. If your cron job is functioning correctly, the blue informational message will disappear and future CSV imports will be done via cron.');?></p> </div> <div class="modal-footer"> <a href="#" class="btn btn-inverse" data-dismiss="modal"><i class="icon icon-ok-sign"></i> <?php echo _('Okay');?></a> </div> </div> <script type="text/javascript"> $(document).ready(function() { $("#command, #cronjob").click(function(){ $(this).selectText(); }); }); </script> <?php endif;?> </form> <br/> <hr/> <h2><?php echo _('Add name and email per line');?></h2><br/> <form action="<?php echo get_app_info('path')?>/includes/subscribers/line-update.php" method="POST" accept-charset="utf-8" class="form-vertical" enctype="multipart/form-data" id="line-import-form"> <?php if($err==2):?> <div class="alert alert-error"> <button type="button" class="close" data-dismiss="alert">×</button> <strong><?php echo _('Sorry, we didn\'t receive any input.');?></strong> </div> <?php endif;?> <label class="control-label" for="line"><?php echo _('Name and email');?><br/><em style="color:#A1A1A1">(<?php echo _('to import more than just name and email, import via CSV');?>)</em></label> <div class="control-group"> <div class="controls"> <textarea class="input-xlarge" id="line" name="line" rows="10" style="width: 300px;" placeholder="Eg. Herman Miller,hermanmiller@gmail.com"></textarea> </div> </div> <input type="hidden" name="list_id" value="<?php echo $lid;?>"> <input type="hidden" name="app" value="<?php echo $app;?>"> <?php if($gdpr_options):?> <div class="control-group"> <div class="checkbox"> <label><input type="checkbox" name="gdpr_tag"><?php echo _('Apply <span class="label label-warning">GDPR</span> tag to imported subscribers?');?> <a href="javascript:void(0)" title="<?php echo _('If your data includes EU subscribers that were collected in a GDPR compliant manner, check this box to apply a \'GDPR\' tag to all of them. In your brand settings, you can turn on the \'GDPR\' safe switch\' so that Campaigns and Autoresponders will only always send to subscribers tagged with \'GDPR\'.');?>"><span class="icon icon-info-sign"></span></a></label> </div> </div> <br/> <?php endif;?> <button type="submit" class="btn btn-inverse"><i class="icon icon-double-angle-down"></i> <?php echo _('Add');?></button> </form> </div> </div> <?php include('includes/footer.php');?>