lib('api')); include($app->lib('indices')); include($app->lib('tags')); if (!ctype_alnum($first = $_SERVER['PATH_INFO']{1})) { header('Location: ' . $app->iURI . $app->x . $app->alnum[0]); exit; } if (ctype_lower($first)) $first = chr(ord($first) - (ord('a') - ord('A'))); $page['class'] = $page['title'] = $app->name; $page['h1'] = strtoupper($app->name) . $app->x . $app->index; $page['title'] .= ': ' . $app->title . ': ' . $app->Index . ': ' . $first; $page['keywords'] = implode(',', array_keys(top_tags($words, true))); $page['description'] = $app->name . meta_desc(1); $page['CID'] = $cid; include('body.php'); include('abbr.php'); doctype(); head(array( 'resource', 'lists', ), array('YellowFade')); body(); navs(); content(); $header = ihead(); $indexA = AZindex($first); $indexD = Z9index($first); echo <<<_A $header

This is an informal index. Individual authors are sorted by full name rather than last, first and are combined with non-individuals (group or team efforts).

$indexA

$indexD _A; if ($authors = authors($first)) { $total = strong($app->authors); $found = '

' . strong(count($authors), 'dred') . ' of ' . $total; $found .= ' total ' . strong($app->index . 's') . '/teams matched your request:

'; print_l($found); $match = array(); foreach ($authors as $id) { print_l(author_head($id)); // list resources by title if ($resource = resources($id, 'aid', 'title')) { print_l(''); } } if ($match) { print_l(heading(3, 'matches', 'Category Matches for ' . $app->Index . ' Index ' . $first, 'Category Matches', 'point')); foreach ($match as $id) { $crumbs = cat_crumbs($id, true); print_l('
' . $crumbs . '
'); } } } else { $sorry = '

Sorry, no ' . strong($app->index . 's'); $sorry .= ' in the ' . strong($first, 'dred') . ' index.

'; print_l($sorry); } print_l(heading(3, 'index', null, 'Other Indexes', 'point')); print_l('
'); foreach ($app->indexes as $i) if ($i != $app->index) print_l($app->crumb[$i]); print_l('
'); $OPML = image('fav/drx/logo/drxOPML.gif', null, null, 'rss'); $feed = anchor('/drx/drx.opml', $OPML, 'Download an OPML of the entire directory', null, null, null, 'text/xml'); include($app->lib('search')); $form = form($query); echo <<<_B $form $feed $dmoz->button $google _B; updated(); footer(); // drx/author ?>