                    </tr>
            <?php
                endforeach;
                else:
                    echo '<tr><td colspan="9">No result found.</td></tr>';
                endif;?>
                </tbody>
            </table>
        </div>