<?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/userlogincheck.mobile.inc.php");
require_once ("../includes/mysql_mobile.inc.php");
require_once ("../classes/userside.class.php");
require_once ("../classes/misc.class.php");

$message	= "";
$script		= "";
$arrImages	= array();

if (!$objDB) {
	$message	= "Unable to Locate Database Server.";
} else {
	$objU	= new userside($objDB);
	$objU1	= new userside($objDB);
	$objM	= new misc($objDB);
	$array	= $objU->select($_SESSION['user_id']);
	$objU->set_values($array);
	$arrImages	= $objU->get_user_images($_SESSION['user_id']);
	$script		= $objM->get_script($message);
	$message	= $objM->remove_script($message);
}
?>
<!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');?>
<div>&nbsp;</div>
    <div>
        <div><i>+</i> <a href="index.php">Home</a></div>
        <div><i>+</i> <a href="search.php">Search</a></div>
        <div><i>+</i> Express Interest</div>
         <div>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<i>+</i> <a href="intrests_sent.php">Sent</a></div>
		<div>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<i>+</i> <a href="intrests_recieved.php">Recieved</a></div>
        <div><i>+</i> Messages</div>
          <div>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<i>+</i> <a href="msg_sent.php">Sent</a></div>
		  <div>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<i>+</i> <a href="msg_recieved.php">Recieved</a></div>
        <div><i>+</i> <a href="change_password.php">Change Password</a></div>
        <div><i>+</i> <a href="logout.php">Logout</a></div>
    </div>
<div>&nbsp;</div>
<?php if ($objU->is_expired($_SESSION['user_id'])) { ?>
<div class="message"><strong>Your profile has been expired, please renew your profile for using our services.</strong>
<form name="form1" method="post" action="pay_now.php">
  <input name="SN" type="submit" class="inputb" id="RN" value=" Renew Now ">
  <input type="hidden" name="product" value="2">
</form>
</div>
<?php } ?>
<div>
<ul>
<a href="my_image.php"><img src="<?php echo $objU->get_display_image(PROFILE_IMAGE_URL, $_SESSION['user_id'], $objU->vGender)?>" width="100" height="100" border="0"></a>
<li>&nbsp;<strong>Name</strong>: <?php echo $objU->vFirstName." ".$objU->vMiddleName." ".$objU->vLastName?></li>
<li>&nbsp;<strong>Mobile</strong>: <?php echo $objU->vMobile <> "" ? $objU->vMobile : "--"?></li>
<li>&nbsp;<strong>Marital Status </strong>: <?php echo $objU->vRealtion_Status <> "" ? $objU->vRealtion_Status : "--"?></li>
<li>&nbsp;<strong>Height</strong>: <?php echo $objU->vFeet <> "" ? $objU->vFeet." Ft ".$objU->vInch." in." : "--"?></li>
<li>&nbsp;<strong>Body Type </strong>: <?php echo $objU->vBody_Type <> "" ? $objU->vBody_Type : "--"?></li>
</ul></div>
<?php include_once('footer.inc.php');?>