'. 'the ddclient project page on sourceforge'; $link['download'] = ''. 'sourceforge'."\n"; $link['developers'] = "developers for ddclient on sourceforge"; // Setting debugshit if (isset($_REQUEST['debug'])) { $debug = !($_REQUEST['debug'] == 0); } else if (isset($_SESSION['debug'])) { $debug = $_SESSION['debug']; } else { $debug = 0; } $_SESSION['debug'] = $debug; // pages information; should be in a database // main $pages[0]['nr'] = 0; $pages[0]['title'] = "home"; $pages[0]['php'] = "home.php"; // documentation $pages[1]['nr'] = 1; $pages[1]['title'] = "usage"; $pages[1]['php'] = "doc.php"; $pages[2]['nr'] = 2; $pages[2]['title'] = "supported protocols"; $pages[2]['php'] = "protocol.php"; $pages[3]['nr'] = 3; $pages[3]['title'] = "supported routers"; $pages[3]['php'] = "router.php"; if ($debug) { $pages[4]['nr'] = 4; $pages[4]['title'] = "xml"; $pages[4]['php'] = "xml.php"; } $curpage = isset($_GET['page'])?$_GET['page']:0; $titleextra = $pages[$curpage]['title']; $page = $pages[$curpage]['nr']; require($pages[$page]['php']); ?>
Thanks
Website design based on Sinorca Ddclient was originally written by Paul Burry M for choosing the colors Website is hosted on