EscapeString($_GET['del']); $db->Query("DELETE FROM `blacklist` WHERE `type`='2' AND `id`='".$del."'"); } if(isset($_POST['add'])){ $value = $db->EscapeString($_POST['value']); if($db->QueryGetNumRows("SELECT id FROM `blacklist` WHERE `type`='2' AND `value`='".$value."' LIMIT 1") > 0){ $msg = '
ERROR: Domain name already added!
'; }elseif(!preg_match('/^[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})/', $value)){ $msg = '
ERROR: Domain name must be something like domain.com
'; }else{ $db->Query("INSERT INTO `blacklist` (`value`,`type`)VALUES('".$value."','2')"); $msg = '
SUCCESS: Domain name was successfully added on blacklist!
'; } } ?>

Warning: Undefined variable $msg in /home/e9z75nuytgch/public_html/buysell/blacklist.php on line 23

Blacklist

Add domain name in blacklist

Info

Here you can add domain names in blacklist. If an domain name is added on blacklist, nobody can't add a web page from the blacklisted domain, in the system (is not applied for all modules, some modules like facebook, twitter followers, youtube, etc. are excluded from blacklist checking system). You can suspend an domain name like domain.com

Websites already added are not affected.

QueryFetchArrayAll("SELECT id,value FROM `blacklist` WHERE `type`='2' ORDER BY `id` DESC"); foreach($blacklist as $black){ ?>
ID Domain Name Delete

Warning: Undefined variable $black in /home/e9z75nuytgch/public_html/buysell/blacklist.php on line 70

Warning: Trying to access array offset on value of type null in /home/e9z75nuytgch/public_html/buysell/blacklist.php on line 70

Warning: Undefined variable $black in /home/e9z75nuytgch/public_html/buysell/blacklist.php on line 71

Warning: Trying to access array offset on value of type null in /home/e9z75nuytgch/public_html/buysell/blacklist.php on line 71
EscapeString($_GET['del']); $db->Query("DELETE FROM `blacklist` WHERE `type`='3' AND `id`='".$del."'"); } if(isset($_POST['add'])){ $value = $db->EscapeString($_POST['value']); if($db->QueryGetNumRows("SELECT id FROM `blacklist` WHERE `type`='3' AND `value`='".$value."' LIMIT 1") > 0){ $msg = '
ERROR: IP address already added!
'; }elseif(!preg_match('^([1-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\.([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])){3}^', $value)){ $msg = '
ERROR: IP address must be something like 255.255.255.255
'; }else{ $db->Query("INSERT INTO `blacklist` (`value`,`type`)VALUES('".$value."','3')"); $msg = '
SUCCESS: IP address was successfully added on blacklist!
'; } } ?>

Warning: Undefined variable $msg in /home/e9z75nuytgch/public_html/buysell/blacklist.php on line 103

Blacklist

Add IP in blacklist

Info

Here you can add IP's in blacklist. If an IP is added on blacklist, nobody can't register or login on website from blacklisted IP address. You can suspend an IP address like 255.255.255.255

QueryFetchArrayAll("SELECT id,value FROM `blacklist` WHERE `type`='3' ORDER BY `id` DESC"); foreach($blacklist as $black){ ?>
ID IP Delete

Warning: Undefined variable $black in /home/e9z75nuytgch/public_html/buysell/blacklist.php on line 149

Warning: Trying to access array offset on value of type null in /home/e9z75nuytgch/public_html/buysell/blacklist.php on line 149

Warning: Undefined variable $black in /home/e9z75nuytgch/public_html/buysell/blacklist.php on line 150

Warning: Trying to access array offset on value of type null in /home/e9z75nuytgch/public_html/buysell/blacklist.php on line 150
EscapeString($_GET['del']); $db->Query("DELETE FROM `blacklist` WHERE `type`='1' AND `id`='".$del."'"); } if(isset($_POST['add'])){ $value = $db->EscapeString($_POST['value']); if($db->QueryGetNumRows("SELECT id FROM `blacklist` WHERE `type`='1' AND `value`='".$value."' LIMIT 1") > 0){ $msg = '
ERROR: Email address already added!
'; }elseif(!preg_match('/^(.*)@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})/', $value)){ $msg = '
ERROR: Email must be something like name@email.com or @email.com
'; }else{ $db->Query("INSERT INTO `blacklist` (`value`,`type`)VALUES('".$value."','1')"); $msg = '
SUCCESS: Email address was successfully added on blacklist!
'; } } ?>

Warning: Undefined variable $msg in /home/e9z75nuytgch/public_html/buysell/blacklist.php on line 182

Blacklist

Add email in blacklist

Info

Here you can add emails in blacklist. If an email is added on blacklist, nobody can't register on website using this email address. You can suspend only one email like name@email.com or you can suspend all emails, adding email in this form: @email.com

If you add something like @email.com, all emails ending with @email.com will not be allowed anymore. Emails already registered are not affected.

QueryFetchArrayAll("SELECT id,value FROM `blacklist` WHERE `type`='1' ORDER BY `id` DESC"); foreach($blacklist as $black){ ?>
ID Email Delete

Warning: Undefined variable $black in /home/e9z75nuytgch/public_html/buysell/blacklist.php on line 229

Warning: Trying to access array offset on value of type null in /home/e9z75nuytgch/public_html/buysell/blacklist.php on line 229

Warning: Undefined variable $black in /home/e9z75nuytgch/public_html/buysell/blacklist.php on line 230

Warning: Trying to access array offset on value of type null in /home/e9z75nuytgch/public_html/buysell/blacklist.php on line 230