<?php 


$query="SELECT a.name,username,email,b.name AS ugroup FROM ".$prefix."employee AS a,".$prefix."usergroup AS b WHERE a.usergroup=b.usergroupID AND id=$uid";


$result=mysqli_query($linkid,$query);


$userType=mysqli_fetch_array($result);


?>


<div id="contentwrapper">


  <div class="main_content">


    <nav>


      <div id="jCrumbs" class="breadCrumb module">


        <ul>


          <li> <a href="#"><i class="icon-home"></i></a> </li>


          <li> <a href="#">Account Manager</a> </li>


          <li> <a href="#">My Profile</a> </li>


        </ul>


      </div>


    </nav>


    <div class="row-fluid">


      <div class="span6">


        <h3 class="heading">My Profile</h3>


        <form class="form-horizontal">


          <fieldset>


          <div class="control-group formSep">


            <label class="control-label">Name</label>


            <div class="controls text_line"> <strong><?php echo $userType['name'];?></strong> </div>


          </div>


          <div class="control-group formSep">


            <label for="u_fname" class="control-label">User name</label>


            <div class="controls"> <?php echo $userType['username'];?> </div>


          </div>


          <div class="control-group formSep">


            <label for="u_fname" class="control-label">Email</label>


            <div class="controls"> <?php echo $userType['email'];?> </div>


          </div>


          <div class="control-group formSep">


            <label for="u_fname" class="control-label">User Group</label>


            <div class="controls"> <?php echo $userType['ugroup'];?> </div>


          </div>


            <div class="form-actions">


          <a href="index.php?tab=editprofile" style="color:#006600">Edit Form</a>


          </div>


		     


          </fieldset>


        </form>


      </div>


    </div>


  </div>


</div>


