MSV FM

dot.antimicrobial@66.96.161.157: ~ $
Path : /hermes/bosweb/b1705/trinix19.ipage.com/.1450068205/mypotion_final/
File Upload :
Current < : /hermes/bosweb/b1705/trinix19.ipage.com/.1450068205/mypotion_final/doc_profile.php

                       <?php
include("connection.php");
$email=$_GET['email'];
$query1=mysql_query("SELECT * FROM doc_profile WHERE email='$email'");
$ans=mysql_fetch_array($query1);
$query3=mysql_query("SELECT * FROM  professional_experience WHERE email='$email'");
$pe=mysql_fetch_array($query3);
$query2=mysql_query("SELECT * FROM medical_school WHERE email='$email'");
$ms=mysql_fetch_array($query2);
?>

<!DOCTYPE html>
<html lang="en" class="sb-init" style="overflow: hidden;">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <meta name="keyword" content="">
    <link rel="shortcut icon">
    <title>Project</title>

    <!-- Bootstrap core CSS -->
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/bootstrap-reset.css" rel="stylesheet">
    <!--external css-->
    <link href="css/font-awesome.css" rel="stylesheet">
	<link href="css/font-awesome.min.css" rel="stylesheet">
      <!--right slidebar-->
      <link href="css/slidebars.css" rel="stylesheet">
    <!-- Custom styles for this template -->
    <link href="css/style.css" rel="stylesheet">
    <link href="css/style-responsive.css" rel="stylesheet">
	<style>
		.modified{
		font-size:14px;
		font-weight:600;
	}
	</style>
</head>

  <body>

  <section id="container" class="sidebar-closed">
      <!--header start-->
      <header class="header white-bg">
          <!--logo start-->
          <a href="home.php" class="logo"><img src="image/logoE.png" width="100px"></a>
          <!--logo end-->
      </header>
	    <?php
							  include("connection.php");
							  $query=mysql_query("SELECT * FROM register WHERE email='$email'");
							  $row=mysql_fetch_array($query);
							?>
      <!--header end-->
      <!--main content start-->
      <section id="main-content" style="margin-left: 0px;">
          <section class="wrapper">
              <!-- page start-->
              <div class="row">
                  <aside class="profile-nav col-lg-3">
                      <section class="panel">
                      
                           <div class="user-heading round">
                         
                              <a  href="#">
                                 <?php echo "<img src='data:image/jpeg;base64,".base64_encode( $ans['photo'] )."'/> ";?>
                              </a>
							 
                            
                              <h1><?php echo $row[1]; ?></h1>
                              <p><?php echo $row[3]; ?></p>
                          </div>
						 
                          <ul class="nav nav-pills nav-stacked" id="nav-accordion">
                              <li class="active"><a href="doc_profile.php?email=<?php echo $email; ?>"> <i class="fa fa-user"></i> Info</a></li>
                              
							  <li class="sub-menu dcjq-parent-li"> 
							 <a href="javascript:;" class="dcjq-parent"> 
							 <i class="fa fa-calendar"></i>
							  <span> About </span>
							    <span class="dcjq-icon"></span></a>
							<ul class="sub" style="display: none;">
									<li><a href="profile.php?email=<?php echo $email; ?>">Profile</a></li>
									<li><a href="medical_info.php?email=<?php echo $email; ?>">Medical Info</a></li>
							</ul>
							  </li>
                              
							  <li><a href="contact.php"> <i class="fa fa-edit"></i> Contact Me</a></li>
                          </ul>

                      </section>
                  </aside>
                  <aside class="profile-info col-lg-9">
			
                      <section class="panel" style="padding:20px;">
                      <?php
					  echo '<h3><b>'.$row['fullname'].'</b><img src="image/Layer3.png"></h3>';
					  echo '<h6>'.$ms['quali']." ".$ms['city']." ".$ms['college_name']." ".$ms['achievements'].'</h6>';
					  ?>
                      <p style="color:#FF766C; font-weight:600;"><button type="button" class="btn btn-danger" > 251 </button> Recommandations</p>
                      <?php
					    echo '<p> Worked as : '.$pe['specialist'].' in '.$pe['hosp_name'].' for '.$pe['experience'].'</p>'; 
					  ?>
                      </section>
                      <section class="panel">
                          <div class="bio-graph-heading">
                         My Potion - The Professional Health care application to keep you in the pink of health.
                          </div>
                          
                      
                                  <?php
include("connection.php");
$query=mysql_query("SELECT * FROM meet_me_at WHERE email='$email'");
$meet=mysql_fetch_array($query);
?>
 <section class="panel">
                    <div class="panel-body bio-graph-info">
                              <h1>Meet me at</h1>
                              <div class="row">
						 <div class="col-md-12">
  <div class="col-md-4">
  <div class="pull-left" style="margin-right:20px;">
 <img src="image/icon3.png">
 </div>
                                   
                                  <?php echo '<span class="modified">'.$row["fullname"].'</span>,'.$meet['city']; ?>
                                                     
                       <?php echo '<p>'.$meet['hospital'].'</p>'; ?>	  
                       <?php echo '<p>'.$meet['hosp_address'].'</p>'; ?>
								
                                  </div>
                                  
                                  <div class="col-md-4">
                                    <div class="pull-left" style="margin-right:20px;">
                                    <img src="image/icon1.png"></div>
                                <?php echo $meet['contact_days']; ?>
								<?php echo '<p>'.$meet['hrs1'].':'.$meet['min1'].' To '.$meet['hrs2'].':'.$meet['min2'].'</p>'; ?>
                         </div>
                                   <div class="col-md-4">
                                    <div class="pull-left" style="margin-right:20px;">
                                    <img src="image/icon2.png"></div>
                                  
                                   <?php echo '<p>'.$meet['nurse_name'].'</p>'; ?>
							
                              <?php echo '<p>'.$meet['nurse_mob'].'</p>'; ?>
									
										
                                
                                  </div>   
                               
								  </div>
								  </div>
								  </div>
                                  </section>

</div>
                                  </div>
                       
                  
      <!--footer start-->
      <footer class="site-footer">
          <div class="text-center">
             CopyRight &copy; 2016 
			  <div class="pull-right">
			  </div>
              <a href="#" class="go-top">
                  <i class="fa fa-angle-up"></i>
              </a>
	 </div>
      </footer>
      <!--footer end-->
  </section>

    <!-- js placed at the end of the document so the pages load faster -->
    <script src="js/jquery.js"></script>
   <script>
window.myFunction=function()
    {
        for(var i=0; i < document.getElementsByTagName("input").length-1;i++)
     document.getElementsByTagName("input")[i].removeAttribute('readonly');
    }
							function enableTxt() {
  document.getElementById("text").readOnly = false;
}
function enableTxt1() {
  document.getElementById("text1").readOnly = false;
  var myInput = document.getElementById("text1").style;
   myInput.borderStyle="none";
}
function enableTxt2() {
  document.getElementById("text2").readOnly = false;
}
function enableTxt3() {
  document.getElementById("text3").readOnly = false;
}
function enableTxt4() {
  document.getElementById("text4").readOnly = false;
}
function enableTxt5() {
  document.getElementById("text5").readOnly = false;
}
function enableTxt6() {
  document.getElementById("text6").readOnly = false;
}
function enableTxt7() {
  document.getElementById("text7").readOnly = false;
}
</script>
    <script src="js/bootstrap.min.js"></script>
    <script class="include" type="text/javascript" src="js/jquery.dcjqaccordion.2.7.js"></script>
    <script src="js/jquery.scrollTo.min.js"></script>
    <script src="js/jquery.nicescroll.js" type="text/javascript"></script>
    <script src="js/jquery.knob.js"></script>
    <script src="js/respond.min.js"></script>

  <!--right slidebar-->
  <script src="js/slidebars.min.js"></script>

    <!--common script for all pages-->
    <script src="js/common-scripts.js"></script>

	<div id="ascrail2000" class="nicescroll-rails" style="width: 3px; z-index: auto; cursor: default; position: fixed; height: 623px; opacity: 0; display: block; background: rgb(64, 64, 64);">
	
	<div style="position: relative; top: 0px; float: right; width: 3px; height: 336px; border-radius: 10px; background-color: rgb(232, 64, 63); background-clip: padding-box;">
	</div>
	</div>
	
	<div id="ascrail2000-hr" class="nicescroll-rails" style="height: 3px; z-index: auto; position: fixed; cursor: default; display: none; width: 207px; opacity: 0; background: rgb(64, 64, 64);">
	<div style="position: relative; top: 0px; height: 3px; width: 210px; border-radius: 10px; background-color: rgb(232, 64, 63); background-clip: padding-box;"></div>
	</div>
	<div id="ascrail2001" class="nicescroll-rails" style="width: 6px; z-index: 1000; cursor: default; position: fixed; top: 0px; height: 100%; right: 0px; opacity: 0; background: rgb(64, 64, 64);">
	<div style="position: relative; top: 0px; float: right; width: 6px; height: 468px; border-radius: 10px; background-color: rgb(232, 64, 63); background-clip: padding-box;">
	</div>
	</div>
	<div id="ascrail2001-hr" class="nicescroll-rails" style="height: 6px; z-index: 1000; position: fixed; left: 0px; width: 100%; bottom: 0px; cursor: default; display: none; opacity: 0; background: rgb(64, 64, 64);">
	<div style="position: relative; top: 0px; height: 6px; width: 1366px; border-radius: 10px; background-color: rgb(232, 64, 63); background-clip: padding-box;">
	</div>
	</div>

  <script>

      //knob
      $(".knob").knob();

  </script>


  

</body></html>