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/inventory-detail/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/b2bzend/application/views/scripts/inventory-detail/hotel.phtml
<!--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"><?php echo $this->strPageTitle; ?></h3>
                    <!--Top header end -->

                    <!--Top breadcrumb start -->
                    <ol class="breadcrumb">
                        <li><a href="#"><i class="fa fa-home"></i></a></li>
                        <li class="active">Masters</li><li class="active"><?php echo $this->strPageTitle; ?></li>
                    </ol>
                    <!--Top breadcrumb start -->
                </div>
            </div>
            <!-- Main Content Element  Start-->
            <form class="ls_form" role="form" name="packageSearchForm" id="packageSearchForm" method="POST" autocomplete="off">
            <div class="row">
                <div class="col-md-12">
                    <div class="panel panel-primary">
                        <div class="panel-heading minus">
                            <h3 class="panel-title" onclick="$('.minus').trigger('click')"><img src="<?php echo $this->baseUrl('public/images/query_dashboard/filtericon.png'); ?>"> Filter Results</h3>
                            <ul class="panel-control">
                                <li><a class="minus <?php if (empty($this->searchData)): ?>active <?php endif; ?>" href="javascript:void(0)"><i class="fa <?php if (!empty($this->searchData) ): ?>fa-angle-up large <?php else: ?> fa-angle-down large<?php endif; ?>"></i></a></li>
                            </ul>
                        </div>
                        <div class="panel-body" style="display:none;">
                            
                             <div class="row">
                                <div class="col-md-3">
                                    <div class="form-group">
                                        <label>From Date</label>
                                        <input class="form-control whbg  " placeholder="Date" name="FromDate" id="LeadQueryFrom" value="<?php echo isset($this->searchArr['FromDate']) ? $this->searchArr['FromDate'] : '' ?>">

                                    </div>
                                </div>
                                 <div class="col-md-3">
                                    <div class="form-group">
                                        <label>To Date</label>
                                        <input class="form-control whbg  " placeholder="Date" name="ToDate" id="LeadQueryTo" value="<?php echo isset($this->searchArr['ToDate']) ? $this->searchArr['ToDate'] : '' ?>">

                                    </div>
                                </div>
                            
                             </div>

                                 <div class="row">
                                   
                                    <div class="col-md-12">
                                        <div class="form-group"  style="float:right !important;top: 26px;">

                                            <button onclick="window.location.href = '<?php echo $this->baseUrl('/package'); ?>'" class="btn btn-primarygray" type="button">Reset</button>
                                            <button type="submit" class="btn btn-primary filterData"><i class="fa fa-search"></i> Filter</button>
                                             <input type="hidden" name="page" id="page" value="1" />
                                              <input type="hidden" id="order_details" name="order" value="<?php echo $this->searchArr['order']; ?>" />
                                        </div>
                                    </div>



                                 </div>
                             </div>
                           
                        </div>
                    </div>
                </div>
            <div class="row">
                <div class="col-md-12">
                    <div class="successMessage">
                        <?php
                        if (!empty($this->messages)) {
                            echo ($this->messages[0]);
                        }
                        ?>
                    </div>
                </div>
                
                <div class="col-md-12">
                    <div class="leadeBorder leadeBorder2">


                        <div class="panel-body">
                            <div class="form-group form-group1 ">
                                <div class="col-md-6">Hotel Name : <?php echo $this->result['Title']?></div>
                                <div class="col-md-2">Room Type : </div>
                                <div class="col-md-2">    
                                    <select class="form-control" name="RoomTypeId" onchange="$('.filterData').click();">
                                        <?php foreach($this->RoomDetailsList as $key => $val){ ?>
                                        <option value="<?php echo $val['room']['RoomTypeId'];?>" <?php echo (isset($this->searchArr['RoomTypeId']) && $this->searchArr['RoomTypeId'] == $val['room']['RoomTypeId']) ? 'selected' : '';?>><?php echo $val['room']['RoomType'];?></option>
                                        <?php } ?>
                                        
                                    </select>
                                </div>
                            </div>
                             </form>
                            <div class="clearfix">&nbsp;</div>
                            <div class="table-responsive">
                                
                                <table class="table tablestyle table-bottomless" id="ls-editable-table">
                                    <thead>
                                        <tr class="alert alert-graylight">
                                            <th class="small smallbold">Sr No.</th>
                                            <th class="small smallbold"><?php if (isset($this->searchArr['order']) && !empty($this->searchArr['order']) && $this->searchArr['order'] == 'FromDate_1') { ?>
                                                    <a onclick="return sortByOrder('FromDate_0');" style="cursor:pointer;">Date<i class="fa fa-angle-up"></i></a>
                                                <?php } else { ?>
                                                    <a onclick="return sortByOrder('FromDate_1');" style="cursor:pointer;">Date<i class="fa fa-angle-down"></i></a>
                                                <?php } ?></th>
                                            <th class="small smallbold">
                                            <?php if (isset($this->searchArr['order']) && !empty($this->searchArr['order']) && $this->searchArr['order'] == 'SoldQty_1') { ?>
                                                    <a onclick="return sortByOrder('SoldQty_0');" style="cursor:pointer;">Sold<i class="fa fa-angle-up"></i></a>
                                                <?php } else { ?>
                                                    <a onclick="return sortByOrder('SoldQty_1');" style="cursor:pointer;">Sold<i class="fa fa-angle-down"></i></a>
                                                <?php } ?>
                                            </th>
                                            <th class="small smallbold"><?php if (isset($this->searchArr['order']) && !empty($this->searchArr['order']) && $this->searchArr['order'] == 'BlockQty_1') { ?>
                                                    <a onclick="return sortByOrder('BlockQty_0');" style="cursor:pointer;">Hold<i class="fa fa-angle-up"></i></a>
                                                <?php } else { ?>
                                                    <a onclick="return sortByOrder('BlockQty_1');" style="cursor:pointer;">Hold<i class="fa fa-angle-down"></i></a>
                                                <?php } ?></th>
                                            <th class="small smallbold">Current</th>
                                            <th class="small smallbold" style="width:8%;">Action</th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <?php
                                        if (!empty($this->paginator) ) {
                                            $m = 0;
                                            foreach ($this->paginator as $result) { 
//                echo '<pre>';print_r($result);echo '</pre>';die;
                                                ?>
                                                <tr>
                                                    <td><?php echo ($this->per_page_record * ($this->page-1) + ++$m) ; ?></td>
                                                    <td><?php echo date('d M Y',strtotime($result['FromDate'])); ?></td>
                                                    <td><?php echo ucfirst($result['SoldQty']); ?></td>
                                                    <td><?php echo ucfirst($result['BlockQty']); ?></td>
                                                    <td><?php echo ucfirst($result['NetInHandQty']); ?></td>
                                                    
                                                    <td class="text-center">
                                                        <a href="<?php echo $this->baseUrl('inventory-detail/hotel-inventory-detail/id/'.base64_encode($result['hotelId']).'/date/'.base64_encode($result['FromDate'])).'/eco/'.$this->params['eco'];?>" class="view-text1"  title="View Inventory" ><i class="fa fa-eye"></i></a>
                                                    </td>
                                                </tr>
                                            <?php }
                                        } else { ?>
                                            <tr><td colspan="3">No. records found</td></tr>
                                    <?php } ?>
                                    </tbody>

                                </table>
                            </div>
                            <!--Table Wrapper Finish-->
                            <div class="panel-box clearfix">
                                <?php if (!empty($this->paginator) ) { ?>
                                    <?php echo $this->paginationControl($this->paginator, 'Sliding', 'pagination.phtml'); ?>
                                <?php } ?> 
                            </div>  


                        </div>
                    </div>
                </div>



            </div>

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


    <section class="" id="footer">
    <a href="https://www.globaltravelexchange.com" target="_blank">© </a><a href="http://www.hellogtx.com/" target="_blank" style="color:#3b75c9; text-decoration:none">hello<span style="color:#f9655c;">GTX</span></a> 2018 
    <a class="pull-right" target="_blank" href="/general/termsofuse">Terms &amp; Conditions</a>
</section>
</section>
<div class="modal fade" id="Fixeddeparture" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content" id="FixeddepartureDetail">
   
            </div>
        </div>
    </div>
<?php echo $this->render("newfooter.phtml"); ?>

<!--Page main section end -->
<script>
 
function getFixDepartureContentDetail(id){

	$.ajax({
		url: 'inventory-detail/view-inventory-detail-popup',
		
		type: 'POST',
		data: {'id':id},
		dataType: 'text',
		beforeSend: function() {
           
        }, success: function(result) {

                  $("#FixeddepartureDetail").html(result);
                  $('#Fixeddeparture').modal('show');
       
        }
    
    })
}
    function sortByOrder(orderInfo) {
        
        $("#order_details").val(orderInfo);
        $(".filterData").click();
        //$(".ls_form").submit();
    }
//    $(".datePickerOnly").datetimepicker({
//        format: 'd/m/Y',
//        timepicker: false,
//    });
</script>
<script src="<?php echo $this->baseUrl('public/js/customer/customer.js?v=12121212222'); ?>"></script>

<script src="<?php echo $this->baseUrl('public/js/jquery.validate.min.js'); ?>"></script>
<script src="<?php echo $this->baseUrl('public/assets/js/customer.js?v=12121212222'); ?>"></script>
<script src="<?php echo $this->baseUrl('public/assets/js/bootstrap3-typeahead.js'); ?>"></script>
<script src="<?php echo $this->baseUrl('public/countrycode/script.js?rv=1144'); ?>"></script>

Youez - 2016 - github.com/yon3zu
LinuXploit