-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.php
199 lines (155 loc) · 5.07 KB
/
test.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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Traffic Sign Analyzer</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Traffic Sign Analyzer" />
<meta name="keywords" content="Traffic,Sign,lane,Analyzer" />
<meta name="author" content="Anoop" />
<!-- Facebook and Twitter integration -->
<meta property="og:title" content=""/>
<meta property="og:image" content=""/>
<meta property="og:url" content=""/>
<meta property="og:site_name" content=""/>
<meta property="og:description" content=""/>
<meta name="twitter:title" content="" />
<meta name="twitter:image" content="" />
<meta name="twitter:url" content="" />
<meta name="twitter:card" content="" />
<link href="https://fonts.googleapis.com/css?family=Raleway:100,300,400,700" rel="stylesheet">
<!-- Animate.css -->
<link rel="stylesheet" href="css/animate.css">
<!-- Icomoon Icon Fonts-->
<link rel="stylesheet" href="css/icomoon.css">
<!-- Themify Icons-->
<link rel="stylesheet" href="css/themify-icons.css">
<!-- Bootstrap -->
<link rel="stylesheet" href="css/bootstrap.css">
<!-- Magnific Popup -->
<link rel="stylesheet" href="css/magnific-popup.css">
<!-- Owl Carousel -->
<link rel="stylesheet" href="css/owl.carousel.min.css">
<link rel="stylesheet" href="css/owl.theme.default.min.css">
<!-- Theme style -->
<link rel="stylesheet" href="css/style.css">
<!-- Modernizr JS -->
<script src="js/modernizr-2.6.2.min.js"></script>
<!-- FOR IE9 below -->
<!--[if lt IE 9]>
<script src="js/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="gtco-loader"></div>
<div id="page">
<nav class="gtco-nav" role="navigation">
<div class="gtco-container">
<div class="row">
<div class="col-sm-2 col-xs-12">
<div id="gtco-logo"><a href="index.html"><img src="images/sign.png" width="40px" height="40px"></a></div>
</div>
<div class="col-xs-10 text-right menu-1">
<ul>
<li class="active"><a href="index.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li class="has-dropdown">
<a href="services.html">Services</a>
<ul class="dropdown">
<li><a href="tt.html">Training & Testing</a></li>
<li><a href="#">Lane detection</a></li>
</ul>
</li>
<li class="has-dropdown">
<a href="#">Results</a>
<ul class="dropdown">
<li><a href="#">Traffic Sign</a></li>
<li><a href="#">Lane</a></li>
</ul>
</li>
<!--<li><a href="portfolio.html">Portfolio</a></li>
<li><a href="contact.html">Contact</a></li>-->
</ul>
</div>
</div>
</div>
</nav>
<footer id="gtco-footer" class="gtco-section" role="contentinfo">
<div class="gtco-container">
<div class="row row-pb-md">
<div class="col-md-8 col-md-offset-2 gtco-cta text-center">
<h3>TESTING<br></h3>
</div>
</div>
<div class="row row-pb-md">
<div class="col-md-4 gtco-footer-link">
<div class="row">
<div class="col-md-10">
<p>
<br><br><br><br><br><br><br>
</p>
</div>
</div>
</div>
<div class="col-md-4 gtco-footer-subscribe">
<p style=" text-align:center ">
<?php
$con=mysqli_connect("localhost","root","","pythondb");
$query="select value from task where slno=1;";
$result=mysqli_query($con,$query);
while($row=mysqli_fetch_array($result))
{
#$task=$row['value'];
if($row['value']==1)
{
echo("Testing Completed");
header("Refresh:10; url=testresult.php");
}
else
{
echo("Testing in progress");
header("Refresh:5; url=#");
}
}
?>
</p>
</div>
</div>
</div>
<div class="gtco-copyright" >
<div class="gtco-container">
<div class="row">
<div class="col-md-6 text-left">
<p><small>© 2018 All Rights Reserved. </small></p>
</div>
<div class="col-md-6 text-right">
<p><small>SDMIT </small> </p>
</div>
</div>
</div>
</div>
</footer>
</div>
<div class="gototop js-top">
<a href="#" class="js-gotop"><i class="icon-arrow-up"></i></a>
</div>
<!-- jQuery -->
<script src="js/jquery.min.js"></script>
<!-- jQuery Easing -->
<script src="js/jquery.easing.1.3.js"></script>
<!-- Bootstrap -->
<script src="js/bootstrap.min.js"></script>
<!-- Waypoints -->
<script src="js/jquery.waypoints.min.js"></script>
<!-- countTo -->
<script src="js/jquery.countTo.js"></script>
<!-- Carousel -->
<script src="js/owl.carousel.min.js"></script>
<!-- Magnific Popup -->
<script src="js/jquery.magnific-popup.min.js"></script>
<script src="js/magnific-popup-options.js"></script>
<!-- Main -->
<script src="js/main.js"></script>
</body>
</html>