|
@@ 657-661 (lines=5) @@
|
| 654 |
|
$ban_items[$row['id_ban']]['type'] = 'ip'; |
| 655 |
|
$ban_items[$row['id_ban']]['ip'] = range2ip($row['ip_low'], $row['ip_high']); |
| 656 |
|
} |
| 657 |
|
elseif (!empty($row['hostname'])) |
| 658 |
|
{ |
| 659 |
|
$ban_items[$row['id_ban']]['type'] = 'hostname'; |
| 660 |
|
$ban_items[$row['id_ban']]['hostname'] = str_replace('%', '*', $row['hostname']); |
| 661 |
|
} |
| 662 |
|
elseif (!empty($row['email_address'])) |
| 663 |
|
{ |
| 664 |
|
$ban_items[$row['id_ban']]['type'] = 'email'; |
|
@@ 662-666 (lines=5) @@
|
| 659 |
|
$ban_items[$row['id_ban']]['type'] = 'hostname'; |
| 660 |
|
$ban_items[$row['id_ban']]['hostname'] = str_replace('%', '*', $row['hostname']); |
| 661 |
|
} |
| 662 |
|
elseif (!empty($row['email_address'])) |
| 663 |
|
{ |
| 664 |
|
$ban_items[$row['id_ban']]['type'] = 'email'; |
| 665 |
|
$ban_items[$row['id_ban']]['email'] = str_replace('%', '*', $row['email_address']); |
| 666 |
|
} |
| 667 |
|
elseif (!empty($row['id_member'])) |
| 668 |
|
{ |
| 669 |
|
$ban_items[$row['id_ban']]['type'] = 'user'; |