<?php 
/*
##################################################################
#                       PHP 4&5 MySQL 4&5                        #
##################################################################
#           Copyright (c) 2004-2008 Armia Systems Inc            #
##################################################################
#               This file is part of Cybermatch site             #
##################################################################
#    Developed By: simi (simi@armia.com)                         #

##################################################################
#               Developed On:   03-04-2008                       #
##################################################################
#               Modified By:                                     #
##################################################################
#               Modified On:                                     #
##################################################################
# This script may not be distributed, sold, given away for free  #
# to third party, or used as a part of any internet ervices such #
# as webdesign etc.                                              #
##################################################################
*/
require_once ("../config.inc.php");
require_once ("../includes/mysql_mobile.inc.php");
require_once ("../includes/arrays.inc.php");
require_once ("../classes/miscellaneous.class.php");

$message	= "";
$array		= array();
if (!$objDB) {
	$message	= "Unable to Locate Database Server.";
} else {
	$objM		= new miscellaneous($objDB);
	$array		= $objM->get_cms(1);
}
$user_gender	= (isset($_SESSION['user_gender'])&&$_SESSION['user_gender']<>"")	?	$_SESSION['user_gender']	:	"Male";
$age_from		= (isset($_SESSION['age_from'])&&$_SESSION['age_from']<>"")	?	$_SESSION['age_from']		:	"18";
$age_to			= $age_from	+ 22;
if ($age_to > 99) $age_to	= 99;
?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head><title>Cybermatch</title>
<link href="images/mobile.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div xmlns="http://www.w3.org/1999/xhtml">
<?php include_once('title.inc.php');?>
<?php if (isset($_SESSION['userlogged']) AND $_SESSION['userlogged'] == "YES") {?>
<div>&nbsp;</div>
<div class="body">
    <div>
	    <div> <i>+</i> <a href="search.php">Search</a> </div>
        <div><i>+</i> <a href="dashbox.php" accesskey="2">Account</a> </div>
        <div><i>+</i> <a href="logout.php" accesskey="1">Logout&nbsp;&nbsp;&nbsp;</a> </div>
    </div>
</div>
<?php } ?>
<div>&nbsp;</div>
    <div>
       
<?php if (!isset($_SESSION['userlogged']) OR $_SESSION['userlogged'] == "") {?>
        <div><i>+</i> <a href="login.php">Login</a> </div>
<?php } ?>		
    </div>
<div>&nbsp;</div>
<div>&nbsp;</div>
Welcome to <?php echo $mobilesiteSettings['sitename'];?>
<?php include_once('footer.inc.php');?>