<?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 services 	 #
# such as webdesign etc.                                         #
##################################################################
*/

require_once ("config.inc.php");
require_once ("includes/mysql.inc.php");
require_once ("classes/misc.class.php");
require_once ("classes/userside.class.php");
require_once ("classes/settings.class.php");

$message	= "";
$script		= "";
$mail		= "";

$objC		= new check();
$array		= array();
if (!$objDB) {
	$message	= "Unable to Locate Database Server.";
} else {
	$objU			= new userside($objDB);
	$objS			= new settings($objDB);
        $objM			= new Misc($objDB);
	$objS->set_variables();
	
	$array	= $objU->get_latest_backgroundcheck($_SESSION['user_id']);
	
	$script		= $objU->get_script($message);
	$message	= $objU->remove_script($message);
}

include_once ("title.inc.php");
include_once ("tophtml.inc.php");
?>

<div class="row">
	<div class="eight columns">
		<div class="search-rslts">
			<div class="row"><div class="inenr-hd"><h2>Background Checks/US Alias Search</h2></div></div>
			<div class="row">
				<h2 class="headings2">Profile Images</h2>
			</div>
			<div class="row">
				<form name="frmStep2" method="post" action="make_backgroundcheck.php">
					<div class="newdesignforinput maintext1">
						<?php if(isset($message) && trim($message)!='')
							  {
						?>
						<div class="full_row">
							<div class="maintext1 warning"><?php echo $message;?></div>
						</div>
						<?php }//end if?>
						<div class="full_row maintext1">
							<p>Sometimes you just want to feel like you&rsquo;ve covered all your bases, especially when it comes to your safety and well being. The US Alias SEARCH provides facts that can make you feel at ease with who you&rsquo;re interacting with on <?php echo $siteSettings['sitename'];?>. Likewise, it can put others at ease with you. </p>
                            <p>Searching the largest national criminal records database available in the industry, you can receive instant turnaround time results. Potential daters will take one look at your picture perfect background and instead of worrying and wondering, they get the whole picture with name, alias, and address validation according to SSN and birthdate.</p>
							This information is available to the public because it is invaluable where your safety is concerned. Taking this step to ensure genuine connections is what you deserve.
						</div>
						<div class="row">
							<h2 class="headings2">My Backgroundcheck Details</h2>
						</div>
						
						<div class="full_row">
							<div class="three columns">Date</div>
							<div class="five columns margin_R_200"><?php echo isset($array['dDay'])	?	$array['dDay']	: "--"?></div>
						</div>
						
						<div class="full_row">
							<div class="three columns">Status</div>
							<div class="five columns margin_R_200"><?php echo isset($array['vStatus'])	?	$arrBackgroundVerified[$array['vStatus']] : "--"?></div>
						</div>
						
						<div class="full_row">
							<div class="three columns">Score</div>
							<div class="five columns margin_R_200"><?php echo isset($array['vScore'])	?	$array['vScore']	: "--"?></div>
						</div>
						
						<div class="full_row">
							<div class="three columns">Message</div>
							<div class="five columns margin_R_200"><?php echo isset($array['vMsg'])	?	$array['vMsg']	: "--"?></div>
						</div>
						
						<div class="full_row">
							<div class="three columns">&nbsp;</div>
							<div class="five columns margin_R_200">
								<input name="CON1" type="submit" class="loginbutton" value="Subscribe Background Check">
								<input type="hidden" name="step" value="3">
								<input type="hidden" name="product" value="4">
							</div>
						</div>
					</div>
				</form>
			</div>
			<div id="hide"><?php echo $script?></div>
		</div>
	</div>
	<div class="four columns right search_result_R">
		<?php include_once ("left.inc.php");?>
	</div>
</div>


<?php include_once('bottomhtml.inc.php');?>
