Professional Documents
Culture Documents
PROJECT REPORT
ON
Appointment
Scheduling System
Submitted by
Name Roll Registration
ARNAB BAG 14512051013 145101211013
1
Appointment Scheduling
Acknowledgement
I have successfully done my project “Appointment Scheduling System”
taking a lot of valuable tips and suggestions from a no. of individuals. I
would like to pay my sincerest gratitude to that particular person.
I am highly obliged to Miss. Tapalina Bhattashali. (Lecturer of Techno
India Institute of Technology), for her guidance as well as her special care
to ourselves. She was along with us throughout the whole project to solve
critical problems whenever we faced. I am highly grateful to her.
I also express my guidance to Techno India Institute of Technology and
the faculty members of Techno India Institute of Technology who have
provide us with the foundation on which we could dare to explore the
future.
--------------------------------
Arnab Bag
2
Appointment Scheduling
Preface
The Appointment Scheduling system will help both the user of
the company and the appointee who acts as a client. Here after
filling in the appointment form the appointee has to submit it and
then immediately he will receive a confirmation or rejection note
of the appointment. The clerk on the server side does this job of
confirming or rejecting. By this web-based software the
appointments are scheduled automatically in the available time
slots according to the submission time of the forms. If the time
slot for a certain request is not available then that appointment
will be rejected and given at a later time automatically.
The whole process of website is well encapsulated
by some linked Web pages giving details involved in the process
and presents the end user with a simple, easy to use and
effective front-end. There is also the provision for sending the
appointment note via e-mail. That note can also be printed from
the website.
3
Appointment Scheduling
Table Of Content
Chapter 1: Introduction…………………………………………. 6-8
1.1 The Concept of Appointment Scheduling System
1.2 Features of Appointment Scheduling System
4
Appointment Scheduling
3.1Introduction
3.1.1 Purpose of this document
3.1.2 Scope of development project
3.1.3 Definition, Acronyms, Abbreviations
3.1.4 References
3.1.5 Overview of document
3.2System architecture description
3.2.1 Overview of modules/components
3.2.2 Structure and relationships
3.2.2.1 System Overview
3.3Schematic Diagram
3.3.1 Appointment
3.3.2 Appo_condition
3.3.3 Corporate
3.4Design Goals
3.5E-R Diagram
3.6Data Flow Diagram
5
Appointment Scheduling
Chapter 1
Introduction
6
Appointment Scheduling
7
Appointment Scheduling
It is easy to understand.
It is easy to handle.
8
Appointment Scheduling
Chapter 2
Software
Requirement
Specification
9
Appointment Scheduling
2.1 Introduction
2.1.1 Purpose
This architecture and design documentation specifies the requirements of the
Appointment Scheduling system which will be used by the clients who can be anybody,
from various company executives to anyone else. This document will be used by the
designer to ensure all specifications are correct and verified by the software engineer to
design the system.
10
Appointment Scheduling
11
Appointment Scheduling
Operating Environment:
Operating Systems: PLATFORM FREE
Processor: Pentium III and above with minimum 128MB of RAM
Browser: Availability of java enabled browser
Product Constraints
The end product is going to be a first and easy to understand the appointment
procedure. Some pitfalls such as security faults might creep in which will be taken
care of in the future versions.
12
Appointment Scheduling
2.4.3.1 Portability
• The website must have a simple, user-friendly interface so browsers can
save time and confusion.
• The user interface must support a simple query interface that the operator
can use to look up generic information on a relevant topic of interest.
• The system should create all necessary directories, files, and other data
needs for the browsers.
2.4.4.2 Reliability
The reliability of the website is important to the company administration. The retrieval
of the data must be in accordance with the request for the same and any failure in the
retrieval must be correctly reported.
Reject invalid user input without crashing.
Should not break down easily when used incorrectly; the site will guarantee this by
checking for errors at every stage of user input.
13
Appointment Scheduling
2.4.4.3 Testability
The requirements of this SRS will be verified through the exercising of test cases as
described by the requirement in the following. Each requirement of this SRS will be
tested by thoroughly running the system with all forms of input. We will also
endeavor to have people intentionally misuse the product to test all possibilities.
System should be closely monitored during and after user testing to ensure that any
fault is quickly fixed.
2.5.5 Installation
Installation is required on the server side. The PHP technology and the MySQL scripting
language must be installed before installing the system.
14
Appointment Scheduling
Chapter 3
Software Design
Specification
15
Appointment Scheduling
3.1 Introduction
3.1.1 Purpose of this Document
This Software Design Specification (SDS) document contains a statement of the
design of the Appointment Scheduling system. In an SDS, the designers are
supposed to provide an unambiguous design of the product. The design then serves
as a guide to the developers who write the code and actually create the product. The
SDS discusses how the program is separated into modules, how the modules interact
with each other, and how users see the program. The SDS also looks into several
design considerations, including design tradeoffs and code reusability.
16
Appointment Scheduling
3.1.4 References
A) PHP Manual
B) www.tizag.com
17
Appointment Scheduling
Time Time
3.3.2 Appo_Condition
Field Name Data type
Cond_id Integer
App_id Integer
Dispatched Character
Cancelled Character
18
Appointment Scheduling
3.3.3 Corporate
Field Name Data type
Contact_per_id Integer
Contact_per_Name Character
Designation Character
19
Appointment Scheduling
Contact_per_
Name Dispatch/Cancel
Appo_Condition
Time
20
Appointment Scheduling
21
Appointment Scheduling
Enterprise Personnel
Appointment Clerk
Visitor Scheduling
System
Context Diagram
Level 0 DFD
22
Appointment Scheduling
Enterprise Personnel
User Appointmen
t Viewing
Dispatc
h
Level 1 DFD
23
Appointment Scheduling
Chapter 4
Progra
m
Coding &
Output
24
Appointment Scheduling
</head>
25
Appointment Scheduling
case 1:
include("schedule.php");
break;
case 2:
include("view.php");
break;
case 3:
include("login.php");
break;
case 5:
include("contact.php");
break;
case 101:
include("ticket.php");
break;
case 102:
$path="print_ticket.php";
include($path);
break;
default:
include("default.php");
break;
}
?> </td>
</tr>
<tr height="25">
<td align="center" background="pictures/fut.jpg" class="style8">Copyright ©
2008 Arnab Bag. All right Resurved</td>
</tr>
</table>
</body>
</html>
4.1.2 Default
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
26
Appointment Scheduling
<body>
<table align="center" width="80%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td><p class="style3">Welcome to appointment scheduling system. Here you can
schedule all your necessary appointments. To schedule an appointment please follow the
following steps:-</p>
<p class="style3">1. Click the schedule link and schedule the appointment<br />
2. Print the ticket<br />
3. Bring the ticket to the destination </p> </td>
</tr>
</table>
</body>
</html>
4.1.3 Schedule
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src="datetimepicker.js">
</script>
</head>
<tr>
<td colspan="4" class="style10">Personal Information </td>
</tr>
27
Appointment Scheduling
<tr>
<td width="20%"> </td>
<td colspan="3"> </td>
</tr>
<tr>
<td class="style8">Name</td>
<td colspan="3"><input name="name" type="text" size="50" maxlength="50" /></td>
</tr>
<tr>
<td class="style8">Contact Address </td>
<td colspan="3"><input name="address" type="text" size="80" maxlength="100"
/></td>
</tr>
<tr>
<td class="style8">Email</td>
<td colspan="3"><input name="email" type="text" size="80" maxlength="80" /></td>
</tr>
<tr>
<td class="style8">Contact No. </td>
<td colspan="3"><input name="contact" type="text" size="20" maxlength="10"
/></td>
</tr>
<tr>
<td> </td>
<td colspan="3"> </td>
</tr>
<tr>
<td colspan="4" class="style10">Professional Information </td>
</tr>
<tr>
<td> </td>
<td colspan="3"> </td>
</tr>
<tr>
<td class="style8">Company Name </td>
<td colspan="3"><input name="c_name" type="text" size="50" maxlength="50"
/></td>
</tr>
<tr>
<td class="style8">Designation</td>
<td colspan="3"><input name="designation" type="text" size="20" maxlength="20"
/></td>
</tr>
<tr>
<td> </td>
<td colspan="3"> </td>
</tr>
<tr>
<td colspan="4" class="style10">Appointment details </td>
</tr>
<tr>
<td> </td>
<td colspan="3"> </td>
</tr>
<tr>
<td class="style8">Contact Person </td>
<td colspan="3"><input name="c_person" type="text" maxlength="50" size="50"
/></td>
28
Appointment Scheduling
</tr>
<tr>
<td class="style8">Purpose</td>
<td colspan="3"><textarea name="purpose" cols="47" rows="10"></textarea></td>
</tr>
<tr>
<td class="style8">Appointment Date</td>
<td width="43%"> <input type="text" name="app_date" id="demo1" size="10"
readonly="true" size="25" /> <a href="javascript:NewCal('demo1','ddmmyyyy')"><img
src="pictures/cal.gif" width="16" height="16" border="0" alt="Pick a date"></a></td>
<td width="18%" class="style8">Current Date</td>
<td width="19%"><input name="date" type="text" size="10" maxlength="10"
value="<?PHP echo date("d/m/y"); ?>" readonly="true" /></td>
</tr>
<tr>
<td class="style8"> </td>
<td></td>
<td class="style8">Current Time </td>
<td><input name="theTime" size="10" readonly="true" type="text"
maxlength="10" /></td>
</tr>
<tr>
<td class="style8"> </td>
<td colspan="3"> </td>
</tr>
<tr>
<td colspan="4" class="style8" align="center"><input name="Submit" type="submit"
value="Submit" /></td>
</tr>
</table>
</form>
</body>
</html>
29
Appointment Scheduling
4.1.5 View
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form action="print.php" method="post" name="frm1">
<table align="center" width="50%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" colspan="3" class="style10"> </td>
</tr>
<tr>
<td align="center" colspan="3" class="style10"> </td>
</tr>
<tr>
<td align="center" colspan="3" class="style10"><div align="center">Please
Enter your ticket number </div></td>
</tr>
<tr>
<td colspan="3" class="style8"> </td>
</tr>
<tr>
<td width="30%" class="style8"><div align="right">Ticket
number </div></td>
<td width="35%"><input name="t_no" type="text" size="20"
maxlength="20" /></td>
30
Appointment Scheduling
<body>
<?PHP
require("Connection.php");
$t_id=$_REQUEST['t_id'];
$query="select * from schedule where id='$t_id'";
$result=mysql_query($query,$conn)or die(mysql_error());
$array=mysql_fetch_array($result)
?>
<table align="center" width="60%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2" align="center" class="style10"> </td>
</tr>
<tr>
<td colspan="2" align="center" class="style10"> </td>
</tr>
<tr>
<td colspan="2" align="center" class="style10">Your ticket for appointment
</td>
</tr>
<tr>
<td colspan="2"> </td>
31
Appointment Scheduling
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="2" style=" border-left-style:solid; border-right-style:solid; border-
top-style:solid; border-bottom-style:solid; border:thin; border-color:#CCCCCC">
<table align="center" width="91%" border="0" cellspacing="0"
cellpadding="0">
<tr>
<td width="46%"> </td>
<td width="54%"> </td>
</tr>
<tr>
<td class="style8">Seekers Name: </td>
<td class="style8"><?PHP echo $array['name']; ?></td>
</tr>
<tr>
<td class="style8"> </td>
<td class="style8"> </td>
</tr>
<tr>
<td class="style8">Company Name: </td>
<td class="style8"><?PHP echo $array['c_name']; ?></td>
</tr>
<tr>
<td class="style8"> </td>
<td class="style8"> </td>
</tr>
<tr>
<td class="style8">Designation:</td>
<td class="style8"><?PHP echo $array['designation']; ?></td>
</tr>
<tr>
<td class="style8"> </td>
<td class="style8"> </td>
</tr>
<tr>
<td class="style8">Contact Person: </td>
<td class="style8"><?PHP echo $array['c_person']; ?></td>
</tr>
<tr>
32
Appointment Scheduling
<td class="style8"> </td>
<td class="style8"> </td>
</tr>
<tr>
<td valign="top" class="style8">Purpose:</td>
<td class="style8"><textarea readonly="readonly" cols="35" rows="10"><?PHP
echo $array['purpose']; ?></textarea></td>
</tr>
<tr>
<td class="style8"> </td>
<td class="style8"> </td>
</tr>
<tr>
<td class="style8">Appointment Date: </td>
<td class="style8"><?PHP echo $array['app_date']; ?></td>
</tr>
<tr>
<td class="style8"> </td>
<td class="style8"> </td>
</tr>
<tr>
<td class="style8">Confirmed:</td>
<td class="style8"><?PHP echo $array['approved']; ?></td>
</tr>
<tr>
<td class="style8"> </td>
<td class="style8"> </td>
</tr>
</table> </td>
</tr>
<tr>
<td width="44%"> </td>
<td width="56%"> </td>
</tr>
<tr>
<td align="center" class="style8"><a href="make_pdf.php">Save</a></td>
<td> </td>
</tr>
</table>
<?php
// create handle for new PDF document
33
Appointment Scheduling
$pdf = pdf_new();
// open a file
pdf_open_file($pdf, "ticket.pdf");
// print text
pdf_show_xy($pdf, "Appointment Ticket,", 50, 750);
pdf_setfont($pdf, $arial, 10);
pdf_show_xy($pdf, "than are dreamt of in your philosophy", 50, 730);
// end page
pdf_end_page($pdf);
</body>
</html>
4.1.7 Ticket
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<?php
require("Connection.php");
$query="select * from schedule";
34
Appointment Scheduling
$result=mysql_query($query,$conn)or die(mysql_error());
while($array=mysql_fetch_array($result))
$id=$array['id'];
?>
<table align="center" width="40%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="style10"> </td>
</tr>
<tr>
<td class="style10"> </td>
</tr>
<tr>
<td class="style10">Schedule Successfully Submitted </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td class="style15">Your Ticket number is: <?PHP echo $id; ?></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td><div align="justify" class="style8">Please Don't lost your ticket number.
This tickket number can be used to obtain your ticket from this site. </div></td>
</tr>
</table>
</body>
</html>
4.1.8 Print
<?PHP
ob_start();
$t_id=$_REQUEST['t_no'];
$location="Location:index.php?op=102&t_id=".$t_id;
header($location);
?>
35
Appointment Scheduling
<body>
<?PHP
require("Connection.php");
$t_id=$_REQUEST['t_id'];
$query="select * from schedule where id='$t_id'";
$result=mysql_query($query,$conn)or die(mysql_error());
$array=mysql_fetch_array($result)
?>
<table align="center" width="60%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2" align="center" class="style10"> </td>
</tr>
<tr>
<td colspan="2" align="center" class="style10"> </td>
</tr>
<tr>
<td colspan="2" align="center" class="style10">Your ticket for appointment
</td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="2" style=" border-left-style:solid; border-right-style:solid; border-
top-style:solid; border-bottom-style:solid; border:thin; border-color:#CCCCCC">
<table align="center" width="91%" border="0" cellspacing="0"
cellpadding="0">
<tr>
<td width="46%"> </td>
36
Appointment Scheduling
<td width="54%"> </td>
</tr>
<tr>
<td class="style8">Seekers Name: </td>
<td class="style8"><?PHP echo $array['name']; ?></td>
</tr>
<tr>
<td class="style8"> </td>
<td class="style8"> </td>
</tr>
<tr>
<td class="style8">Company Name: </td>
<td class="style8"><?PHP echo $array['c_name']; ?></td>
</tr>
<tr>
<td class="style8"> </td>
<td class="style8"> </td>
</tr>
<tr>
<td class="style8">Designation:</td>
<td class="style8"><?PHP echo $array['designation']; ?></td>
</tr>
<tr>
<td class="style8"> </td>
<td class="style8"> </td>
</tr>
<tr>
<td class="style8">Contact Person: </td>
<td class="style8"><?PHP echo $array['c_person']; ?></td>
</tr>
<tr>
<td class="style8"> </td>
<td class="style8"> </td>
</tr>
<tr>
<td valign="top" class="style8">Purpose:</td>
<td class="style8"><textarea style="background:#99CCFF" readonly="readonly"
cols="35" rows="10"><?PHP echo $array['purpose']; ?></textarea></td>
</tr>
<tr>
<td class="style8"> </td>
37
Appointment Scheduling
<td class="style8"> </td>
</tr>
<tr>
<td class="style8">Appointment Date: </td>
<td class="style8"><?PHP echo $array['app_date']; ?></td>
</tr>
<tr>
<td class="style8"> </td>
<td class="style8"> </td>
</tr>
<tr>
<td class="style8">Confirmed:</td>
<td class="style8"><?PHP echo $array['approved']; ?></td>
</tr>
<tr>
<td class="style8"> </td>
<td class="style8"> </td>
</tr>
</table> </td>
</tr>
<tr>
<td width="44%"> </td>
<td width="56%"> </td>
</tr>
<tr>
<td align="center" class="style8"><a href="make_pdf.php?t_id=<?PHP echo
$t_id ?>">Save</a></td>
<td> </td>
</tr>
</table>
<blockquote> </blockquote>
</body>
</html>
38
Appointment Scheduling
<body>
<table align="center" width="40%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td colspan="2" align="center" class="style10">Members Area. Please login Here
</td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="style8">Username</td>
<td><input name="user" type="text" size="20" maxlength="20" /></td>
</tr>
<tr>
<td class="style8">Password</td>
<td><input name="password" type="password" size="20" maxlength="20"
/></td>
</tr>
<tr>
<td colspan="2" align="center"> </td>
</tr>
<tr>
<td colspan="2" align="center"><input name="Submit" type="submit"
value="Login" /></td>
</tr>
</table>
</body>
</html>
4.1.11 Contact
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
39
Appointment Scheduling
<body>
<table align="center" width="80%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td>
<p align="center" class="style10"><u>Software developed by</u> </p>
<p class="style9">Arnab Bag </p>
<p class="style9">BCA 5th Sem</p>
<p class="style9">Techno India Institute of Technology</p>
<p class="style9">Email: sainik86@gmail.com </p>
</tr>
<tr>
<td> </td>
</tr>
</table>
</body>
</html>
4.1.12 Connection
<?PHP
$conn=mysql_connect("localhost","root","");
mysql_select_db("appointment",$conn);
?>
40
Appointment Scheduling
4.2 Output
4.2.1 Index
4.2.2 Schedule
41
Appointment Scheduling
4.2.3 Ticket
4.2.4 Login
42
Appointment Scheduling
Chapter 5
Bibliography
43
Appointment Scheduling
♦ http://www.tizag.com
♦ http://www.w3schools.com
♦ Beginning PHP5, Wrox
♦ PHP Manual
--The End--
44