1) { $form = new Form(false); $section = new Form_Section('Captive Portal Zone'); $zonelist = array("" => 'None'); foreach ($a_cp as $cpkey => $cp) { $zonelist[$cpkey] = $cp['zone']; } $section->addInput(new Form_Select( 'zone', 'Display Zone', $cpzone, $zonelist ))->setOnchange('this.form.submit()'); $form->add($section); print($form); } if (!empty($cpzone)): ?>
=gettext("IP address")?> | =gettext("MAC address")?> | =gettext("Username")?> | =gettext("Session start")?> | =gettext("Last activity")?> | |||
---|---|---|---|---|---|---|---|
=$cpent[2]?> | {$mac_man[$mac_hi]}"; } } ?> | =htmlspecialchars($cpent[4])?> | =htmlspecialchars(date("m/d/Y H:i:s", $cpent[0]))?> | =htmlspecialchars(date("m/d/Y H:i:s", $cpent[0]))?> | =gettext("Disconnect")?> |