3 function begin_page($lang = 'en', $title = null) {
4 echo '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" ';
5 echo '"http://www.w3.org/TR/html4/strict.dtd">' . "\n\n";
6 echo '<html lang="' . $lang . '">' . "\n";
9 echo "<title>$title | ngIRCd: Next Generation IRC Daemon</title>";
11 echo '<title>ngIRCd: Next Generation IRC Daemon</title>';
12 echo '<meta http-equiv="content-type" content="text/html; charset=utf-8">';
13 echo '<meta http-equiv="content-language" content="' . $lang . '">';
14 echo '<meta name="author" content="Alexander Barton">';
15 echo '<meta name="author-email" content="alex@barton.de">';
16 echo '<meta name="MSSmartTagsPreventParsing" content="TRUE">';
17 echo '<link rel="stylesheet" href="common/styles.css" type="text/css" media="screen">';
18 echo '<link rel="author" href="mailto:alex@barton.de" title="E-Mail an Alex">';
19 echo '<script type="text/javascript" src="common/mootools.js"></script>';
20 echo '<script type="text/javascript" src="common/slide.js"></script>';
21 echo "</head>\n<body>";
22 echo '<div id="bodyBox">';
25 echo '<div id="sloganhead">';
26 echo '<h1 class="titel">ng<span>IRC</span>d: Next Generation IRC Daemon</h1>';
27 echo '<p style="font-family: Georgia">“… serving <em>white hat</em> 6667!”</p>';
31 echo '<ul class="nav">';
34 echo '<li><a href="index.php.de">ngIRCd</a></li>';
35 echo '<li><a href="news.php.de">Neuigkeiten</a></li>';
36 echo '<li><a href="download.php.de">Download</a></li>';
37 echo '<li><a href="documentation.php.de">Dokumentation</a></li>';
38 echo '<li><a href="support.php.de">Support</a></li>';
39 echo '<li><a href="bugtracker.php.de">Bug-Tracker</a></li>';
42 echo '<li><a href="index.php.en">ngIRCd</a></li>';
43 echo '<li><a href="news.php.en">News</a></li>';
44 echo '<li><a href="download.php.en">Download</a></li>';
45 echo '<li><a href="documentation.php.en">Documentation</a></li>';
46 echo '<li><a href="support.php.en">Support</a></li>';
47 echo '<li><a href="bugtracker.php.en">Bug-Tracker</a></li>';
49 echo '</ul><br style="clear:both">';
51 echo '<div id="content">';
56 echo '<p id="footer">ngIRCd ©2001-2008 Alexander Barton</p>';
57 echo '</div></body></html>';