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/hotel/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/b2bzend/application/views/scripts/hotel/managemarkupnew.phtml
<?php 
$options = Zend_Controller_Front::getInstance()->getParam('bootstrap')->getOption('bootstrap');
$params = Zend_Controller_Front::getInstance()->getRequest()->getParams();
$key = @$params['key'];
$id = @$params['id'];

?>

<!--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->PageTitle; ?></h3>
        <!--Top header end -->

        <!--Top breadcrumb start -->
        <ol class="breadcrumb">
            <li><a href="#"><i class="fa fa-home"></i></a></li>
            <li class="active">My Inventory </li><li class="active"><a href="<?php echo $this->baseUrl('/hotel'); ?>">Hotel Per Night Deals</a></li><li class="active">Manage Markup</li>
        </ol>
        <!--Top breadcrumb start -->
    </div>
    
    <div class="col-md-12" id="message_div" style="display:none;"> 
        <div class="alert alert-success">
            <button aria-hidden="true" id="hideMessage" class="close" type="button">×</button>
           <span id="success_message_box"></span>
        </div>   
   </div> 
    
</div>
<script type="text/javascript">
$("#hideMessage").click( function(){ 
   $("#message_div").hide(); 
});
</script>     
    
<!-- Main Content Element  Start-->
<div class="row">

   <div class="col-md-12"> 
    <div class="alert alert-success" style="display:none">
        <button aria-hidden="true" data-dismiss="alert" class="close" type="button">×</button>
        <span id="success-message-box"></span>
    </div>


<div class="alert alert-danger" style="display:none">
        <button aria-hidden="true" data-dismiss="alert" class="close" type="button">×</button>
        <span id="error-message-box"></span>
    </div>
</div>
    
    
<div class="col-md-12">
    <div class="alert alert-success no-margin">
            <div class="col-md-12">
            <label class="radio inlinebl pfare">
               Mark Up / Commission Settings ( <?php echo $this->arrMPInventoryAccomList[0]['HotelName']; ?> - <?php echo $this->arrMPInventoryAccomList[0]['CityName']; ?>)
            </label>&nbsp;&nbsp;
           
            </div>
    <div class="clearfix"></div></div>
<div class="modal-body" id="publishedfare">
                    <div class="col-md-3">
                    <div class="form-group form-group1">
                        <label class="radio inlinebl standard" onclick="viewGrid('S');">
                            <div class="iradio_flat" style="position: relative;">
                            <input type="radio" <?php if($this->popupType=="S") { echo "checked"; } ?> class="icheck-black" value="S" id="optionsRadios2" name="optMarkupSettings" style="position: absolute; top: -20%; left: -20%; display: block; width: 140%; height: 140%; margin: 0px; padding: 0px; background: rgb(255, 255, 255) none repeat scroll 0% 0%; border: 0px none; opacity: 0;"><ins class="iCheck-helper" style="position: absolute; top: -20%; left: -20%; display: block; width: 140%; height: 140%; margin: 0px; padding: 0px; background: rgb(255, 255, 255) none repeat scroll 0% 0%; border: 0px none; opacity: 0;"></ins></div>
                            Standard 
                        </label>
                        
                        <label class="radio inlinebl customize" onclick="viewGrid('C');">
                            <div class="iradio_flat" style="position: relative;">
                            <input type="radio" <?php if($this->popupType=="C") { echo "checked"; } ?> class="icheck-black" value="C" id="optionsRadios2" name="optMarkupSettings" style="position: absolute; top: -20%; left: -20%; display: block; width: 140%; height: 140%; margin: 0px; padding: 0px; background: rgb(255, 255, 255) none repeat scroll 0% 0%; border: 0px none; opacity: 0;"><ins class="iCheck-helper" style="position: absolute; top: -20%; left: -20%; display: block; width: 140%; height: 140%; margin: 0px; padding: 0px; background: rgb(255, 255, 255) none repeat scroll 0% 0%; border: 0px none; opacity: 0;"></ins></div>
                            Customize
                        </label>
<!--                        <label class="radio inlinebl standard">
                            <input type="radio" name="optionsRadios2" id="optionsRadios2" value="option2" class="icheck-black" checked>
                            Standard 
                        </label>&nbsp;&nbsp;
                        <label class="radio inlinebl customize">
                            <input type="radio" name="optionsRadios2" id="optionsRadios2" value="option2" class="icheck-black">
                            Customize
                        </label>            -->
                    </div>
                    </div>
    
    <div class="col-md-3" id="markup-type-block" style="display:none">
    <div class="form-group">
        <label>Mark Up Type </label>


        <select id="markup-type" name="markup-type" class="form-control" placeholder="Select" onchange="viewDataGrid();" <?php if( $this->InventoryAllocationExists ) echo "readonly"; ?>>
<!--                            <option value="0">Select</option>-->
            <option value="<?php echo FIXED_AMOUNT_MARKUP_ID ; ?>" <?php if($this->InventoryAllocationExistsOf == FIXED_AMOUNT_MARKUP_ID) echo "selected"; ?> ) >Fixed Amount</option>
            <option value="<?php echo FIXED_PERCENTAGE_MARKUP_ID ; ?>" <?php if($this->InventoryAllocationExistsOf == FIXED_PERCENTAGE_MARKUP_ID) echo "selected"; ?>>Fixed %</option>
        </select>                       
    </div>
    </div>
                    
                    
                    <?php
                    
                    $arrMarketPlaces = Zend_Controller_Action_HelperBroker::getStaticHelper('B2B')->getMarketPlaces();
                    $arrPermissions  = Zend_Controller_Action_HelperBroker::getStaticHelper('B2B')->getPermissions(); 
                    ?>
                    
                    <input type="hidden" name="hidden_InvnItemSysId" id="hidden_InvnItemSysId" value="<?php echo $this->InvnItemSysId; ?>"
                           
                            <div class="col-md-6 no-padding standardtab" id='standardtab-fixed-amount'>
                        <div id="markup-table-loader" style="display: none; float:left" class="please-wait">Please wait...</div>
                  	<div class="panel-body table-responsive no-padding no-border" id="markup-settings-grid-content">
                                 
                        </div>
                    
                <div class="clear"></div></div>
</div>
                        
                        
                        
	</div>
<!-- Main Content Element  End-->
</div>
</div>


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

<div class="modal fade " id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
        </div>
    </div>
</div>

<script type="text/javascript" src="<?php echo $this->baseUrl('public/assets/js/lib/jquery-1.11.min.js'); ?>"></script>

<?php echo $this->render('newfooter.phtml'); ?>
<script type="text/javascript">
        
        $().ready(function() {
           viewGrid('<?php echo $this->popupType ; ?>');
        });
        
        
        function viewDataGrid() {
            var MarkupSetting = $('input[name="optMarkupSettings"]:checked').val();
            var RateType = $('input[name="rateType"]:checked').val();
            viewGrid(MarkupSetting,RateType);
        }
        
        function viewByRateType(RateType) {
            var InvnItemSysId     = '<?php echo $this->InvnItemSysId ; ?>';
            var MarkupType        = $("#markup-type").val();
            var MarkupSetting = $('input[name="optMarkupSettings"]:checked').val();
            var key     = '<?php echo $this->key ; ?>';
            var popupType     = '<?php echo $this->popupType ; ?>';
            viewMarkupSettingGrid(InvnItemSysId, MarkupType, MarkupSetting, RateType, key, popupType);
        }
        
        function viewGrid(MarkupSetting,RateType) {
            if(MarkupSetting == 'S') {
                $("#markup-type-block").css("display","none");
            }else {
                $("#markup-type-block").css("display","block");
            }
            
            var MarkupType        = $("#markup-type").val();
           // var MarkupSetting     = $('input[name="optMarkupSettings"]:checked').val();
            var InvnItemSysId     = '<?php echo $this->InvnItemSysId ; ?>';
            var key     = '<?php echo $this->key ; ?>';
            var popupType     = '<?php echo $this->popupType ; ?>';
            viewMarkupSettingGrid(InvnItemSysId, MarkupType, MarkupSetting, RateType, key, popupType);
        }
        
    </script>

Youez - 2016 - github.com/yon3zu
LinuXploit