-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdetect.php
143 lines (132 loc) · 4.79 KB
/
detect.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
<?php
include 'db.php';
ini_set('max_execution_time', 600);
session_start();
$sql="select * from pays";
$val=$db->query($sql);
if(isset($_POST['deb'])){
//echo "CulpritDetect//detect_f.py";
shell_exec("python3 detect_f.py");
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Smart Found:Admin</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script>
</script>
<style>
.in {
width: 250px;
padding: 3px;
outline: 0;
font-family: "Quicksand", sans-serif;
font-weight: bolder;
font-size: 14px;
border: 2px solid #000;
}
.io {
width: 250px;
height: 34px;
outline: 0;
font-family: "Quicksand", sans-serif;
font-weight: bolder;
font-size: 14px;
background: #66b30a;
border: 0px;
}
.sidenav {
background-color: #f1f1f1;
height: 100%;
}
/* On small screens, set height to 'auto' for the grid */
@media screen and (max-width: 767px) {
.row.content {height: auto;}
}
body
{
padding: 0px;
margin: 0px;
font-family: "Quicksand", sans-serif;
font-weight: bolder;
}
.io:hover{
color:white;
}
@media screen and (min-width: 767px) {
.in
{
width: auto;
}
.io
{
width: auto;
}
}
</style>
</head>
<body>
<nav class="navbar navbar-inverse visible-xs">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">ToughX</a>
</div>
<div class="collapse navbar-collapse" id="myNavbar" style="overflow: hidden;">
<ul class="nav navbar-nav">
<li class><a href="admin.php">Dashboard</a></li>
<li><a href="Charts/index.html">Reports</a></li>
<li><a href="userlist.php">User List</a></li>
<li><a href="#">Map</a></li>
<li><a href="controlpanel.php">Control Panel</a></li>
<li class="active"><a href="detect.php">Culprit</a></li>
</ul>
</div>
</div>
</nav>
<div class="container-fluid">
<div class="row content">
<div class="col-sm-3 sidenav hidden-xs">
<h2>ToughX</h2>
<ul class="nav nav-pills nav-stacked">
<li ><a href="admin.php">Dashboard</a></li>
<li><a href="Charts/index.html">Reports</a></li>
<li><a href="userlist.php">User List</a></li>
<li><a href="#section4">Map</a></li>
<li><a href="controlpanel.php">Control Panel</a></li>
<li class="active"><a href="detect.php">Culprit</a></li>
</ul><br>
</div>
<br>
<div class="col-sm-9">
<div class="well">
<h4><b>Scan and Find Report</b></h4>
<p>Culprit Scanner and Find!
<span style="font-size:14px;">Place the culprit in front of the camera!</span>
</p>
</div>
<div class="row">
<div class="col-sm-12">
<div class="well">
<h4>Click To Scan</h4>
<form action="" method="post">
<center><input type="submit" class="btn btn-info btn-lg" value="Start Scan" name="deb"></center>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>