-
Notifications
You must be signed in to change notification settings - Fork 0
/
feedback.php
executable file
·107 lines (86 loc) · 2.42 KB
/
feedback.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
<?php
session_start();
require_once "config.php";
if(!isset($_SESSION["sloggedin"]) || $_SESSION["sloggedin"] !== true){
header("location: stlogin.php");
exit;
}
else{
?>
<script language="javascript" type="text/javascript">
function f2()
{
window.close();
}ser
function f3()
{
window.print();
}
</script>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Complaint Details</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<link href="anuj.css" rel="stylesheet" type="text/css">
<style>
body{
background-image:url('grey.jpeg');
background-attachment:fixed;
background-size:100% 100%;
}
.text
{
color: blue; }
</style>
</head>
<body>
<div style="margin-left:50px;">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<?php
$ret1=mysqli_query($link, "select * FROM complaint where cmpid='".$_GET['uid']."'");
while($row=mysqli_fetch_array($ret1))
{
?>
<tr>
<td colspan="2"><b><?php echo $row['name'];?>'s Complaint</b></td>
</tr>
<tr>
<td > </td>
<td > </td>
</tr>
<tr height="50">
<td><b>Complaint Id:</b></td>
<td><?php echo htmlentities($row['cmpid']); ?></td>
</tr>
<tr height="50">
<td><b>Complaint Details:</b></td>
<td><?php echo htmlentities($row['cdetails']); ?></td>
</tr>
<tr height="50">
<td><b>Evidence(if any):</b></td>
<td><img src="imageview.php?id=<?php echo htmlentities($row['cmpid']); ?>" class="img-radius"alt="NO_EVIDENCE_PROVIDED" height=300 width=300></td>
</tr>
<tr height="50">
<td><b>Remarks from Authorities(if any):</b></td>
<td><?php echo htmlentities($row['remark']); ?></td>
</tr>
<form action="feedback1.php?uid=<?php echo htmlentities($row['cmpid']); ?>" method="post">
<tr height="50">
<td><b>Feedback : </b></td>
<td><textarea name="feed"></textarea></td>
</tr><tr><td colspan="2">
<input type="submit" name="submit" class="btn btn-primary" value="Finalize"></td></tr>
</form>
<tr>
<td colspan="2">
<input name="Submit" type="button" value="Close this window " onClick="return f2();" style="cursor: pointer;" /></td>
</tr>
<?php }
?>
</table>
</div>
</body>
</html>
<?php } ?>