Yatri.com Doc[1] (2)
Yatri.com Doc[1] (2)
MAST YATRI.COM
Index
1|Page
CHAPTER 1 : INTRODUCTION
Our website has various kinds of information that helps regarding booking
of tickets via railways .
Users will be able to search the train availability ,the exact fare ,the arrival
and departure time of the train and they can also book the ticket by using
the debit ,credit or master card and after booking the ticket if the user
want
to cancel it then they can easily do it also.
2|Page
3|Page
1.1 Existing System
4|Page
1.3 Operating Environment Hardware and Software
Hardware Requirements:
I5 Processor
256 MB
1 TB HARDDISK
Memory
Secondary Storage
Architecture
Keyboard
Mouse
Software Requirements
5|Page
2.1 Proposed System (Introduction of system)
1. Security Data.
2. Ensure Data Accuracy.
4. Greater Efficiency.
5. Better Service.
6. Minimum Time Required.
6|Page
2.3 Objectives of System
7|Page
• Railway passengers frequently need to know about their
ticket reservation status, ticket availability on a
particular train or for a place, train arrival or
departure details, special trains etc.. Customer
information centers at the railway stations are unable to
serve such queries at peak periods. The number of the
reservation counters available to the passengers and
customers are verbless most of the reservation systems
there are long queues, so it takes a long time for any
individual to book the ticket. As now there are no call
centers facilities available to solve the queries of the
passengers
• The online railway ticket reservation system aims to
develop a web application which aim sat providing
trains details, trains availability, as well as the facility to
book ticket in online for customers.
8|Page
3.1 Use Case Diagrams
9|Page
3.2 Activity Diagram
10 | P a g e
3.4 Table specifications (Database design)
11 | P a g e
Data dictionary
1)User_tb
1Field Name Data Type Length Constraint
user_id Int 10 Primary key
2) Admin
Field Name Data Type Length Constraint
agent_id Int 10 Primary Key
email Varchar 30 Not null
password Varchar 40 Not null
3) AddTrain
Field Name Data Type Length Constraint
Tno Int 10 Primary key
Tname Varchar 40 Not null
Tprice Int 10 Not null
12 | P a g e
Date Date 10 Not null
Time Time 10 Not null
Dtime Time 10 Not null
Tseats Int 30 Not null
4) City
Field Name Data Type Length Constraint
cname Varchar 50 Not null
5) tblbook
Field Name Data Type Length Constraint
user_id Int 10 (Foreign key)
Tno Int 10 (Foreign key)
qty Int 50 Not null
status Int 20 Not null
Ticketstatus Varchar 50 Not null
6) Report
Field Name Data Type Length1 Constraint
user_id Int 20 (Foreign key)
user_name Varchar 30 Not null
user_city Varchar 50 Not null
user_email Varchar 25 Not null
user_phone Bigint 10 Not null
13 | P a g e
SCREENS
user Side
1.Home Screen
14 | P a g e
2.services
15 | P a g e
3.User Login
16 | P a g e
4.User registration
17 | P a g e
5.User home page
18 | P a g e
6.Search train
19 | P a g e
7.View Trains
20 | P a g e
8.View Train Details
21 | P a g e
9.Booking
22 | P a g e
10.Pay Bill
23 | P a g e
11.Ticket Booked
24 | P a g e
12.Ticket Status
25 | P a g e
Admin Side
13.Admin Login
26 | P a g e
14.admin Home Screen
27 | P a g e
15.Add trains
28 | P a g e
16.Total Users
29 | P a g e
Sample Code
<html>
<head>
<title></title>
</head>
<body>
<center>
</center><br><br>
<table class="table">
<td>Train Name</td>
<td>From</td>
<td>To</td>
<td>Date</td>
<td>Ticket Price</td>
<td>No. of Passenger</td>
<td>Ticket Status</td>
</tr>
<?php
30 | P a g e
tblbook.user_id=".$_SESSION['user_id']);
while ($r=mysqli_fetch_array($q)) {
?>
<Tr>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
31 | P a g e
</td>
</Tr>
<?php
?>
<Tr>
<td>
Bill
</td>
<td>
</td>
</Tr>
</table><br><br><br>
<center>
</center><br><br>
</body>
</html>
32 | P a g e
CONCLUSION:
Our system provides two types of user administrator and local user
Only the users who have administrative rights are allowed to create or
modify users
33 | P a g e
ADVANTAGES:
It is fast, efficient and reliable.
sss
34 | P a g e
Bibliography
1) www.w3school.com
2) http://dynamicdrive.com/
3)https://www.tutorialspoint.com/index.htm
35 | P a g e