<?php
require_once("header.php");
require_once("menu.php");
?>

<div id="layoutSidenav_content">
<main class="mt-4">
    <div class="container-fluid">
        
        <div class="card mb-4">
            <div class="card-header">
                <i class="fas fa-list mr-1"></i>Team Member Details
                <a href="team.php" class="btn btn-primary btn-sm float-right">Back</a>
            </div>
                        
						<?php
						$team_id = base64_decode($_REQUEST['id']);
                         ?>
						<div class="card-body">
                <div class="table-responsive">
						        <table class="table table-bordered" width="100%" cellspacing="0">
<?php
$query= $obj->view_team_details($team_id);
$fet = mysqli_fetch_assoc($query);
?>

<tr>
    <th colspan="2"><img src="<?php echo $fet['team_profile'];?>" style="width:100px;"></th>
</tr>
<tr><th>Name</th> <td> <?php echo $fet['team_name'];?></td></tr>
<tr><th>Position</th> <td> <?php echo $fet['position'];?></td></tr>
<tr><th>Email</th> <td> <?php echo $fet['team_email'];?></td></tr>
<tr><th>Mobile No</th> <td> <?php echo $fet['team_contact_no'];?></td></tr>
<tr><th>Telephone No</th> <td> <?php echo $fet['team_telephone'];?></td></tr>
<tr><th>Member Details</th> <td> <?php echo $fet['team_details'];?></td></tr>
<tr><th>LinkedIn</th> <td> <?php echo $fet['linkedin'];?></td></tr>

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

</main>
                
 
<script>
    var url ="team.php";
</script>      
<?php require_once("footer.php");?>
