echo htmlspecialchars($ifinfo['gatewayv6']); ?> </td> </tr> <?php } if ($ifdescr == 'wan' && file_exists('/etc/resolv.conf')) { ?> <tr> <td width="22%" class="vncellt"><?php echo gettext("ISP DNS servers"); ?> </td> <td width="78%" class="listr"> <?php $dns_servers = get_dns_servers(); foreach ($dns_servers as $dns) { echo "{$dns}<br />"; } ?> </td> </tr> <?php } } if ($ifinfo['media']) { ?> <tr> <td width="22%" class="vncellt"><?php echo gettext("Media"); ?>
echo $ifinfo['gatewayv6']; ?> </td> </tr> <?php } if ($ifdescr == 'wan' && file_exists('/etc/resolv.conf')) { ?> <tr> <td><?php echo gettext("ISP DNS servers"); ?> </td> <td> <?php foreach (get_dns_servers() as $dns) { echo "{$dns}<br />"; } ?> </td> </tr> <?php } } if (!empty($ifinfo['media'])) { ?> <tr> <td><?php echo gettext("Media"); ?> </td>