@@ 29-32 (lines=4) @@ | ||
26 | <?php |
|
27 | // get all users currently in the log |
|
28 | $logs_user = record_sort(array_unique_multi($logs, 'internalKey'), 'username'); |
|
29 | foreach ($logs_user as $row) { |
|
30 | $selectedtext = $row['internalKey'] == $_REQUEST['searchuser'] ? ' selected="selected"' : ''; |
|
31 | echo "\t\t" . '<option value="' . $row['internalKey'] . '"' . $selectedtext . '>' . $row['username'] . "</option>\n"; |
|
32 | } |
|
33 | ?> |
|
34 | </select> |
|
35 | </div> |
|
@@ 65-68 (lines=4) @@ | ||
62 | <?php |
|
63 | // get all itemid currently in logging |
|
64 | $logs_items = record_sort(array_unique_multi($logs, 'itemid'), 'itemid'); |
|
65 | foreach ($logs_items as $row) { |
|
66 | $selectedtext = $row['itemid'] == $_REQUEST['itemid'] ? ' selected="selected"' : ''; |
|
67 | echo "\t\t" . '<option value="' . $row['itemid'] . '"' . $selectedtext . '>' . $row['itemid'] . "</option>\n"; |
|
68 | } |
|
69 | ?> |
|
70 | </select> |
|
71 | </div> |
|
@@ 81-84 (lines=4) @@ | ||
78 | <?php |
|
79 | // get all itemname currently in logging |
|
80 | $logs_names = record_sort(array_unique_multi($logs, 'itemname'), 'itemname'); |
|
81 | foreach ($logs_names as $row) { |
|
82 | $selectedtext = $row['itemname'] == $_REQUEST['itemname'] ? ' selected="selected"' : ''; |
|
83 | echo "\t\t" . '<option value="' . $row['itemname'] . '"' . $selectedtext . '>' . $row['itemname'] . "</option>\n"; |
|
84 | } |
|
85 | ?> |
|
86 | </select> |
|
87 | </div> |