<?php
if($_SESSION['member_name']==''){
?>

<table width="98%" border="0" align="right" cellpadding="0" cellspacing="0">
  <tr>
    <td align="right"><a href="login" class="btn btn-primary">Member Login</a></td>
  </tr>
</table>
<?php 
}else{
	?>
		<table align="right" >
			<tr>
				<td style="padding-top:10px;"><h5 style="color:#000;"><a href="profile" style="color:#333"><?php echo $_SESSION['member_name']?></a> | <a href="logout" style="color:#333">Logout</a></h5></td>
			</tr>
		</table>
	<?php
}
?>