-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlistCatCodes.php
More file actions
28 lines (26 loc) · 823 Bytes
/
listCatCodes.php
File metadata and controls
28 lines (26 loc) · 823 Bytes
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
<?php
include_once('header.php');
$codes = query("getcatcodedetails",$config,$values,$sort);
require_once("headerHtml.inc.php");
?>
<h2>Category Codes</h2>
<table class="datatable sortable" id="categorytable" summary="table of categories">
<thead>
<tr>
<td>Code</td>
<td>Category</td>
</tr>
</thead>
<tbody><?php foreach ($codes as $code) {
if ($code['parentId'] == NULL) {
echo '<tr><td> </td><td></td></tr>';
echo '<tr><td></td>';
} else
echo '<tr><td>' . $code['sortBy'] . '</td>';
echo '<td>' . $code['title'] . '</td></tr>';
} ?>
</tbody>
</table>
<?php
include_once('footer.php');
?>