<?php

// -----------------------------------------------------------------------
// This file is part of AROUNDMe
// 
// Copyright (C) 2003 - 2006 Barnraiser
// http://www.barnraiser.org/
// info@barnraiser.org
// 
// This program is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by the
// Free Software Foundation; either version 2, or (at your option) any
// later version.
// 
// This program is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// General Public License for more details.
// 
// You should have received a copy of the GNU General Public License
// along with program; see the file COPYING. If not, write to the Free
// Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
// 02110-1301, USA.
// -----------------------------------------------------------------------

?>

<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="<?php echo $language_arr[0];?>" />
<meta name="keywords" content="<?php echo $lang['meta_keywords'];?>" />
<meta name="OriginalPublicationDate" content="<?php echo $lang['meta_OriginalPublicationDate'];?>" />
<meta name="Description" content="<?php echo $lang['meta_Description'];?>" />

<title><?php echo $lang['txt_page_title'];?></title>
<style type="text/css">
<!--
@import url(<?php echo $templatePath;?>aroundme.css);

-->
</style>
<!--[if IE]>
<style type="text/css">
@import url(<?php echo $templatePath;?>aroundme-IE.css);
</style>
<![endif]-->


<link rel="SHORTCUT ICON" href="<?php echo $templatePath;?>img/favicon.ico" />

</head>

<body>

<div id="layout">
	<div id="content">
		<div class="col_main">
			<div class="box">
				<div class="box_top">
					<?php echo $lang['hdr_error'];?><br />
				</div>
				
				<div class="box_mid">
					<div class="content">
						<?php 
						if (isset($error_id) && $error_id == 1) {
							echo $lang['txt_no_db_help'];
						}
						else {
							echo $lang['txt_404_help'];
						}
						?><br />
					</div>
				</div>
			</div>
			
			<div class="box_bottom">
				<span class="box_bottom_right"></span>
				<span class="box_bottom_left"></span>
			</div>
		</div>
				
		<div class="col_side">
			<div class="box">
				<div class="box_top">
					<?php echo $lang['hdr_menu'];?><br />
				</div>
					
				<div class="box_mid">
					<div class="content">
						<?php
						if (isset($_SESSION['user_homepage'])) {
						?>
						<a href="<?php echo $_SESSION['user_homepage'];?>"><?php echo $lang['href_404_my_home'];?></a><br />
						<?php }?>
		
						<a href="index.php"><?php echo $lang['href_404_home'];?></a><br />
						<a href="http://www.barnraiser.org/"><?php echo $lang['href_404_barnraiser'];?></a><br />
					</div>
				</div>
			</div>
			
			<div class="box_bottom">
				<span class="box_bottom_right"></span>
				<span class="box_bottom_left"></span>
			</div>
		</div>
	</div>

	<div id="footer">
		<!-- under our free license policy you are allowed to remove this, however we would obviously like it if you chose to promote us through including the following text/link/logo -->
		<a href="http://www.barnraiser.org/aroundme/"><img src="<?php echo $templatePath;?>img/aroundme.png" width="142" height="43" alt="" border="0" /></a>
		<?php echo $lang['txt_strap'];?><br />
	</div>
</div>
</body>
</html>
