GRAYBYTE WORDPRESS FILE MANAGER3566

Server IP : 198.54.121.189 / Your IP : 216.73.216.140
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /home/giriqfky/public_html/Barga/application/modules/users/views/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/giriqfky/public_html/Barga/application/modules/users/views//module_access_lists.php
<section id="main-content">
  <div class="col-md-12">
      <ol class="breadcrumb breadcrumb-arrow">
        <li><a href="<?php echo site_url('dashboard');?>">Dashboard</a> </li>
        <li class="active"><span><?php echo $title?></span></li>
      </ol>
      
      <?php if($this->session->flashdata('msg_success')){?>
    		<div class="alert alert-success"><small class="text-danger"><?php echo $this->session->flashdata('msg_success');?></small></div>
	  <?php }?>
 	<span class="text-success">User Role : <?php echo $user_role_name;?></span>
 </div>
 
  <form name="frm_access_module" method="post" action="<?php echo site_url('users/assignModuleAccess/'.$user_role_id);?>">
  <section class="content">
    <div class="row">
      <!-- left column -->
      <div class="col-md-12"> 
        <!-- general form elements -->
        <div class="box">
          <section id="unseen">
              <table id="example2" class="table table-bordered table-hover">
                <thead style="background-color:#f5f5f5">
                  <tr>
                    <th width="5">#</th>
                    <th width="150">Module Name</th>
                    <th width="50">View</th>
                    <th width="50">Add</th>
                    <th width="50">Edit</th>
                    <th width="50">Delete</th>
                    <th width="50"><div class="checkbox"><label><input type="checkbox" onClick="selectAllCheckbox(this);"> Select All</label></div></th>
                  </tr>
                </thead>
                <tbody>
                	<?php $parent_menu = getLeftMenu(0);?>
					<?php if(count($parent_menu) > 0){?>	
                      <?php $i=0;$j=1;foreach($parent_menu as $key => $pmenu){?>
                      	<?php $child_menu = getLeftMenu($pmenu->module_id);?>
                          <tr id="mod_menu_<?php echo $j; ?>" bgcolor="#e1e1df">
                            <td><?php echo $j;?></td>
                            <td><b><?php echo $pmenu->module_name;?></b></td>  
                            <td><input type="checkbox" class="checkbox_user" name="module_view_<?php echo $pmenu->module_id;?>" id="module_view_<?php echo $pmenu->module_id;?>" value="1" <?php if(count($role_rights) > 0 && $role_rights[$i]->module_view == 1){?> checked <?php }?> /></td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                            <td>&nbsp;</td>
                          </tr>
                          <?php if(count($child_menu) > 0){?>
                          	<?php $i++; $k=1;foreach($child_menu as $key => $cmenu){?>
                            <?php $action_applicable = explode(",",$cmenu->action_applicable);?>
                              <tr data-head="mod_menu_<?php echo $j; ?>">
                                <td>&nbsp;</td>
                                <td> &nbsp;&nbsp;&nbsp;&nbsp;<i class="fa fa-long-arrow-right fa-margin"></i> <?php echo $cmenu->module_name;?></td>
                                <td><?php if(in_array('V', $action_applicable)){?><input type="checkbox" class="checkbox_user view" name="module_view_<?php echo $cmenu->module_id;?>" id="module_view_<?php echo $cmenu->module_id;?>" value="1" <?php if(count(@$role_rights) > 0 && @$role_rights[$i]->module_view == 1){?> checked <?php }?> /><?php } else {?>&nbsp;<?php }?></td>
                                <td><?php if(in_array('A', $action_applicable)){?><input type="checkbox" class="checkbox_user" name="module_add_<?php echo $cmenu->module_id;?>" id="module_add_<?php echo $cmenu->module_id;?>" value="1" <?php if(count(@$role_rights) > 0 && @$role_rights[$i]->module_add == 1){?> checked <?php }?> /><?php } else {?>&nbsp;<?php }?></td>
                                <td><?php if(in_array('E', $action_applicable)){?><input type="checkbox" class="checkbox_user"  name="module_edit_<?php echo $cmenu->module_id;?>" id="module_edit_<?php echo $cmenu->module_id;?>" value="1" <?php if(count(@$role_rights) > 0 && @$role_rights[$i]->module_edit == 1){?> checked <?php }?>/><?php } else {?>&nbsp;<?php }?></td>
                                <td><?php if(in_array('D', $action_applicable)){?><input type="checkbox" class="checkbox_user"  name="module_delete_<?php echo $cmenu->module_id;?>" id="module_delete_<?php echo $cmenu->module_id;?>" value="1" <?php if(count(@$role_rights) > 0 && @$role_rights[$i]->module_delete == 1){?> checked <?php }?> /><?php } else {?>&nbsp;<?php }?></td>
                                <td>&nbsp;</td>
                              </tr>
                          	<?php $i++;$k++;}?>
                          <?php $j++;}?>
                       <?php }?>
                 	<?php }else{?>
                    	  <tr><td colspan="7"><?php echo getMessage("record_not_found", 3);?></td></tr>		
                    <?php }?>
                    <tr>
                    	<td colspan="7">
                        	<div class="pull-right"><button type="submit" class="btn btn-primary">Save</button></div>
                        </td>
                    </tr>
                </tbody>
              </table>
          </section>
        </div>
      </div>
    </div>
    </section>
  </form>  
</section>
<!-- /.content -->

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 27 2024 00:19:25
giriqfky / giriqfky
0755
index.html
0.128 KB
July 27 2024 00:19:25
giriqfky / giriqfky
0644
modal_user_reset_password.php
1.579 KB
July 27 2024 00:19:25
giriqfky / giriqfky
0644
module_access_lists.php
5.168 KB
July 27 2024 00:19:25
giriqfky / giriqfky
0644
module_access_lists_25_01_2019.php
5.036 KB
July 27 2024 00:19:25
giriqfky / giriqfky
0644
role_form.php
2.267 KB
July 27 2024 00:19:25
giriqfky / giriqfky
0644
role_lists.php
4.744 KB
July 27 2024 00:19:25
giriqfky / giriqfky
0644
user_form.php
6.592 KB
July 27 2024 00:19:25
giriqfky / giriqfky
0644
user_lists.php
5.351 KB
July 27 2024 00:19:25
giriqfky / giriqfky
0644
user_profile_form.php
6.904 KB
July 27 2024 00:19:25
giriqfky / giriqfky
0644
user_reset_password_form.php
2.146 KB
July 27 2024 00:19:25
giriqfky / giriqfky
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF