6 parse_str($_SERVER['QUERY_STRING']);
12 isset($page) || $page = "home"; // default page to show
13 $page_directory = "pages"; // directory with pages
14 $page_current = "$page_directory/$page.php";
22 if(isset($_POST['username']) and isset($_POST['password'])) {
23 $user = $_POST['username'];
24 $pass = $_POST['password'];
27 $_SESSION['user'] = $user;
28 $_SESSION['logged_in'] = true;
35 $spath = dirname($_SERVER['SCRIPT_NAME']);
36 if(strlen($spath) < 2)
40 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict //EN" "http://www.w3.org/TR/html4/strict.dtd">
44 <title> Bacula, the Network Backup Tool for Linux, Unix, and Windows </title>
45 <link rel="stylesheet" type="text/css" href="bacula.css" title="blueish">
46 <meta name="Description" content="Bacula a network backup and restore program">
47 <meta name="Keywords" content="Bacula, backup, restore, file backup">
48 <meta name="Copyright" content="Copyright (C) 2000-2007 Kern Sibbald">
49 <meta name="Trademark" content="Bacula (R) is a registered trademark of John Walker">
54 <!-- Top Search Bar -->
55 <div class="searchBar">
56 <table class="searchBar">
58 <td style="text-align: left; vertical-align: middle">
59 Bacula, the Network Backup Tool for Linux, Unix, Mac and Windows.
61 <td style="text-align: left; vertical-align: middle">
63 <img alt="English" src="images/english-flag.jpg">
64 </a>
66 <img alt="Français" src="images/french-flag.jpg">
69 <FORM method=GET target="_blank" action=http://www.google.com/search>
70 <td style="text-align: right; vertical-align: middle">
71 <INPUT id="text" class="searchBar" type="text" name="q" size=20
72 maxlength=255 value="">
73 <INPUT id="button" class="searchBar" type="submit" name="sa" VALUE="Search">
74 <input type="hidden" name="domains" value="www.bacula.org">
75 <input type="hidden" name="sitesearch" value="www.bacula.org">
83 <div class="pageLogo">
84 <table class="pageLogo">
86 <td style="text-align: left; vertical-align: middle">
87 <img alt="Bacula Logo" src="images/bacu_logo-red.jpg">
93 <!-- User Bar - if logged in -->
95 if($_SESSION['logged_in']) {
96 printf('<div class="userBar">');
97 printf('Welcome %s, <a style="color: white; text-decoration: none" href="/?page=logout">logout here</a>.', $_SESSION['user']);
103 <div class="menuLeft">
106 <div class="menuHead"> General </div>
107 <div class="menuItem">
108 <ul class="menuitem">
109 <li class="menuItem"> <a href="<? echo $spath ?>/?page=news"> News </a></li>
110 <li class="menuItem"> <a href="<? echo $spath ?>/?page=home"> Bacula Home </a></li>
111 <li class="menuItem"> <a href="dev-manual/What_is_Bacula.html"> What is Bacula? </a> </li>
112 <li class="menuItem"> <a href="dev-manual/Current_State_Bacula.html"> Current State of Bacula </a> </li>
113 <li class="menuItem"> <a href="<? echo $spath ?>/?page=testimonials"> Testimonials</a> </li>
114 <li class="menuItem"> <a href="http://sourceforge.net/projects/bacula"> SF Project Page </a> </li>
115 <li class="menuItem"> <a href="dev-manual/System_Requirements.html"> Requirements </a> </li>
116 <li class="menuItem"> <a href="dev-manual/Supported_Operating_Systems.html"> Operating Systems </a> </li>
117 <li class="menuItem"> <a href="dev-manual/Supported_Tape_Drives.html"> Tapedrives </a> </li>
118 <li class="menuItem"> <a href="dev-manual/Supported_Autochangers.html"> Autochangers </a> </li>
119 <li class="menuItem"> <a href="dev-manual/Bacula_Copyri_Tradem_Licens.html"> License </a> </li>
120 <li class="menuItem"> <a href="<? echo $spath ?>/?page=fsfe"> FSFE License </a></li>
124 <!-- Documentation -->
125 <!-- files need a version -->
126 <div class="menuHead"> Documentation </div>
127 <div class="menuItem">
128 <ul class="menuitem">
129 <li class="menuItem"> <a href="<? echo $spath ?>/?page=documentation"> Documentation </a></li>
130 <li class="menuItem"> <a href="http://wiki.bacula.org">Wiki </a></li>
131 <li class="menuItem"> <a href="<? echo $spath ?>/?page=presentations"> Presentations </a></li>
132 <li class="menuItem"> <a href="<? echo $spath ?>/?page=presskits"> Press Kits </a></li>
137 <div class="menuHead"> Downloads </div>
138 <div class="menuItem">
139 <ul class="menuitem">
140 <li class="menuItem"> <a href="http://sourceforge.net/project/showfiles.php?group_id=50727"> Current Files </a> </li>
141 <li class="menuItem"> <a href="http://sourceforge.net/project/showfiles.php?group_id=50727#files"> All Files </a> </li>
142 <li class="menuItem"> <a href="http://sourceforge.net/svn/?group_id=50727"> SVN Repository </a> </li>
147 <div class="menuHead"> Support </div>
148 <div class="menuItem">
149 <ul class="menuitem">
150 <li class="menuItem"> <a href="<? echo $spath ?>/?page=support"> Getting Support </a> </li>
151 <li class="menuItem"> <a href="<? echo $spath ?>/?page=maillists"> Email Lists </a> </li>
152 <li class="menuItem"> <a href="<? echo $spath ?>/?page=bugs"> Bug Reports </a> </li>
153 <li class="menuItem"> <a href="<? echo $spath ?>/?page=professional"> Professional </a></li>
154 <li class="menuItem"> <a href="<? echo $spath ?>/?page=feature-request"> Feature Requests </a></li>
159 <div class="menuHead"> Projects </div>
160 <div class="menuItem">
161 <ul class="menuitem">
162 <li class="menuItem"> <a href="<? echo $spath ?>/?page=projects"> Projects </a> </li>
164 <li class="menuItem"> <a href="<? echo $spath ?>/?page=vote"> Project Vote </a> </li>
169 <div class="menuHead"> Donations </div>
170 <div class="menuItem">
171 <ul class="menuitem">
172 <li class="menuItem"> <a href="<? echo $spath ?>/?page=makedonation"> Make a Donation </a> </li>
174 <li class="menuItem"> <a href="<? echo $spath ?>/?page=donations"> Donations Received </a> </li>
180 <div class="menuHead">
182 <a href="http://www.sectoor.de"><img src="http://www.sectoor.de/grafiken/button_klein2.png" alt="Sectoor Logo"></a>
183 <!-- a href="http://validator.w3.org/check?uri=referer"><img src="images/valid-xhtml10.png" alt="valix w3c logo"></a -->
184 <!-- a href="http://jigsaw.w3.org/css-validator/validator?uri=<? echo $_SERVER['HTTP_REFERER']; ?>"><img src="images/vcss.png" alt="valid css logo"></a-->
192 <div class="pageTopRight">
193 It comes by night and sucks the vital essence from your computers.
196 <div class="pageContent">