Changeset 507 for trunk/system/generators/firewall_nat.php
- Timestamp:
- Apr 1, 2013, 7:14:59 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/generators/firewall_nat.php
r440 r507 6 6 include('common.php'); 7 7 $Path = array('ip', 'firewall', 'nat'); 8 $Database = &$System->Database; 8 9 9 10 $Routerboard = new Routerboard($Config['MainRouter']['HostName']); … … 36 37 //$Items[] = array('chain' => 'inet-in', 'dst-address' => '172.16.1.1/30', 'action' => 'accept', 'comment' => 'Local_subnet'); 37 38 38 $DbResult = $Database->query('SELECT `Member`.*, `Subject`.`Name` FROM `Member` JOIN `Subject` ON `Member`.`Subject` = `Subject`.`Id`'); 39 $DbResult = $Database->query('SELECT `Member`.*, `Subject`.`Name` FROM `Member` '. 40 'LEFT JOIN `Subject` ON `Subject`.`Id` = `Member`.`Subject` '. 41 'WHERE `Member`.`Blocked` = 0'); 39 42 while($Member = $DbResult->fetch_assoc()) 40 43 {
Note:
See TracChangeset
for help on using the changeset viewer.