Files

13 lines
511 B
PHP
Raw Permalink Normal View History

2017-03-11 14:30:31 +01:00
<?php
2020-09-21 15:40:17 +02:00
2017-03-11 14:30:31 +01:00
$pagetitle[] = 'Metro Ethernet';
echo '<table border="0" cellspacing="0" cellpadding="5" width="100%" class="table table-condensed"><tr class="tablehead"><th>Link</th><th>Type</th><th>MTU</th><th>Admin State</th><th>Row State</th></tr>';
$i = '1';
2020-09-21 15:40:17 +02:00
foreach (dbFetchRows('SELECT `mefIdent`,`mefType`,`mefMTU`,`mefAdmState`,`mefRowState` FROM `mefinfo` WHERE `device_id` = ? ORDER BY `mefID`', [$device['device_id']]) as $mef) {
2019-04-11 23:26:42 -05:00
include 'includes/html/print-mef.inc.php';
2017-03-11 14:30:31 +01:00
$i++;
}
echo '</table>';