<?php
session_start();
include ("includes/database.php");

$username=$_SESSION["username"];
$dataPengguna=mysqli_query($con,"SELECT * from tbl_user where username='$username'");
$showDataPengguna=mysqli_fetch_array($dataPengguna);

?>

<!DOCTYPE html>
<html lang="en">


  <head>


    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>FIX-IT-ALL</title>

    <!-- Bootstrap core CSS -->
    <link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="css/heroic-features.css" rel="stylesheet">

<!-- Page Content -->
    <div class="container">
  <link rel="stylesheet" type="text/css" href="styleall.css">

  </head>

  <body>

    <!-- Navigation -->
    <!-- w3school -->
    <style>
ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: url(images/pinkk.png);
}

li {
  float: left;
}

li a {
  display: block;
  font-family: verdana;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

li a:hover {
  background-color: #fff2e6;
}
</style>

<body>

<ul>
  <li><a class="active" href="main2.php">Home</a></li>
  <li><a href="about2.php">About</a></li>
  <li><a href="bookingstatus.php">Booking Status</a></li>
  <li><a href="feedback2.php">Feedback</a></li>
  <li><a href="logout.php">Logout</a></li>
        
</ul>
<br>

    </nav>         
                          
</div>
<!-- /.panel-heading -->
<div class="panel-body">
<div class="table-responsive">
<table class="table">
<thead align="center">



        <div id="page-wrapper">
            <div class="container-fluid">
                <div class="row">
                    <div class="col-lg-12">
                      <h1 class="page-header">User Profile</h1>


   <div class="col-sm-10">
   <p class="form-control-static"> <span class="glyphicon glyphicon-tasks"></span> <?php echo $showDataPengguna['user_photo']; ?> </p>
   </div>
                    

   <div class="col-sm-10">
   <p class="form-control-static"> <span class="glyphicon glyphicon-tasks"></span> <?php echo $showDataPengguna['user_name']; ?> </p>
   </div>
  
  <div class="col-sm-10">
   <p class="form-control-static"><span class="glyphicon glyphicon-comment"></span> <?php echo $showDataPengguna['user_email']; ?> </p>
   </div>

   <div class="col-sm-10">
    <p class="form-control-static">   <span class="glyphicon glyphicon-phone"></span> <?php echo $showDataPengguna['user_phone']; ?> </p>
    </div>

      <div class="col-sm-10">
    <p class="form-control-static">   <span class="glyphicon glyphicon-phone"></span> <?php echo $showDataPengguna['user_address']; ?> </p>
    </div>
   
   
  
  
                    </div>
                    <!-- /.col-lg-12 -->
                </div>
                <!-- /.row -->
            </div>
            <!-- /.container-fluid -->
        </div>
        <!-- /#page-wrapper -->

    </div>
    <!-- /#wrapper -->




<!-- w3schools.com -->

    
    <!-- Footer -->
    <footer class="py-4 bg-dark" align="center">
      <div class="container">
        <p class="m-0 text-center text-white">Copyright &copy;Fix-It-All 2018</p>
      </div>
      <!-- /.container -->
    </footer>

    <!-- Bootstrap core JavaScript -->
    <script src="vendor/jquery/jquery.min.js"></script>
    <script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>

  </body>

</html>

