-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 9e822e7
Showing
775 changed files
with
136,889 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Gmail id : [email protected], [email protected], [email protected], [email protected] | ||
password : 123456 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,164 @@ | ||
<?php | ||
session_start(); | ||
//error_reporting(0); | ||
include('doctor/includes/dbconnection.php'); | ||
|
||
?> | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<title>Doctor Appointment Management System || Home Page</title> | ||
|
||
<!-- CSS FILES --> | ||
<link rel="preconnect" href="https://fonts.googleapis.com"> | ||
|
||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | ||
|
||
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap" rel="stylesheet"> | ||
|
||
<link href="css/bootstrap.min.css" rel="stylesheet"> | ||
|
||
<link href="css/bootstrap-icons.css" rel="stylesheet"> | ||
|
||
<link href="css/owl.carousel.min.css" rel="stylesheet"> | ||
|
||
<link href="css/owl.theme.default.min.css" rel="stylesheet"> | ||
|
||
<link href="css/templatemo-medic-care.css" rel="stylesheet"> | ||
<script> | ||
function getdoctors(val) { | ||
alert(val); | ||
$.ajax({ | ||
|
||
type: "POST", | ||
url: "get_doctors.php", | ||
data:'sp_id='+val, | ||
success: function(data){ | ||
$("#doctorlist").html(data); | ||
} | ||
}); | ||
} | ||
</script> | ||
</head> | ||
|
||
<body id="top"> | ||
|
||
<main> | ||
|
||
<?php include_once('includes/header.php');?> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<section class="section-padding" id="booking"> | ||
<div class="container"> | ||
<div class="row"> | ||
|
||
<div class="col-lg-12 col-12 mx-auto"> | ||
<div class="booking-form"> | ||
|
||
<h2 class="text-center mb-lg-3 mb-2">Search Appointment History by Appointment Number/Name/Mobile No</h2> | ||
|
||
<form role="form" method="post"> | ||
<div class="row"> | ||
<div class="col-lg-6 col-12"> | ||
<input id="searchdata" type="text" name="searchdata" required="true" class="form-control" placeholder="Appointment No./Name/Mobile No."> | ||
</div> | ||
|
||
<div class="col-lg-3 col-md-4 col-6 mx-auto"> | ||
<button type="submit" class="form-control" name="search" id="submit-button">Check</button> | ||
</div> | ||
</div> | ||
</form> | ||
|
||
</div> | ||
<?php | ||
if(isset($_POST['search'])) | ||
{ | ||
|
||
$sdata=$_POST['searchdata']; | ||
?> | ||
<h4 align="center">Result against "<?php echo $sdata;?>" keyword </h4> | ||
|
||
<div class="widget-body"> | ||
<div class="table-responsive"> | ||
<table class="table table-bordered table-hover js-basic-example dataTable table-custom"> | ||
<thead> | ||
<tr> | ||
<th>S.No</th> | ||
<th>Appointment Number</th> | ||
<th>Patient Name</th> | ||
<th>Mobile Number</th> | ||
<th>Email</th> | ||
<th>Status</th> | ||
<th>Remark</th> | ||
|
||
</tr> | ||
</thead> | ||
|
||
<tbody> | ||
<?php | ||
|
||
$sql="SELECT * from tblappointment where AppointmentNumber like '$sdata%' || Name like '$sdata%' || MobileNumber like '$sdata%'"; | ||
$query = $dbh -> prepare($sql); | ||
$query->execute(); | ||
$results=$query->fetchAll(PDO::FETCH_OBJ); | ||
|
||
$cnt=1; | ||
if($query->rowCount() > 0) | ||
{ | ||
foreach($results as $row) | ||
{ ?> | ||
<tr> | ||
<td><?php echo htmlentities($cnt);?></td> | ||
<td><?php echo htmlentities($row->AppointmentNumber);?></td> | ||
<td><?php echo htmlentities($row->Name);?></td> | ||
<td><?php echo htmlentities($row->MobileNumber);?></td> | ||
<td><?php echo htmlentities($row->Email);?></td> | ||
<?php if($row->Status==""){ ?> | ||
|
||
<td><?php echo "Not Updated Yet"; ?></td> | ||
<?php } else { ?> <td><?php echo htmlentities($row->Status);?> | ||
</td> | ||
<?php } ?> | ||
|
||
<?php if($row->Remark==""){ ?> | ||
|
||
<td><?php echo "Not Updated Yet"; ?></td> | ||
<?php } else { ?> <td><?php echo htmlentities($row->Remark);?> | ||
</td> | ||
<?php } ?> | ||
|
||
</tr> | ||
|
||
|
||
</tbody> | ||
|
||
<?php | ||
$cnt=$cnt+1; | ||
} } else { ?> | ||
<tr> | ||
<td colspan="8"> No record found against this search</td> | ||
|
||
</tr> | ||
<?php } }?> | ||
</table> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
</section> | ||
|
||
</main> | ||
<?php include_once('includes/footer.php');?> | ||
<!-- JAVASCRIPT FILES --> | ||
<script src="js/jquery.min.js"></script> | ||
<script src="js/bootstrap.bundle.min.js"></script> | ||
<script src="js/owl.carousel.min.js"></script> | ||
<script src="js/scrollspy.min.js"></script> | ||
<script src="js/custom.js"></script> | ||
</body> | ||
</html> |
Oops, something went wrong.