<br><br><br> <div class="CSSTableGenerator" ><table border="0" > <?php $collection = new Quotation(); if ($login->admin_role == "SM") { $collection = array(); } else { echo "<h3>Other Requests</h3>"; $collection = $collection->getCollection(); } if (isset($_GET['requests'])) { $request = new Quotation($_GET['requests']); if (isset($_GET['approve'])) { $request->approve(); header('location:index.php?requests'); } elseif (isset($_GET['cancel'])) { $request->cancel(); header('location:index.php?requests'); } elseif (isset($_GET['reconsider'])) { $request->reconsider(); header('location:index.php?requests'); } elseif (isset($_GET['request_approval'])) { $request->requestApproval(); header('location:index.php?requests'); } } ?>