Professional Documents
Culture Documents
"Online Cure&Care": Major Project Reporton
"Online Cure&Care": Major Project Reporton
CERTIFICATE
THIS IS TO CERTIFY THAT THE PROJECT WORK ENTITLED “ Online Cure&Care ” HAS
BEEN SUCCESSFULLY CARRIED OUT BY ASHISH JHODE (0191CA201009)
It is a great feeling that I am presenting my first real life venture in practical computing in the form of
project work. I wish to take this opportunity to express my heartily thanks to all those who really
helped me in completing my project work but also a sense of enlightenment and grandeur by the
learning process and knowledge that I came across during the whole span of this project work.
I would like also express my sincere regards to Prof. R. P. Gupta (HOD, MCA) and my faculties
who give me moral support that is most beneficial at the moment when I worked at my Major
project.
I would like to express my sincere regard to Prof.Rohit khare who gave me chance of selection of
my project and also for his constant encouragement and timely suggestion during all academic
sessions, his support and encouragement during all the academic years.
I am great thankful to all staff members for their constant and generous help and kind co -
operation and valuable suggestion during the project work.
I am sure that this project has given me an edge, a firm grounding and has prepared me to take new
challenging jobs in future.
ASHISH JHODE
(0191CA201009)
DECLARATION
I hereby declare that the work being presented in the project report. “Online cure&care”
in partial fulfillment of the requirement of the degree of Master of Computer Application is
authentic record of my own work carried out under the kind guidance of Prof. Rohit Khare.
This is to certify that the above information, which is furnished by me, is correct to best of my
knowledge.
ASHISH JHODE
(0191CA201009)
Contents
Certificate (i)
Declaration (ii)
Acknowledgement (iii)
1 . Introduction
Implement Methodology
Implement Technology
H/W and S/W Requirement
Back End and Front End
System Design
Flow Chart
Data Flow Diagram
E-R Diagram
Snap shots
UML Diagram
4. Conclusion
Advantages
Limitation
Future Scope
5. Bibliography
TIT-MCA -2022 Online cure&care
INTRODUCTION
Details of project
Implement Methodology
Model - The lowest level of the pattern which is responsible for maintaining data.
View - This is responsible for displaying all or a portion of the data to the user.
Controller - Software Code that controls the interactions between the Model and
View.
MVC is popular as it isolates the application logic from the user interface layer
and supports separation of concerns. Here the Controller receives all requests for
the application and then works with the Model to prepare any data needed by the
View. The View then uses the data prepared by the Controller to generate a final
presentable response. The MVC abstraction can be graphically represented as
follows.
TIT-MCA- 2022 Online cure&care
Implement Technology
• CSS: CSS has been used for all the desigining part JavaScript : All the validation task and
animations has been developed by JavaScript
• PHP : All the business and frontend logic has been implemented in PHP MySQL : MYSQL
database has been used as database for the project Apache2: Project will be run over the
Apache2 server
Hardware Requirement
RAM 2GB+
HDD 120GB
Keyboard 108Keys
Software Requirement
OS Windows 10,11
Index.php
data-easing="Power3.easeInOut"
data-splitin="chars"
data-splitout="none"
data-elementdelay="0.03"
data-endelementdelay="0.4"
data-endspeed="300"
style="z-index: 5; font-size:55px; font-weight:500; color:#000; max-width: auto; max-height: auto;
white-space: nowrap;">Care And Cure</div>
<!-- LAYER NR. 3 -->
<div class="tp-caption sfbtp-resizeme"
data-x="left" data-hoffset="400"
data-y="center" data-voffset="30"
data-speed="800"
data-start="1400"
data-easing="Power3.easeInOut"
data-splitin="none"
data-splitout="none"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-endspeed="300"
style="z-index: 7; font-size:16px; color:#000; font-weight:500; line-height:26px; max-width: auto;
max-height: auto; white-space: nowrap;">Improved diagnostic performance and heightened satisfaction of
patients <br> and physicians delight.</div>
<!-- LAYER NR. 4 -->
<div class="tp-caption lfbtp-resizeme scroll"
data-x="left" data-hoffset="400"
data-y="center" data-voffset="140"
data-speed="800"
data-start="1600"
data-easing="Power3.easeInOut"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-endspeed="300"
data-scrolloffset="0"
style="z-index: 8;"><a href="#." class="btn">CONTACT NOW</a></div>
</li>
<!-- SLIDE -->
<li data-transition="random" data-slotamount="7" data-masterspeed="300" data-saveperformance="off" >
<!-- MAIN IMAGE -->
<imgsrc="images/slider-bg-3.jpg" alt="slider" data-bgposition="centercenter" data-bgfit="cover" data-
bgrepeat="no-repeat">
<!-- LAYER NR. 2 -->
<div class="tp-caption sfbtp-resizeme"
data-x="center" data-hoffset="0"
data-y="center" data-voffset="-80"
data-speed="800"
data-start="800"
data-easing="Power3.easeInOut"
data-elementdelay="0.1"
data-endelementdelay="0.1"
TIT-MCA- 2022 Online cure&care
data-endspeed="300"
data-scrolloffset="0"
style="z-index: 6; font-size:40px; color:#000; font-weight:500; white-space: nowrap;"> Welcome To
Our Research Center</div>
<!-- LAYER NR. 3 -->
<div class="tp-caption sfbtp-resizeme text-center"
data-x="center" data-hoffset="0"
data-y="center" data-voffset="-10"
data-speed="800"
data-start="1000"
data-easing="Power3.easeInOut"
data-elementdelay="0.1"
data-endelementdelay="0.1"
data-endspeed="300"
data-scrolloffset="0"
style="z-index: 7; font-size:20px; font-weight:500; line-height:26px; color:#000; max-width: auto;
max-height: auto; white-space: nowrap;">We work in a friendly and efficient using the latest <br>
technologies and sharing our expertise.</div>
</li>
</ul>
</div>
</div>
</section>
<!-- Content -->
<div id="content">
<!-- Intro -->
<section class="p-t-b-150">
<div class="container">
<div class="intro-main">
<div class="row">
<!-- Intro Detail -->
<div class="col-md-8">
<div class="text-sec">
<h5>Health Check Up At Care And Cure</h5>
<p>Besides providing world class clinical lab services, Labaid Diagnostic Centre houses a pool of doctors of
different medical specialty to serve the ailing patients as outpatients. They are all reputed and respected in their
medical specialty for outstanding clinical management</p>
<ul class="row">
<li class="col-sm-6">
<h6><i class="lnrlnr-checkmark-circle"></i> EMERGENCY CASE</h6>
<p>Excepteursintoccaecatcupidatat non roident,
sunt in culpa qui officiadeseruntmollit</p>
</li>
<li class="col-sm-6">
<h6><i class="lnrlnr-checkmark-circle"></i> QUALIFIED DOCTORS</h6>
<p>Excepteursintoccaecatcupidatat non roident,
sunt in culpa qui officiadeseruntmollit</p>
</li>
<li class="col-sm-6">
<h6><i class="lnrlnr-checkmark-circle"></i> ONLINE APPOINTMENT</h6>
TIT-MCA- 2022 Online cure&care
</article>
</div>
<!-- Services -->
<div class="col-md-4">
<article>
<div class="media-left"><i class="flaticon-operating-room icon"></i></div>
<div class="media-body">
<h6>Operation Theater</h6>
<p>Excepteursintoccaecatcupidatat non proident, sunt in culpa qui officiadeseruntmollit random text.</p>
</div>
</article>
</div>
<!-- Services -->
<div class="col-md-4">
<article>
<div class="media-left"><i class="flaticon-icu-monitor icon"></i></div>
<div class="media-body">
<h6>ICU Department</h6>
<p>Excepteursintoccaecatcupidatat non proident, sunt in culpa qui officiadeseruntmollit random text.</p>
</div>
</article>
</div>
<!-- Services -->
<div class="col-md-4">
<article>
<div class="media-left"><i class="flaticon-doctor icon"></i></div>
<div class="media-body">
<h6>Qualified Doctors</h6>
<p>Excepteursintoccaecatcupidatat non proident, sunt in culpa qui officiadeseruntmollit random text.</p>
</div>
</article>
</div>
<!-- Services -->
<div class="col-md-4">
<article>
<div class="media-left"><i class="flaticon-heartbeat icon"></i></div>
<div class="media-body">
<h6>Heart Problems</h6>
<p>Excepteursintoccaecatcupidatat non proident, sunt in culpa qui officiadeseruntmollit random text.</p>
</div>
</article>
</div>
<!-- Services -->
<div class="col-md-4">
<article>
<div class="media-left"><i class="flaticon-stomach-2 icon"></i></div>
<div class="media-body">
<h6>Stomach Problems</h6>
<p>Excepteursintoccaecatcupidatat non proident, sunt in culpa qui officiadeseruntmollit random text.</p>
</div>
TIT-MCA- 2022 Online cure&care
</article>
</div>
</div>
</div>
</div>
</section>
<!-- Departments -->
<section class="p-t-b-150 padding-bottom-0">
<div class="container">
<!-- Heading -->
<div class="heading-block">
<h2>Our Best Departments</h2>
<hr>
<span>Duis autem veleumiriuredolor in hendrerit n vuewlputatevelitessemolestieconseuvel illum dolore
eufeugiatnullafacilisis at vero.</span></div>
</div>
<!-- Department -->
<div class="department">
<div class="container">
<!-- Tab Panel -->
<div role="tabpanel">
<div class="dep-sec-nav">
<!-- Nav tabs -->
<ul class="nav nav-tabs" role="tablist">
<li role="presentation"><a href="#dental" role="tab" data-toggle="tab">Dental</a></li>
<li role="presentation" class="active"><a href="#cardiology" role="tab" data-toggle="tab">Cardiology
</a></li>
<li role="presentation"><a href="#for-disabled" role="tab" data-toggle="tab">For disabled </a></li>
<li role="presentation"><a href="#ophthalmology" role="tab" data-toggle="tab">Ophthalmology </a></li>
<li role="presentation"><a href="#emergency" role="tab" data-toggle="tab"> Emergency </a></li>
</ul>
</div>
<!-- Tab Content -->
<div class="tab-content">
<!-- Dental Depatment -->
<div role="tabpanel" class="tab-pane fade" id="dental">
<!-- Depatment Text Section -->
<div class="dep-sec-txt">
<div class="row">
<div class="col-md-7">
<h5>Our Best <span>Dental</span> Services</h5>
<p> It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially
unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum
passages, <br>
<br>
It has survived not only five centuries, but also the leap into electronic typesetting, remaining
essentially unchanged. It was popularised in the 1960s PageMaker </p>
<!-- List Style Check -->
<ul class="list-style-check">
<li> Qualified Staff of Doctors </li>
TIT-MCA- 2022 Online cure&care
</div>
</div>
</div>
<!-- For disabled -->
<div role="tabpanel" class="tab-pane fade" id="for-disabled">
<!-- Depatment Text Section -->
<div class="dep-sec-txt">
<div class="row">
<div class="col-md-7">
<h5>Our Best Services <span>For Disabled</span> Persons </h5>
<p> It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially
unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum
passages, <br>
<br>
It has survived not only five centuries, but also the leap into electronic typesetting, remaining
essentially unchanged. It was popularised in the 1960s PageMaker including versions of Lorem Ipsum. </p>
It has survived not only five centuries, but also the leap into electronic typesetting, remaining
essentially unchanged. It was popularised in the 1960s PageMaker including versions of Lorem Ipsum. </p>
<!-- List Style Check -->
<ul class="list-style-check">
<li> Qualified Staff of Doctors </li>
<li> Feel like you are at Home Services </li>
<li> 24x7 Emergency Services </li>
<li> Save your Money and Time with us </li>
<li> Medicine Research </li>
<li> Blood Bank </li>
</ul>
</div>
<!-- Doctor Img -->
<div class="col-md-offset-1 col-md-4">
<div class="doctor-img"><img class="img-responsive" src="images/depart-doctor-img.jpg" alt="" >
<div class="name-doc">
<h6>Mohan Dende<span>Ophthalmology Specialists</span></h6>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- emergency -->
<div role="tabpanel" class="tab-pane fade" id="emergency">
<!-- Depatment Text Section -->
<div class="dep-sec-txt">
<div class="row">
<div class="col-md-7">
<h5>Our Best <span>Emergency</span> Services</h5>
<p> It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially
unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum
passages, <br>
<br>
It has survived not only five centuries, but also the leap into electronic typesetting, remaining
essentially unchanged. It was popularised in the 1960s PageMaker including versions of Lorem Ipsum. </p>
<div class="name-doc">
<h6>KantiLal Gupta<span>Emergency Specialists</span></h6>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
</div>
<!-- Footer -->
<?php include 'footer.php';?>
patientappointment.php
<?php
include("header.php");
include("dbconnection.php");
if(isset($_POST[submit]))
{
if(isset($_SESSION[patientid]))
{
$lastinsid =$_SESSION[patientid];
}
else
{
$dt = date("Y-m-d");
$tim = date("H:i:s");
$sql ="INSERT INTO
patient(patientname,admissiondate,admissiontime,address,city,mobileno,loginid,password,gender,dob,status)
values('$_POST[patiente]','$dt','$tim','$_POST[textarea]','$_POST[city]','$_POST[mobileno]','$_POST[loginid]
','$_POST[password]','$_POST[select6]','$_POST[dob]','Active')";
if($qsql = mysqli_query($con,$sql))
{
/* echo "<script>alert('patient record inserted successfully...');</script>"; */
}
else
{
echo mysqli_error($con);
}
$lastinsid = mysqli_insert_id($con);
}
TIT-MCA- 2022 Online cure&care
}
if(isset($_SESSION[patientid]))
{
$sqlpatient = "SELECT * FROM patient WHERE patientid='$_SESSION[patientid]' ";
$qsqlpatient = mysqli_query($con,$sqlpatient);
$rspatient = mysqli_fetch_array($qsqlpatient);
$readonly = " readonly";
}
?>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<div class="wrapper col4">
<div id="container">
<?php
if(isset($_POST[submit]))
{
if(mysqli_num_rows($qsqlappointment) >= 1)
{
echo "<h2>Appointment already scheduled for ". date("d-M-Y", strtotime($_POST[appointmentdate]))
. " " . date("H:i A", strtotime($_POST[appointmenttime])) . " .. </h2>";
TIT-MCA- 2022 Online cure&care
}
else
{
if(isset($_SESSION[patientid]))
{
echo "<h2>Appointment taken successfully.. </h2>";
echo "<p>Appointment record is in pending process. Kinldy check the appointment status. </p>";
echo "<p><a href='viewappointment.php'>View Appointment record</a>. </p>";
}
else
{
echo "<h2>Appointment taken successfully.. </h2>";
echo "<p>Appointment record is in pending process. Please wait for confirmation message.. </p>";
echo "<p><a href='patientlogin.php'>Click here to Login</a>. </p>";
}
}
}
else
{
?>
<!-- Content -->
<div id="content">
<!-- Make an Appointment -->
<section class="main-oppoiment ">
<div class="container">
<div class="row">
<!-- Make an Appointment -->
<div class="col-lg-7">
<div class="appointment">
<!-- Heading -->
<div class="heading-block head-left margin-bottom-50">
<h4>Make an Appointment</h4>
<hr>
</div>
<form method="post" action="" name="frmpatapp" onSubmit="return validateform()"
class="appointment-form">
<ul class="row">
<li class="col-sm-6">
<label>
<input placeholder="patient name" type="text" class="form-control"
name="patiente" id="patiente"
value="<?php echo $rspatient[patientname]; ?>"
<?php echo $readonly; ?>>
<i class="icon-user"></i>
</label>
</li>
<li class="col-sm-6">
<label><input placeholder="address" type="text" class="form-control"
name="textarea" id="textarea"
value="<?php echo $rspatient[address]; ?>"
TIT-MCA- 2022 Online cure&care
echo ")</option>";
}
?>
</select>
<i class="ion-medkit"></i>
</label>
</li>
<li class="col-sm-12">
<label>
<textarea class="form-control" name="app_reason"
placeholder="Appointment reason"></textarea>
</label>
</li>
<li class="col-sm-12">
<button type="submit" class="btn" name="submit" id="submit">make an
appointment</button>
</li>
</form>
</div>
</div>
</div>
</div>
<?php
}
?>
</div>
</div>
TIT-MCA- 2022 Online cure&care
</div>
</section>
</div>
<?php
include("footer.php");
?>
<script type="application/javascript">
var alphaExp = /^[a-zA-Z]+$/; //Variable to validate only alphabets
var alphaspaceExp = /^[a-zA-Z\s]+$/; //Variable to validate only alphabets and space
var numericExpression = /^[0-9]+$/; //Variable to validate only numbers
var alphanumericExp = /^[0-9a-zA-Z]+$/; //Variable to validate numbers and alphabets
var emailExp = /^[\w\-\.\+]+\@[a-zA-Z0-9\.\-]+\.[a-zA-z0-9]{2,4}$/; //Variable to validate Email ID
function validateform() {
if (document.frmpatapp.patiente.value == "") {
alert("Patient name should not be empty..");
document.frmpatapp.patiente.focus();
return false;
} else if (!document.frmpatapp.patiente.value.match(alphaspaceExp)) {
alert("Patient name not valid..");
document.frmpatapp.patiente.focus();
return false;
} else if (document.frmpatapp.textarea.value == "") {
alert("Address should not be empty..");
document.frmpatapp.textarea.focus();
return false;
} else if (document.frmpatapp.city.value == "") {
alert("City should not be empty..");
document.frmpatapp.city.focus();
return false;
} else if (!document.frmpatapp.city.value.match(alphaspaceExp)) {
alert("City name not valid..");
document.frmpatapp.city.focus();
return false;
} else if (document.frmpatapp.mobileno.value == "") {
alert("Mobile number should not be empty..");
document.frmpatapp.mobileno.focus();
return false;
} else if (!document.frmpatapp.mobileno.value.match(numericExpression)) {
alert("Mobile number not valid..");
document.frmpatapp.mobileno.focus();
return false;
} else if (document.frmpatapp.loginid.value == "") {
alert("login ID should not be empty..");
document.frmpatapp.loginid.focus();
return false;
} else if (!document.frmpatapp.loginid.value.match(alphanumericExp)) {
alert("login ID not valid..");
document.frmpatapp.loginid.focus();
return false;
} else if (document.frmpatapp.password.value == "") {
TIT-MCA- 2022 Online cure&care
function loaddoctor(deptid) {
if (window.XMLHttpRequest) {
// code for IE7+, Firefox, Chrome, Opera, Safari
xmlhttp = new XMLHttpRequest();
} else {
// code for IE6, IE5
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
}
xmlhttp.onreadystatechange = function() {
if (this.readyState == 4 &&this.status == 200) {
document.getElementById("divdoc").innerHTML = this.responseText;
}
};
xmlhttp.open("GET", "departmentDoctor.php?deptid=" + deptid, true);
xmlhttp.send();
}
</script>
TIT-MCA- 2022 Online cure&care
about.php
</li>
<li class="col-sm-6">
<h6> <i class="lnr lnr-checkmark-
circle"></i> FREE MEDICAL COUNSELING</h6>
<p>Excepteur sint occaecat cupidatat
non roident,
sunt in culpa qui officia deserunt
mollit </p>
</li>
</ul>
</div>
</div>
</div>
Contact.php
<?php include 'header.php';?>
</section>
adminlogin.php
<?php
session_start();
?>
<?php
error_reporting(0);
include("dbconnection.php");
$dt = date("Y-m-d");
$tim = date("H:i:s");
?>
<!-- header section -->
<!DOCTYPE html>
<html>
TIT-MCA- 2022 Online cure&care
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<title>:: Care And Cure - Hospital Admin ::</title>
<link href="assets/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" type="text/css">
<link rel="icon" href="favicon.ico" type="image/x-icon">
<!-- Custom Css -->
<link href="assets/css/main.css" rel="stylesheet">
<link href="assets/css/login.css" rel="stylesheet">
<!-- Swift Themes. You can choose a theme from css/themes instead of get all themes -->
<link href="assets/css/themes/all-themes.css" rel="stylesheet" />
</head>
<body class="theme-cyan login-page authentication">
<!-- header section -->
<?php
if(isset($_SESSION[adminid]))
{
echo "<script>window.location='adminaccount.php';</script>";
}
$err='';
if(isset($_POST[submit]))
{
$sql = "SELECT * FROM admin WHERE loginid='$_POST[loginid]' AND
password='$_POST[password]' AND status='Active'";
$qsql = mysqli_query($con,$sql);
if(mysqli_num_rows($qsql) == 1)
{
$rslogin = mysqli_fetch_array($qsql);
$_SESSION[adminid]= $rslogin[adminid] ;
echo "<script>window.location='adminaccount.php';</script>";
}
else
{
$err = "<div class='alert alert-danger'>
<strong>Oh !</strong> Change a few things up and try submitting again.
</div>";
}
}
?>
<div class="container">
<div id = "err"><?php echo $err;
?></div>
<div class="card-top"></div>
<div class="card">
<h1 class="title"><span>Care And Cure Hospital</span>Login <span class="msg">Sign in to start your
session</span></h1>
<div class="col-md-12">
TIT-MCA- 2022 Online cure&care
else if(!document.frmadminlogin.loginid.value.match(alphanumericExp))
{
document.getElementById("err").innerHTML ="<div class='alert alert-
Warning'><strong>Heads up!</strong> Invalid Password</div>";
document.frmadminlogin.loginid.focus();
return false;
}
else if(document.frmadminlogin.password.value == "")
{
document.getElementById("err").innerHTML ="<div class='alert alert-info'><strong>Heads
up!</strong> Should not be empty</div>";
document.frmadminlogin.password.focus();
return false;
}
else if(document.frmadminlogin.password.value.length< 8)
{
document.getElementById("err").innerHTML ="<div class='alert alert-info'><strong>Heads
up!</strong> Length should be 8</div>";
document.frmadminlogin.password.focus();
return false;
}
else
{
return true;
}
}
</script>
doctorlogin.php
<?php
session_start();
error_reporting(0);
include("dbconnection.php");
$dt = date("Y-m-d");
$tim = date("H:i:s");
include("dbconnection.php");
if(isset($_SESSION[doctorid]))
{
echo "<script>window.location='doctoraccount.php';</script>";
}
$err='';
if(isset($_POST[submit]))
{
$sql = "SELECT * FROM doctor WHERE loginid='$_POST[loginid]' AND
password='$_POST[password]' AND status='Active'";
$qsql = mysqli_query($con,$sql);
if(mysqli_num_rows($qsql) == 1)
TIT-MCA- 2022 Online cure&care
{
$rslogin = mysqli_fetch_array($qsql);
$_SESSION[doctorid]= $rslogin[doctorid] ;
echo "<script>window.location='doctoraccount.php';</script>";
}
else
{
$err = "<div class='alert alert-danger'>
<strong>Oh !</strong> Change a few things up and try submitting again.
</div>";
}
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<title>:: Care And Cure - Hospital Admin ::</title>
<link href="assets/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" type="text/css">
<link rel="icon" href="favicon.ico" type="image/x-icon">
<!-- Custom Css -->
<link href="assets/css/main.css" rel="stylesheet">
<link href="assets/css/login.css" rel="stylesheet">
<!-- Swift Themes. You can choose a theme from css/themes instead of get all themes -->
<link href="assets/css/themes/all-themes.css" rel="stylesheet" />
</head>
<body class="theme-cyan login-page authentication">
<!-- header section -->
<div class="container">
<div id = "err"><?php echo $err;
?></div>
<div class="card-top"></div>
<div class="card">
<h1 class="title"><span>Care And Cure Hospital</span>Login <span class="msg">Hello,
Doctor!</span></h1>
<div class="col-md-12">
<form method="post" action="" name="frmadminlogin" id="sign_in" onSubmit="return validateform()">
<div class="input-group"><span class="input-group-addon"><i class="zmdizmdi-account"></i></span>
<div class="form-line">
<input type="text" name="loginid" id="loginid" class="form-control"
placeholder="Username" /></div>
</div>
<div class="input-group"><span class="input-group-addon"><i class="zmdizmdi-lock"></i></span>
<div class="form-line">
TIT-MCA- 2022 Online cure&care
}
</script>
patientlogin.php
<?php
session_start();
error_reporting(0);
include("dbconnection.php");
$dt = date("Y-m-d");
$tim = date("H:i:s");
include("dbconnection.php");
if(isset($_SESSION[patientid]))
{
echo "<script>window.location='patientaccount.php';</script>";
}
$err='';
if(isset($_POST[submit]))
{
$sql = "SELECT * FROM patient WHERE loginid='$_POST[loginid]' AND
password='$_POST[password]' AND status='Active'";
$qsql = mysqli_query($con,$sql);
if(mysqli_num_rows($qsql) >= 1)
{
$rslogin = mysqli_fetch_array($qsql);
$_SESSION[patientid]= $rslogin[patientid] ;
echo "<script>window.location='patientaccount.php';</script>";
}
else
TIT-MCA- 2022 Online cure&care
{
$err = "<div class='alert alert-danger'>
<strong>Oh !</strong> Change a few things up and try submitting again.
</div>";
}
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<title>:: Care And Cure - Hospital Admin ::</title>
<link href="assets/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" type="text/css">
<link rel="icon" href="favicon.ico" type="image/x-icon">
<!-- Custom Css -->
<link href="assets/css/main.css" rel="stylesheet">
<link href="assets/css/login.css" rel="stylesheet">
<!-- Swift Themes. You can choose a theme from css/themes instead of get all themes -->
<link href="assets/css/themes/all-themes.css" rel="stylesheet" />
</head>
<body class="theme-cyan login-page authentication">
<!-- header section -->
<div class="container">
<div id = "err"><?php echo $err;
?></div>
<div class="card-top"></div>
<div class="card">
<h1 class="title"><span>Cure And Care </span>Login <span class="msg">Hello, Patient!</span></h1>
<div class="col-md-12">
<form method="post" action="" name="frmadminlogin" id="sign_in" onSubmit="return validateform()">
<div class="input-group"><span class="input-group-addon"><i class="zmdizmdi-account"></i></span>
<div class="form-line">
<input type="text" name="loginid" id="loginid" class="form-control"
placeholder="Username" /></div>
</div>
<div class="input-group"><span class="input-group-addon"><i class="zmdizmdi-lock"></i></span>
<div class="form-line">
<input type="password" name="password" id="password"
class="form-control" placeholder="Password" /></div>
</div>
<div>
<div class="">
<input type="checkbox" name="rememberme" id="rememberme" class="filled-in chk-col-pink">
<label for="rememberme">Remember Me</label>
</div>
<div class="text-center">
TIT-MCA- 2022 Online cure&care
System Design
Design is the first step in the development phase for any engineered product or system. It may be defined “The
process of applying various techniques principles for the purpose of defining a device, a processor or a system in
sufficient to permit its physical realization. System design is the creation of specification for a new system. It
deals with creation of input, which is usually the acquiring of needed data, creation of needed database, the input
procedures and output to meet system objectives. 4.1 INITIAL DESIGN MAIN MODULES: - Main modules of
these systems are given below.
1. ADMIN MODULE: -
Add New User Administrator can add new user by filling out required fields. Remove Existing User
Administrator can remove existing user by selecting user ID from the dropdown box. Doctor registration
Administrator can add doctors and assign them duty times and schedules. Remove Existing Doctor Remove
existing doctors by selecting them from a dropdown menu. Add New Department The administrator can add
new department by entering its name. PROJECT REPORT CLINIC APPOINTMENT SYSTEM DEPARTMENT
OF BCA 12 UNIVERSITY OF CALICUT Remove Existing Department Administrator can remove existing
departments.
2. USER MODULE: -
User Registration Registering the user by the details that includes Name, Username, Email Address, Password,
Residential Address, Phone Number, Gender etc. Profile Users can edit and update their profile including their
password. Doctors List Users can browse through the entire list of doctors and select one for making
appointment. View Prescription User can view, print or delete prescriptions sent by doctors. Upcoming
TIT-MCA- 2022 Online cure&care
Appointments User can view/delete upcoming appointments. Past appointments are automatically removed from
the list to show only the relevant contents. Make Appointment User can search desired departments using the
intelligent, auto filling search engine. The form shows suggestions / gets automatically filled as user starts typing.
The search result shows relevant doctors list with available time, days etc. User can click make appointment and
they get redirected to the date and time selection page. After selecting desired date, the system returns to user with
an appointment ID. PROJECT REPORT CLINIC APPOINTMENT SYSTEM DEPARTMENT OF BCA 13
UNIVERSITY OF CALICUT Notifications User can view notifications if one his/her appointment request has
been marked as ‘Pending’ by the doctor.
3. DOCTOR MODULE: -
Doctor Profile Doctors can edit their profile details such as Name, Qualification etc. Send Prescription Doctor
select their patient name, appointment ID to send prescription. Upcoming Appointments Doctors can view their
upcoming appointments here. They can change appointment status to Pending or Active. They can even cancel
the appointment.
Generally, DFD’s are used as a design notation to represent architectural design (External design) and top level
design (internal design) specifications. DFD’s represent the system in hierarchical manner with one top level and
many lower level diagrams with each representing separate parts of the system. A DFD shows what kind of
information will be input to and output from the system, where the data will come from and go to, and where the
data will be stored. It does not show information about the timing of processes, or information about whether
processes will operate in sequence or in parallel Since diagrammatic representations are easier to interpret as
compared to the technical descriptions, the non-technical users can also understand the system details clearly.
DFD consists of four basic notations which help to depict the information in the system. These notations are
rectangle, circle, open-ended rectangle, and arrows.
TIT-MCA- 2022 Online cure&care
3.4 -ERDiagram
TIT-MCA- 2022 Online cure&care
Conclusion
4.1 Advantage
SAVES TIME
4.2 Limitation
More costly
Creating and managing a database is quite costly.
High Complexity
A Data Management System is quite complex as it involves creating.
4.3Future Scope
LOCATION TRACTING
Bibliography
Book Reference :
➢ Beginning PHP6, Apache, MySQL, Web Development By Timothy
Boroneryk.
➢ Learning PHP, MySQL & JavaScript: With JQuery, CSS & HTML5 By
Robin Nixon.
Website Reference :
➢ https://www.w3schools.com
➢ https://www.google.com
➢ https://www.wikipedia.org
➢ https://github.com
Software Used :
➢ Notepad++
➢ Xampp
➢ PHP MyAdmin