-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
168 lines (168 loc) · 5.46 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
<?php
session_start();
?>
<!DOCTYPE html>
<html>
<head>
<title>Yatri
</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<link rel="shortcut icon" href="images/logo2.jpg">
<link href="css/bootstrap.min.css" rel="stylesheet" >
<link href="css/bootstrap.css" rel="stylesheet" >
<link href="https://fonts.googleapis.com/css?family=Charmonman|Kalam|Montserrat:300i,400,500i|Rajdhani" rel="stylesheet">
<link href="css/Default.css" rel="stylesheet" >
<script type="text/javascript" src="js/jquery.js"></script>
<script>
$(document).ready(function()
{
var x=(($(window).width())-1024)/2;
$('.wrap').css("left",x+"px");
}
);
</script>
<script type="text/javascript" src="js/bootstrap.min.js">
</script>
<script type="text/javascript" src="js/bootstrap.js">
</script>
<script type="text/javascript" src="js/man.js">
</script>
</head>
<body>
<div class="wrap">
<!-- Header -->
<div class="header">
<div style="float:left;width:150px;">
<img src="images/logo2.jpg"/>
</div>
<div>
<div style="float:right; font-size:20px;margin-top:20px;">
<?php
if(isset($_SESSION['name']))
{
echo "Welcome,".$_SESSION['name']." <a href=\"logout.php\" class=\"btn btn-info\">Logout</a>";
}
else
{
?>
<a href="login1.php" class="btn btn-info">Login
</a>
<a href="signup.php?value=0" class="btn btn-info">Signup
</a>
<?php } ?>
</div>
<div id="heading">
<a href="index.php">Yatri
</a>
</div>
</div>
</div>
<!-- Navigation bar -->
<div class="navbar navbar-inverse">
<div class="navbar-inner">
<div class="container" >
<a class="brand" href="index.php" >HOME
</a>
<a class="brand" href="train.php" >FIND TRAIN
</a>
<a class="brand" href="reservation.php">RESERVATION
</a>
<?php
if(isset($_SESSION['name']))
{
echo "<a class=\"brand\" href=\"profile.php\">PROFILE</a>";
echo "<a class=\"brand\" href=\"display.php\">BOOKING</a>";
}
?>
</div>
</div>
</div>
<div class="span12 well">
<!-- Photos slider -->
<div id="myCarousel" class="carousel slide" style="width:600px; float:left;margin-bottom:3px;">
<div class="carousel-inner">
<div class="active item">
<img src="images/t2.jpg" style="width:600px;height:350px;"/>
</div>
<div class="item">
<img src="images/t1.jpg" style="width:600px;height:350px;"/>
</div>
<div class="item">
<img src="images/t3.jpg" style="width:600px;height:350px;"/>
</div>
<div class="item">
<img src="images/t4.jpg" style="width:600px;height:350px;"/>
</div>
<div class="item">
<img src="images/t5.jpg" style="width:600px;height:350px;"/>
</div>
</div>
<a class="carousel-control left" href="#myCarousel" data-slide="prev">‹
</a>
<a class="carousel-control right" href="#myCarousel" data-slide="next">›
</a>
</div>
<!-- News and Alert-->
<div class="news" Style="float:right;">
<marquee behavior="scroll" id="marq" scrollamount=3 direction="up" height="294px" onmouseover="nestop()" onmouseout="nestrt()">
<div>
<p style="color:#f21f1f;">-------------------------NEWS--------------------------</p>
<br>
<p>
<b>There is no proposal to extend to mail/express and superfast trains the flexi-fares currently applicable only to Rajdhani, Shatabdi and Duronto trains, said Railways Minister Suresh Prabhu.
</b>
</p>
<br>
<p>
<b>The Railway ministry has posted the rate list on its Twitter account while asking people to lodge a complaint if they are overcharged.
</b>
</p>
<br>
<p>
<b>The Comptroller and Auditor General (CAG) has asked the railways to revise passenger fares and curtail concessional passes to recover its operating cost in a phased manner.
</b>
</p>
<br>
<p>
<b>Railway issues new catering policy for better food.
</b>
</p>
<br>
<p>
<b>Passengers will now be involved in judging cleanliness level of popular trains including Rajdhani, Shatabdi and Duronto as well as major stations across the country.
</b>
<p>
<br>
</div>
</marquee>
</div>
</div>
<!-- Copyright -->
<footer >
<div style="width:100%;">
<div style="float:left;">
<p class="text-right text-info"> © 2018 Copyright PVT Ltd.
</p>
</div>
<div style="float:right;">
<p>Made by:
<a href="https://www.linkedin.com/in/harsh-palan-b58680143/" target="_blank"> Harsh Palan
</a> and
<a href="https://www.linkedin.com/in/rishik-kabra-5113b1160/" target="_blank">Rishik Kabra
</a>
</p>
</div>
</div>
</footer>
</div>
</body>
</html>
<?php
if(isset($_SESSION['error']))
{
session_destroy();
}
?>