<?php
$getUser8 = mysqli_fetch_array(mysqli_query($connection,"SELECT * FROM `pd_brokers` WHERE `user_id` = '".$_SESSION['USER_ID']."'"));
?>

<div class="row">
	<div class="col-xs-12 col-sm-12 col-md-12 mb-10">
		<div class="media-body" style="border:1px solid #003f7d; padding:5px;">
		<p style="background-color:#003f7d; color:#fff; padding:5px; text-align:center;"><?php echo $getUser8['fname'];?>&nbsp;<?php echo $getUser8['lname'];?></p>
		<table width="100%" border="0" cellspacing="2" cellpadding="2">
			<tr>
				<td width="10%" style="background:#e3f2fd; margin:5px; padding:5px; text-align:center;"><i class="fa fa-user"></i></td>
				<td width="90%" style="margin:5px; padding:5px; border-bottom:1px solid #003f7d; border-top:1px solid #003f7d; <?php if($current_page == 'my-account.php') { ?>background:#e3f2fd;<?php } ?>"><a href="my-account.php" style="color:#111111;">My Account</a></td>
			</tr>
			<tr>
    			<td style="background:#e3f2fd; margin:5px; padding:5px; text-align:center;"><i class="fa fa-edit"></i></td>
    			<td style="margin:5px; padding:5px; border-bottom:1px solid #003f7d; <?php if($current_page == 'edit-profile.php') { ?>background:#e3f2fd;<?php } ?>"><a href="edit-profile.php" style="color:#111111;">Edit Profile</a></td>
			</tr>
			<tr>
    			<td style="background:#e3f2fd; margin:5px; padding:5px; text-align:center;"><i class="fa fa-lock"></i></td>
    			<td style="margin:5px; padding:5px; border-bottom:1px solid #003f7d; <?php if($current_page == 'change-password.php') { ?>background:#e3f2fd;<?php } ?>"><a href="change-password.php" style="color:#111111;">Change Password</a></td>
			</tr>
			<tr>
    			<td style="background:#e3f2fd; margin:5px; padding:5px; text-align:center;"><i class="fa fa-plus"></i></td>
    			<td style="margin:5px; padding:5px; border-bottom:1px solid #003f7d; <?php if($current_page == 'add-property.php' || $current_page == 'add-property-photo.php'|| $current_page == 'add-property-complete.php') { ?>background:#e3f2fd;<?php } ?>"><a href="add-property.php" style="color:#111111;">Add Property</a></td>
			</tr>
			<tr>
    			<td style="background:#e3f2fd; margin:5px; padding:5px; text-align:center;"><i class="fa fa-list-alt"></i></td>
    			<td style="margin:5px; padding:5px; border-bottom:1px solid #003f7d; <?php if($current_page == 'my-property.php' || $current_page == 'edit-property.php' || $current_page == 'photo-list.php' || $current_page == 'add-photo.php') { ?>background:#e3f2fd;<?php } ?>"><a href="my-property.php" style="color:#111111;">My Property List</a></td>
			</tr>
			<tr>
    			<td style="background:#e3f2fd; margin:5px; padding:5px; text-align:center;"><i class="fa fa-power-off"></i></td>
    			<td style="margin:5px; padding:5px; border-bottom:1px solid #003f7d;"><a href="logout.php" style="color:#111111;">Logout</a></td>
			</tr>
		</table>
	    </div>
    </div>
</div>
