Revision f955f036
Added by Jim Pingle almost 12 years ago
usr/local/www/status_captiveportal.php | ||
---|---|---|
95 | 95 |
} |
96 | 96 |
} |
97 | 97 |
|
98 |
// Load MAC-Manufacturer table |
|
99 |
$mac_man = load_mac_manufacturer_table(); |
|
100 |
|
|
98 | 101 |
?> |
99 | 102 |
|
100 | 103 |
<?php if (!empty($cpzone) && isset($config['voucher'][$cpzone]['enable'])): ?> |
... | ... | |
157 | 160 |
<?php foreach ($cpdb as $cpent): ?> |
158 | 161 |
<tr> |
159 | 162 |
<td class="listlr"><?=$cpent[2];?></td> |
160 |
<td class="listr"><?=$cpent[3];?> </td> |
|
163 |
<td class="listr"> |
|
164 |
<?php |
|
165 |
$mac=trim($cpent[3]); |
|
166 |
if (!empty($mac)) { |
|
167 |
$mac_hi = strtoupper($mac[0] . $mac[1] . $mac[3] . $mac[4] . $mac[6] . $mac[7]); |
|
168 |
print htmlentities($mac); |
|
169 |
if(isset($mac_man[$mac_hi])){ print "<br/><font size=\"-2\"><i>{$mac_man[$mac_hi]}</i></font>"; } |
|
170 |
} |
|
171 |
?> |
|
172 |
</td> |
|
161 | 173 |
<td class="listr"><?=$cpent[4];?> </td> |
162 | 174 |
<td class="listr"><?=htmlspecialchars(date("m/d/Y H:i:s", $cpent[0]));?></td> |
163 | 175 |
<?php if ($_GET['showact']): |
Also available in: Unified diff
Add the MAC manufacturer code to the CP status page