<?php

// -----------------------------------------------------------------------
// This file is part of AROUNDMe
//
// Copyright (C) 2003 - 2007 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.
// -----------------------------------------------------------------------

?>

<div class="col_left1">
	<div class="box">
		<div class="box_top">
			<div class="content">
				<h1><?php echo $lang['hdr_core'];?></h1>
			</div>
		</div>
		
		<div class="box_mid">
			<div class="content">
				<table border="0" cellspacing="0" cellpadding="2" width="100%">
					<tr>
						<td>
							<?php echo $lang['txt_version'];?><br />
						</td>
						<td>
							<?php echo $release['version'];?><br />
						</td>
					</tr>
					<tr>
						<td>
							<?php echo $lang['txt_release_date'];?><br />
						</td>
						<td>
							<?php echo $release['release_date'];?><br />
						</td>
					</tr>
					<tr>
						<td>
							<?php echo $lang['txt_install_date'];?><br />
						</td>
						<td>
							<?php echo $release['install_date'];?><br />
						</td>
					</tr>
				</table>
			</div>
		</div>
	</div>
	
	<?php
	if (isset($modules)) {
	?>
	<div class="box">
		<div class="box_top">
			<div class="content">
				<h1><?php echo $lang['hdr_modules'];?></h1>
			</div>
		</div>
		
		<div class="box_mid">
			<div class="content">
				<table border="0" cellspacing="0" cellpadding="2" width="100%">
				<?php
				foreach ($modules as $key => $i):
				?>
					<tr>
						<td>
							<?php echo $i['title'];?><br />
						</td>
						<td>
							<?php echo $i['version'];?><br />
						</td>
					</tr>
				<?php
				endforeach;
				?>
				</table>
			</div>
		</div>
	</div>
	<?php }?>
</div>

<div class="col_right1">
	<div class="box">
		<div class="box_top">
			<div class="content">
				<h1><?php echo $lang['hdr_server'];?></h1>
			</div>
		</div>
		
		<div class="box_mid">
			<div class="content">
				<table border="0" cellspacing="0" cellpadding="2" width="100%">
					<tr>
						<td>
							<?php echo $lang['txt_server'];?><br />
						</td>
						<td>
							<?php echo $_SERVER['SERVER_SOFTWARE'];?><br />
						</td>
					</tr>
				</table>
			</div>
		</div>
	</div>
	
	<div class="box">
		<div class="box_top">
			<div class="content">
				<h1><?php echo $lang['hdr_database'];?></h1>
			</div>
		</div>
		
		<div class="box_mid">
			<div class="content">
				<table border="0" cellspacing="0" cellpadding="2" width="100%">
					<tr>
						<td>
							<?php echo $lang['txt_driver'];?><br />
						</td>
						<td>
							<?php echo $database['adodb_driver'];?><br />
						</td>
					</tr>
					<tr>
						<td>
							<?php echo $lang['txt_version'];?><br />
						</td>
						<td>
							<?php echo $database['version'];?><br />
						</td>
					</tr>
					<tr>
						<td>
							<?php echo $lang['txt_description'];?><br />
						</td>
						<td>
							<?php echo $database['description'];?><br />
						</td>
					</tr>
				</table>
			</div>
		</div>
	</div>
</div>