'; if ($mode != 'index') { // Assume we're trying to display things if ($name == 'LINK') { if (($mode == 'all') || ( ($info['SHOW']) && ($info['URL']) ) ) { // This is a link we want echo ''; if (!$info['TITLE']) $info['TITLE'] = $info['URL']; $date = date('j<\sup>S M Y', strtotime($info['DATE'])); echo '

'; if ($info['LOGO']) { $size = getimagesize($info['LOGO']); echo ''.$info['TITLE'].''; } else { echo $info['TITLE']; } echo '   ('.$date.')
'; echo $info['TEXT']; echo '

'; } } } $currentTag = ""; } // process data between tags function characterData($parser, $data) { global $info, $counts, $currentTag, $mode, $lastDate; if ($mode == 'index') { if ($currentTag == 'CAT') { $counts[$data] ++; if ((!$info[$data]) || ($info[$data] < $lastDate)) { $info[$data] = $lastDate; }; } else if ($currentTag == 'DATE') { $lastDate = strtotime($data); } } else { if ($currentTag == 'CAT') { if ($mode == $data) { $info['SHOW'] = true; } } else { $info[$currentTag] = $info[$currentTag].$data; } } } // // *** End of XML control content *** // // // *** Code to generate content *** // // Include the header; head($style, 'Links', ''); // initialize parser $xml_parser = xml_parser_create(); $file = 'content/links.xml'; if ($mode == 'index') { ?>

Caught in the web? Let us find you a site to waste time at. Choose a category of link from the list below (note some links appear in more than one category).

If you really can't choose then click here to view all links.

Return to index page