<th>Document Information</th> </tr> </thead> <tbody> <?php for ($i = 0; $i < $nm; $i++) { $row3 = $rs->fetch_assoc(); $documentRow = getDocumentDetails($db, getDocumentId($db, $row3['reference_number'])); ?> <tr> <td><?php echo $documentRow['document_date']; ?> </td> <td><a href='document_history.php?view=<?php echo getDocumentId($db, $row3['reference_number']); ?> '><?php echo $documentRow['subject']; ?> </a></td> <td><?php echo $row3['reference_number']; ?> </td> <td><a href='forward report.php?forId=<?php echo $row3['id']; ?> '>[Link]</a></td> </tr> <?php
<div class='panel-body'> <table style='font-size:13px;' class='table table-striped table-hover table-bordered' width=100%> <thead> <tr> <th>Office Forwarded</th> <th>Document Date</th> <th>Subject</th> <th>Reference Number</th> <th>Download</th> </tr> </thead> <tbody> <?php for ($i = 0; $i < $nm; $i++) { $row3 = $rs->fetch_assoc(); $documentRow = getDocumentDetails($db, getDocumentId($db, $row3['reference_number'])); ?> <tr> <td><a href='forward report.php?forId=<?php echo $row3['id']; ?> '><?php echo $row3['to_department']; ?> </a></td> <td><?php echo $documentRow['document_date']; ?> </td> <td><a href='document_history.php?view=<?php echo $documentRow['ref_id'];