Exemplo n.º 1
0
            <div class="col s12">
                <h3 style="color:red;text-align:center;">
                    <?php 
if (isset($_SESSION['message'])) {
    echo $_SESSION['message'];
    unset($_SESSION['message']);
}
?>
                </h3>
                <!-- Modal Trigger --><br><br>
                <section id="main_content">
                    <?php 
include_once 'admin-class.php';
$admin = new itg_admin();
$admin->courses();
// foreach ($_SESSION['courses'] as $key => $object) {
//     echo $object->content;
// }
// // echo "<pre>";
// // print_r($courses);
// die;
?>

                    <table id="table_id" class="display">
                        <thead>
                        <tr>
                            <th>Title</th>
                            <th>URL Key</th>
                            <th>Description</th>
                            <th>Actions</th>