forked from codeb1ooded/RTI_Automation
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompid.php
More file actions
231 lines (220 loc) · 6.5 KB
/
compid.php
File metadata and controls
231 lines (220 loc) · 6.5 KB
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
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
<html>
<head>
<title>Completed RTI</title>
<link rel="stylesheet" href="css/background.css">
<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
<meta charset="utf-8">
<script src="bootstrap/jQuery/jquery.min.js"></script>
<script src="bootstrap/js/bootstrap.min.js"></script>
</head>
<body>
<div class='container'>
<?php
include 'config_database.php';
$id=$_GET['id'];
echo "<h4><strong>RTI Details for ID ".$id." are-</strong></h4>" ;
$query=" SELECT * FROM add_rti where id=".$id;
$res=mysqli_query($con, $query);
$r1=mysqli_fetch_assoc($res);
$query=" SELECT * FROM info_about_reply where id=".$id;
$res=mysqli_query($con, $query);
$r2=mysqli_fetch_assoc($res);
$query=" SELECT * FROM section4 where id=".$id;
$res=mysqli_query($con, $query);
$r3=mysqli_fetch_assoc($res);
$query=" SELECT * FROM public_authority where id=".$id;
$res=mysqli_query($con, $query);
$r4=mysqli_fetch_assoc($res);
$query=" SELECT * FROM first_appeal where id=".$id;
$res=mysqli_query($con, $query);
$r5=mysqli_fetch_assoc($res);
echo "<table class='table table-bordered'>" ;
echo "<tr>
<th>Field</th>
<th>Value</th>
</tr>";
echo "<tr>";
echo "<td>RTI Id</td>";
echo "<td>".$r1['id']."</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Name of Applicant</td>";
echo "<td>".$r1['name']."</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Gender</td>";
echo "<td>".$r1['gender']."</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Address</td>";
echo "<td>".$r1['address']."</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Pin-Code</td>";
echo "<td>".$r1['pin_code']."</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Country</td>";
echo "<td>".$r1['country']."</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Phone Number</td>";
echo "<td>".$r1['phone_no']."</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Mobile Number</td>";
echo "<td>".$r1['mobile']."</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Email-ID</td>";
echo "<td>".$r1['email']."</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Citizenship</td>";
echo "<td>".$r1['citizenship']."</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Date of receipt of RTI application by R & I section of public authority</td>";
echo "<td>".$r1['date_of_receipt']."</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Date of its receipt by CPIO</td>";
echo "<td>".$r1['date_of_receipt_cio']."</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Whether fee is enclosed with RTI application</td>";
echo "<td>".$r1['fee_enclosed']."</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Date of depositing fee</td>";
echo "<td>".$r1['fee_deposit_date']."</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Mode of payment(cheque/DD,cash,IPO)</td>";
echo "<td>".$r1['pay_mode']."</td>";
echo "</tr>";
if($r2)
{
echo "<tr>";
echo "<td>(i) Date of receipt of information by the CPIO from the holder(s) of information</td>";
echo "<td>".$r2['holder_receipt_date']."</td>";
echo "</tr>";
echo "<tr>";
echo "<td>(ii)Date of reply to appellant/complaint by CPIO</td>";
echo "<td>".$r2['reply_date']."</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Mode of communicating reply</td>";
echo "<td>".$r2['reply_mode']."</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Whether name and address of FAA mentioned in the reply u/s 7(8)(give particulars)</td>";
echo "<td>".$r2['faa_info']."</td>";
echo "</tr>";
}
if($r3)
{
echo "<tr>";
echo "<td>Date of intimation given to appelant regarding fee u/s 7(1) chargeable and his right to review</td>";
echo "<td>".$r3['info_fee_date']."</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Quantum of (a) Fee & (b) Further fee indicated to be charged</td>";
echo "<td>".$r3['info_fee']."</td>";
echo "</tr>";
echo "<tr>";
echo "<td>(vi)Date of depositing fees by petitioner as demanded by CPIO (indicate mode of depositing fee too)</td>";
echo "<td>".$r3['fee_submit_date']."</td>";
echo "</tr>";
echo "<tr>";
echo "<td>(vii)Date of furnishing information</td>";
echo "<td>".$r3['given_info_date']."</td>";
echo "</tr>";
}
if($r4)
{
echo "<tr>";
echo "<td>(iv)Date of transfer to another Public Authority</td>";
echo "<td>".$r4['Asent_date']."</td>";
echo "</tr>";
echo "<tr>";
echo "<td>To whom was it transferred (mention name,designation and address)</td>";
echo "<td>".$r4['Ainfo']."</td>";
echo "</tr>";
echo "<tr>";
echo "<td>(v)Date of receipt by another Public Authority</td>";
echo "<td>".$r4['Areceived_date']."</td>";
echo "</tr>";
}
if($r5)
{
echo "<tr>";
echo "<td> Name and designation of the officer before whom the 1<sup>st</sup> appeal is filed u/s 19(1)</td>";
echo "<td>".$r5['appeal_info']."</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Date of transfer of appeal by the receiving officer to FAA</td>";
echo "<td>".$r5['transfer_date']."</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Date of receipt of appeal by FAA(mention name of FAA)</td>";
echo "<td>".$r5['faa_receipt_date']."</td>";
echo "</tr>";
echo "<tr>";
echo "<td>Date of communicating decision to appelant</td>";
echo "<td>".$r5['meet_date']."</td>";
echo "</tr>";
}
echo "</table><br>";
$query=" SELECT * FROM t2 where id=".$id;
$res=mysqli_query($con, $query);
$r6=mysqli_fetch_assoc($res);
$query=" SELECT * FROM reply_queries where id=".$id;
$res1=mysqli_query($con, $query);
$r7=mysqli_fetch_assoc($res1);
echo "<h4><strong>Queries<strong></h4>";
echo "<table class='table table-bordered'>
<tr>
<th>Query Number</th>
<th>Queries</th>
<th>Mapped To</th>
<th>Date Sent</th>
<th>Date Received</th>
<th>Reply</th>
</tr>";
if($r6)
{
do{
echo "<tr>";
echo "<td>".$r6['q_no']."</td>";
echo "<td>".$r6['ques']."</td>";
echo "<td>".$r6['map']."</td>";
echo "<td>".$r6['date_sent']."</td>";
if($r7)
{
while($r6['q_no']==$r7['q_no'])
{
echo "<td>".$r7['date_received']."</td>";
echo "<td>".$r7['ans']."; ".$r7['section']."</td>";
$r7=mysqli_fetch_assoc($res1);
}
}
else
{
echo "<td> - </td>";
echo "<td> - </td>";
}
echo "</tr>";
$r6=mysqli_fetch_assoc($res);
}while($r6);
}
echo "</table>";
if($r1['archive']==1)
echo "<a class=btn href='completed_rti.php'>Back</a>" ;
else
echo "<a class=btn href='ongoing_rti_option.php?id=".$id."'>Back</a>" ;
?>
</form>
</div>
</body>
</html>