<i class="glyphicon glyphicon-edit icon-white"></i> Add </a><br/><br/> <table class="table table-striped table-bordered bootstrap-datatable datatable responsive"> <thead> <tr> <th>Id</th> <th>Category Name </th> <th>Status</th> <th>Actions</th> </tr> </thead> <tbody> <?php $countryObj = new BlogCategory(); $rows = $countryObj->getAll(); foreach ($rows as $row) { ?> <tr> <td><?php echo $row['id']; ?> </td> <td class="center"><?php echo $row['name']; ?> </td> <td class="center"> <span class="label-success label label-default"><?php if ($row['active'] == 1) { echo "Active";