<div class="container-fluid"> <!-- Page Heading --> <div class="row"> <div class="col-lg-12"> <h2 class="page-header"> <i class="fa fa-database"></i> Namespaces </h2> </div> </div> <?php $hosts = $aeroview->validateQueryString($qs, true, false, false); $db = $aeroview->connectAero($hosts); $namespaces = $aeroview->getNamespaces($db); ?> <!-- /.row --> <div class="row"> <div class="col-lg-6"> <div class="table-responsive"> <table class="table table-hover table-striped"> <?php if (isset($namespaces)) { echo "<thead><tr><th>Name</th><th>Action</th></tr></thead><tbody>"; for ($i = 0; $i < count($namespaces); ++$i) { echo "<td>" . $namespaces[$i] . "</td>"; echo "<td><a href='/sets.php?host=" . $qs['host'] . "&namespace=" . $namespaces[$i] . "'><i class='fa fa-sign-in'></i> Explore Sets</a></td></tr>"; }