"); echo "
"; } $caching = false; if ($caching) { start_cache(INDEX_PAGE_TTL); } $stopped = web_stopped(); $rssname = PROJECT . " RSS 2.0" ; $rsslink = URL_BASE . "/rss_main.php"; if (defined("CHARSET")) { header("Content-type: text/html; charset=".tr(CHARSET)); } echo ""; echo ""; if ($stopped) { echo " ".PROJECT." is temporarily shut down for maintenance. Please try again later. "; } else { db_init(); show_nav(); } echo " | "; if (!$stopped) { $profile = get_current_uotd(); if ($profile) { echo "
User of the day"; $user = lookup_user_id($profile->userid); echo uotd_thumbnail($profile, $user); echo user_links($user).""; echo sub_sentence(output_transform(strip_tags($profile->response1)), ' ', 150, true); echo " |
News"; show_news($project_news, 5); if (count($project_news) > 5) { echo "...more"; } echo " News is available as an RSS feed . |