-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Appointments are now accessible to the doctors
- Loading branch information
1 parent
98f82b1
commit f258503
Showing
9 changed files
with
61 additions
and
24 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
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
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 |
---|---|---|
|
@@ -27,8 +27,6 @@ | |
|
||
<br> | ||
|
||
<a href='register.php'>Register</a> | ||
|
||
<?php | ||
|
||
include('footer.html'); |
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
<footer> | ||
<a href='doctor_login.php'>Doctor Sign In</a> | ||
<h4>Website By Tyler Trout</h4> | ||
</footer> | ||
</body> | ||
|
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 |
---|---|---|
@@ -1,6 +1,19 @@ | ||
<?php | ||
|
||
include('header.html'); | ||
include('logout_link.php'); | ||
echo "<a href='appointment.php'>Make an appointment today.</a>"; | ||
include('footer.html'); | ||
include('header.html'); | ||
include('logout_link.php'); | ||
echo "<a href='appointment.php'>Make an appointment today.</a>"; | ||
echo "<br>"; | ||
//Allow doctor to sign in, if they are already then link to dashboard | ||
if(!isset($_SESSION['doctor_validate'])){ | ||
//Do not display doctor login if patient is logged in | ||
if(!isset($_SESSION['user_id'])){ | ||
echo "<a href='doctor_login.php'>Doctor Sign In</a>"; | ||
} | ||
} | ||
else{ | ||
echo "<a href='dashboard.php'>Staff Dashboard</a> | ||
<br> | ||
<a href='logout.php'>Logout</a>"; | ||
} | ||
include('footer.html'); |
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
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
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
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