<!DOCTYPE html>
<html>
<title>JereHassan Services</title>
<head> 
<link href="buda_cssfile.css" rel="stylesheet" type=" text/css">

<link href="buda_shop.css" rel="stylesheet" type=" text/css">

<script type= "text/javascript"  src="../../uncjQuery.js"></script>

         <?php
        $imageP="";
        $pName="";
         if (isset($_POST['owniD']))
         {
         require("buda_shoping_class.php");
         $scon = new  buda_shoping_class();
         require("buda_connect.php");
         $con = new connect_class();
          require("buda_house_class.php");
         $hcon = new house_class();

         $ownID=$_POST['owniD'];
         $img = $con->getMyProfilePicture($ownID);
         if($img->rowCount()>0)
         {
           $rr=$img->fetch();
           $imageP=$rr["directory"];
         }

         $pN=$con->getMyProfileName($ownID);

         if($pN->rowCount()>0)
          {
           $rN=$pN->fetch();
           $pName=$rN["lname"];
           }
          
         }
         ?>                                                              
 


<table class="headtab"><tr> <td align="left" width="100%" style="padding-left: 40px;" colspan="2"><font size=6 type ="agency fb " color="white" >BUDA BUILD AWESOME BUSINESS PLATFORM</font> 

 </td>
 
  </tr>

<tr id="link">

<td id="leff" valign="bottom">

<ul> 

<li id="nav_hm"> 
   
    <form action="afterLoginHotel.php" method="post">
              
        <input class="hi" type="text" name="owniD"  value="<?php echo "20160828035211";?>">


        <input class="po" type="submit" value="Reservation houses" name="post">

    </form>
    
 </li>


 


<li  id="nav_m">

  <form action="shoping_center/buda_shoping_center.php" method="post">
              
        <input class="hi" type="text" name="owniD"  value="<?php echo "201608280352";?>">


        <input class="po" type="submit" value="Shoping center" name="post">

    </form>
 

</li>

<li id="nav_m" >

 <form action="house_for_rent/getMyHousePreview.php" method="post">
              
        <input class="hi" type="text" name="owniD"  value="<?php echo $pName;?>">


        <input class="po" type="submit" value=" House for rent" name="post">

    </form>
 
</li>

 <li id="nav_m" >

 <label id="label">School</label>

 </li>

 <li  id="nav_m"> 

 <label id="label">Buda express</label>

 </li>

 <li id="nav_m" >

 <label id="label">Enterprenuers</label> 

 </li>

 <li  id="nav_m"> <label id="label">About us</label> 

 </li>


 </ul>

 </td>
 <td width="10%" valign="bottom" align="center">
 <img id="owp" src="<?php echo "../". $imageP;?>"  alt="Profile photo" />

   <br/><small><?php echo $pName;?></small>
 </td>

</tr>

</table>
<table width="100%">
       <tr>
           <td align="right">
       	   <form action="../myAccountProfile.php" method="post">

              <input class="hi" type="text" name="owniD"  value="<?php echo "20160828035211";?>">


              <input class="pos" type="submit" value="My account" name="post">

           </form>
          </td>
      </tr>
</table>

</head>