-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfeedback.php
68 lines (47 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
<?php
$compId = (int)$_GET['compId'];
$query="SELECT * FROM tbl_complains WHERE cid='$compId'";
$result = dbQuery($query);
$data = dbFetchArray($result);
?>
<div style="width: 40%;margin-left: auto;margin-right: auto">
<form action="process.php?action=addFeedback" method="post" style=" box-shadow: 1px 2px 2px 3px rgba(0,0,0,0.3);animation-delay: 1s;animation-name: zoomIn;" data-wow-delay="1s" class="wow zoomIn animated animated">
<div align="center"><h2 style="color: #34ad00">:: Give Feedback ::</h2></div>
<input type="hidden" name="compId" value=<?=(int)$_GET['compId'] ?>>
<div align="center">
<label for="compType"><b>Complain Type :</b></label>
<input type="text" name="compType" value=<?= $data['comp_type']; ?> readonly>
</div>
<br/>
<div align="center">
<label for="compTitle"><b> Plant Name :</b></label>
<input type="text" name="compTitle" value=<?= $data['comp_title']; ?> readonly>
</div>
<br/>
<div align="center">
<label for="compTitle"><b> Status :</b></label>
<input type="text" name="compStatus" value=<?= $data['status']; ?> readonly>
</div>
<br/>
<div align="center">
<label for="compTitle"><b>Engineer Name:</b></label>
<input type="text" name="engName" value=<?= $data['eng_name']; ?> readonly>
</div>
<br/>
<div align="center">
<label for="compDesc"><b> Complain Desc:</b></label>
<textarea name="compDesc" cols="23" rows="5" id="compDesc" readonly><?= $data['comp_desc']; ?></textarea>
</div>
<br/>
<div align="center">
<label for="feedback"><b> Feedback :</b></label>
<textarea name="feedback" cols="23" rows="5" id="feeadback"><?= $data['feedback']; ?></textarea>
</div>
<br/>
<div align="center">
<input name="btnLogin" type="submit" id="btnLogin" value=" Give Feedback " style="color: white;background: #34ad00">
</div>
<br/>
</form>
</div>
<p> </p>