Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
226 | daniel-mar | 1 | <?php |
2 | |||
3 | set_time_limit(0); |
||
4 | |||
5 | include_once __DIR__ . '/../../includes/oid_plus.inc.php'; |
||
6 | include_once __DIR__ . '/../../includes/oid_utils.inc.php'; |
||
7 | include_once __DIR__ . '/../../includes/config.inc.php'; |
||
8 | include_once __DIR__ . '/../../includes/gui.inc.php'; |
||
9 | |||
10 | # TODO: HTML header etc |
||
11 | |||
12 | $db = new OIDPlus(__DIR__ . '/../../db/local.conf', true); |
||
13 | $db->addDir(__DIR__ . '/../../db'); |
||
14 | |||
15 | $x = $db->listAllOIDs('.'); |
||
16 | foreach ($x as $oid) { |
||
17 | $query = $oid; |
||
18 | if (!$db->oidDescribed($query)) continue; |
||
19 | |||
20 | echo "<h2>$oid</h2>"; |
||
21 | $cont = $db->showSingleOID($oid, '', OIDPlus::SEG_OIDDATA, false); |
||
22 | $cont = $db->filterRedactedEntries($cont); |
||
23 | showHTML($cont, $db, false); |
||
24 | } |