OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
cream
/
sendy
/
includes
/
subscribers
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/27/2025 10:27:13 AM
rwxr-xr-x
📄
custom-fields.php
2.13 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
delete-blocked-domain.php
500 bytes
05/19/2025 10:07:15 AM
rw-r--r--
📄
delete-inactive.php
1.53 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
delete-suppressed-email.php
496 bytes
05/19/2025 10:07:15 AM
rw-r--r--
📄
delete-unconfirmed.php
2.17 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
delete.php
1.38 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
edit.php
4.93 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
export-blocked-domains.php
1.75 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
export-csv.php
7.22 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
export-suppression-list.php
1.75 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
housekeeping-no-clicks.php
407 bytes
05/19/2025 10:07:15 AM
rw-r--r--
📄
housekeeping-no-opens.php
406 bytes
05/19/2025 10:07:15 AM
rw-r--r--
📄
housekeeping.php
12.14 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
import-add.php
1.06 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
import-blocked-domain-list.php
2.91 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
import-blocked-domain-list2.php
1.91 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
import-delete.php
1.98 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
import-suppression-list.php
2.88 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
import-suppression-list2.php
1.89 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
import-unsubscribe.php
2.01 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
import-update.php
13.07 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
line-delete.php
1.02 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
line-unsubscribe.php
1.04 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
line-update.php
5.34 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
main.php
8.13 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
sample-csv.php
1.2 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
save-gdpr.php
1.15 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
subscribe-form.php
4.09 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
subscriber-info.php
17.55 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
unsubscribe.php
881 bytes
05/19/2025 10:07:15 AM
rw-r--r--
Editing: export-suppression-list.php
Close
<?php include('../functions.php');?> <?php include('../login/auth.php');?> <?php /********************************/ $userID = get_app_info('main_userID'); $app = isset($_GET['i']) && is_numeric($_GET['i']) ? get_app_info('app') : exit; //Check if sub user is trying to download CSVs from other brands 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')).'/blacklist-suppression?i='.get_app_info('restricted_to_app').'"</script>'; exit; } } //Get brand name $q = 'SELECT app_name FROM apps WHERE id = '.$app; $r = mysqli_query($mysqli, $q); if ($r && mysqli_num_rows($r) > 0) while($row = mysqli_fetch_array($r)) $brand_name = convert_to_filename($row['app_name']); //File name $filename = $brand_name.'-suppression-list.csv'; $q2 = 'SELECT email, timestamp, block_attempts FROM suppression_list WHERE app = '.$app.' ORDER BY block_attempts DESC, timestamp DESC'; $r2 = mysqli_query($mysqli, $q2); if ($r2 && mysqli_num_rows($r2) > 0) { $data = ''; while($row = mysqli_fetch_array($r2)) { $email = $row['email']; $timestamp = '"'.parse_date_csv($row['timestamp']).'"'; $block_attempts = $row['block_attempts']; $data .= $email.','.$timestamp.',"'.$block_attempts.'"'."\n"; } $data = substr($data, 0, -1); //Header $first_line = '"'._('Email').'","'._('Last update').'","'._('Block attempts').'"'."\n"; $data = $first_line.str_replace("\r" , "" , $data); } if($data == "") $data = "\n(0) Records Found!\n"; header("Content-type: application/octet-stream"); header("Content-Disposition: attachment; filename=\"$filename\""); header("Pragma: no-cache"); header("Expires: 0"); print "$data"; ?>