"; if ($link) { print ""; } print "\"$a\""; if ($link) { print "\n"; } print "\n"; } function thltm_print_title ($title) { print ""; print ""; print ""; print "".strtoupper ($title).""; print ""; print ""; print "\n"; } function thltm_print_navigation ($info) { $parent = $info['parent']; print "\n"; print "\n"; if ($info['catprev']) { $link = "index.php3?dpt=".$parent['path']."/".$info['catprev']; } else { $link = ""; } thltm_print_button ("gray-left", "BACK", $link); $link = "index.php3?dpt=".$parent['parent']['path']; thltm_print_button ("gray-up", "UP", $link); thltm_print_button ("gray-right", "FORWARD", ""); if ($info["category"]) { $category = $info["category"]; } else { $category = "story"; } thltm_print_title ($category); print "\n"; print "\n"; thltm_print_button ("red-left", "BACK", ""); $link = "index.php3?dpt=".$parent['path']; thltm_print_button ("red-up", "UP", $link); thltm_print_button ("red-right", "FORWARD", ""); thltm_print_title ($parent["title"]); print "\n"; print "\n"; if ($info['prev']) { $link = "index.php3?dpt=".$parent['path']."/".$info['prev']; } else { $link = ""; } thltm_print_button ("black-left", "BACK", $link); if ($info['next']) { $link = "index.php3?dpt=".$parent['path']."/".$info['next']; } else { $link = ""; } thltm_print_button ("black-up", "UP", ""); thltm_print_button ("black-right", "FORWARD", $link); thltm_print_title ($info["title"]); print "\n"; print "
\n"; } } ?>