ok

Mini Shell

Direktori : /home/keydecors/www/ca/admin/app/
Upload File :
Current File : /home/keydecors/www/ca/admin/app/patients_profile_search_name.php

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

<head>
  <!-- Required meta tags -->
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <title>Purple Admin</title>
  <!-- plugins:css -->
  <link rel="stylesheet" href="vendors/iconfonts/mdi/css/materialdesignicons.min.css">
  <link rel="stylesheet" href="vendors/css/vendor.bundle.base.css">
  <!-- endinject -->
  <!-- plugin css for this page -->
  <!-- End plugin css for this page -->
  <!-- inject:css -->
  <link rel="stylesheet" href="css/style.css">
  <!-- endinject -->
  <link rel="shortcut icon" href="images/favicon.png" />
</head>
<?php 

$sa = mt_rand(); 

?>
<body>
  <div class="container-scroller">
    <!-- partial:../../partials/_navbar.html -->
    <nav class="navbar default-layout-navbar col-lg-12 col-12 p-0 fixed-top d-flex flex-row">
      <div class="text-center navbar-brand-wrapper d-flex align-items-center justify-content-center">
        <a class="navbar-brand brand-logo" href="index.html"><img src="images/logo.png" alt="logo"/></a>
        <a class="navbar-brand brand-logo-mini" href="index.html"><img src="images/logo-mini.svg" alt="logo"/></a>
      </div>
      <div class="navbar-menu-wrapper d-flex align-items-stretch">

        <ul class="navbar-nav navbar-nav-right">
          <li class="nav-item nav-profile dropdown">
            <a class="nav-link dropdown-toggle" id="profileDropdown" href="#" data-toggle="dropdown" aria-expanded="false">
              <div class="nav-profile-img">
                
                  
              </div>
         
            </a>
            <div class="dropdown-menu navbar-dropdown" aria-labelledby="profileDropdown">
            
              <div class="dropdown-divider"></div> <a class="dropdown-item" href="logout_action.php">
                <i class="mdi mdi-logout mr-2 text-primary"></i>
                Signout
              </a>
            </div>
          </li>
          <li class="nav-item d-none d-lg-block full-screen-link">
            <a class="nav-link">
              <i class="mdi mdi-fullscreen" id="fullscreen-button"></i>
            </a>
          </li>
          
         
        
      
        </ul>
        <button class="navbar-toggler navbar-toggler-right d-lg-none align-self-center" type="button" data-toggle="offcanvas">
          <span class="mdi mdi-menu"></span>
        </button>
      </div>
    </nav>
    <!-- partial -->
    <div class="container-fluid page-body-wrapper">
      <!-- partial:../../partials/_sidebar.html -->
<?php include "sidemenu.php";  ?>
      <!-- partial -->
      <div class="main-panel">
        <div class="content-wrapper">
		
		
		        <div class="col-12 grid-margin stretch-card">
              <div class="card">
                <div class="card-body">
<?php
include("model/dboperation.php");
$id=$_POST['name'];
$sql="SELECT *  FROM swathi_patient WHERE patients_name='$id'";
$result = $mysqli->query($sql);
if ($result->num_rows > 0) {
// output data of each row
while($row = $result->fetch_assoc()) {
?> 				
                  <h4 class="card-title">Patients Profile Details</h4>
                  <p class="card-description">
                
                  </p>
                  <form class="forms-sample" action="controller/patients_profile_update.php" method="post">
                     <div class="form-group">
                      <label for="exampleInputName1">Speciality Medicines</label>
                     <input type="text" name="spmedicine" class="form-control" id="exampleInputName1" value="<?php echo $row['speciality_medicine_p'];?>">
                    </div>
                  
                    <div class="form-group">
                      <label for="exampleInputName1">Profile number</label>
                      <input type="text" class="form-control" name="profile_number" id="exampleInputName1" value="<?php echo $row['profile_no'];?>" >
                    </div>
                    <div class="form-group">
                      <label for="exampleInputEmail3"> Name</label>
                      <input type="text" class="form-control" name="name" id="exampleInputEmail3" placeholder="Name" value="<?php echo $row['patients_name'];?>">
                    </div>
					
					<div class="form-group">
                      <label for="exampleInputEmail3"> Age</label>
                      <input type="text" class="form-control" name="age" id="exampleInputEmail3" placeholder="Age" value="<?php echo $row['patients_age'];?>">
                    </div>
					  <div class="form-group">
                      <label for="exampleTextarea1">Address</label>
                      <textarea class="form-control" id="exampleTextarea1" name="address" rows="5" cols="5"><?php echo $row['address'];?></textarea>
                    </div>
						<div class="form-group">
                      <label for="exampleInputEmail3"> Doctor name</label>
                      <input type="text" class="form-control" id="exampleInputEmail3" name="doctor_name" placeholder="Doctor name" value="<?php echo $row['doctor_name'];?>">
                    </div>
					
					  <div class="form-group">
                      <label for="exampleSelectGender">Gender</label>
                       <input type="text" class="form-control" id="exampleInputEmail3" name="gender" placeholder="Doctor name" value="<?php echo $row['gender'];?>">
                      </div>
                    <div class="form-group">
                      <label for="exampleInputPassword4">Hospital/Clinic name</label>
                      <input type="text" class="form-control" name="hospital"  placeholder="Hospital/Clinic name" value="<?php echo $row['hospital'];?>">
                    </div>
                  
                        <div class="form-group">
                      <label for="exampleTextarea1">Phone</label>
                      <input type="text" class="form-control" name="phone"  placeholder="Phone" value="<?php echo $row['phone'];?>" >
                    </div>
                    
                        <div class="form-group">
                      <label for="exampleTextarea1">Mobile</label>
                      <input type="text" class="form-control" name="mobile"  placeholder="Mobile" value="<?php echo $row['mobile'];?>">
                    </div>
                    
                       <div class="form-group">
                      <label for="exampleTextarea1">Medicines</label>
                      <textarea class="form-control" id="exampleTextarea1" name="medicines" rows="5" cols="5"><?php echo $row['medicines'];?></textarea>
                    </div>
                    
                 
                
                    
                        <div class="form-group">
                      <label for="exampleTextarea1">Volume of Business</label>
                      <input type="text" class="form-control" name="bvolume"   placeholder="Volume of Business" value="<?php echo $row['volume_of_business'];?>">
                    </div>
					
					
					<div class="form-group">
                      <label for="exampleTextarea1">Enquery Date</label>
                      <input type="text" class="form-control" name="endate"    value="<?php echo $row['date_enquery'];?>">
                    </div>
					
						 <div class="form-group">
                      <label for="exampleTextarea1">Delivery Date</label>
                      <input type="text" class="form-control" name="delidate"    value="<?php echo $row['date_delivery'];?>">
                    </div>
					
					<div class="form-group">
                      <label for="exampleTextarea1">Reminder Date</label>
                      <input type="text" class="form-control" name="remindate"    value="<?php echo $row['date_remin'];?>">
                    </div>
                   <input type="hidden" value="<?php echo $row['ids'];?>"  name="ids" />
                    <button type="submit" class="btn btn-gradient-primary mr-2">Submit</button>
                    
                  </form>
<?php
}

}
?>				  
                </div>
              </div>
            </div>
		
		
        </div>
        <!-- content-wrapper ends -->
        <!-- partial:../../partials/_footer.html -->
        <footer class="footer">
          <div class="d-sm-flex justify-content-center justify-content-sm-between">
            <span class="text-muted text-center text-sm-left d-block d-sm-inline-block">Copyright © 2017 <a href="https://www.bootstrapdash.com/" target="_blank">Bootstrap Dash</a>. All rights reserved.</span>
            <span class="float-none float-sm-right d-block mt-1 mt-sm-0 text-center">Hand-crafted & made with <i class="mdi mdi-heart text-danger"></i></span>
          </div>
        </footer>
        <!-- partial -->
      </div>
      <!-- main-panel ends -->
    </div>
    <!-- page-body-wrapper ends -->
  </div>
  <!-- container-scroller -->
  <!-- plugins:js -->
  <script src="vendors/js/vendor.bundle.base.js"></script>
  <script src="vendors/js/vendor.bundle.addons.js"></script>
  <!-- endinject -->
  <!-- Plugin js for this page-->
  <!-- End plugin js for this page-->
  <!-- inject:js -->
  <script src="js/off-canvas.js"></script>
  <script src="js/misc.js"></script>
  <!-- endinject -->
  <!-- Custom js for this page-->
  <!-- End custom js for this page-->
</body>

</html>

Zerion Mini Shell 1.0