| Server IP : 127.0.0.1 / Your IP : 192.168.99.1 Web Server : Apache/2.4.35 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9 System : Windows NT WIN-JEJMB9EN0L0 10.0 build 14393 (Windows Server 2016) AMD64 User : Administrator ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : D:/laragon3/www/sop2/application/views/admin/ |
Upload File : |
<!-- Begin Page Content -->
<div class="container-fluid">
<!-- Page Heading -->
<h1 class="h3 mb-4 text-gray-800"><?= $title; ?></h1>
<!-- Page Heading 2-->
<h4 class="mb-4 text-gray-800 mt-3"><span class="badge badge-info"><?= $title2; ?></span></h4>
<hr>
<div class="row">
<div class="col-lg-6">
<?= $this->session->flashdata('message'); ?>
<h5>Role : <?= $role['role']; ?></h5>
<table class="table table-hover">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">Menu</th>
<th scope="col">Access</th>
</tr>
</thead>
<tbody>
<?php $i = 1; ?>
<?php foreach ($menu as $m) : ?>
<tr>
<th scope="row"><?= $i; ?></th>
<td><?= $m['menu']; ?></td>
<td>
<div class="form-check">
<input class="form-check-input" type="checkbox" <?= check_access($role['id'], $m['id']); ?> data-role="<?= $role['id']; ?>" data-menu="<?= $m['id']; ?>">
</div>
</td>
</tr>
<?php $i++; ?>
<?php endforeach; ?>
</tbody>
</table>
</div>
</div>
</div>
<!-- /.container-fluid -->
</div>
<!-- End of Main Content -->