Example #1
0
        echo '<span class="text-muted">' . $row2->description . '</span>';
        echo '</div>';
    }
} else {
    echo '<h3 class="text-muted" style="margin-top:75px";>You Have No Groups...</h3>';
}
echo '</div>';
?>
              <div class="panel-footer"> <a href="/Views/Groups/manager.php" class="btn btn-flat btn-primary">See All</a></div>

          </div>

          <div class="row panel panel-primary" >
            <div class="panel-heading" style="text-align: left; font-size: 20px;">Your Events</div>
            <?php 
$users = $user->getAllEventsTable();
if ($users->num_rows >= 1) {
    echo '<div class="table-responsive panel">
                    <table class="table table-striped table-hover">';
    echo '<thead>
                      <tr>
                        <th>Event Name</th>
                        <th>Coordinator</th>
                        <th>Date</th>
                        <th>Place</th>
                        <th>Description</th>
                      </tr>
                    </thead>';
    while ($row = $users->fetch_object()) {
        $date = date_create($row->time);
        // echo("<script>console.log('results_row: ".json_encode($row)."');</script>");