        <div class="col-sm-12 gray_ttc" style="margin-left: 5px" >
                    <div class="col-sm-12 form-group" style="border-bottom: 1px solid #80c12c;">
                        <span class=" col-sm-12  form-group">
                            <h3 style="margin: 0">Manage Forbidden</h3>
                        </span> 
                    </div>

                    <div class="col-sm-12 form-group white" >

                        <div class="col-sm-12 gray_ttc form-group" style="margin-left: 5px;border-bottom: 1px solid #80c12c">
                            <div class="form-group col-sm-6 ">
                                <strong> Name</strong>
                            </div>

                            <div class="form-group col-sm-4 ">
                                <strong> Type</strong>
                            </div>
                            <?php if ($manamge_forbidden_person_role->person_role == 6) { ?>
                                <div class="form-group col-sm-2 ">
                                    <strong> Action</strong>
                                </div>
                            <?php } ?>
                        </div>

                        <div class="col-sm-12  form-group"> </div>
                        <?php
                        foreach ($forbidden_edit_manage as $all_forbidden_info) {
                            ?>
                            <div class="col-sm-12  form-group" style="margin-left: 5px;background: #ededed">
                                <div class=" col-sm-6 " style="padding-top: 5px;padding-bottom: 5px">
                                    <?php echo $all_forbidden_info->forbidden_name ?>
                                </div>
                                <div class="col-sm-4" style="padding-top: 5px;padding-bottom: 5px">
                                    <?php
                                    if ($all_forbidden_info->forbidden_type == 1) {
                                        echo "URL";
                                    } else if ($all_forbidden_info->forbidden_type == 2) {
                                        echo "Name";
                                    } else if ($all_forbidden_info->forbidden_type == 3) {
                                        echo "Organization";
                                    }else if ($all_forbidden_info->forbidden_type == 4) {
                                        echo "Email";
                                    }
                                    ?>
                                </div>
                                <?php if ($manamge_forbidden_person_role->person_role == 6) { ?>
                                    <div class="col-sm-2 " style="padding-top: 5px;padding-bottom: 5px">
                                        <a href="javascript:void(0)" onclick="editForbidden('<?php echo base_url(); ?>admin/edit-forbidden', '<?php echo base_url(); ?>forbidden/edit-manage', '<?php echo $all_forbidden_info->forbidden_id ?>')" id="EditBtn"><i class="fa fa-edit" title="Edit"></i></a>
                                        <span>&nbsp;&nbsp;</span>
                                        <a href="javascript:void(0)"  data-toggle="modal" data-target="#deleteForbiddenAlert" ><i class="fa fa-trash" title="Delete"></i></a>
                                    </div>
                                <?php } ?>
                                
                                
                            </div>

                        <?php } ?>

                    </div>

                </div>
                <div class="col-sm-12  text-center" >
                    <?php
                    $total_page = ceil($total_forbidden->total_forbidden / 10);
                    if ($total_page > 1) {
                        ?>
                        <nav class="course-pagination">
                            <ul class="pagination">
                                <?php
                                if ($page > 2) {
                                    ?>
                                    <li>
                                        <a href="<?php echo base_url() . 'forbidden/'; ?>" aria-label="Previous">
                                              <span aria-hidden="true" title="First Page">&laquo;&laquo;</span>
                                        </a>
                                    </li>
                                    <li>
                                        <a href="<?php echo base_url() . 'forbidden/' . ($page - 1); ?>" aria-label="Previous">
                                            <span aria-hidden="true" title="Previous Page">&laquo;</span>
                                        </a>
                                    </li>
                                <?php } elseif ($page > 1) { ?>
                                    <li>
                                    <a href="<?php echo base_url() . 'forbidden/' . ($page - 1); ?>" aria-label="Previous">
                                        <span aria-hidden="true" title="Previous Page">&laquo;</span>
                                    </a>
                                </li>
                                    <?php
                                }
                                for ($i = 0; $total_page > $i; $i++) {
                                    echo '<li><a href="' . base_url() . 'forbidden/' . ($i + 1) . '">' . ($i + 1) . '</a></li>';
                                }
                                if ($total_page != $page) {
                                    ?>                              
                                    <li>
                                        <a href="<?php echo base_url() . 'forbidden/' . ($page + 1); ?>" aria-label="Next">
                                            <span aria-hidden="true" title="Next Page">&raquo;</span>
                                        </a>
                                    </li>
                                    <li>
                                        <a href="<?php echo base_url() . 'forbidden/' . $total_page; ?>" aria-label="Next">
                                            <span aria-hidden="true" title="Last Page">&raquo;&raquo;</span>
                                        </a>
                                    </li>
                                <?php }
                                ?>
                            </ul>
                        </nav>
                    <?php
                    }
                    ?>
                </div>


