<div class="table-responsive ">
                <table class="table table-bordered">
                    <thead>
                    <tr style="background: #ececec">
                        <th>Title</th>
                        <th>Subject</th>
                        <th>Publisher</th>
                        <th>Shelf or Store</th>
                    </tr>
                    </thead class="table table-condensed">
                    <tbody >
                    <?php 
require_once 'private/LMS_Engine.php';
$engine = new LMS_Engine();
//                    if(isset($_POST['Search_Items'])) {
$founds = $engine->search_cds_not_issued($hint, $from, $cat_id);
//                    }else {
//                        $founds = $engine->search_cds_not_issued(null, null, 0);
//                    }
$total = count($founds);
$size = 10;
$start = $page_num * $size;
$i = 0;
$disp = 0;
foreach ($founds as $found) {
    if ($start > $i) {
        $i++;
        continue;
    } elseif ($i < $start + 10) {
        include 'pages/elements/Search_CDs_Table_Items.php';
        $disp++;
    echo '<td>Subject</td>';
}
?>
                        <th>Publisher</th>
                    </tr>
                    </thead class="table table-condensed">
                    <tbody >
                    <?php 
require_once 'private/LMS_Engine.php';
$engine = new LMS_Engine();
if (isset($_POST['Search_Items'])) {
    if (isset($_POST['s_from']) && $_POST['s_from'] == "Books") {
        $founds = $engine->search_book_not_issued($_POST['s_hint'], "shelf", $_POST['s_cat_id']);
    }
    if (isset($_POST['s_from']) && $_POST['s_from'] == "CD-DVDs") {
        $founds = $engine->search_cds_not_issued($_POST['s_hint'], "shelf", $_POST['s_cat_id']);
    }
    if (isset($_POST['s_from']) && $_POST['s_from'] == "Magazines") {
        $founds = $engine->search_meg_not_issued($_POST['s_hint'], "shelf", $_POST['s_cat_id']);
    }
} else {
    $founds = $engine->search_book_not_issued(null, null, 1);
}
foreach ($founds as $found) {
    include 'pages/elements/Search_Table_Items_STD.php';
}
?>
                    </tbody>
                </table>
            </div>
            <div class="table table-responsive">