Lines Matching refs:row
22 $row = $db->query("SELECT dump FROM eventlog WHERE rowid=$id")->fetch();
23 $dump = $row['dump'];
41 $row = $db->query("SELECT $mo FROM users WHERE rowid=$id")->fetch();
44 echo $row[$mo];
49 $row = $db->query("SELECT cert_pem FROM users WHERE rowid=$id")->fetch();
51 echo $row['cert_pem'];
128 $row = $db->query("SELECT rowid,* FROM users WHERE rowid=$id")->fetch();
130 echo "<H3>" . $row['identity'] . "@" . $row['realm'] . "</H3>\n";
133 if (strlen($row['devinfo']) > 0) {
136 if (strlen($row['devdetail']) > 0) {
139 if (strlen($row['pps']) > 0) {
142 if (strlen($row['cert_pem']) > 0) {
148 if ($row['fetch_pps'] == "1") {
158 $cert = $row['cert'];
164 $rem = $row['remediation'];
168 $row['rowid'] . "\">add:user</a>]";
170 $row['rowid'] . "\">add:machine</a>]";
172 $row['rowid'] . "\">add:policy</a>]";
174 $row['rowid'] . "\">add:free</a>]";
177 $row['rowid'] . "\">clear</a>]";
180 $row['rowid'] . "\">clear</a>]";
183 $row['rowid'] . "\">clear</a>]";
186 $row['rowid'] . "\">clear</a>]";
192 $row['rowid'] . "&policy=' + this.value;\">\n";
193 echo "<option value=\"" . $row['policy'] . "\" selected>" . $row['policy'] .
199 if ($file == $row['policy'] . ".xml")
209 $row['rowid'] . "&type=' + this.value;\">\n";
210 if ($row['shared'] > 0) {
221 echo "Phase 2 method(s): " . $row['methods'] . "<br>\n";
225 $row['rowid'] . "\">Reset AAA password</a><br>\n";
228 echo "<form action=\"users.php?cmd=set-osu-cred&id=" . $row['rowid'] .
232 $row['osu_user'] . "\">\n";
239 $user = $row['identity'];
240 $osu_user = $row['osu_user'];
241 $realm = $row['realm'];
272 foreach ($res as $row) {
275 echo "<td>" . $row['user'] . "\n";
276 echo "<td>" . $row['realm'] . "\n";
278 echo "<td>" . $row['timestamp'] . "\n";
279 echo "<td>" . $row['addr'] . "\n";
280 echo "<td>" . $row['sessionid'] . "\n";
281 echo "<td>" . $row['notes'] . "\n";
282 $d = $row['dump'];
284 echo "[<a href=\"users.php?cmd=eventlog&id=" . $row['rowid'] .
309 foreach ($res as $row) {
310 echo "<tr><td><a href=\"users.php?id=" . $row['rowid'] . "\"> " .
311 $row['identity'] . " </a>";
312 echo "<td>" . $row['realm'];
313 $rem = $row['remediation'];
326 echo "<td>" . $row['policy'];
327 if ($row['shared'] > 0)
331 echo "<td>" . $row['methods'];
334 xml_parse_into_struct($xml, $row['devinfo'], $devinfo);