You are on page 1of 100

Presentation

On
“ ”

Submitted To :-
Department Of Computer Science
Developed By :- 1. Patel Smit J. ( Roll No-153)

Group No -37
Online GSRTC Ticket Reservation

PERSONAL DETAILS
Group No: 37 Sem : 3
Exam No: 12084231153 Class : Msc(CA&IT)
12084231125 Div. : B
12084231120
Students Name: 1. Patel Smit J.

Mobile No: 1. 8866457758

E-mail: 1. smitpatel10192@yahoo.com
2. pbpatel123@yahoo.com
3. nimesh.patel00710@gmail.com

Address: 1.Raipur Ahmedabad


2.Mehshana
3.Lakhtar Surendranagar

Department of Computer Science,


1
Ganpat University
Online GSRTC Ticket Reservation

PROJECT PROFILE

Project Definition: ONLINE GSRTC TICKET RESERVATION

Objectives: Display root detail on map , e-mail & sms verification,


Station & platform & bus detail ,Ticket detail, etc.

Internal Guide :
External Guide :
Mobile No:
E-mail:
Tools
Front End: PHP 5.3.0
Back End: MySql 5.1.36
Others Tools: Wamp server 2.2.11 ,java script 1.8.5, jquery 1.9.

Department of Computer Science,


2
Ganpat University
Online GSRTC Ticket Reservation

EXISTING SYSTEM

 Time table

 Get timetable via Sms

 Login & Registration

 Only desktop site available

Department of Computer Science,


3
Ganpat University
Online GSRTC Ticket Reservation

NEED FOR NEW SYSTEM

 Display Route information on map

 Booking verification detail get E-mail and SMS threw

 Online Payment available

 To earn more profit by providing online booking

 Get detail about Ticket ,Station ,platform ,and bus

 Display Daily Updated Time table

Department of Computer Science,


4
Ganpat University
Online GSRTC Ticket Reservation

Minimum Hardware Requirement

 Client Side Requirement

 Processor : Intel i3 1.5GHz.


 RAM : 512 MB RAM or Above.
 Hard -Disk : 80 GB or Above.

 Server Side Requirement

 Processor : Intel i3 2.5GHz.


 RAM : 1 GB.
 Hard-Disk : 40 GB.

Department of Computer Science,


5
Ganpat University
Online GSRTC Ticket Reservation

Minimum Software Requirement


 Client-Side Requirement.

 Operating System : Windows 2007/2008/XP or other compatible OS.


 Web Browser : Internet Explorer or other compatible browser.

 Server-Side Requirement

 Front-tend : PHP 5.3.0


 Back-End : MYSQL 5.1.36
 Web Server : WAMP 2.1
 Reporting Tools : HTML Report
 Other-Tools : Apache V2.2.12

Department of Computer Science,


6
Ganpat University
Online GSRTC Ticket Reservation

System Flow Chart

Department of Computer Science,


7
Ganpat University
Online GSRTC Ticket Reservation

START

View Website

Is Valid No
User

Yes Create User


Login

Is Valid No

Yes

Admin Yes No Customer


Is Admin

Change Password & Change Password &


Profile Profile

A B

Department of Computer Science,


8
Ganpat University
Admin Online GSRTC Ticket Reservation Customer

A B

Manage Customer Purchase Ticket

Post Requirement
Manage Ticket
Ticket

View Advertise &


Manage Route
FAQ’s

Manage Time-Table View Route detail

Manage Route map View Time-Table

Manage Bus

Manage Advertise &


FAQ’s

Manage Images

STOP
Department of Computer Science,
9
Ganpat University
Online GSRTC Ticket Reservation

TimeLine Chart
Of
“Online GSRTC Ticket Reservation”

M
o
n
t
h

Task
Department of Computer Science,
10
Ganpat University
Online GSRTC Ticket Reservation

E R Diagram

Department of Computer Science,


11
Ganpat University
Online GSRTC Ticket Reservation

Department of Computer Science,


12
Ganpat University
Online GSRTC Ticket Reservation

Use case Diagram

Department of Computer Science,


13
Ganpat University
Online GSRTC Ticket Reservation

Use Case Diagrams (Admin)

Department of Computer Science,


14
Ganpat University
Online GSRTC Ticket Reservation

Use Case Diagrams (Customer)

GSRTC Site

Department of Computer Science,


15
Ganpat University
Online GSRTC Ticket Reservation

ACTIVITY DIAGRAM
FOR ADMIN

Department of Computer Science,


16
Ganpat University
Online GSRTC Ticket Reservation
Admin

Department of Computer Science,


17
Ganpat University
Online GSRTC Ticket Reservation

ACTIVITY DIAGRAM
FOR CUSTOMER

Department of Computer Science,


18
Ganpat University
Online GSRTC Ticket Reservation
Customer

Department of Computer Science,


19
Ganpat University
Online GSRTC Ticket Reservation

CLASS DIAGRAM

Department of Computer Science,


20
Ganpat University
Online GSRTC Ticket Reservation

Department of Computer Science,


21
Ganpat University
Online GSRTC Ticket Reservation

SEQUENCE DIAGRAM

Department of Computer Science,


22
Ganpat University
Online GSRTC Ticket Reservation

Sequence Diagrams (Admin)

Department of Computer Science,


23
Ganpat University
Online GSRTC Ticket Reservation

Sequence Diagrams (Customer)

Department of Computer Science,


24
Ganpat University
Online GSRTC Ticket Reservation

COLLABORATION DIAGRAM

Department of Computer Science,


25
Ganpat University
Online GSRTC Ticket Reservation

COLLABORATION DIAGRAM FOR ADMIN

1:1:Authentication
2:1:Operation
3:1:Operation
4:1:Operation
5:1:Operation
6:1:Operation
sWeb site Database

1:1:1:Acknoeledgement
2:1:1:Acknoeledgement
3:1:1:Acknoeledgement
4:1:1:Acknoeledgement
5:1:1:Acknoeledgement
6:1:1:Acknoeledgement
1:Login 1:1:1:1:Logged in or Wrong password
2:Manage Profile 2:1:1:1:View Profile Details
3:Manage route 3:1:1:1:View Route Details
4:Manage ticket detail 4:1:1:1:View Ticket Details
5:Manage advertisement and FAQ’s 5:1:1:1:View Advertisement and FAQ’s
6:Manage Payment Detail 6:1:1:1:View Payment Details
7:Logout 7:1:Logout Successful
Admin
Department of Computer Science,
26
Ganpat University
Online GSRTC Ticket Reservation

Data Dictionary
Sr. No Table Name
1. Admin
2. Customer
3 Route Detail
4 Ticket
5 Rent
6 Payment
7 Book Detail
8 Password Update
9 Contact us
10 Time-Table
11 Bus Detail

Department of Computer Science,


27
Ganpat University
Online GSRTC Ticket Reservation

Table : Admin
Description -: This table store the Admin information.

No Fieldname Data Type Size Constraint Description


1 Admin_id int 6 Primary key It stores id of the admin.

2 username varchar 30 Unique key It stores name of the admin.

3 password varchar 30 Not null It stores password of the admin.

4 email varchar 50 Not null It stores email-id of the admin.

Department of Computer Science,


28
Ganpat University
Online GSRTC Ticket Reservation

Table : Customer
Description -: This table are store the Customer information

No Fieldname Data Type Size Constraint Description


1 Customer_id int 6 Primary key It stores id of the Customer..

2 username varchar 30 Unique key It stores name of the Customer..

3 password varchar 30 Not null It stores password of the Customer..

4 address varchar 60 Not null It stores address of Customer.

5 city varchar 30 Not Null It stores city of Customer for city table.

6 gender varchar 6 Not null It stores gender of Customer.

7 date_birth date - Not null It stores Customer date of birth.

8 contact_no varchar 10 Not null It stores Customer contact mobile no.

9 email varchar 40 null It stores email-id of the Customer.

Department of Computer Science,


29
Ganpat University
Online GSRTC Ticket Reservation

Table : route detail


Description -: This table are store the route information of the Ticket.

No Fieldname Data Type Size Constraint Description


1 Route_id int 11 Primary key It stores id of the route.

2 Departure_station varchar 30 Not Null It stores departure station of the route

3 Arrival_station varchar 30 Not Null It stores arrival station of the route

4 Via_station varchar 30 Not Null It stores Via station of the route

5 Distance varchar 5 Not Null It store Total of Travel distance.

6 Rent int - Not Null It store price of ticket.

Department of Computer Science,


30
Ganpat University
Online GSRTC Ticket Reservation

Table : Ticket
Description -: This table are store the information of Ticket.

No Fieldname Data Type Size Constraint Description


1 Trans_type varchar 15 Primary key It stores transaction type of the requirement.
2 Departure_time varchar 30 Not Null It stores departure time of the person
3 Arrival_time varchar 30 Not Null It stores arrival time of the person
2 Departure_station varchar 30 Foreign key Reference from Route_detail

3 Arrival_station varchar 30 Foreign key Reference from Route_detail

6 Via station varchar 30 Foreign key Reference from Route_detail

7 Distance varchar 5 Not Null It store Total of Travel distance.

8 Rent int - Foreign key Reference from Route_detail.

Department of Computer Science,


31
Ganpat University
Online GSRTC Ticket Reservation

Table : Rent
Description -: This table are store the sales information of Ticket.
No Fieldname Data Type Size Constraint Description
1 Rent int - Foreign key Reference from Route_detail.

2 Route_id int 11 Foreign key Reference from Route_detail

3 Distance varchar 5 Not Null It store Total of Travel distance.

4 Ticket_type varchar 20 Foreign key Reference from Ticket.

Department of Computer Science,


32
Ganpat University
Online GSRTC Ticket Reservation

Table : Payment
Description -: This table are store the information of the Payment.

No Fieldname Data Type Size Constraint Description


1 Customer_id int 6 Foreign key Reference from Customer.
2 Owner Name varchar 50 Not Null It stores card holder name.

3 Bank Varchar 20 Not Null It store bank name.

4 Trans_type varchar 15 Not null It stores transaction type of the customer.

5 Ticket_type varchar 20 Foreign key Reference from Ticket.

6 Total_Rent int - Not null It store total rent of payment.

Department of Computer Science,


33
Ganpat University
Online GSRTC Ticket Reservation

Table : Book_Detail
Description -: This table are store the information of the book Detail.

No Fieldname Data Type Size Constraint Description


1 Seat_no int 3 Primary key It stores Seat no .

2 Route_id int 11 Foreign key It stores id of the route.

3 Journey_Date Date - Not Null It stores travelling date.

4 Booking_Date Date - Not Null It stores booking date.

5 Distance int 5 Foreign key It store journey distance.

6 Rent int - Foreign key Reference from Route_detail.


7 Bus_Type varchar 30 Foreign key Reference from Bus.

8 Choice varchar 15 Null It stores choice of seat.

Department of Computer Science,


34
Ganpat University
Online GSRTC Ticket Reservation

Table : Password_Update
Description -: This table are store the information of the change password.

No Fieldname Data Type Size Constraint Description


1 Id int 6 foreign key It stores id.

2 Old_Password varchar 30 foreign key It stores old password.

3 New_Passwrd varchar 30 Not Null It stores new password.

4 Type varchar 10 Not Null It stores admin or customer login in site.

Table : contact_us
Description -: This table are store the all contact person detail.

No Fieldname Data Type Size Constraint Description


1 Customer_id int 11 Foreign key It stores id of the contact us.
2 username varchar 30 Foreign key It stores name of the person.
3 email varchar 30 Null It stores email-id of the person.
4 message text Not null It stores message of the person.

Department of Computer Science,


35
Ganpat University
Online GSRTC Ticket Reservation

Table : Time Table


Description -: This table are store the route information of the Ticket.

No Fieldname Data Type Size Constraint Description


1 Route_id int 11 Foreign key It stores id of the route.

2 Departure station varchar 30 Foreign key Reference from Route_detail.

3 Arrival station varchar 30 Foreign key Reference from Route_Detail.

4 Via station varchar 30 Foreign key Reference from Route_Detail.

5 Distance varchar 5 Foreign key Reference from Route_Detail.

6 Departure time varchar 30 Not Null It stores departure time of the person
7 Arrival time varchar 30 Not Null It stores arrival time of the person
8 Rent int - Foreign key Reference from Route_detail.

Table : Bus_Detail
Description -: This table are store the information of the book Detail.

No Fieldname Data Type Size Constraint Description


1 Bus_no int 3 Primary key It stores Bus no .

2 Bus_Type varchar 30 Not Null It stores Bus Type.

Department of Computer Science,


36
Ganpat University
Online GSRTC Ticket Reservation

Input Design

Department of Computer Science,


38
Ganpat University
Online GSRTC Ticket Reservation

Home page

Department of Computer Science,


39
Ganpat University
Online GSRTC Ticket Reservation

After Click on Login option

Online GSRTC Ticket Department of Computer Science,


40
Reservation Ganpat University
Online GSRTC Ticket Reservation

After Click on Registration button on user login page for new


user to create new login account

Online GSRTC Ticket Department of Computer Science,


41
Reservation Ganpat University
Online GSRTC Ticket Reservation

After Successful login

Online GSRTC Ticket Department of Computer Science,


42
Reservation Ganpat University
Online GSRTC Ticket Reservation

Select Departure destination on of From Stop


select option

Online GSRTC Ticket Department of Computer Science,


43
Reservation Ganpat University
Online GSRTC Ticket Reservation

Select Arrival destination on of To Stop


select option

Online GSRTC Ticket Department of Computer Science,


44
Reservation Ganpat University
Online GSRTC Ticket Reservation

After click on Search Button see the available


ticket,time,fare,distance,via stations and route display on map

Online GSRTC Ticket Department of Computer Science,


45
Reservation Ganpat University
Online GSRTC Ticket Reservation

After Click on Book option booking page redirect

Online GSRTC Ticket Department of Computer Science,


46
Reservation Ganpat University
Online GSRTC Ticket Reservation

After Click on Book button payment page redirect

Online GSRTC Ticket Department of Computer Science,


47
Reservation Ganpat University
Online GSRTC Ticket Reservation

At home page click on change password option change


password page redirect

Online GSRTC Ticket Department of Computer Science,


48
Reservation Ganpat University
Online GSRTC Ticket Reservation

At home page click on View Profile option user profile page


redirect

Online GSRTC Ticket Department of Computer Science,


49
Reservation Ganpat University
Online GSRTC Ticket Reservation

after click on edit button on profile page to change


information of user

Online GSRTC Ticket Department of Computer Science,


50
Reservation Ganpat University
Online GSRTC Ticket Reservation

At home page click on My-Ticket option it will show us


user booked ticket on this page.

Online GSRTC Ticket Department of Computer Science,


51
Reservation Ganpat University
Online GSRTC Ticket Reservation

Click on cancel button To cancel Ticket .

Online GSRTC Ticket Department of Computer Science,


52
Reservation Ganpat University
Online GSRTC Ticket Reservation

After click on ok button.

Online GSRTC Ticket Department of Computer Science,


53
Reservation Ganpat University
Online GSRTC Ticket Reservation

At home page click on Time-Table option it will show us


Time table on this page.

Online GSRTC Ticket Department of Computer Science,


54
Reservation Ganpat University
Online GSRTC Ticket Reservation

After Click on Login option at Admin menu

Online GSRTC Ticket Department of Computer Science,


55
Reservation Ganpat University
Online GSRTC Ticket Reservation

After Click on Registration button on Admin login page for


admin to create new login account

Online GSRTC Ticket Department of Computer Science,


56
Reservation Ganpat University
Online GSRTC Ticket Reservation

After Admin Successful login

Online GSRTC Ticket Department of Computer Science,


57
Reservation Ganpat University
Online GSRTC Ticket Reservation

After click on Report option this report menu


page redirect

Online GSRTC Ticket Department of Computer Science,


58
Reservation Ganpat University
Online GSRTC Ticket Reservation

At admin home after click on timetable update option time table update in this
page we can insert, update ,delete and reset action will perform

Online GSRTC Ticket Department of Computer Science,


59
Reservation Ganpat University
Online GSRTC Ticket Reservation

After Fill data in page and click on Insert this validation will
show us

Online GSRTC Ticket Department of Computer Science,


60
Reservation Ganpat University
Online GSRTC Ticket Reservation

After Insert Time table show effect on last row

Online GSRTC Ticket Department of Computer Science,


61
Reservation Ganpat University
Online GSRTC Ticket Reservation

After Fill data in page and click on Update this validation will
show us

Online GSRTC Ticket Department of Computer Science,


62
Reservation Ganpat University
Online GSRTC Ticket Reservation

After Update Time table show effect on last row

Online GSRTC Ticket Department of Computer Science,


63
Reservation Ganpat University
Online GSRTC Ticket Reservation

After blank data or no match data in page and click on delete this
validation will show us

Online GSRTC Ticket Department of Computer Science,


64
Reservation Ganpat University
Online GSRTC Ticket Reservation

After Fill data in page and click on delete this validation will
show us

Online GSRTC Ticket Department of Computer Science,


65
Reservation Ganpat University
Online GSRTC Ticket Reservation

After Delete Time table show effect on page

Online GSRTC Ticket Department of Computer Science,


66
Reservation Ganpat University
Online GSRTC Ticket Reservation

At admin home after click on Route update option Route update in this page we
can insert, update ,delete and reset action will perform

Online GSRTC Ticket Department of Computer Science,


67
Reservation Ganpat University
Online GSRTC Ticket Reservation

After Fill data in page and click on Insert this validation will
show us

Online GSRTC Ticket Department of Computer Science,


68
Reservation Ganpat University
Online GSRTC Ticket Reservation

After Insert Time table show effect on last row

Online GSRTC Ticket Department of Computer Science,


69
Reservation Ganpat University
Online GSRTC Ticket Reservation

After Fill data in page and click on Update this validation will
show us

Online GSRTC Ticket Department of Computer Science,


70
Reservation Ganpat University
Online GSRTC Ticket Reservation

After Update Time table show effect on last row

Online GSRTC Ticket Department of Computer Science,


71
Reservation Ganpat University
Online GSRTC Ticket Reservation

Output Design

Department of Computer Science,


72
Ganpat University
Online GSRTC Ticket Reservation

Home page

Department of Computer Science,


39
Ganpat University
Online GSRTC Ticket Reservation

About Us page

Online GSRTC Ticket Department of Computer Science,


74
Reservation Ganpat University
Online GSRTC Ticket Reservation

Contact Us page

Online GSRTC Ticket Department of Computer Science,


75
Reservation Ganpat University
Online GSRTC Ticket Reservation

At home page click on Time-Table option it will show us


Time table

Online GSRTC Ticket Department of Computer Science,


76
Reservation Ganpat University
Online GSRTC Ticket Reservation

At home page click on View Profile option user profile page


redirect

Online GSRTC Ticket Department of Computer Science,


77
Reservation Ganpat University
Online GSRTC Ticket Reservation

After click on Search Button see the available


ticket,time,fare,distance,via stations and route display on map

Online GSRTC Ticket Department of Computer Science,


78
Reservation Ganpat University
Online GSRTC Ticket Reservation

At home page click on My-Ticket option it will show us


user booked ticket on this page.

Online GSRTC Ticket Department of Computer Science,


79
Reservation Ganpat University
Online GSRTC Ticket Reservation

After click on time table Report option this time table report page
redirect you can also print ,Sort ,Search on this report

Online GSRTC Ticket Department of Computer Science,


80
Reservation Ganpat University
Online GSRTC Ticket Reservation

After click on Ticket Report option this Ticket report page


redirect you can also print,search,sort report

Online GSRTC Ticket Department of Computer Science,


81
Reservation Ganpat University
Online GSRTC Ticket Reservation

After click on Route Report option this route report page


redirect you can also print , Search, Sort report

Online GSRTC Ticket Department of Computer Science,


82
Reservation Ganpat University
Online GSRTC Ticket Reservation

Test

Department of Computer Science,


83
Ganpat University
Online GSRTC Ticket Reservation

Sr no Test Case Test technique Pass/Fail Remark

1 Login Require field validation Pass --


control
2 Contact us details Require field Pass --
Validation

3 Change password Require field validation Pass --


control

4 Payment Detail Require field validation Pass --


control

5 Time-Table update Detail Require field validation Pass --


control
6 Route-update detail Require field validation Pass --
control
7 Ticket-update detail Require field validation Pass --
control

Department of Computer Science,


84
Ganpat University
Online GSRTC Ticket Reservation

Mouse over effect on Menu

Department of Computer Science,


40
Ganpat University
Online GSRTC Ticket Reservation

Contact Us page see the validation effect on textboxes

Online GSRTC Ticket Department of Computer Science,


86
Reservation Ganpat University
Online GSRTC Ticket Reservation

Change password page see the validation effect on bottom


side of page

Online GSRTC Ticket Department of Computer Science,


87
Reservation Ganpat University
Online GSRTC Ticket Reservation

Payment page see the validation effect on Alert box

Online GSRTC Ticket Department of Computer Science,


88
Reservation Ganpat University
Online GSRTC Ticket Reservation

Payment page see the validation effect on Alert box

Online GSRTC Ticket Department of Computer Science,


89
Reservation Ganpat University
Online GSRTC Ticket Reservation

Payment page see the validation effect on Alert box

Online GSRTC Ticket Department of Computer Science,


90
Reservation Ganpat University
Online GSRTC Ticket Reservation

Payment page see the validation effect on Alert box

Online GSRTC Ticket Department of Computer Science,


91
Reservation Ganpat University
Online GSRTC Ticket Reservation

Validation at timetable update page

Online GSRTC Ticket Department of Computer Science,


92
Reservation Ganpat University
Online GSRTC Ticket Reservation

After Fill data in page and click on Insert this validation will
show us

Online GSRTC Ticket Department of Computer Science,


93
Reservation Ganpat University
Online GSRTC Ticket Reservation

After Fill data in page and click on Update this validation will
show us

Online GSRTC Ticket Department of Computer Science,


94
Reservation Ganpat University
Online GSRTC Ticket Reservation

After blank data or no match data in page and click on delete this
validation will show us

Online GSRTC Ticket Department of Computer Science,


95
Reservation Ganpat University
Online GSRTC Ticket Reservation

After blank data or no match data in page and click on delete this
validation will show us

Online GSRTC Ticket Department of Computer Science,


96
Reservation Ganpat University
Online GSRTC Ticket Reservation

After Delete Time table show effect on page

Online GSRTC Ticket Department of Computer Science,


97
Reservation Ganpat University
Online GSRTC Ticket Reservation

Acknowledgement

 We are thankful to all the individuals who have guided,inspired,advised


and supported us for making the project a successful one.
 We are sincerely thankful to our faculties who made us capable enough
to accomplish such a project.
 We are also very thankful to GSRTC. Chairman who gave us a golden
opportunity to work with them and for being involved with us thought
the project.
 We also thankful to our project mentor Mr. Ajay M Patel
guided,inspired,advised and supported in making the us through out the
project a successful one.

Department of Computer Science,


99
Ganpat University
Online GSRTC Ticket Reservation

Bibliography

 Book Reference :

 PHP 6 and MySQL Bible


Author : Steve Suehring, Tim Converse, and Joyce Park .
Book Publication: Wiley Publishing Inc.

 Web Site Reference :

 www.google.com
 www.W3School.com

Department of Computer Science,


100
Ganpat University
Online GSRTC Ticket Reservation

Thank You

Department of Computer Science,


100
Ganpat University

You might also like