<?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/userlogincheck.inc.php");

require_once ("includes/mysql.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);

    $array1	= $objU1->selectpartner($_SESSION['user_id']);

    $objU1->set_values($array1);

    $arrImages	= $objU->get_user_images($_SESSION['user_id']);

    $script		= $objM->get_script($message);

    $message	= $objM->remove_script($message);

}


//checking any one of field is active in step3

$sql_fld=mysql_query("select * from ".TABLEPREFIX."SignUpField Where vActive='1' and nSId IN('1','2','3','4','5')") or die(mysql_error());
if(mysql_num_rows($sql_fld)>0) {
    //storing value for checking array
    $Appearance_check=array($objU->tmy_looks_today,$objU->tmy_likes_onanyday,$objU->tmy_dislikes_onanyday,$objU->tmy_personality,$objU->tmy_mood_today);
    //removing nul value
    foreach($Appearance_check as $val) {
        if(!empty($val)) {
            $Appearance[].=$val;
        }//end if
    }//end else
}


//checking any one of field is active in step4

$sql_fld=mysql_query("select * from ".TABLEPREFIX."SignUpField Where vActive='1' and nSId IN('6','7','8','9','10','11',
                                                                '12','13','14','15','16')") or die(mysql_error());

if(mysql_num_rows($sql_fld)>0) {
    $Interest_check=array($objU->tmy_music,$objU->tmy_movies,$objU->tmy_tv,$objU->tmy_sports_watch,$objU->tmy_sports_play,$objU->tmy_travel_going,$objU->tmy_travel_been,$objU->tmy_arts_culture_events,$objU->tmy_poison_place,$objU->tmy_politics,$objU->tmy_major_world_issue,$objU->tmy_perfect_mate);
    //removing nul value
    foreach($Interest_check as $val) {
        if(!empty($val)) {
            $Interest[].=$val;
        }//end if
    }//end else
}
//checking any one of field is active in step5
$sql_fld=mysql_query("select * from ".TABLEPREFIX."SignUpField Where vActive='1' and nSId IN('17','18','19','20','21',
            		'22','23')") or die(mysql_error());
if(mysql_num_rows($sql_fld)>0) {

    $Lifestyle_check=array($objU->taday_in_my_life,$objU->vmy_night_life_out,$objU->vmy_night_life_in,$objU->tmy_food,$objU->tmy_money,$objU->tmy_last_restaurant,$objU->tmy_charity);

    //removing nul value

    foreach($Lifestyle_check as $val) {
        if(!empty($val)) {
            $Lifestyle[].=$val;
        }//end if

    }//end else
}
//echo $objU->dDob;

$arrDob=explode("/",date('Y/m/d',strtotime($objU->dDob)));
//print_r($arrDob);
list($year,$month,$date)=$arrDob;
if($year<0)
{
    $year='0000';
}

$objU->dDob=$month."/".$date."/".$year;
include_once ("title.inc.php");

include_once ("tophtml.inc.php");

?>


<script type="text/javascript" src="ddaccordion.js"></script>
<!--<script type="text/javascript" src="js/prototype.js"></script>

<script type="text/javascript" src="js/scriptaculous.js?load=effects"></script>-->

<!--<script type="text/javascript" src="js/lightbox.js"></script>

<link rel="stylesheet" href="styles/lightbox.css" type="text/css" media="screen" />-->
<link href="js/facebox.css" media="screen" rel="stylesheet" type="text/css"/>
<script src="js/facebox.js" type="text/javascript"></script>



<script type="text/javascript">var switchTo5x=true;</script>
<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
<script type="text/javascript">stLight.options({publisher: "12b6e8cb-dee9-43cb-accc-f652bc4346d4", doNotHash: false, doNotCopy: false, hashAddressBar: false});</script>


<SCRIPT language="javaScript" type="text/javascript">

    var img_loc = '<?php echo PROFILE_IMAGE_URL."/"?>';

    function movepic(img_src,bimg_src,cnt) {

        document.getElementById("profileimage").src=img_loc+img_src;

        document.getElementById('profileimagea').href=img_loc+bimg_src;
        $('.jcls').css('color','grey');
        $('#ci_'+cnt).css('color','black');

    }
    jQuery(document).ready(function($) {
        $('a[rel*=facebox]').facebox()
    })

</SCRIPT>

<div class="row">
    
	<div class="eight columns">
		<div class="search-rslts">
		
		<div class="row">
			 <?php  if($message) { ?>
			 <div class="full_row">
				<div class="twelve columns maintext warning"><?php echo $message; ?></div>
			</div>
			<?php   }//end if  ?>       
				  
			<?php if ($siteSettings['regmode']!=REGISTRATION_FREE_MODE && $objU->is_expired($_SESSION['user_id'])) { ?>
			<div class="full_row">
				<div class="twelve columns warning">
				<div class="top_txt_msg">Your free trial period has expired, so you are not able to use certain services. Click Here to Renew</div>
				<form name="form1" method="post" action="<?php echo $objU->SecureUrl();?>/pay_now.php" class="top_txt_msg_btt">
						<input type="hidden" name="showmsgtype2" value="profile_renew">
						<input type="hidden" name="product" value="2">
						<input name="SN" type="submit" class="button_txt" id="RN" value="Renew Now">
					</form>
				</div>
			</div>   
			
			<?php  } else if ($siteSettings['regmode']==REGISTRATION_FREEMIUM_MODE && (!$objM->isPremiumUser($_SESSION['user_id']) && !$objM->isInFreemiumPeriod($_SESSION['user_id']))) { ?>
			<div class="full_row">
				<div class="twelve columns warning">
					<div class="top_txt_msg">Your profile is in free mode, so you are not able to use certain services. Click Here to Upgrade.</div>
					<form name="form1" method="post" action="<?php echo $objU->SecureUrl();?>/pay_now.php" class="top_txt_msg_btt">
						<input type="hidden" name="showmsgtype2" value="Profile Upgrading">
						<input type="hidden" name="product" value="6">
						<input name="SN" type="submit" class="button_txt" id="RN" value="Upgrade Now">
					</form>
				</div>
			</div>                      
		<?php } else if (!$objU->is_featured($_SESSION['user_id']) AND !$objU->is_expired($_SESSION['user_id']) ) { ?>
			<div class="full_row">
				<div class="eight columns warning">
					<?php
					$featureMsg =  $objU->featuredText();
					$featurAmt = $objU->get_amount(3);
					$featureMsg = str_replace('{FEATUREAMT}', $featurAmt, $featureMsg);
					echo $featureMsg;
					?>
				</div>
				<div class="four columns">
					<form name="frmTell" method="post" action="<?php echo $objU->SecureUrl();?>/pay_now.php">
						<input type="hidden" name="showmsgtype2" value="profile_feature">
						<input type="hidden" name="step" value="3">
						<input type="hidden" name="product" value="3">
						<div class="row"><input name="CNP" type="submit" class="button_txt" value="Make Your Profile 'Featured' Now!"></div>
					</form>
				</div>
			</div>
			<?php }//end if  ?>
		</div>
		
			<div class="row">
				<div class="myprofile_outer">
					<div class="myprofile_inner">
						<div class="myprofile_L">
							<div class="myprofile_img_outer">
								<div class="myprofile_img_inner">
									<a href="<?php echo $objU->get_full_image(PROFILE_IMAGE_URL, $_SESSION['user_id'], $objU->vGender)?>" rel="facebox" name="profileimagea" id="profileimagea"><img src="<?php echo $objU->get_display_image(PROFILE_IMAGE_URL, $_SESSION['user_id'], $objU->vGender)?>" width="255" height="315" border="0" name="profileimage" id="profileimage"></a>
									<div class="myprofile_name"><?php echo ucfirst($objU->vLogin)?></div>
									<div class="clear"></div>
									<div class="img_pagenation">
										<?php foreach ($arrImages as $k => $v) { ?>
											<a href="javascript:void(0);" class="jcls" id="ci_<?php echo $k+1?>" onClick="movepic('pthumb_<?php echo $v['vUrl']?>', '<?php echo $v['vUrl']?>','<?php echo $k+1?>')"><?php echo $k+1?></a>
										<?php }//end foreach ?>
									</div>
								</div>
							</div>
							<div class="myprofile_L_cont_outer">
								<div class="full_row">
									<div class="social_share">
										<span class='st_sharethis' st_url="<?php echo $siteSettings['site_normal_url'].'/profile.php?id='.$_SESSION['user_id'];?>" displayText=''></span>
										<span class='st_facebook' st_url="<?php echo $siteSettings['site_normal_url'].'/profile.php?id='.$_SESSION['user_id']."&back=1";?>" displayText=''></span>
										<span class='st_twitter' st_url="<?php echo $siteSettings['site_normal_url'].'/profile.php?id='.$_SESSION['user_id']."&back=1";?>" displayText=''></span>
										<span class='st_linkedin'  st_url="<?php echo $siteSettings['site_normal_url'].'/profile.php?id='.$_SESSION['user_id']."&back=1";?>" displayText=''></span>
										<span class='st_pinterest' st_url="<?php echo $siteSettings['site_normal_url'].'/profile.php?id='.$_SESSION['user_id']."&back=1";?>" displayText=''></span>
										<span class='st_email' st_url="<?php echo $siteSettings['site_normal_url'].'/profile.php?id='.$_SESSION['user_id']."&back=1";?>" displayText=''></span>                                                
									</div>
								</div>
								<div class="full_row">
									<div class="myprofile_top">
										<span>Summary</span>
										<a href="my_basics.php">Edit</a>
									</div>
								</div>
								<div class="full_row">
									<div class="myprofile_title">
										Profile Title
										<span><?php echo $objU->vTitle <> "" ? nl2br(htmlspecialchars(stripslashes($objU->vTitle))) : "--"?></span>
									</div>
								</div>
								
							<div class="clear"></div>
							
								<div class="myprofile_box_outer">
									<div class="myprofile_box_small">
										<h1><?php echo $objU->vRealtion_Status <> "" ? $objU->vRealtion_Status : "--"?></h1>
										<p>Marital Status</p>
									</div>
									<div class="myprofile_box_small myprofile_small_border">
										<h1><?php echo $objU->nChildren > 0 ? $objU->nChildren : "--"?></h1>
										<p>Children</p>
									</div>
								</div>
							<div class="clear"></div>
							
								<div class="myprofile_box_outer">
									<div class="myprofile_L_icon myprofile_height"> </div>
									<div class="myprofile_R_icon">
										<h1 style="padding-top:40px;"><?php echo $objU->vFeet <> "" ? $objU->vFeet." Ft ".$objU->vInch." in." : "--"?></h1>
										<p>Height</p>
									</div>
								</div>
							<div class="clear"></div>
							
								<div class="myprofile_box_outer">
									<div class="myprofile_box_small">
										<h2><?php echo $objU->vSmoking <> "" ? $objU->vSmoking : "--"?></h2>
										<div class="myprofile_small_L_icon myprofile_smoking"> </div>
									</div>
									<div class="myprofile_box_small myprofile_small_border">
										<h2><?php echo $objU->vDrinking <> "" ? $objU->vDrinking : "--"?></h2>
										<div class="myprofile_small_L_icon myprofile_drinker"> </div>
									</div>
								</div>
							<div class="clear"></div>
							
								<div class="myprofile_box_outer">
									<div class="myprofile_L_icon myprofile_education"> </div>
									<div class="myprofile_R_icon">
										<h1><?php echo $objU->vEducation <> "" ? $objU->vEducation : "--"?></h1>
										<p>Education</p>
									</div>
								</div>
							<div class="clear"></div>
							
								<div class="myprofile_box_outer">
									<div class="myprofile_L_icon myprofile_height"> </div>
									<div class="myprofile_R_icon">
										<h1 style="padding-top:40px;"><?php echo $objU->vBody_Type <> "" ? $objU->vBody_Type : "--"?></h1>
										<p>Body Type</p>
									</div>
								</div>
							<div class="clear"></div>
							
								<div class="myprofile_box_outer myprofile_box_no_border">
									<div class="myprofile_box_small">
										<h2><?php echo $objU->vEthinicity <> "" ? $objU->vEthinicity : "--"?></h2>
										<p>Ethnicity</p>
									</div>
									<div class="myprofile_box_small myprofile_small_border">
										<h2><?php echo $objU->vReligion <> "" ? $objU->vReligion : "--"?></h2>
										<p>Religion</p>
									</div>
								</div>
							<div class="clear"></div>
							
							</div>
						</div>
						<div class="myprofile_R">
							<div class="full_row profile_R_sep">
								<div class="row">
									<div class="ten columns"><h1>Primary Information</h1></div>
									<div class="two columns edit_R"><a href="my_primaries.php" class=" float_R">Edit</a></div>
									<div class="clear"></div>
									<div class="twelve profile_R_cont">
										<div class="five columns">Gender</div>
										<div class="six columns"><?php echo $objU->vGender <> "" ? $objU->vGender : "--"?></div>
									</div>
									<div class="twelve profile_R_cont">
										<div class="five columns">Date of Birth</div>
										<div class="six columns"><?php echo $objU->dDob <> "" ? date("m/d/Y",strtotime($objU->dDob)) : "--"?></div>
									</div>
									<div class="twelve profile_R_cont">
										<div class="five columns">Country</div>
										<div class="six columns"><?php echo $objU->vCountry <> "" ? $objU->vCountry : "--"?></div>
									</div>
									<div class="twelve profile_R_cont">
										<div class="five columns">State</div>
										<div class="six columns"><?php echo $objU->vState <> "" ? $objU->vState : "--"?></div>
									</div>
								</div>
							</div>
							
							
							<div class="full_row profile_R_sep">
								<div class="row">
									<div class="ten columns"><h1>About <?php echo ucfirst($objU->vLogin)?>'s Appearance</h1></div>
									<div class="two columns edit_R"><a href="my_appearence.php" class=" float_R">Edit</a></div>
									<div class="clear"></div>
									<div class="twelve profile_R_cont">
										<div class="five columns">My looks today</div>
										<div class="six  columns"> <?php echo $objU->tmy_looks_today <> "" ? nl2br(htmlspecialchars(stripslashes($objU->tmy_looks_today))) : "--"?></div>
									</div>
									<div class="twelve profile_R_cont">
										<div class="five columns">My likes on any day</div>
										<div class="six  columns"><?php echo $objU->tmy_likes_onanyday <> "" ? nl2br(htmlspecialchars(stripslashes($objU->tmy_likes_onanyday))) : "--"?></div>
									</div>
									<div class="twelve profile_R_cont">
										<div class="five columns">My dislikes on any day</div>
										<div class="six  columns"><?php echo $objU->tmy_dislikes_onanyday <> "" ? nl2br(htmlspecialchars(stripslashes($objU->tmy_dislikes_onanyday))) : "--"?></div>
									</div>
									<div class="twelve profile_R_cont">
										<div class="five columns">My personality</div>
										<div class="six  columns"><?php echo $objU->tmy_personality <> "" ? nl2br(htmlspecialchars(stripslashes($objU->tmy_personality))) : "--"?></div>
									</div>
									<div class="twelve profile_R_cont">
										<div class="five columns">My mood today</div>
										<div class="six  columns"><?php echo $objU->tmy_mood_today <> "" ? nl2br(htmlspecialchars(stripslashes($objU->tmy_mood_today))) : "--"?></div>
									</div>
								</div>
							</div>
							
							
							<div class="full_row profile_R_sep">
								<div class="row">
									<div class="ten columns"><h1> <?php echo ucfirst($objU->vLogin)?>'s Interests</h1></div>
									<div class="two columns edit_R"><a href="my_interests.php" class=" float_R">Edit</a></div>
									<div class="clear"></div>
									<div class="twelve profile_R_cont">
										<div class="five columns">Music</div>
										<div class="six  columns"><?php echo $objU->tmy_music <> "" ? nl2br(htmlspecialchars(stripslashes($objU->tmy_music))) : "--"?></div>
									</div>
									<div class="twelve profile_R_cont">
										<div class="five columns">Movies</div>
										<div class="six  columns"><?php echo $objU->tmy_movies <> "" ? nl2br(htmlspecialchars(stripslashes($objU->tmy_movies))) : "--"?></div>
									</div>
									<div class="twelve profile_R_cont">
										<div class="five columns">TV Show</div>
										<div class="six  columns"><?php echo $objU->tmy_tv <> "" ? nl2br(htmlspecialchars(stripslashes($objU->tmy_tv))) : "--"?></div>
									</div>
									<div class="twelve profile_R_cont">
										<div class="five columns">The sports I play</div>
										<div class="six  columns"><?php echo $objU->tmy_sports_play <> "" ? nl2br(htmlspecialchars(stripslashes($objU->tmy_sports_play))) : "--"?></div>
									</div>
									<div class="twelve profile_R_cont">
										<div class="five columns">The sports I watch</div>
										<div class="six  columns"><?php echo $objU->tmy_sports_watch <> "" ? nl2br(htmlspecialchars(stripslashes($objU->tmy_sports_watch))) : "--"?></div>
									</div>
									<div class="twelve profile_R_cont">
										<div class="five columns">The places I have been</div>
										<div class="six  columns"><?php echo $objU->tmy_travel_been <> "" ? nl2br(htmlspecialchars(stripslashes($objU->tmy_travel_been))) : "--"?></div>
									</div>
									<div class="twelve profile_R_cont">
										<div class="five columns">The places I am going</div>
										<div class="six  columns"><?php echo $objU->tmy_travel_going <> "" ? nl2br(htmlspecialchars(stripslashes($objU->tmy_travel_going))) : "--"?></div>
									</div>
									<div class="twelve profile_R_cont">
										<div class="five columns">Arts and Cultural Events</div>
										<div class="six  columns"><?php echo $objU->tmy_arts_culture_events <> "" ? nl2br(htmlspecialchars(stripslashes($objU->tmy_arts_culture_events))) : "--"?></div>
									</div>
									<div class="twelve profile_R_cont">
										<div class="five columns">Name your poison and your place</div>
										<div class="six  columns"><?php echo $objU->tmy_poison_place <> "" ? nl2br(htmlspecialchars(stripslashes($objU->tmy_poison_place))) : "--"?></div>
									</div>
									<div class="twelve profile_R_cont">
										<div class="five columns">Did someone say "Politics?"</div>
										<div class="six  columns"><?php echo $objU->tmy_politics <> "" ? nl2br(htmlspecialchars(stripslashes($objU->tmy_politics))) : "--"?></div>
									</div>
									<div class="twelve profile_R_cont">
										<div class="five columns">Of the major issues in the world, which ones are you the most passionate about?</div>
										<div class="six  columns"><?php echo $objU->tmy_major_world_issue <> "" ? nl2br(htmlspecialchars(stripslashes($objU->tmy_major_world_issue))) : "--"?></div>
									</div>
									<div class="twelve profile_R_cont">
										<div class="five columns">What are you doing about it? </div>
										<div class="six  columns"><?php echo $objU->tmy_doings_on_major_world_issue <> "" ? nl2br(htmlspecialchars(stripslashes($objU->tmy_doings_on_major_world_issue))) : "--"?></div>
									</div>
									<div class="twelve profile_R_cont">
										<div class="five columns">If I could build a guy/girl?</div>
										<div class="six  columns"> <?php echo $objU->tmy_perfect_mate <> "" ? nl2br(htmlspecialchars(stripslashes($objU->tmy_perfect_mate))) : "--"?></div>
									</div>
									<div class="clear"></div>
									<div class="twelve profile_R_cont"><?php if($siteSettings['bcheck']=='Yes') { ?><a href="my_backgroundcheck.php" class="loginbutton" style="margin:0 0 0 0; ">Background Check</a><?php }?></div>
								</div>
							</div>
							
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div class="four columns right search_result_R"><?php include_once ("left.inc.php");?></div>
</div>

<!--<table width="100%"  border="0" cellspacing="0" cellpadding="0">

    <tr>

    <td valign="top" class="white"><table width="100%"  border="0" cellspacing="0" cellpadding="0"
        <td valign="top" class=""><table width="100%"  border="0" cellspacing="0" cellpadding="0">

                <tr>

                    <td width="72%" valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="5">

                            <tr>

                                <td>
                                    <?php //echo"<pre>";print_r($_SESSION);echo"</pre>";?>
                                    <?php  if(isset($message) && $message!='') { ?>
                                    <table width="100%"  border="0" cellspacing="0" cellpadding="0">
                                        <tr>
                                            <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                                                    <tr>
                                                        <td width="39%" align="center" class="maintext warning"><?php echo $message?></td>
                                                    </tr>
                                                </table></td>
                                        </tr>
                                    </table>
                                        <?php   }//end if  ?>       
                                     
                                   

                                    

                                    <?php if ($siteSettings['regmode']!=REGISTRATION_FREE_MODE && $objU->is_expired($_SESSION['user_id'])) { ?>
                                    <table width="100%"  border="0" cellspacing="0" cellpadding="0">
                                        <tr>
                                            <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                                                    <tr>
                                                        <td width="39%" align="center" class="maintext warning"><strong>Your free trial period has expired, so you are not able to use certain services. please upgrade your profile to enjoy our featured services.</strong></td>
                                                    </tr>
                                                </table>
                                                <form name="form1" method="post" action="<?php echo $objU->SecureUrl();?>/pay_now.php">
                                                    <input type="hidden" name="showmsgtype2" value="profile_renew">
                                                    <input type="hidden" name="product" value="2">
                                                    <table width="100%"  border="0" cellspacing="0" cellpadding="0">
                                                        <tr>
                                                            <td align="center" class="maintext"></td>
                                                        </tr>
                                                        <tr>
                                                            <td width="39%" align="center" class="maintext"><input name="SN" type="submit" class="loginbutton" id="RN" value="Renew Now"></td>
                                                        </tr>
                                                    </table>
                                                </form></td>
                                        </tr>

                                    </table>

                                     <?php  } else if ($siteSettings['regmode']==REGISTRATION_FREEMIUM_MODE && (!$objM->isPremiumUser($_SESSION['user_id']) && !$objM->isInFreemiumPeriod($_SESSION['user_id']))) { ?>
                                     <table width="100%"  border="0" cellspacing="0" cellpadding="0">
                                        <tr>
                                            <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                                                    <tr>
                                                        <td width="39%" align="center" class="maintext warning"><strong>Your profile is in free mode, so you are not able to use certain services. please upgrade your profile to enjoy our featured services.</strong></td>
                                                    </tr>
                                                </table>
                                                <form name="form1" method="post" action="<?php echo $objU->SecureUrl();?>/pay_now.php">

                                                    <input type="hidden" name="showmsgtype2" value="Profile Upgrading">

                                                    <input type="hidden" name="product" value="6">

                                                    <table width="100%"  border="0" cellspacing="0" cellpadding="0">
                                                        <tr>
                                                            <td align="center" class="maintext"></td>
                                                        </tr>
                                                        <tr>
                                                            <td width="39%" align="center" class="maintext"><input name="SN" type="submit" class="loginbutton" id="RN" value="Upgrade Now"></td>
                                                        </tr>
                                                    </table>
                                                </form></td>
                                        </tr>
                                    </table>
                                    <?php } else if (!$objU->is_featured($_SESSION['user_id']) AND !$objU->is_expired($_SESSION['user_id']) ) { ?>
                                    <table width="100%"  border="0" cellspacing="0" cellpadding="0">
                                        <tr>
                                            <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                                                    <tr>
                                                        <td width="39%" align="center" class="maintext warning"><strong>
                                                                    <?php
                                                                    $featureMsg =  $objU->featuredText();
                                                                    $featurAmt = $objU->get_amount(3);
                                                                    $featureMsg = str_replace('{FEATUREAMT}', $featurAmt, $featureMsg);
                                                                    echo $featureMsg;
                                                                    ?> </strong></td>
                                                    </tr>
                                                </table><form name="frmTell" method="post" action="<?php echo $objU->SecureUrl();?>/pay_now.php">

                                                    <input type="hidden" name="showmsgtype2" value="profile_feature">

                                                    <input type="hidden" name="step" value="3">

                                                    <input type="hidden" name="product" value="3">

                                                    <table width="100%"  border="0" cellspacing="0" cellpadding="0">
                                                        <tr>
                                                            <td align="center" class="maintext">&nbsp;</td>
                                                        </tr>
                                                        <tr>
                                                            <td width="39%" align="center" class="maintext"><input name="CNP" type="submit" class="loginbutton" value="Make Your Profile 'Featured' Now!"></td>

                                                        </tr>

                                                    </table>

                                                </form></td>

                                        </tr>

                                    </table>

                                    <?php }//end if  ?>

                                    show featured msg end 
                                    <div class="search-rslts">
                                        <table width="100%"  border="0" cellspacing="0" cellpadding="5">

                                            <tr>

                                                <td width="90%" class="inenr-hd"><h2 style="float: left;">Profile For <?php echo ucfirst($objU->vLogin)?> </h2> 

                                                    
                                                    <div class="social_share" style=""><span class='st_sharethis' st_url="<?php echo $siteSettings['site_normal_url'].'/profile.php?id='.$_SESSION['user_id'];?>" displayText=''></span>
<span class='st_facebook' st_url="<?php echo $siteSettings['site_normal_url'].'/profile.php?id='.$_SESSION['user_id']."&back=1";?>" displayText=''></span>
<span class='st_twitter' st_url="<?php echo $siteSettings['site_normal_url'].'/profile.php?id='.$_SESSION['user_id']."&back=1";?>" displayText=''></span>
<span class='st_linkedin'  st_url="<?php echo $siteSettings['site_normal_url'].'/profile.php?id='.$_SESSION['user_id']."&back=1";?>" displayText=''></span>
<span class='st_pinterest' st_url="<?php echo $siteSettings['site_normal_url'].'/profile.php?id='.$_SESSION['user_id']."&back=1";?>" displayText=''></span>
<span class='st_email' st_url="<?php echo $siteSettings['site_normal_url'].'/profile.php?id='.$_SESSION['user_id']."&back=1";?>" displayText=''></span>                                                
                                                </div>
                                                </td>

                                                <td align="right" style="border-bottom: 1px solid #dcdcdc;"><table width="20%"  border="0" cellspacing="0" cellpadding="0">

                                                        <tr align="center">

                                                            <td width="25%"><?php echo $objU->get_bgcheck_image($_SESSION['user_id'])?></td>

                                                            <td width="25%"><?php echo $objU->get_featured_image($_SESSION['user_id'])?></td>

                                                        </tr>

                                                    </table>

                                                </td>

                                            </tr>

                                        </table>



                                        <table width="100%"  border="0" cellspacing="0" cellpadding="0">

                                            <tr>



                                                <td width="57%" align="left" valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="">

                                                        <tr>

                                                            <td><table width="100%"  border="0" cellspacing="0" cellpadding="">

                                                                    <tr>

                                                                        <td class="headings2">Basic Details </td>

                                                                    </tr>

                                                                </table>

                                                                <table width="100%"  border="0" cellspacing="0" cellpadding="">

                                                                    <tr>

                                                                        <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">

                                                                                <?php //if ($objU->vProfileType == "I" OR $objU->tmy_profile == "") { ?>
                                                                                <?php if ($objU->vProfileType == "I") { ?>
                                                                                <tr>

                                                                                    <td width="39%" align="left" class="maintext1" valign="top" >Profile Title</td>

                                                                                    <td width="61%" align="left" class="maintext1"><?php echo $objU->vTitle <> "" ? nl2br(htmlspecialchars(stripslashes($objU->vTitle))) : "--"?></td>

                                                                                </tr>

                                                                                    <?php }//end if?>

                                                                                <tr>

                                                                                    <td align="left" class="maintext1">Marital Status</td>

                                                                                    <td align="left" class="maintext1"><?php echo $objU->vRealtion_Status <> "" ? $objU->vRealtion_Status : "--"?></td>

                                                                                </tr>

                                                                                <?php if ($objU->vRealtion_Status <> "Single") { ?>

                                                                                <tr>

                                                                                    <td align="left" class="maintext1">Children</td>

                                                                                    <td align="left" class="maintext1"><?php echo $objU->nChildren > 0 ? $objU->nChildren : "--"?></td>

                                                                                </tr>

                                                                                    <?php } ?>

                                                                                <tr>

                                                                                    <td align="left" class="maintext1">Height</td>

                                                                                    <td align="left" class="maintext1"><?php echo $objU->vFeet <> "" ? $objU->vFeet." Ft ".$objU->vInch." in." : "--"?></td>

                                                                                </tr>

                                                                                <tr>

                                                                                    <td align="left" class="maintext1">Smoking</td>

                                                                                    <td align="left" class="maintext1"><?php echo $objU->vSmoking <> "" ? $objU->vSmoking : "--"?></td>

                                                                                </tr>

                                                                                <tr>

                                                                                    <td align="left" class="maintext1">Drinking</td>

                                                                                    <td align="left" class="maintext1"><?php echo $objU->vDrinking <> "" ? $objU->vDrinking : "--"?></td>

                                                                                </tr>

                                                                                <tr>

                                                                                    <td align="left" class="maintext1">Education</td>

                                                                                    <td align="left" class="maintext1"><?php echo $objU->vEducation <> "" ? $objU->vEducation : "--"?></td>

                                                                                </tr>

                                                                                <tr>

                                                                                    <td align="left" class="maintext1">Body Type</td>

                                                                                    <td align="left" class="maintext1"><?php echo $objU->vBody_Type <> "" ? $objU->vBody_Type : "--"?></td>

                                                                                </tr>

                                                                                <tr>

                                                                                    <td align="left" class="maintext1">Ethnicity</td>

                                                                                    <td align="left" class="maintext1"><?php echo $objU->vEthinicity <> "" ? $objU->vEthinicity : "--"?></td>

                                                                                </tr>

                                                                                <tr>

                                                                                    <td align="left" class="maintext1">Religion</td>

                                                                                    <td align="left" class="maintext1"><?php echo $objU->vReligion <> "" ? $objU->vReligion : "--"?></td>

                                                                                </tr>

                                                                            </table></td>

                                                                    </tr>

                                                                </table></td>

                                                        </tr>

                                                    </table>

                                                    <table width="100%"  border="0" cellspacing="0" cellpadding="5">

                                                        <tr>

                                                            <td align="left"><table width="100%"  border="0" cellspacing="0" cellpadding="0">

                                                                    <tr>

                                                                        <td width="83%" align="left"><a href="my_basics.php" class="editbutton">Edit</a></td>

                                                                        <td width="17%" align="center">&nbsp;</td>

                                                                    </tr>

                                                                </table></td>

                                                        </tr>

                                                    </table>

                                                </td>
                                                <td width="1%" align="left"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                                                        <tr><td>&nbsp;</td></tr>
                                                        <tr>

                                                            <td colspan="2"><img src="images/login_bkgd_top.gif" width="384" height="12"></td>

                                                        </tr>

                                                        <tr>

                                                            <td colspan="2" class="boxbg"><table width="100%"  border="0" cellspacing="0" cellpadding="0">

                                                                    <tr>

                                                                        <td align="center"><a href="<?php echo $objU->get_full_image(PROFILE_IMAGE_URL, $_SESSION['user_id'], $objU->vGender)?>" rel="facebox" name="profileimagea" id="profileimagea"><img src="<?php echo $objU->get_display_image(PROFILE_IMAGE_URL, $_SESSION['user_id'], $objU->vGender)?>" width="255" height="315" border="0" name="profileimage" id="profileimage"></a></td>

                                                                    </tr>

                                                                </table></td>

                                                        </tr>

                                                        <tr>

                                                            <td colspan="2"><img src="images/login_bkgd_bottom.gif" width="384" height="43"></td>

                                                        </tr>

                                                        <tr>
                                                            <td colspan="2" align="center" valign="top">
                                                                <table cellpadding="0" cellspacing="0" width="20%">
                                                                    <?php if (!empty($arrImages) AND count($arrImages) > 1) { ?>

                                                                    <tr class="maintext">

                                                                        <td width="5%">&nbsp;</td>

                                                                        <td width="86%" align="center"><table width="50%"  border="0" cellspacing="0" cellpadding="0" align="left">

                                                                                <tr align="center" bgcolor="#FFFFFF" class="textbox">

                                                                                        <?php foreach ($arrImages as $k => $v) { ?>

                                                                                    <td width="5%"><a href="#" class="jcls" id="ci_<?php echo $k+1?>" onClick="movepic('pthumb_<?php echo $v['vUrl']?>', '<?php echo $v['vUrl']?>','<?php echo $k+1?>')"><?php echo $k+1?></a></td>

                                                                                            <?php }//end foreach ?>

                                                                                </tr>

                                                                            </table></td>

                                                                    </tr>



                                                                        <?php } ?>

                                                                    
                                                                    <tr class="maintext">

                                                                         <td align="left" colspan="2"><a style="color:#3399FF;text-decoration:none;" href="personality_graph.php?id=<?php //echo trim($_SESSION['user_id']) ?>" class="lightbox" rel="lightbox">

                                                                                 <img src="personality_graph_thumb.php" border="0" >

                                                                                 <br>Click here to enlarge the Profile Graph</a></td>

                                                                     </tr>
                                                                    


                                                                </table>

                                                            </td>
                                                        </tr>

                                                    </table></td>
                                            </tr>

                                        </table>

                                        <table width="100%"  border="0" cellspacing="0" cellpadding="5">

                                            <tr>

                                                <td valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="5">

                                                        <tr>

                                                            <td class="headings2 border-bottom">Primary Information</td>

                                                        </tr>

                                                    </table>

                                                    <table width="57%"  border="0" cellspacing="0" cellpadding="5">

                                                        <tr>

                                                            <td valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0">

                                                                    <tr>

                                                                        <td ><table width="100%"  border="0" cellspacing="0" cellpadding="0">

                                                                                <tr>

                                                                                    <td width="45%" align="left" class="maintext1">Gender</td>

                                                                                    <td width="55%" align="left" class="maintext1"><?php echo $objU->vGender <> "" ? $objU->vGender : "--"?></td>

                                                                                </tr>

                                                                                <tr>
                                                                                    <td align="left" class="maintext1">Date Of Birth</td>
                                                                                    <td align="left" class="maintext1"><?php echo $objU->dDob <> "" ? date("m/d/Y",strtotime($objU->dDob)) : "--"?></td>
                                                                                </tr>

                                                                                <tr>

                                                                                    <td align="left" class="maintext1">Country</td>

                                                                                    <td align="left" class="maintext1"><?php echo $objU->vCountry <> "" ? $objU->vCountry : "--"?></td>

                                                                                </tr>

                                                                                <tr>

                                                                                    <td align="left" class="maintext1">State</td>

                                                                                    <td align="left" class="maintext1"><?php echo $objU->vState <> "" ? $objU->vState : "--"?></td>

                                                                                </tr>

                                                                            </table></td>


                                                                    </tr>

                                                                </table><table width="100%"  border="0" cellspacing="0" cellpadding="0">

                                                                    <tr>

                                                                        <td align="left"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                                                                                <tr>
                                                                                    <td colspan="2">&nbsp;</td>
                                                                                </tr>
                                                                                <tr>

                                                                                    <td width="83%" align="left"><a href="my_primaries.php" class="editbutton">Edit</a></td>

                                                                                    <td width="17%" align="center"></td>

                                                                                </tr>

                                                                            </table></td>

                                                                    </tr>

                                                                </table>

                                                            </td>

                                                        </tr>

                                                    </table></td>

                                            </tr>

                                        </table>

                                        <?php

//if any value exist

                                        if(is_array($Appearance) && !empty($Appearance)) {

                                            ?>

                                        <table width="100%"  border="0" cellspacing="0" cellpadding="5">

                                            <tr>

                                                <td><table width="100%"  border="0" cellspacing="0" cellpadding="5">

                                                        <tr>

                                                            <td class="headings2 border-bottom">About <?php echo ucfirst($objU->vLogin)?>'s Appearance</td>

                                                        </tr>

                                                    </table>

                                                    <table width="57%"  border="0" cellspacing="0" cellpadding="5">

                                                        <tr>

                                                            <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">

                                                                    <tr>

                                                                        <td ><table width="100%"  border="0" cellspacing="0" cellpadding="0">

                                                                                    <?php if ($objU->tmy_looks_today <> "") { ?>

                                                                                <tr>

                                                                                    <td width="45%" align="left" class="maintext1"><strong>My looks today</strong><br>

                                                                                                <?php echo $objU->tmy_looks_today <> "" ? nl2br(htmlspecialchars(stripslashes($objU->tmy_looks_today))) : "--"?></td>

                                                                                </tr>

                                                                                        <?php }//end if?>

                                                                                    <?php if ($objU->tmy_likes_onanyday <> "") { ?>

                                                                                <tr>

                                                                                    <td align="left" class="maintext1"><strong>My likes on any day</strong><br>

                                                                                                <?php echo $objU->tmy_likes_onanyday <> "" ? nl2br(htmlspecialchars(stripslashes($objU->tmy_likes_onanyday))) : "--"?></td>

                                                                                </tr>

                                                                                        <?php }//end if?>

                                                                                    <?php if ($objU->tmy_dislikes_onanyday <> "") { ?>

                                                                                <tr>

                                                                                    <td align="left" class="maintext1"><strong>My dislikes on any day</strong><br>

                                                                                                <?php echo $objU->tmy_dislikes_onanyday <> "" ? nl2br(htmlspecialchars(stripslashes($objU->tmy_dislikes_onanyday))) : "--"?></td>

                                                                                </tr>

                                                                                        <?php }//end if?>

                                                                                    <?php if ($objU->tmy_personality <> "") { ?>

                                                                                <tr>

                                                                                    <td align="left" class="maintext1"><strong>My personality</strong><br>

                                                                                                <?php echo $objU->tmy_personality <> "" ? nl2br(htmlspecialchars(stripslashes($objU->tmy_personality))) : "--"?></td>

                                                                                </tr>

                                                                                        <?php }//end if?>

                                                                                    <?php if ($objU->tmy_mood_today <> "") { ?>

                                                                                <tr>

                                                                                    <td align="left" class="maintext1"><strong>My mood today</strong><br>

                                                                                                <?php echo $objU->tmy_mood_today <> "" ? nl2br(htmlspecialchars(stripslashes($objU->tmy_mood_today))) : "--"?></td>

                                                                                </tr>

                                                                                        <?php }//end if?>



                                                                            </table></td>



                                                                    </tr>

                                                                </table>

                                                                <table width="100%"  border="0" cellspacing="0" cellpadding="5">

                                                                    <tr>

                                                                        <td align="left"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                                                                                <tr>
                                                                                    <td colspan="2">&nbsp;</td>
                                                                                </tr>
                                                                                <tr>

                                                                                    <td width="83%" align="left"><a href="my_appearence.php" class="editbutton">Edit</a></td>

                                                                                    <td width="17%" align="center">&nbsp;</td>

                                                                                </tr>

                                                                            </table></td>

                                                                    </tr>

                                                                </table>

                                                            </td>

                                                        </tr>

                                                    </table></td>

                                            </tr>

                                        </table>

                                            <?php }//end array check;?>

                                        <?php if(is_array($Interest) && !empty($Interest)) {?>

                                        <table width="100%"  border="0" cellspacing="0" cellpadding="5">

                                            <tr>

                                                <td><table width="100%"  border="0" cellspacing="0" cellpadding="5">

                                                        <tr>

                                                            <td class="headings2 border-bottom"> <?php echo ucfirst($objU->vLogin)?>'s Interests</td>

                                                        </tr>

                                                    </table>

                                                    <table width="57%"  border="0" cellspacing="0" cellpadding="5">

                                                        <tr>

                                                            <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">

                                                                    <tr>

                                                                        <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">

                                                                                    <?php if ($objU->tmy_music <> "") { ?>

                                                                                <tr>

                                                                                    <td width="45%" align="left" class="maintext1"><strong>Music</strong><br>

                                                                                                <?php echo $objU->tmy_music <> "" ? nl2br(htmlspecialchars(stripslashes($objU->tmy_music))) : "--"?></td>

                                                                                </tr>

                                                                                        <?php }//end if?>

                                                                                    <?php if ($objU->tmy_movies <> "") { ?>

                                                                                <tr>

                                                                                    <td align="left" class="maintext1"><strong>Movies</strong><br>

                                                                                                <?php echo $objU->tmy_movies <> "" ? nl2br(htmlspecialchars(stripslashes($objU->tmy_movies))) : "--"?></td>

                                                                                </tr>

                                                                                <?php }//end if?>

                                                                                <?php if ($objU->tmy_tv <> "") { ?>
                                                                                <tr>
                                                                                    <td align="left" class="maintext1"><strong>TV Show</strong><br>
                                                                                        <?php echo $objU->tmy_tv <> "" ? nl2br(htmlspecialchars(stripslashes($objU->tmy_tv))) : "--"?>
                                                                                    </td>
                                                                                </tr>
                                                                                <?php }//end if?>
                                                                                
                                                                                <?php if ($objU->tmy_sports_play <> "") { ?>
                                                                                <tr>
                                                                                    <td align="left" class="maintext1"><strong>The sports I play</strong><br>
                                                                                        <?php echo $objU->tmy_sports_play <> "" ? nl2br(htmlspecialchars(stripslashes($objU->tmy_sports_play))) : "--"?>
                                                                                    </td>
                                                                                </tr>
                                                                                <?php }//end if?>

                                                                                <?php if ($objU->tmy_sports_watch <> "") { ?>
                                                                                <tr>
                                                                                    <td align="left" class="maintext1"><strong>The sports I watch</strong><br>
                                                                                        <?php echo $objU->tmy_sports_watch <> "" ? nl2br(htmlspecialchars(stripslashes($objU->tmy_sports_watch))) : "--"?>
                                                                                    </td>
                                                                                </tr>
                                                                                <?php }//end if?>

                                                                                <?php if ($objU->tmy_travel_been <> "") { ?>
                                                                                <tr>
                                                                                    <td align="left" class="maintext1"><strong>The places I have been</strong><br>
                                                                                        <?php echo $objU->tmy_travel_been <> "" ? nl2br(htmlspecialchars(stripslashes($objU->tmy_travel_been))) : "--"?>
                                                                                    </td>
                                                                                </tr>
                                                                                <?php }//end if?>

                                                                                <?php if ($objU->tmy_travel_going <> "") { ?>
                                                                                <tr>
                                                                                    <td align="left" class="maintext1"><strong>The places I am going</strong><br>
                                                                                        <?php echo $objU->tmy_travel_going <> "" ? nl2br(htmlspecialchars(stripslashes($objU->tmy_travel_going))) : "--"?>
                                                                                    </td>
                                                                                </tr>
                                                                                <?php }//end if?>


                                                                                <?php if ($objU->tmy_arts_culture_events <> "") { ?>

                                                                                <tr>

                                                                                    <td align="left" class="maintext1"><strong>Arts and Cultural Events</strong><br>

                                                                                    <?php echo $objU->tmy_arts_culture_events <> "" ? nl2br(htmlspecialchars(stripslashes($objU->tmy_arts_culture_events))) : "--"?></td>

                                                                                </tr>

                                                                                        <?php }//end if?>

                                                                                    <?php if ($objU->tmy_poison_place <> "") { ?>

                                                                                <tr>

                                                                                    <td align="left" class="maintext1"><strong>Name your poison and your place</strong><br>

                                                                                                <?php echo $objU->tmy_poison_place <> "" ? nl2br(htmlspecialchars(stripslashes($objU->tmy_poison_place))) : "--"?></td>

                                                                                </tr>

                                                                                <?php }//end if?>

                                                                                <?php if ($objU->tmy_politics <> "") { ?>

                                                                                <tr>

                                                                                    <td align="left" class="maintext1"><strong>Did someone say &quot;Politics?&quot;</strong><br>

                                                                                                <?php echo $objU->tmy_politics <> "" ? nl2br(htmlspecialchars(stripslashes($objU->tmy_politics))) : "--"?></td>

                                                                                </tr>

                                                                                <?php }//end if?>

                                                                                

                                                                                <?php if ($objU->tmy_major_world_issue <> "") { ?>
                                                                                
                                                                                <tr>

                                                                                    <td align="left" class="maintext1"><strong>Of the major issues in the world, which ones are you the most passionate about?</strong><br>
                                                                                    <?php echo $objU->tmy_major_world_issue <> "" ? nl2br(htmlspecialchars(stripslashes($objU->tmy_major_world_issue))) : "--"?>
                                                                                    </td>
                                                                                </tr>
                                                                                <tr>

                                                                                    <td align="left" class="maintext1"><strong>What are you doing about it?</strong>
                                                                                        <br><?php echo $objU->tmy_doings_on_major_world_issue <> "" ? nl2br(htmlspecialchars(stripslashes($objU->tmy_doings_on_major_world_issue))) : "--"?>
                                                                                    </td>

                                                                                </tr>
                                                                                <?php }//end if?>
                                                                                

                                                                                    <?php if ($objU->tmy_perfect_mate <> "") { ?>

                                                                                <tr>

                                                                                    <td align="left" class="maintext1"><strong>If I could build a guy/girl?</strong><br>

                                                                                                <?php echo $objU->tmy_perfect_mate <> "" ? nl2br(htmlspecialchars(stripslashes($objU->tmy_perfect_mate))) : "--"?></td>

                                                                                </tr>

                                                                                        <?php }//end if?>

                                                                            </table></td>



                                                                    </tr>

                                                                </table>

                                                                <table width="100%"  border="0" cellspacing="0" cellpadding="5">

                                                                    <tr>

                                                                        <td align="left"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                                                                                <tr>
                                                                                    <td colspan="2">&nbsp;</td>
                                                                                </tr>
                                                                                <tr>

                                                                                    <td width="83%" align="left"><a href="my_interests.php" class="editbutton">Edit</a></td>

                                                                                    <td width="17%" align="center">&nbsp;</td>

                                                                                </tr>

                                                                            </table></td>

                                                                    </tr>

                                                                </table>

                                                            </td>

                                                        </tr>

                                                    </table></td>

                                            </tr>

                                        </table>

                                            <?php }//end if array checking?>

                                        <?php

//checking value exist

                                        if(is_array($Lifestyle) && !empty($Lifestyle)) {?>

                                        <table width="100%"  border="0" cellspacing="0" cellpadding="5">
                                            <tr>

                                                <td><table width="100%"  border="0" cellspacing="0" cellpadding="5">

                                                        <tr>

                                                            <td class="headings2 border-bottom"><?php echo ucfirst($objU->vLogin)?>'s Lifestyle</td>

                                                        </tr>

                                                    </table>

                                                    <table width="57%"  border="0" cellspacing="0" cellpadding="5">

                                                        <tr>

                                                            <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">

                                                                    <tr>

                                                                        <td ><table width="100%"  border="0" cellspacing="0" cellpadding="0">

                                                                                    <?php if ($objU->taday_in_my_life <> "") { ?>

                                                                                <tr>

                                                                                    <td width="45%" align="left" class="maintext1"><strong>A day in my life</strong><br>

                                                                                        <div align="justify"><?php echo $objU->taday_in_my_life <> "" ? nl2br(htmlspecialchars(stripslashes($objU->taday_in_my_life))) : "--"?></div></td>

                                                                                </tr>

                                                                                        <?php }//end if?>

                                                                                    <?php if ($objU->vmy_night_life_out <> "" OR $objU->vmy_night_life_in <> "") { ?>

                                                                                <tr>

                                                                                    <td align="left" class="maintext1"><strong>Night Life</strong><br>

                                                                                        <table width="100%"  border="0" cellpadding="5" cellspacing="0" class="maintext">

                                                                                            <tr>

                                                                                                <td valign="top"><strong>Out</strong><br><div align="justify"><?php echo $objU->vmy_night_life_out <> "" ? nl2br(htmlspecialchars(stripslashes($objU->vmy_night_life_out))) : "--"?></div></td>

                                                                                            </tr>

                                                                                            <tr>

                                                                                                <td valign="top"><div align="justify"><strong>In</strong>

                                                                                                        <br><?php echo $objU->vmy_night_life_in <> "" ? nl2br(htmlspecialchars(stripslashes($objU->vmy_night_life_in))) : "--"?>

                                                                                                    </div></td>

                                                                                            </tr>

                                                                                        </table></td>

                                                                                </tr>

                                                                                        <?php }//end if?>

                                                                                    <?php if ($objU->tmy_food <> "") { ?>

                                                                                <tr>

                                                                                    <td align="left" class="maintext1"><strong>Food</strong><br>

                                                                                                <?php echo $objU->tmy_food <> "" ? nl2br(htmlspecialchars(stripslashes($objU->tmy_food))) : "--"?></td>

                                                                                </tr>

                                                                                        <?php }//end if?>

                                                                                    <?php if ($objU->tmy_money <> "") { ?>

                                                                                <tr>

                                                                                    <td align="left" class="maintext1"><strong>Money</strong><br>

                                                                                        <div align="justify"><?php echo $objU->tmy_money <> "" ? nl2br(htmlspecialchars(stripslashes($objU->tmy_money))) : "--"?></div></td>

                                                                                </tr>

                                                                                        <?php }//end if?>

                                                                                    <?php if ($objU->tmy_last_restaurant <> "") { ?>

                                                                                <tr>

                                                                                    <td align="left" class="maintext1"><strong>Name the last restaurant you visited</strong><br>
                                                                                            <?php echo $objU->tmy_last_restaurant <> "" ? nl2br(htmlspecialchars(stripslashes($objU->tmy_last_restaurant))) : "--"?>
                                                                                    </td>
                                                                                    </tr>

                                                                                    <tr>
                                                                                        <td align="left" class="maintext1"><strong>Review it</strong>
                                                                                                <br><?php echo $objU->tmy_last_restaurant_review <> "" ? nl2br(htmlspecialchars(stripslashes($objU->tmy_last_restaurant_review))) : "--"?>
                                                                                        </td>

                                                                                    </tr>

                                                                                    <?php }//end if?>

                                                                                    <?php if ($objU->tmy_charity <> "") { ?>

                                                                                <tr>

                                                                                    <td align="left" class="maintext1"><strong>What have you done for charity's sake?</strong><br>

                                                                                                <?php echo $objU->tmy_charity <> "" ? nl2br(htmlspecialchars(stripslashes($objU->tmy_charity))) : "--"?></td>

                                                                                </tr>

                                                                                        <?php }//end if?>

                                                                            </table></td>



                                                                    </tr>

                                                                </table>

                                                                <table width="100%"  border="0" cellspacing="0" cellpadding="5">

                                                                    <tr>

                                                                        <td align="left"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                                                                                <tr>
                                                                                    <td colspan="2">&nbsp;</td>
                                                                                </tr>
                                                                                <tr>

                                                                                    <td width="83%" align="left"><a href="my_lifestyle.php" class="editbutton">Edit</a></td>

       <?php /*if($facebook_app_id && $facebook_secret_id){ ?>                                                                             <td width="17%" align="center"><div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&appId=<?php echo $facebook_app_id;?>&version=v2.0";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script><div class="fb-share-button" data-href="<?php echo $siteSettings['site_normal_url'].'/profile.php?id='.$_SESSION['user_id'];?>" data-type="button"></div>
       <?php }*/ ?>
       </td>

                                                                                </tr>

                                                                            </table></td>

                                                                    </tr>

                                                                </table></td>

                                                        </tr>

                                                    </table></td>

                                            </tr>
                                            <tr><td>&nbsp;</td></tr>
                                        </table>
                                        <div><?php if($siteSettings['bcheck']=='Yes') { ?><a href="my_backgroundcheck.php" class="bg-btn">Background Check</a><?php }?></div>
                                            <?php }//end if array checking?>
                                        
                                       <br> <a href="matching_profiles.php" class="bg-btn"> View Matching Profiles</a>
                                        
                                    </div>
                                    <div id="hide"><?php echo $script?></div></td>

                            </tr>

                        </table></td>

                    <td width="28%" valign="top">&nbsp;</td>

                </tr>

            </table>

        </td>

    </tr>

</table>-->



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

</div>
