-
Notifications
You must be signed in to change notification settings - Fork 1
/
tax_returns.php
38 lines (38 loc) · 1.14 KB
/
tax_returns.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
<?php
include "headerinner.php";
include "admin/config.php";
?>
<div id="content">
<div id="main_content">
<div class="innertitle">Tax Returns</div>
<table style="width:100%;" cellspacing="5px">
<tr style="border-bottom:2px solid;">
<th style="width:500px;font-weight:bold;">Organization</th>
<th style="width:300px;font-weight:bold;">Annual Report</th>
<th style="width:100px;font-weight:bold;">File Link</th>
</tr>
<?php
$upload_dir = 'files/tax_returns/';
$results = mysql_query("select * from tax_returns");
if(!$results)
echo 'An Error occured. Error code:SKRSSAR1.';
else while($row = mysql_fetch_assoc($results)) {
?>
<tr>
<td><?php echo $row['organization']; ?></td>
<td style="padding-right:20px;"><?php echo $row['title']; ?></td>
<td>
<a href="<?php echo $upload_dir,$row['file']; ?>" target="_blank">Click Here</a>
</td>
</tr>
<?php
}
?>
</table>
</div>
<div id="extra_content">
<?php
include "dynamic.php";
echo "</div>";
include "footer.php";
?>