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="metaNav">';
28 echo 'Deutsch | <a href="index.php.en">English</a>';
31 echo '<a href="index.php.de">Deutsch</a> | English';
34 echo ' | <a href="mirrors.php">Mirrors</a></div>';
35 echo '<div id="sloganhead">';
36 echo '<h1 class="titel">ng<span>IRC</span>d: Next Generation IRC Daemon</h1>';
37 echo '<p style="font-family: Georgia">“… serving <em>white hat</em> 6667!”</p>';
41 echo '<ul class="nav">';
44 echo '<li><a href="index.php.de">ngIRCd</a></li>';
45 echo '<li><a href="news.php.de">Neuigkeiten</a></li>';
46 echo '<li><a href="download.php.de">Download</a></li>';
47 echo '<li><a href="documentation.php.de">Dokumentation</a></li>';
48 echo '<li><a href="support.php.de">Support</a></li>';
49 echo '<li><a href="bugtracker.php.de">Bug-Tracker</a></li>';
52 echo '<li><a href="index.php.en">ngIRCd</a></li>';
53 echo '<li><a href="news.php.en">News</a></li>';
54 echo '<li><a href="download.php.en">Download</a></li>';
55 echo '<li><a href="documentation.php.en">Documentation</a></li>';
56 echo '<li><a href="support.php.en">Support</a></li>';
57 echo '<li><a href="bugtracker.php.en">Bug-Tracker</a></li>';
59 echo '</ul><br style="clear:both">';
61 echo '<div id="content">';
66 echo '<p id="footer">ngIRCd ©2001-2013 Alexander Barton and ';
67 echo '<a href="doc/AUTHORS">Contributors</a><br />';
68 echo '<a href="http://flattr.com/thing/343331/ngIRCd" target="_blank">';
69 echo '<img src="http://api.flattr.com/button/flattr-badge-large.png" alt="Flattr this" title="Flattr this" border="0" />';
71 echo '</div></body></html>';