|
@@ 688-692 (lines=5) @@
|
| 685 |
|
$ban_items[$row['id_ban']]['type'] = 'ip'; |
| 686 |
|
$ban_items[$row['id_ban']]['ip'] = range2ip($row['ip_low'], $row['ip_high']); |
| 687 |
|
} |
| 688 |
|
elseif (!empty($row['hostname'])) |
| 689 |
|
{ |
| 690 |
|
$ban_items[$row['id_ban']]['type'] = 'hostname'; |
| 691 |
|
$ban_items[$row['id_ban']]['hostname'] = str_replace('%', '*', $row['hostname']); |
| 692 |
|
} |
| 693 |
|
elseif (!empty($row['email_address'])) |
| 694 |
|
{ |
| 695 |
|
$ban_items[$row['id_ban']]['type'] = 'email'; |
|
@@ 693-697 (lines=5) @@
|
| 690 |
|
$ban_items[$row['id_ban']]['type'] = 'hostname'; |
| 691 |
|
$ban_items[$row['id_ban']]['hostname'] = str_replace('%', '*', $row['hostname']); |
| 692 |
|
} |
| 693 |
|
elseif (!empty($row['email_address'])) |
| 694 |
|
{ |
| 695 |
|
$ban_items[$row['id_ban']]['type'] = 'email'; |
| 696 |
|
$ban_items[$row['id_ban']]['email'] = str_replace('%', '*', $row['email_address']); |
| 697 |
|
} |
| 698 |
|
elseif (!empty($row['id_member'])) |
| 699 |
|
{ |
| 700 |
|
$ban_items[$row['id_ban']]['type'] = 'user'; |