<!DOCTYPE html>
<html>
<title>JereHassan Services</title>
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 
<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_once('../buda_agro_class.php');
         $gcon = new buda_agro_class();
         require("../buda_pharmacy_class.php");
         $pcon = new  buda_pharmacy_class();
         require("../buda_connect.php");
         $con = new connect_class();
          require("../buda_house_class.php");
         $hcon = new house_class();

         require("../buda_enterprenuers_class.php");
         $econ = new buda_enterprenuer_class();

         require("../buda_hexandeal_class.php");
         $xcon = new buda_hexandeal_class();
         
         $ownID=$_POST['owniD'];
         $img = $con->getMyProfilePicture($ownID);
         if($img->rowCount()>0)
         {
           $rr=$img->fetch();
           $imageP=$rr["directory"];
         }
         else{
          $imageP='../accountProfileImages/default.jpg';
         }

         $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="../hotel_default_entry.php" method="post">
              
        <input class="hi" type="hidden" name="owniD"  value="<?php echo $ownID;?>">


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

    </form>
    
 </li>


 


<li  id="nav_m">

  <form action="../shoping_center/defaultShopingCenterInOther.php" method="post">
              
        <input class="hi" type="hidden" name="owniD"  value="<?php echo $ownID;?>">


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

    </form>
 

</li>


<li id="nav_m" >

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


        <input name="post" class="po" type="submit" value="Rent Houses"/>

    </form>
 
</li>

 <li id="nav_m" >

 <label id="label">
                <form action="../enterprenuers/defaultEnterpreneursEntryIn.php" method="post">
                        
                   <input class="hi" type="hidden" name="owniD"  value="<?php echo $ownID;?>">


                <input name="post" class="po" type="submit" value="Enterprenuers"/>

    </form>
 

 </label>

 </li>

   <li id="nav_m" >

 <label id="label"> 
                  <form action="../hexaNdeal/hexaNdeal.php" method="post">
                              
                        <input class="hi" type="hidden" name="owniD"  value="<?php echo $ownID;?>">


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

                    </form></label>

 </li>

   <li id="nav_m" >

 <label id="label"> 
                  <form action="../hexaNdeal/hexaNdeal.php" method="post">
                              
                        <input class="hi" type="hidden" name="owniD"  value="<?php echo $ownID;?>">


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

                    </form></label>

 </li>

 <li  id="nav_m"> 

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

 </li>

 <li id="nav_m" >

 <label id="label">Schools</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="hidden" name="owniD"  value="<?php echo $ownID;?>">


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

           </form>
           <form action="../home.php" method="post">

              <input class="hi" type="hidden" name="owniD"  value="<?php echo $ownID;?>">


              <input class="pos" type="submit" style="color:red;" value="Logout" name="post">

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

</head>