├── .project ├── README.md ├── admin001 ├── add_case_report.php ├── add_images.php ├── add_schedule.php ├── all_casereport.php ├── appointments_doctor.php ├── approve_apprequest.php ├── cancel_apprequest.php ├── css │ ├── dboardCSS.css │ ├── dboardCSS_bak.css │ ├── img │ │ ├── Thumbs.db │ │ ├── archive.png │ │ ├── background.jpg │ │ ├── binary.png │ │ ├── black.png │ │ ├── black2.jpg │ │ ├── black3.jpg │ │ ├── browse.png │ │ ├── check.jpg │ │ ├── cross.jpg │ │ ├── doc.gif │ │ ├── doctor.jpg │ │ ├── eps.gif │ │ ├── exe.gif │ │ ├── fla.gif │ │ ├── general.png │ │ ├── header.png │ │ ├── html.png │ │ ├── images_file.gif │ │ ├── index.php │ │ ├── jinto antony.jpg │ │ ├── loading.gif │ │ ├── loadings.gif │ │ ├── logo.png │ │ ├── nurse.png │ │ ├── pdf.gif │ │ ├── php.png │ │ ├── psd.gif │ │ ├── real.gif │ │ ├── setup.gif │ │ ├── sig.gif │ │ ├── swf.gif │ │ ├── twitter_web_sprite_bgs.png │ │ ├── txt.png │ │ ├── video.gif │ │ ├── white.jpg │ │ └── xls.gif │ ├── index.php │ ├── indexCSS.css │ ├── login_page.css │ ├── notification.css │ ├── signup_doctor_css.css │ ├── style.css │ └── vpb_uploader.css ├── current_appointments.php ├── dboardDoctor.php ├── doctor_profile.php ├── edit_password_doc.php ├── edit_passworddoc_process.php ├── edit_profile_doctor.php ├── edit_username_doc.php ├── edit_usernamedoc_process.php ├── edit_worksched_doc.php ├── editprofile_process_doc.php ├── images │ ├── archive.png │ ├── binary.png │ ├── browse_file_by_vasplus_programming_blog.png │ ├── doc.gif │ ├── eps.gif │ ├── exe.gif │ ├── fla.gif │ ├── general.png │ ├── html.png │ ├── images_file.gif │ ├── index.php │ ├── loading.gif │ ├── loadings.gif │ ├── pdf.gif │ ├── php.png │ ├── psd.gif │ ├── real.gif │ ├── setup.gif │ ├── sig.gif │ ├── swf.gif │ ├── txt.png │ ├── video.gif │ └── xls.gif ├── img │ ├── Thumbs.db │ ├── archive.png │ ├── background.jpg │ ├── binary.png │ ├── black.png │ ├── black2.jpg │ ├── black3.jpg │ ├── browse_file_by_vasplus_programming_blog.png │ ├── check.jpg │ ├── cross.jpg │ ├── doc.gif │ ├── doctor.jpg │ ├── eps.gif │ ├── exe.gif │ ├── fla.gif │ ├── general.png │ ├── header.png │ ├── html.png │ ├── images_file.gif │ ├── index.php │ ├── jinto antony.jpg │ ├── loading.gif │ ├── loadings.gif │ ├── logo.png │ ├── nurse.png │ ├── pdf.gif │ ├── php.png │ ├── psd.gif │ ├── real.gif │ ├── setup.gif │ ├── sig.gif │ ├── swf.gif │ ├── twitter_web_sprite_bgs.png │ ├── txt.png │ ├── video.gif │ ├── white.jpg │ └── xls.gif ├── index.php ├── js │ ├── index.php │ ├── jquery-1.4.2.min.js │ ├── jquery_1.5.2.js │ └── vpb_uploader.js ├── login.php ├── logout.php ├── notification.php ├── process_casereport.php ├── process_signup_doctor.php ├── records.php ├── records2.php ├── show_casereport.php ├── signup2.php ├── signup_doctor_css.css ├── time_checker.php ├── uploaded_files │ ├── 404356 │ │ ├── Chest_Xray_PA_3-8-2010_inverted.png │ │ ├── PerioPatientReport2.gif │ │ └── cool_hand_xray_pic6753316_std.281134219_std.jpg │ ├── 660513 │ │ ├── Radiografía_pulmones_Francisca_Lorca.cropped.jpg │ │ ├── Xray.jpg │ │ └── patient_report.gif │ ├── 669432 │ │ ├── 39221929.png │ │ ├── Chest X-Ray Image.jpg │ │ └── Hand.jpg │ ├── 878240 │ │ ├── 479337_NORMAL_cerv_X-ray.jpg │ │ ├── blob.jpg │ │ └── md07550080im.jpg │ ├── 883323 │ │ ├── XRAY-FEMALE-800pixels_1.jpg │ │ ├── homer_simpson_xray.jpg │ │ ├── parent_xray.jpg │ │ └── patient_report.gif │ ├── 360267_2013-10-22 │ │ ├── 479337_NORMAL_cerv_X-ray.jpg │ │ ├── Radiografía_pulmones_Francisca_Lorca.cropped.jpg │ │ ├── Xray.jpg │ │ └── patient_report.gif │ └── 360267_2013-10-24 │ │ ├── PerioPatientReport2.gif │ │ └── cool_hand_xray_pic6753316_std.281134219_std.jpg ├── viewpatients.php └── vpb_uploader.php ├── appointments_patient.php ├── calender_function.php ├── calender_function2.php ├── cancel_apprequest.php ├── css ├── calender_css.css ├── dboardCSS.css ├── dboardCSS_bak.css ├── indexCSS.css ├── login_page.css ├── notification.css ├── signup_doctor_css.css └── style.css ├── dboardPatient.php ├── doctor_img ├── Deepak B.jpg ├── Dileep B.jpg ├── Jinto V A.jpg ├── Manu C.jpg └── Rohith B.jpg ├── doctors.php ├── doctors_selection.php ├── eaddvalidation.js ├── edit_patientProfile.php ├── edit_patient_pword.php ├── edit_patient_uname.php ├── healthcare.sql ├── img ├── Thumbs.db ├── background.jpg ├── black.png ├── black2.jpg ├── black3.jpg ├── check.jpg ├── cross.jpg ├── doctor.jpg ├── header.png ├── jinto antony.jpg ├── logo.png ├── nurse.png ├── twitter_web_sprite_bgs.png └── white.jpg ├── index.php ├── js └── jquery-1.4.2.min.js ├── login.php ├── logout.php ├── notification.php ├── patient_profile.php ├── process_editPatientProfile.php ├── process_editPatient_pword.php ├── process_editPatient_uname.php ├── process_signup_patient.php ├── request_page_date.php ├── request_page_date2.php ├── request_page_time.php ├── request_patient.php ├── search_patient.php ├── send_apprequest.php ├── signup2.php ├── signup_doctor.php ├── time_checker.php └── unnecessary ├── appointment.php ├── dboardDoctor_bak.php ├── dboardPatient_bak.php ├── doctors_selection.php ├── edit_doctorProfile.php ├── manage_regrequest.php ├── manage_regrequest.php_bak ├── process_add_case_report.php ├── process_regrequest.php ├── remove_workschedule.php ├── request_page.php ├── search_doctor.php ├── signup2.php └── view_schedule.php /.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | appointment_system 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.wst.validation.validationbuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.dltk.core.scriptbuilder 15 | 16 | 17 | 18 | 19 | 20 | org.eclipse.php.core.PHPNature 21 | 22 | 23 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Appointment-System 2 | A fully fuctional doctor's appointment system with rich features, written in core php. 3 | Since, the core php coding is obsolute to this timeline, this project discontinued. 4 | -------------------------------------------------------------------------------- /admin001/add_case_report.php: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | Healthcare System 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 47 | 48 | 49 | 50 |
51 |
52 | 53 | 54 |
55 |

56 | Case Report 57 |

58 |
59 |
60 | 61 |
62 |
Patient ID
63 |
64 | 65 |
66 |
67 | 68 |
69 |
Patient Name
70 |
71 | 72 |
73 |
74 | 75 |
76 |
Doctor Name
77 |
78 | 79 |
80 |
81 | 82 |
83 |
Sickness
84 |
85 | 86 |
87 |
88 | 89 | 90 |
91 |
Date
92 |
93 | 94 |
95 |
96 | 97 | 98 |
99 |
Case Report
100 |
101 | 102 |
103 |
104 | 105 |
106 | 107 | 108 |
109 | 110 | 111 | 112 | 113 | 114 | "; 115 | 116 | 117 | 118 | ?> 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | -------------------------------------------------------------------------------- /admin001/add_images.php: -------------------------------------------------------------------------------- 1 | 21 | 22 | 23 | 24 | 25 | Add Case Report 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 51 | 52 | 53 | 68 |
69 |
Upload Photos
70 |
71 | 73 | 74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 | 82 |

83 |
84 |
85 |
86 |

87 | 88 |
89 |
90 |
File Names
Status
91 |
Size
92 |
Last Modified

93 |
94 | 95 | 96 |
97 |

 

98 | 99 | 100 | -------------------------------------------------------------------------------- /admin001/add_schedule.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /admin001/all_casereport.php: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | Healthcare System 10 | 11 | 12 | 13 | 14 | 42 |
43 |
44 |
45 |
46 | 47 | '; 63 | echo 'Patient ID: ',$tuple['patient_id'] , '
'; 64 | echo 'Name of Patient: ',$tuple['patientname'] , '
'; 65 | echo 'Date of Visit: ', $tuple['dates'], '
'; 66 | echo '','Show Case Report', '
'; 67 | echo '-------------------------------' , '
'; 68 | } 69 | } 70 | else 71 | { 72 | echo "No case report found."; 73 | } 74 | 75 | ?> 76 |
77 |
78 | 79 | -------------------------------------------------------------------------------- /admin001/approve_apprequest.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /admin001/cancel_apprequest.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /admin001/css/img/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/admin001/css/img/Thumbs.db -------------------------------------------------------------------------------- /admin001/css/img/archive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/admin001/css/img/archive.png -------------------------------------------------------------------------------- /admin001/css/img/background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/admin001/css/img/background.jpg -------------------------------------------------------------------------------- /admin001/css/img/binary.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/admin001/css/img/binary.png -------------------------------------------------------------------------------- /admin001/css/img/black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/admin001/css/img/black.png -------------------------------------------------------------------------------- /admin001/css/img/black2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/admin001/css/img/black2.jpg -------------------------------------------------------------------------------- /admin001/css/img/black3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/admin001/css/img/black3.jpg -------------------------------------------------------------------------------- /admin001/css/img/browse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/admin001/css/img/browse.png -------------------------------------------------------------------------------- /admin001/css/img/check.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/admin001/css/img/check.jpg -------------------------------------------------------------------------------- /admin001/css/img/cross.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/admin001/css/img/cross.jpg -------------------------------------------------------------------------------- /admin001/css/img/doc.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/admin001/css/img/doc.gif -------------------------------------------------------------------------------- /admin001/css/img/doctor.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/admin001/css/img/doctor.jpg -------------------------------------------------------------------------------- /admin001/css/img/eps.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/admin001/css/img/eps.gif -------------------------------------------------------------------------------- /admin001/css/img/exe.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/admin001/css/img/exe.gif -------------------------------------------------------------------------------- /admin001/css/img/fla.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/admin001/css/img/fla.gif -------------------------------------------------------------------------------- /admin001/css/img/general.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/admin001/css/img/general.png -------------------------------------------------------------------------------- /admin001/css/img/header.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/admin001/css/img/header.png -------------------------------------------------------------------------------- /admin001/css/img/html.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/admin001/css/img/html.png -------------------------------------------------------------------------------- /admin001/css/img/images_file.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/admin001/css/img/images_file.gif -------------------------------------------------------------------------------- /admin001/css/img/index.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/admin001/css/img/index.php -------------------------------------------------------------------------------- /admin001/css/img/jinto antony.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/admin001/css/img/jinto antony.jpg -------------------------------------------------------------------------------- /admin001/css/img/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/admin001/css/img/loading.gif -------------------------------------------------------------------------------- /admin001/css/img/loadings.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/admin001/css/img/loadings.gif -------------------------------------------------------------------------------- /admin001/css/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/admin001/css/img/logo.png -------------------------------------------------------------------------------- /admin001/css/img/nurse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/admin001/css/img/nurse.png -------------------------------------------------------------------------------- /admin001/css/img/pdf.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/admin001/css/img/pdf.gif -------------------------------------------------------------------------------- /admin001/css/img/php.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/admin001/css/img/php.png -------------------------------------------------------------------------------- /admin001/css/img/psd.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/admin001/css/img/psd.gif -------------------------------------------------------------------------------- /admin001/css/img/real.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/admin001/css/img/real.gif -------------------------------------------------------------------------------- /admin001/css/img/setup.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/admin001/css/img/setup.gif -------------------------------------------------------------------------------- /admin001/css/img/sig.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/admin001/css/img/sig.gif -------------------------------------------------------------------------------- /admin001/css/img/swf.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/admin001/css/img/swf.gif -------------------------------------------------------------------------------- /admin001/css/img/twitter_web_sprite_bgs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/admin001/css/img/twitter_web_sprite_bgs.png -------------------------------------------------------------------------------- /admin001/css/img/txt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/admin001/css/img/txt.png -------------------------------------------------------------------------------- /admin001/css/img/video.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/admin001/css/img/video.gif -------------------------------------------------------------------------------- /admin001/css/img/white.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/admin001/css/img/white.jpg -------------------------------------------------------------------------------- /admin001/css/img/xls.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/admin001/css/img/xls.gif -------------------------------------------------------------------------------- /admin001/css/index.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/admin001/css/index.php -------------------------------------------------------------------------------- /admin001/css/indexCSS.css: -------------------------------------------------------------------------------- 1 | #userInfo{ 2 | position: absolute; 3 | top: 200px; 4 | left: 50px; 5 | } 6 | 7 | #userInfo table{ 8 | font-size: 19px; 9 | } 10 | 11 | #userInfo table tr{ 12 | margin-top: 5px; 13 | } -------------------------------------------------------------------------------- /admin001/css/notification.css: -------------------------------------------------------------------------------- 1 | /** 2 | * CSS for notification 3 | * Coded by Luis Julius G. Bragais 4 | * CMSC 128 AB-4L 5 | * Group 2 6 | */ 7 | 8 | -------------------------------------------------------------------------------- /admin001/css/signup_doctor_css.css: -------------------------------------------------------------------------------- 1 | body{ 2 | font-family: "Helvetica Neue", Arial, sans-serif; 3 | line-height: 18px; 4 | color: #333; 5 | font-size:14px; 6 | overflow-y: scroll; 7 | padding: 0; 8 | margin: 0; 9 | font-size: 14px; 10 | line-height: 18px; 11 | color: #333; 12 | } 13 | 14 | fieldset{ 15 | margin-bottom: 15px; 16 | padding: 0; 17 | border: 0; 18 | display: block; 19 | /*-webkit-margin-start: 2px; 20 | -webkit-margin-end: 2px; 21 | -webkit-padding-before: 0.35em; 22 | -webkit-padding-start: 0.75em; 23 | -webkit-padding-end: 0.75em; 24 | -webkit-padding-after: 0.625em; */ 25 | } 26 | input{ 27 | -webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.075); 28 | -moz-box-shadow: inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.075); 29 | box-shadow: inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.075); 30 | -webkit-transition: .2s linear background; 31 | -moz-transition: .2s linear background; 32 | transition: .2s linear background; 33 | 34 | display: inline-block; 35 | width: 210px; 36 | padding: 4px; 37 | margin: 0; 38 | outline: 0; 39 | background-color: #fff; 40 | border: 1px solid #ccc; 41 | -webkit-border-radius: 3px; 42 | -moz-border-radius: 3px; 43 | border-radius: 3px; 44 | 45 | margin: 0; 46 | font-size: 13px; 47 | line-height: 20px; 48 | 49 | color: #777; 50 | } 51 | 52 | .signup h1{ 53 | /* padding: 40px 0 20px 0; */ 54 | clear: both; 55 | font-size: 24px; 56 | font-weight: bold; 57 | line-height: 1; 58 | } 59 | 60 | * { 61 | color: #000; 62 | 63 | padding: 0; 64 | } 65 | 66 | .signup{ 67 | margin: 0 auto 10px; 68 | display: block; 69 | width: 700px; 70 | clear: both; 71 | height:auto; 72 | } 73 | 74 | .canvas{ 75 | border: 1px solid #eee; 76 | margin: 30px auto; 77 | padding: 5px; 78 | 79 | height:auto; 80 | 81 | position: relative; 82 | width: 835px; 83 | 84 | 85 | -webkit-border-radius: 6px; 86 | -moz-border-radius: 6px; 87 | border-radius: 6px; 88 | } 89 | 90 | 91 | 92 | table { 93 | border: 0; 94 | margin-left: 10%; 95 | } 96 | 97 | th { 98 | font-weight: normal; 99 | padding-right: 10px; 100 | text-align: right; 101 | } 102 | 103 | 104 | 105 | input#submit_btn { 106 | width: 382px; 107 | display: inline-block; 108 | padding: 5px 10px; 109 | font-size: 13px; 110 | font-weight: bold; 111 | line-height: 18px; 112 | color: #333; 113 | text-shadow: 0 1px 1px rgba(255,255,255,.5); 114 | background-color: #ccc; 115 | background-repeat: no-repeat; 116 | border: 1px solid #ccc; 117 | cursor: pointer; 118 | -webkit-border-radius: 4px; 119 | -moz-border-radius: 4px; 120 | border-radius: 4px; 121 | -webkit-box-shadow: 0 1px 0 rgba(255,255,255,.5); 122 | -moz-box-shadow: 0 1px 0 rgba(255,255,255,.5); 123 | box-shadow: 0 1px 0 rgba(255,255,255,.5); 124 | 125 | background-color: #fd9a0f; 126 | background-repeat: repeat-x; 127 | background-image: -moz-linear-gradient(top,#fee94f 0,#fd9a0f 100%); 128 | background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#fee94f),color-stop(100%,#fd9a0f)); 129 | background-image: -webkit-linear-gradient(top,#fee94f 0,#fd9a0f 100%); 130 | background-image: -ms-linear-gradient(top,#fee94f 0,#fd9a0f 100%); 131 | background-image: -o-linear-gradient(top,#fee94f 0,#fd9a0f 100%); 132 | background-image: linear-gradient(top,#fee94f 0,#fd9a0f 100%); 133 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fee94f',endColorstr='#fd9a0f',GradientType=0); 134 | border-color: #fa2; 135 | 136 | 137 | padding: 7px 0; 138 | position: inline; 139 | left: 12px; 140 | bottom: 12px; 141 | height: 30px; 142 | padding-left: 12px; 143 | padding-right: 12px; 144 | margin: 0; 145 | -webkit-box-shadow: 0 1px 0 #fff; 146 | -moz-box-shadow: 0 1px 0 #fff; 147 | box-shadow: 0 1px 0 #fff; 148 | } 149 | 150 | .fieldname { 151 | font-size: 14px; 152 | font-weight: bold; 153 | margin-bottom: 3px; 154 | color: #333; 155 | } 156 | 157 | .holding { 158 | margin-bottom: 15px; 159 | } 160 | 161 | .sidetip { 162 | margin-top: 8px; 163 | position: absolute; 164 | left:505px; 165 | width: 250px; 166 | font-size: 13px; 167 | line-height: 16px; 168 | padding-left: 18px; 169 | color: gray; 170 | } 171 | 172 | .textbox .holding input { 173 | width: 382px; 174 | 175 | } 176 | .fname, .mname{ 177 | margin-top: 8px; 178 | } 179 | .sidetip-lname,.sidetip-mname{ 180 | margin-top: 16px; 181 | position: absolute; 182 | left: 505px; 183 | width: 250px; 184 | font-size: 13px; 185 | line-height: 16px; 186 | padding-left: 18px; 187 | color: gray; 188 | } -------------------------------------------------------------------------------- /admin001/dboardDoctor.php: -------------------------------------------------------------------------------- 1 | 9 | 10 | 11 | 12 | Healthcare System 13 | 14 | 15 | 16 | 17 | 18 | 19 | 22 | 23 | 42 | 43 | 44 | 45 | 79 | 80 | 83 | 84 | 85 | 86 |
87 |
88 |
89 |
90 | 93 |
94 |
95 | 100 |
101 |
102 |
103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | -------------------------------------------------------------------------------- /admin001/edit_password_doc.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | Edit Password 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 49 |
50 | 51 | 52 | 53 | -------------------------------------------------------------------------------- /admin001/edit_passworddoc_process.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | Health Care System 4 | 5 | 6 | 7 | 8 | 36 |
37 |
38 |
39 |
40 | '; 56 | echo "You have entered an incorrect password."; 57 | } 58 | else{ 59 | $query = "update doctor set doctor_password='$new' where doctor_username='$username';"; 60 | $result = mysql_query($query,$conn); 61 | if (!$result) { 62 | echo "Problem with query " . $query . "
"; 63 | //echo pg_last_error(); 64 | exit(); 65 | } 66 | else{ 67 | $_SESSION["password"]=$new; 68 | echo "Password successfully edited."; 69 | } 70 | } 71 | 72 | mysql_close($conn); 73 | ?> 74 |
75 |
76 |
77 | 78 | -------------------------------------------------------------------------------- /admin001/edit_profile_doctor.php: -------------------------------------------------------------------------------- 1 | 54 | 55 | Edit Profile 56 | 57 | 58 | 59 |
60 | 120 |
121 | 122 | "; 123 | 124 | mysql_close($conn); 125 | ?> 126 | 127 | -------------------------------------------------------------------------------- /admin001/edit_username_doc.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | Edit Username 4 | 5 | 6 | 7 | 8 |
9 | 48 |
49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /admin001/edit_usernamedoc_process.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | Editing Success 4 | 5 | 6 | 7 | 8 | 37 |
38 |
39 |
40 |
41 | 0){ 64 | print ' 14 | 15 | 16 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 |
Current Password:
New Password:
33 | 34 | 35 | "; 36 | ?> 37 | 38 | -------------------------------------------------------------------------------- /edit_patient_uname.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | Edit Patient's Username 4 | 5 | 6 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 |
Current Username:
New Username:
23 | 24 | 25 | "; 26 | ?> 27 | 28 | -------------------------------------------------------------------------------- /img/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/img/Thumbs.db -------------------------------------------------------------------------------- /img/background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/img/background.jpg -------------------------------------------------------------------------------- /img/black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/img/black.png -------------------------------------------------------------------------------- /img/black2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/img/black2.jpg -------------------------------------------------------------------------------- /img/black3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/img/black3.jpg -------------------------------------------------------------------------------- /img/check.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/img/check.jpg -------------------------------------------------------------------------------- /img/cross.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/img/cross.jpg -------------------------------------------------------------------------------- /img/doctor.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/img/doctor.jpg -------------------------------------------------------------------------------- /img/header.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/img/header.png -------------------------------------------------------------------------------- /img/jinto antony.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/img/jinto antony.jpg -------------------------------------------------------------------------------- /img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/img/logo.png -------------------------------------------------------------------------------- /img/nurse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/img/nurse.png -------------------------------------------------------------------------------- /img/twitter_web_sprite_bgs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/img/twitter_web_sprite_bgs.png -------------------------------------------------------------------------------- /img/white.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/img/white.jpg -------------------------------------------------------------------------------- /login.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /logout.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /notification.php: -------------------------------------------------------------------------------- 1 | "; 26 | echo ""; 27 | 28 | $result1 = mysql_query("SELECT count(notif_no) FROM notification_system",$conn); 29 | $counter = mysql_fetch_array($result1); 30 | 31 | $result1 = mysql_query("SELECT sender FROM notification_system",$conn); 32 | $result2 = mysql_query("SELECT notif_type FROM notification_system",$conn); 33 | $result3 = mysql_query("SELECT receiver FROM notification_system",$conn); 34 | 35 | //$sender = mysql_fetch_array($result1); 36 | //$type = mysql_fetch_array($result2); 37 | //$receiver = mysql_fetch_array($result3); 38 | 39 | echo $counter[0]."--"; 40 | echo $user; 41 | 42 | //---------------------------Reciever fetch------ 43 | $receiver=array(); 44 | $j=0; 45 | while( $row= mysql_fetch_array($result3)) 46 | { 47 | echo $row['receiver']."--"; 48 | $receiver[$j]=$row['receiver']; 49 | $j++; 50 | } 51 | echo "reciever count:".count($receiver); 52 | 53 | //---------------------------Type fetch------ 54 | $type=array(); 55 | $j=0; 56 | while( $row= mysql_fetch_array($result2)) 57 | { 58 | echo $row['notif_type']."--"; 59 | $type[$j]=$row['notif_type']; 60 | $j++; 61 | } 62 | echo "Type count:".count($type); 63 | 64 | //---------------------------Sender fetch------ 65 | $sender=array(); 66 | $j=0; 67 | while( $row= mysql_fetch_array($result1)) 68 | { 69 | echo $row['sender']."--"; 70 | $sender[$j]=$row['sender']; 71 | $j++; 72 | } 73 | echo "Send count:".count($sender); 74 | 75 | //echo $user; 76 | //echo $receiver[1]; 77 | //echo $type[1]; 78 | 79 | 80 | 81 | 82 | //------------------------------------------------ 83 | for($i=0; $i<$counter[0]; $i++){ 84 | if($receiver[$i] == $user){ 85 | 86 | if($type[$i] == 1){ 87 | echo ""; 90 | } 91 | else if($type[$i] == 2){ 92 | echo ""; 95 | } 96 | else if ($type[$i] == 3){ 97 | echo ""; 100 | } 101 | else if ($type[$i] == 4){ 102 | echo ""; 105 | } 106 | } 107 | } 108 | 109 | echo "
"; 88 | echo $sender[$i]. " has requested an appointment with you."; 89 | echo "
"; 93 | echo $sender[$i]. " has canceled your approved appointment."; 94 | echo "
"; 98 | echo $sender[$i]. " has accepted your appointment request."; 99 | echo "
"; 103 | echo $sender[$i]. " has canceled a pending appointment request."; 104 | echo "
"; 110 | echo "
"; 111 | 112 | mysql_close($conn); 113 | } 114 | ?> -------------------------------------------------------------------------------- /process_editPatientProfile.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | Healthcare System 4 | 5 | 6 | 7 | 8 | 9 | 36 |
37 |
38 |
39 |
40 | "; 68 | // echo pg_last_error(); 69 | exit(); 70 | } 71 | else{ 72 | echo "Your profile information was successfully edited."; 73 | } 74 | 75 | mysql_close($conn); 76 | ?> 77 |
78 |
79 |
80 | 81 | 82 | -------------------------------------------------------------------------------- /process_editPatient_pword.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | Healthcare System 4 | 5 | 6 | 7 | 8 | 9 | 36 |
37 |
38 |
39 |
40 | "; 61 | // echo pg_last_error(); 62 | exit(); 63 | } 64 | else{ 65 | $_SESSION["password"]=$new; 66 | echo "Password successfully edited."; 67 | } 68 | } 69 | 70 | mysql_close($conn); 71 | 72 | ?> 73 |
74 |
75 |
76 | 77 | -------------------------------------------------------------------------------- /process_editPatient_uname.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | Healthcare System 4 | 5 | 6 | 7 | 8 | 9 | 36 |
37 |
38 |
39 |
40 | 0){ 64 | print ' 18 | DOCTOR's DIRECTORY 19 | 20 | 21 | 47 |
48 |
49 |
50 |
51 | '; 94 | for($j=0; $j<$rows; $j++){ 95 | $tuple=pg_fetch_array($resultCheck); 96 | echo 'Name: ', $tuple['doctor_fname'],' ', $tuple['doctor_mname'] ,' ', $tuple['doctor_lname'], '
'; 97 | echo 'Specialization: ', $tuple['doctor_specialization'], '
'; 98 | echo 'Location/Hospital: ', $tuple['doctor_hospital'], '
'; 99 | echo '
'; 100 | } 101 | } 102 | 103 | pg_close($conn); 104 | ?> 105 |
106 |
107 |
108 | 109 | -------------------------------------------------------------------------------- /send_apprequest.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /signup2.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/signup2.php -------------------------------------------------------------------------------- /signup_doctor.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Sign Up - Doctor 6 | 7 | 8 | 9 |
10 | 11 |
12 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 |
Username
Password
E-mail Address
Name 35 | 36 |
Specialization
Hospital
Birthdate
Contact Information
55 | 56 | " 57 | ?> 58 |
59 | 60 | 61 | 62 |
63 | 64 | -------------------------------------------------------------------------------- /time_checker.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /unnecessary/appointment.php: -------------------------------------------------------------------------------- 1 | change app_status based on user for that div 13 | 14 | * 15 | */ 16 | 17 | } 18 | 19 | function delete_appointment(){ 20 | 21 | } 22 | 23 | 24 | 25 | ?> 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 48 | 49 | 50 | 51 | -------------------------------------------------------------------------------- /unnecessary/dboardDoctor_bak.php: -------------------------------------------------------------------------------- 1 | 9 | 10 | 11 | 12 | Healthcare System 13 | 14 | 15 | 16 | 17 | 18 | 19 | 22 | 23 | 42 | 43 | 44 | 45 | 75 | 76 | 79 | 80 | 81 | 82 |
83 |
84 |
85 | 89 |
90 |
91 |
92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | -------------------------------------------------------------------------------- /unnecessary/dboardPatient_bak.php: -------------------------------------------------------------------------------- 1 | 9 | 10 | 11 | 12 | Healthcare System 13 | 14 | 15 | 16 | 17 | 18 | 45 |
46 |
47 |
48 |
49 | 50 | 51 | 55 |
56 |
57 | 58 | -------------------------------------------------------------------------------- /unnecessary/doctors_selection.php: -------------------------------------------------------------------------------- 1 | 9 | 10 | 11 | 12 | Healthcare System 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 23 | 24 | 25 | 26 | 27 | 28 | 56 | 57 | 60 | 61 |
62 |
63 |
64 | 67 | 68 |
69 | 75 |
76 | 77 |
78 | 79 |
80 | 81 |
'; 104 | 105 | 106 | 107 | echo '
'.$doctor_result['doctor_fname'] . ' ' . $doctor_result['doctor_lname']."
"; 108 | 109 | echo $doctor_result['doctor_specialization'] . '
' ; 110 | 111 | echo ' Request Appointment '; 112 | 113 | } 114 | } 115 | 116 | 117 | ?> 118 |
119 | 120 |
121 | 122 |
123 | 124 | 125 | 126 | 127 | 128 |
129 | 130 |
131 | 132 |
133 | 134 | 135 | 136 | -------------------------------------------------------------------------------- /unnecessary/edit_doctorProfile.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/unnecessary/edit_doctorProfile.php -------------------------------------------------------------------------------- /unnecessary/manage_regrequest.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | HCS >> Admin Panel 5 | 6 | 7 | 8 | 9 | 21 | 22 | 25 | 26 | 27 |
28 | 29 |
30 |
31 |
32 | "; 47 | echo "Problem with query " . $query2 . "
"; 48 | echo pg_last_error(); 49 | exit(); 50 | } 51 | 52 | echo"
"; 53 | //echo "
"; 54 | echo "

REGISTRATION REQUESTS OF DOCTORS

"; 55 | echo ""; 56 | echo ""; 57 | while($myrow1 = pg_fetch_assoc($result1)){ 58 | echo ""; 59 | echo ""; 60 | echo ""; 61 | echo ""; 62 | echo ""; 63 | echo ""; 64 | echo ""; 65 | echo ""; 67 | } 68 | echo"
UsernameEmail AddLastnameFirst NameMiddle NameLicense No.Action
".htmlspecialchars($myrow1['doctor_username'])."".htmlspecialchars($myrow1['doctor_email'])."".htmlspecialchars($myrow1['doctor_lname'])."".htmlspecialchars($myrow1['doctor_fname'])."".htmlspecialchars($myrow1['doctor_mname'])."".htmlspecialchars($myrow1['doctor_licenseno'])."accept"; 66 | echo "   delete
"; 69 | echo "

REGISTRATION REQUESTS OF PATIENTS

"; 70 | echo ""; 71 | echo ""; 72 | while($myrow2 = pg_fetch_assoc($result2)){ 73 | echo ""; 74 | echo ""; 75 | echo ""; 76 | echo ""; 77 | echo ""; 78 | echo ""; 79 | echo ""; 81 | } 82 | //echo""; 83 | echo""; 84 | 85 | pg_close($conn); 86 | ?> 87 | 88 | 89 | 90 | -------------------------------------------------------------------------------- /unnecessary/manage_regrequest.php_bak: -------------------------------------------------------------------------------- 1 | "; 16 | echo "Problem with query " . $query2 . "
"; 17 | echo pg_last_error(); 18 | exit(); 19 | } 20 | 21 | echo""; 22 | echo "
"; 23 | echo "

REGISTRATION REQUESTS OF DOCTORS

"; 24 | echo "
UsernameEmail AddLastnameFirst NameMiddle NameAction
".htmlspecialchars($myrow2['patient_username'])."".htmlspecialchars($myrow2['patient_eadd'])."".htmlspecialchars($myrow2['patient_lname'])."".htmlspecialchars($myrow2['patient_fname'])."".htmlspecialchars($myrow2['patient_mname'])."accept"; 80 | echo "   delete
"; 25 | echo ""; 26 | while($myrow1 = pg_fetch_assoc($result1)){ 27 | echo ""; 28 | echo ""; 29 | echo ""; 30 | echo ""; 31 | echo ""; 32 | echo ""; 33 | echo ""; 34 | echo ""; 35 | echo ""; 36 | } 37 | echo"
UsernameEmail AddLastnameFirst NameMiddle NameLicense No.Action
".htmlspecialchars($myrow1['doctor_username'])."".htmlspecialchars($myrow1['doctor_email'])."".htmlspecialchars($myrow1['doctor_lname'])."".htmlspecialchars($myrow1['doctor_fname'])."".htmlspecialchars($myrow1['doctor_mname'])."".htmlspecialchars($myrow1['doctor_licenseno'])."acceptdelete
"; 38 | echo "

REGISTRATION REQUESTS OF PATIENTS

"; 39 | echo ""; 40 | echo ""; 41 | while($myrow2 = pg_fetch_assoc($result2)){ 42 | echo ""; 43 | echo ""; 44 | echo ""; 45 | echo ""; 46 | echo ""; 47 | echo ""; 48 | echo ""; 49 | echo ""; 50 | } 51 | echo""; 52 | echo""; 53 | 54 | pg_close($conn); 55 | ?> -------------------------------------------------------------------------------- /unnecessary/process_add_case_report.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /unnecessary/process_regrequest.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /unnecessary/remove_workschedule.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /unnecessary/request_page.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | 10 | Healthcare System 11 | 12 | 13 |
14 | 15 |
16 | 17 |
18 |
    19 |
    20 |
  • 21 | Search by: 22 | 27 | 28 |
  • 29 | 30 |
  • Notifications
  • 31 |
  • Log Out
  • 32 |
33 |
34 | 35 |
36 | 37 |
38 | 45 |
46 | 47 |
48 | ' . $doctor_result[0] . ', ' . $doctor_result[1] . ' ' . $doctor_result[2] .'
(' . $doctor_result[3] . ')

'; 56 | echo '
'; 57 | 58 | $count_query = pg_query("SELECT array_upper(doctor_workschedule, 1) FROM doctor WHERE doctor_username='$doctor_user'"); 59 | $count_array = pg_fetch_array($count_query); 60 | 61 | echo ''; 68 | 69 | pg_close($conn); 70 | ?> 71 |
72 | 73 | 74 | 75 | 76 | 77 | 78 |
79 | 80 | -------------------------------------------------------------------------------- /unnecessary/search_doctor.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 19 | PATIENT's DIRECTORY 20 | 21 | 22 | 50 |
51 | 52 |
53 |
54 |
55 | '; 97 | for($j=0; $j<$rows; $j++){ 98 | $tuple=pg_fetch_array($resultCheck); 99 | echo 'Name: ', $tuple['patient_fname'],' ', $tuple['patient_mname'] ,' ', $tuple['patient_lname'], '
'; 100 | echo 'Sickness: ', $tuple['patient_sickness'], '
'; 101 | echo 'Age: ', $tuple['patient_age'], '
'; 102 | echo 'Location/Address: ', $tuple['patient_address'], '
'; 103 | echo '
'; 104 | } 105 | } 106 | pg_close($conn); 107 | ?> 108 |
109 |
110 |
111 | 112 | -------------------------------------------------------------------------------- /unnecessary/signup2.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JintoAntony/Simple-Appointment-System-Core-PHP/e0e17f1368c8119694dedcb7e36194e85455360f/unnecessary/signup2.php -------------------------------------------------------------------------------- /unnecessary/view_schedule.php: -------------------------------------------------------------------------------- 1 | 21 | 22 | 23 | '; 24 | } 25 | else { 26 | echo '(No available schedule)

'; 27 | } 28 | 29 | pg_close($conn); 30 | } 31 | 32 | function view_saturday() { 33 | $username = $_SESSION['username']; 34 | $conn = pg_connect('host=localhost dbname=healthcare user=postgres password=user'); 35 | $sched_query = pg_query("SELECT doctor_sched_sat FROM doctor WHERE doctor_username='$username'"); 36 | $sched_str = pg_result($sched_query, 0); 37 | $sched_array = explode(",", $sched_str); 38 | 39 | $count = count($sched_array); 40 | for($i=0; $i<($count-1); $i++) { 41 | if(($i == 0) && ($count != 1)) { 42 | echo 'From ' . $sched_array[$i]; 43 | } 44 | if(($i == $count-2) && ($count != 1)) { 45 | echo ' to ' . $sched_array[$i]; 46 | } 47 | } 48 | 49 | if($count != 1) { 50 | echo ' 51 | 52 | 53 | '; 54 | } 55 | else { 56 | echo '(No available schedule)

'; 57 | } 58 | } 59 | 60 | function view_sunday() { 61 | $username = $_SESSION['username']; 62 | $conn = pg_connect('host=localhost dbname=healthcare user=postgres password=user'); 63 | $sched_query = pg_query("SELECT doctor_sched_sun FROM doctor WHERE doctor_username='$username'"); 64 | $sched_str = pg_result($sched_query, 0); 65 | $sched_array = explode(",", $sched_str); 66 | 67 | $count = count($sched_array); 68 | for($i=0; $i<($count-1); $i++) { 69 | if(($i == 0) && ($count != 1)) { 70 | echo 'From ' . $sched_array[$i]; 71 | } 72 | if(($i == $count-2) && ($count != 1)) { 73 | echo ' to ' . $sched_array[$i]; 74 | } 75 | } 76 | 77 | if($count != 1) { 78 | echo ' 79 | 80 | 81 | '; 82 | } 83 | else { 84 | echo '(No available schedule)

'; 85 | } 86 | } 87 | ?> --------------------------------------------------------------------------------
UsernameEmail AddLastnameFirst NameMiddle NameAction
".htmlspecialchars($myrow2['patient_username'])."".htmlspecialchars($myrow2['patient_eadd'])."".htmlspecialchars($myrow2['patient_lname'])."".htmlspecialchars($myrow2['patient_fname'])."".htmlspecialchars($myrow2['patient_mname'])."acceptdelete