-
Notifications
You must be signed in to change notification settings - Fork 0
/
station_detail.php
119 lines (81 loc) · 3.83 KB
/
station_detail.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
<!DOCTYPE html>
<html>
<head>
<?php
include('adminsession.php');
$id = $_GET['Criminal_Id'];
$qry=mysqli_query($db,"SELECT * FROM `criminal_master` where Criminal_Id = $id");
$row=mysqli_fetch_array($qry);
?>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="css/detail.css"/>
<title>Criminal Detail - <?php echo $login_session ?></title>
</head>
<body style="background-image:url('images/wood.jpg');">
<header>
<?php echo "<h1>".$login_session." Police Station</h1>"; ?><br />
<a href="logout.php" title="logout">logout</a>
</header>
<form class="form-basic" method="post" action="#" enctype="multipart/form-data">
<div class="form-title-row">
<h1>Criminal Details</h1>
</div>
<div class="form-row">
<div class="form-row"><?php if(isset($row[8])){ echo '<img height="200" width="200" src="data:image;base64,'.$row[8].' ">';} ?></div>
</div>
<div class="form-row">
<label>
<span>Criminal ID</span>
<input readonly value="<?php if(isset($row[0])){ echo $row[0]; } ?>" />
</label>
</div>
<div class="form-row">
<label>
<span>Criminal Name</span>
<input readonly value="<?php if(isset($row[1])){ echo $row[1]; } ?>" />
</label>
</div>
<div class="form-row">
<label>
<span>Gender</span>
<input readonly value="<?php if(isset($row[2])){ echo $row[2]; } ?>" />
</label>
</div>
<div class="form-row">
<label>
<span>Height</span>
<input readonly value="<?php if(isset($row[3])){ echo $row[3].' inch'; } ?>" />
</label>
</div>
<div class="form-row">
<label>
<span>Weight</span>
<input readonly value="<?php if(isset($row[4])){ echo $row[4].' Kg'; } ?>" />
</label>
</div>
<div class="form-row">
<label>
<span>PStation ID</span>
<input readonly value="<?php if(isset($row[5])){ echo $row[5]; } ?>" />
</label>
</div>
<div class="form-row">
<label>
<span>Crime Level</span>
<input readonly value="<?php if(isset($row[6])){ echo $row[6]; } ?>" />
</label>
</div>
<div class="form-row">
<label>
<span>Status</span>
<input readonly value="<?php if(isset($row[7])){ echo $row[7]; } ?>" />
</label>
</div>
</form>
<footer>
©All right resrved to CWC.
</footer>
</body>
</html>