Professional Documents
Culture Documents
Font Page
Font Page
PROJECT REPORT
ON
"Developing the Website's of Model Hospital
of Lalbandi Sarlahi"
(DIPLOMA IN COMPUTER ENGINEERING)
By
CHANDAN KUMAR CHAUDHARY
Symbol:09001910
UNDER THE GUIDANCE OF
Mr. BHARAT MAHATO
O P
CERTIFICATE
(STUDENT) (GUIDE)
Signature:
Signature/date:
Name:CHANDAN CHAUDHARY Designation:
Date: Designation:
(STUDY CENTRE)
Signature:
Name: JANAJYOTI MODEL SECONDARY SCHOOL
Date:
Seal of Study centre:
2
PROJECT REPORT ON DEVELOPING A WEBSITE
ACKNOWLEDGEMENT
3
S.N Content Page No
1 CHAPTER 1: INTRODUCTION
1.1. Company Profile
1.2. Existing System and need for system
1.3. Scope of Work
1.4.Operationg Environment Hardware and
Software
1.5.Detail Description of Technology
2 CHAPTER2:PROPOSED SYSTEM
2.1 Proposed System
2.1.1 Fesibility Study
2.1.1.A Technical Feasibility
2.1.1.B Economical Feasibility
2.1.1.C Operational Feasibility
2.2 Objective of System
2.3 User Requirements
3 CHAPTER 3: ANALYSIS AND DESIGIN
3.1 Block Diagram
3.2 Site Map of Hospital
3.3 E R Diagram of Hospital
3.4 Logical Diagram
3.5 File/Database Diagram
4 CHAPTER4: USER MANUAL
4.1 User manual
4.2 Form and report
5 Drawback and limitations
6 Conclusion
7 ASSURE
7.1 Output Form and Coding
CHAPTER-1
4
INTRODUCTION:
1.1 Company profile:
Logos Task
XAMMP is used to run and interprets
the scripts written in the PHP and Perl
programming languages. Version
6
Vscodeis a source code editor and
that supports several languages. We
used it in developing our website.
by Unknown Author
is licensed under
Chapter-2
PROPOSED SYSTEM
Online booking .
secure website.
CHAPTER-3
Patient
Contacts
Receptionist Appointment
Books
Doctor
Visits Gives Charges
Treatment Fees
Time slots
Generates Bills
9
3.2 Sitemap
10
3.3 E-R diagram:
11
Figure 3.3:- ER Diagram of hospital
12
3.4.Logical design:
START
Hospital
Need
Need
No appointment?
report?
No
yes yes
Login
login
Got Found
Suitable Suitable
13
doctor?
doctor
No No
Search again Search again
Yes Yes
STOP
File Name:post
15
File Name: user
Your Full name This tells the full name of the Alphabetic
patient
CHAPTER-04
CHAPTER-5
The same data gets repeated over and over since the workers
find it hard to keep track of the documents, information and
transactions.
Chapter 06
CONCLUSION:
19
a very dynamic and an interactive environment to all the visitors. The
cover page itself has the site map of the hospital, so that people can
get the exact location of the hospital, which would help them in
reaching the hospital in case of any emergency. The website provides
all the information regarding infrastructure, departments, the
management structure and the functioning of the hospital. The
website not only gives details about the hospital, but it also provides
the customers with the information and details of all our branches in
different cities. The facilities regarding the online registration are
also provided i.e. patient’s can register online and can keep a track
of their reports with the help of username and password. This helps
the customer to be in touch of our organisation and can be updated
about our new and improved services rendered.
CHAPTER: 7
20
Figure 7.1:- Homepage
Coding:-
<?php
include"header.html";
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
21
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-
scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="hospital.css">
<script src="https://kit.fontawesome.com/75a8928cdd.js"
crossorigin="anonymous"></script>
</head>
<body>
<div class="main">
<div id="title">
<h1>
Sarlahi's best Hospital
</h1>
<p1> Lorem, ipsum dolor sit amet consectetur adipisicing elit. Enim
modi alias minima, fugiat ut rem quidem nobis iure, repellat
distinctio amet vero quasi doloremque laboriosam hic maiores, vel
repudiandae exercitationem!</p1>
<div> <a href="" class="hero_btn"> Visit Us to know
More</a></div>
</div>
</div>
<div class=" Responsible">
<h2> Our Responsible Doctor</h2>
<div class="service-container">
22
<div class="service-box">
<div class="service-img"><img src="download (1).jpg"
></div>
<div class="service-title">
<h2>Dr. Dibas Khadka</h2>
</div>
<div class="service-desc">
<p>Internal Medicine, Gastroenterology, Hepatology , 11
Years of practice</p>
</div>
<div class="button"><button> <a href="">
<h>Readmore</h></a></button></div>
</div>
<div class="service-box">
<div class="service-img"><img src="download
(3).jpg"></div>
<div class="service-title">
<h2>Dr. Bibek Kumar Purbey</h2>
</div>
<div class="service-desc">
<p> Gastroenterology and Interventional Endoscopist , 10
Years of practice</p>
</div>
<div class="button"><button> <a href="">
<h>Readmore</h></a></button></div>
23
</div>
<div class="service-box">
<div class="service-img"><img src="download (4).jpg"
></div>
<div class="service-title">
<h2> Dr. Anil Baral</h2>
</div>
<div class="service-desc">
<p> Consultant Physician & Nephrologist</p>
</div>
<div class="button"><button> <a href="">
<h>Readmore</h></a></button></div>
</div>
</div>
<div class="service-container">
<div class="service-box">
<div class="service-img"><img src="download (5).jpg" ></div>
<div class="service-title">
<h2>Dr. Aditya Mahaseth</h2>
</div>
<div class="service-desc">
<p>Cardiology, Internal Medicine</p>
</div>
24
<div class="button"><button> <a href="">
<h>Readmore</h></a></button></div>
</div>
<div class="service-box">
<div class="service-img"><img src="download (4).jpg" ></div>
<div class="service-title">
<h2>Dr. Jayendra Pradhananga</h2>
</div>
<div class="service-desc">
<p> CLINICIAN (ENT)</p>
</div>
<div class="button"><button> <a href="">
<h>Readmore</h></a></button></div>
</div>
<div class="service-box">
<div class="service-img"><img src="download (3).jpg" ></div>
<div class="service-title">
<h2>Dr. Sudip Parajuli</h2>
</div>
<div class="service-desc">
<p> Dermatologist, Venereologist, Leprologist &
Dermatosurgeon</p>
</div>
25
<div class="button"><button> <a href="">
<h>Readmore</h></a></button></div>
</div>
</div>
</div>
<div class="content">
<p>Hamro Doctor is the First Online Healthcare Service Provider
from Nepal where patients can consult certified medical personnel
and get additional health related services along with other
information related to health online.</p>
<p>We understand that getting medical information and health
advice from doctors should be easier and technology can bridge this
gap between doctors and patients in our country. Hamro doctor is
our attempt to change the face of healthcare in our country and
make health care less complicated and make it widely and easily
accessible.</p>
<p>One can get detailed , personalized research based and
certified information along with expert opinions from qualified
doctors. This service is used commonly in order to understand
medical condition, diagnosis, treatment options or alternatives and
recommendations for future therapeutic conditions.</p>
</div>
<div class="map">
<iframe src="https://www.google.com/maps/embed?pb=!1m18!
1m12!1m3!1d3553.2908396526095!2d85.63404031428527!
26
3d27.05256616056953!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!
3m3!1m2!1s0x39ec7e517a5a0419%3A0xe5a9b34eda3219e2!
2sLalbandi%20Model%20Hospital!5e0!3m2!1sen!2snp!
4v1659204542734!5m2!1sen!2snp" width="100%" height="450"
style="border:0;" allowfullscreen="" loading="lazy"
referrerpolicy="no-referrer-when-downgrade"></iframe>
</div>
</body>
</html>
<?php
include"footer.html";
?>
7.2. ABOUT US
Coding :-
27
<?php
include"header.html";
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<style>
*{
padding: 0;
margin: 0;
box-sizing:border-box;
}
.main{
28
background-image: url("Dr-titles-1920-768x375.jpg");
background-size: cover;
height:400px;
width:100%;
}
.aside p{
transform:(-50);
}
.content{
background-color: greenyellow;
padding:0;
margin: 0;
height:800px;
}
p{
29
padding:20px 50px 15px 50px;
text-align: justify;
color: black;
font-size: 25px;
margin:10px;
}
</style>
</head>
<body>
<div class="main">
</div>
<div class="content">
</div>
<div class="map">
<iframe src="https://www.google.com/maps/embed?pb=!1m18!
1m12!1m3!1d3553.2908396526095!2d85.63404031428527!
3d27.05256616056953!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!
3m3!1m2!1s0x39ec7e517a5a0419%3A0xe5a9b34eda3219e2!
2sLalbandi%20Model%20Hospital!5e0!3m2!1sen!2snp!
4v1659204542734!5m2!1sen!2snp" width="100%" height="450"
style="border:0;" allowfullscreen="" loading="lazy"
referrerpolicy="no-referrer-when-downgrade"></iframe>
</div>
</body>
</html>
<?php
include"footer.html";
?>
7.3. CONTACT
31
Figure 7.3:- “CONTACT” Page
Coding:-
<?php
include"header.html";
if(isset($_POST['submit']))
$usename=$_POST['username'];
$Email_Address=$_POST['Email Address'];
$Subject=$_POST['Subject'];
32
$message=$_POST['message'];
$con=mysqli_connect("localhost","root","","model_hospital_db");
$result=mysqli_query($con,$sql);
if(isset($result))
{
echo"submit sucessfully";
}
else{
echo"try again?";
}
mysqli_close($con,$sql);
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<style>
*{
padding:0;
margin: 0;
box-sizing: border-box;
}
.title1{
background-color: bisque;
height: 300px;
width: 100%;
padding-left:70px;
}
.contact
34
{
height: 550px;
width: 40%;
padding: auto;
position: absolute;
z-index: 1;
top:250px;
left:700px;
}
form{
padding:30px;
border-radius:10px;
box-sizing: border-box;
background-color: yellowgreen;
}
input{
width: 50%;
35
background:none;
border-radius: 3px;
padding:6px 15px;
margin-bottom: 10px;
box-sizing: border-box;
}
#main
{
padding-left: 50px;
padding-top:50px;
background-color: aquamarine;
height: 500px;
}
#main ul{
list-style: none;
}
36
#main ul li{
padding-bottom:20px;
}
h1{
padding-bottom: 40px;
}
</style>
</head>
<body>
<div class="header">
<div class="title1">
</div>
<div class="contact">
<label>Message</label><br>
</form>
</div>
</div>
<div id="main">
38
<ul>
<div id="link1">
<h3>Address</h3>
</div>
<div id="link2">
<li>+977-9801887073 / +977-14102891</li>
</div>
<div id="link3">
<li>info@hamrodoctor.com</li>
</div>
</ul>
</div>
<div class="map">
<iframe src="https://www.google.com/maps/embed?pb=!1m18!
1m12!1m3!1d3553.2908396526095!2d85.63404031428527!
3d27.05256616056953!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!
3m3!1m2!1s0x39ec7e517a5a0419%3A0xe5a9b34eda3219e2!
2sLalbandi%20Model%20Hospital!5e0!3m2!1sen!2snp!
39
4v1659204542734!5m2!1sen!2snp" width="100%" height="450"
style="border:0;" allowfullscreen="" loading="lazy"
referrerpolicy="no-referrer-when-downgrade"></iframe>
</div>
</body>
</html>
<?php
include"footer.html";
?>
CODING:-
<?php
include"header.html";
include"connection.php";
40
$result=mysqli_query($con,$sql);
if(mysqli_num_rows($result)>0)
{ ?>
<thead>
<th>S.N.</th>
<th>Author</th>
<th>Date</th>
<th>Description</th>
<th>img </th>
</thead>
<tbody>
<?php
<tr>
</tr>
<?php
} ?>
</tbody>
</table>
<?php
}else {
include"footer.html";
?>
42
7.5. GALLERY PAGES
CODING:-
<?php
include"header.html";
include"connection.php";
43
$result=mysqli_query($con,$sql);
if(mysqli_num_rows($result)>0)
{ ?>
<thead>
<th>Gallery </th>
</thead>
<tbody>
<?php
<tr>
44
</tr>
<?php
} ?>
</tbody>
</table>
<?php
}else {
include"footer.html";
?>
45
Figure 7.6:- “login.php” Page
Coding:-
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<style>
*{
margin:0;
padding:0;
46
}
body{
background-color: #ecf1f4;
}
.Sign_in{
width: 320px;
background-color: #3e3d3d;
box-sizing: border-box;
position: fixed;
left: 50%;
top: 50%;
transform: translate(-50%,-50%);
}
h1{
text-align: center;
color: white;
font-weight: normal;
margin-bottom: 20px;
}
input{
47
width: 100%;
background:none;
border-radius: 3px;
padding:6px 15px;
margin-bottom: 20px;
box-sizing: border-box;
margin-right:10px;
}
input[type="submit"]{
border: 0;
cursor: pointer;
transition:1s;
}
input[type="submit"]:hover{
background:yellowgreen;
}
p{
color: white;
padding:5px;
48
}
p a{
color:burlywood;
}
</style>
</head>
<body>
<div class="Sign_in">
<h1>Sign In</h1>
</form>
</div>
</body>
49
</html>
<?php
$con=mysqli_connect("localhost","root","","model_hospital_db") ;
if(isset($_POST['submit']))
$username=$_POST['username'];
$password=$_POST['password'];
$result=mysqli_query($con,$sql) ;
while($row = mysqli_fetch_assoc($result)){
session_start();
$_SESSION["User"] = $row['Username'];
$_SESSION["Password"] = $row['Password'];
header("location:post.php");
}
50
}else{
echo"query failed";
mysqli_close($con);
?>
Coding:-
<!DOCTYPE html>
<html lang="en">
51
<head>
<meta charset="UTF-8">
<style>
*{
padding:0;
margin:0;
box-sizing: border-box;
}
a{
text-decoration: none;
}
.header
{
display: flex;
height:100px;
background-color:orangered;
52
justify-content: space-between;
}
.logo img{
height: 100px;
border-radius: 50%;
}
.title h1{
padding-top: 20px;
}
.logout a h3{
padding-top: 60px;
padding-right:10px;
color: white;
}
.menu {
background-color: bisque;
height:100px;
53
}
menu ul{
list-style: none;
}
.menu ul li{
display: inline-block;
margin:20px;
}
.Add_post{
margin-left:1150px;
margin-bottom:5px;
}
thead{
background-color: black;
color: white;
}
table{
background-color:palegoldenrod;
}
54
</style>
</head>
<body>
<div class="header">
</div>
<div class="menu">
<ul>
<li><a href="gallery.php"><h1>Gallery</h1></a></li>
</ul>
</div>
</body>
55
</html>
<?php
include"footer.html";
?>
Coding:-
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
56
<meta name="viewport" content="width=device-width, initial-
scale=1.0">
<style>
*{
padding:0;
margin:0;
box-sizing: border-box;
}
a{
text-decoration: none;
}
.header
{
display: flex;
height:100px;
background-color:orangered;
justify-content: space-between;
}
.logo img{
57
height: 100px;
border-radius: 50%;
}
.title h1{
padding-top: 20px;
}
.logout a h3{
padding-top: 60px;
padding-right:10px;
color: white;
}
.menu {
background-color: bisque;
height:100px;
}
menu ul{
list-style: none;
58
}
.menu ul li{
display: inline-block;
margin:20px;
}
.Add_post{
margin-left:1150px;
margin-bottom:5px;
}
thead{
background-color: black;
color: white;
}
table{
background-color:palegoldenrod;
}
</style>
</head>
59
<body>
<div class="header">
</div>
<div class="menu">
<ul>
<li><a href="gallery.php"><h1>Gallery</h1></a></li>
</ul>
</div>
</body>
</html>
60
<?php
include"connection.php";
$result=mysqli_query($con,$sql);
if(mysqli_num_rows($result)>0)
{ ?>
<thead>
<th>S.N.</th>
<th>Title</th>
<th>Author</th>
<th>Date</th>
<th>Description</th>
<th>img </th>
<th>Edit</th>
<th>Delete</th>
</thead>
61
<tbody>
<?php
<tr>
</tr>
<?php
} ?>
62
</tbody>
</table>
<?php
}else {
include"footer.html";
?>
63
Figure 7.9:- “addpost.php” Page
Coding:-
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
64
<title>Add post </title>
<style>
padding:0;
margin:0;
box-sizing: border-box;
form{
background-color:burlywood;
height: 300px;
width: 300px;
position: absolute;
top:200px;
left:500px;
input{
margin-left: 20px;
}
65
label{
margin-left: 30px;
input[type="submit"]{
border: 0;
cursor: pointer;
transition:1s;
input[type="submit"]:hover{
background:yellowgreen;
h1{
text-align: center;
margin-top: 15px;
margin-bottom: 5px;
}
66
</style>
</head>
<body>
<label>Title_name</label> <br>
<label>Author_name</label><br>
<label>Date</label><br>
<label>Description</label><br>
</form>
</body>
67
</html>
<?php
error_reporting(0);
if(isset($_POST['submit']))
{
$title=$_POST['title_name'];
$author=$_POST['Author'];
$date=$_POST['date'];
$desc=$_POST['description'];
$file_name= $_FILES['file']['name'];
$file_tmp= $_FILES['file']['tmp_name'];
if(move_uploaded_file($file_tmp,"upload/".$file_name))
else{
68
}
include"connection.php";
$res=mysqli_query($con,$sql);
if(isset($res))
echo"sucessfully";
?>
7.10:GALLERY PAGE
Coding:-
69
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
*{
padding:0;
margin:0;
box-sizing: border-box;
}
a{
text-decoration: none;
}
.header
{
display: flex;
70
height:100px;
background-color:orangered;
justify-content: space-between;
}
.logo img{
height: 100px;
border-radius: 50%;
}
.title h1{
padding-top: 20px;
}
.logout a h3{
padding-top: 60px;
padding-right:10px;
color: white;
}
.menu {
background-color: bisque;
71
height:100px;
}
menu ul{
list-style: none;
}
.menu ul li{
display: inline-block;
margin:20px;
}
.Add_post{
margin-left:1150px;
margin-bottom:5px;
}
thead{
background-color: black;
color: white;
}
table{
72
background-color:palegoldenrod;
}
</style>
</head>
<body>
<div class="header">
</div>
<div class="menu">
<ul>
<li><a href="gallery.php"><h1>Gallery</h1></a></li>
</ul>
73
</div>
</body>
</html>
<?php
include"connection.php";
$result=mysqli_query($con,$sql);
if(mysqli_num_rows($result)>0)
{ ?>
<thead>
<th>Gallery </th>
</thead>
<tbody>
74
<?php
<tr>
</tr>
<?php
} ?>
</tbody>
</table>
<?php
}else {
include"footer.html";
75
?>
Coding:-
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
76
<meta name="viewport" content="width=device-width, initial-
scale=1.0">
<title>Document</title>
<style>
*{
padding:0;
margin:0;
box-sizing: border-box;
}
a{
text-decoration: none;
}
.header
{
display: flex;
height:100px;
background-color:orangered;
justify-content: space-between;
}
.logo img{
77
height: 100px;
border-radius: 50%;
}
.title h1{
padding-top: 20px;
}
.logout a h3{
padding-top: 60px;
padding-right:10px;
color: white;
}
.menu {
background-color: bisque;
height:100px;
}
menu ul{
list-style: none;
78
}
.menu ul li{
display: inline-block;
margin:20px;
}
.Add_post{
margin-left:1150px;
margin-bottom:5px;
}
thead{
background-color: black;
color: white;
}
table{
background-color:palegoldenrod;
}
</style>
</head>
79
<body>
<div class="header">
</div>
<div class="menu">
<ul>
<li><a href="gallery.php"><h1>Gallery</h1></a></li>
</ul>
</div>
80
<form action="" method="post" enctype="multipart/form-data">
</form>
</body>
</html>
<?php
error_reporting(0);
include"connection.php";
if(isset($_POST['submit']))
$file_name= $_FILES['file']['name'];
$file_tmp= $_FILES['file']['tmp_name'];
$destination="gallery/".$file_name;
if(move_uploaded_file($file_tmp,$destination))
{
81
}
else{
echo"try again";
}
$res=mysqli_query($con,$sq);
if(isset($res))
{
echo"sucessfully";
}
?>
7.12.HEADER PAGE
82
Figure 7.12:- "header.html" Page
Coding:-
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<div class="header">
<div class="menu">
<ul>
<li><a href="hospital.php">Home</a></li>
83
<li><a href="about.php">About Us</a></li>
<li><a href="contact.php">Contact</a></li>
<li><a href="notice.php">Notice</a></li>
<li><a href="dispgallery.php">Gallery</a></li>
</ul>
</div>
</div>
</body>
</html>
Coding:-
<!DOCTYPE html>
<html lang="en">
<head>
84
<meta charset="UTF-8">
<title>Document</title>
<style>
*
{
padding: 0;
margin: 0;
}
.footer{
background-color: blueviolet;
text-align: center;
padding: 20px;
}
</style>
</head>
<body>
85
<div class="footer">
</div>
</body>
</html>
Coding:-
padding:0;
margin:0;
box-sizing: border-box;
86
.menu ul li a{
text-decoration: none;
color:whitesmoke;
font-weight: bold;
transition:2s;
.menu ul li a:hover{
background-color:blue;
.header{
display: flex;
justify-content:space-between;
.title{
margin:25px;
font-size:25px;
color: red;
87
}
.logo a img{
height:100px;
width: 100%;
border-radius:50%;
.menu ul{
list-style: none;
display: flex;
margin: 25px;
.menu ul li{
margin:15px;
.main{
background-image: url('\LUJMedical02.jpg');
88
background-size: cover;
height:510px;
}
#title{
width: 90%;
color: white;
position: absolute;
top: 70%;
left:50%;
transform: translate(-50%,-50%);
text-align: center;
#title h1{
font-size:62px;
#title p1{
color: white;
89
font-size: 20px;
.hero_btn{
display: inline-block;
text-decoration: none;
color: white;
font-size: 13px;
background: transparent;
transition:2s;
.hero_btn:hover{
background:orange;
.Responsible{
text-align: center;
}
.service-container{
90
display: flex;
justify-content: space-between;
}
.service-box{
flex-basis:33%;
max-width: 380px;
padding:10px;
}
.service-box img{
width:100%;
height:300px;
transition:1s;
}
.service-box img:hover{
91
border-radius: 50%;
}
.content{
background-color: rebeccapurple;
color: #eee;
height: 100px;
width:100%;
}
92
93