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/gtxapi.hellogtx.com/application/layouts/scripts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/gtxapi.hellogtx.com/application/layouts/scripts/layout.phtml
<?php
$object = Zend_Controller_Front::getInstance();
$options = $object->getParam('bootstrap')->getOption('bootstrap');
$baseUrl = $options['siteUrl'];
$modulename = $object->getRequest()->getModuleName();
$controller = $object->getRequest()->getControllerName();
$action = $object->getRequest()->getActionName();
?>
<!doctype html>
<html lang="en">
    <head>
        <title>Nam Ho Mall  | Home Page</title>
        <meta http-equiv="content-type" content="text/html;charset=utf-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="author" content="">
        <meta name="description" content="">
        <meta name="keywords" content="">
        <base href="<?php echo $this->baseUrl('/'); ?>" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
        <link rel="shortcut icon" type="image/x-icon" href="images/fav_icon.png">
        <link href='https://fonts.googleapis.com/css?family=Roboto:400,400italic,300,300italic,700,700italic,900,900italic' rel='stylesheet' type='text/css'>
        <link href='https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css' rel='stylesheet' type='text/css'>
        <link rel="stylesheet" href="<?php echo $baseUrl; ?>css/animate.css">
        <link rel="stylesheet" href="<?php echo $baseUrl; ?>css/fontello.css">
        <link rel="stylesheet" href="<?php echo $baseUrl; ?>css/bootstrap.min.css">

        <link rel="stylesheet" href="js/fancybox/source/jquery.fancybox.css">
        <link rel="stylesheet" href="js/fancybox/source/helpers/jquery.fancybox-thumbs.css">


        <link rel="stylesheet" href="<?php echo $baseUrl; ?>js/layerslider/css/layerslider.css">
        <link rel="stylesheet" href="<?php echo $baseUrl; ?>js/owlcarousel/owl.carousel.css">
        <link rel="stylesheet" href="<?php echo $baseUrl; ?>js/arcticmodal/jquery.arcticmodal.css">
        <link rel="stylesheet" href="<?php echo $baseUrl; ?>css/style.css">
        <link rel="stylesheet" href="<?php echo $baseUrl; ?>css/jquery-ui.css">
        <?php if ($modulename == 'cart' && $controller == 'index' && $action == 'profile') { ?>
            <link rel="stylesheet" href="<?php echo $baseUrl; ?>css/selectize.bootstrap3.css">
        <?php } ?> 

        <script src="<?php echo $baseUrl; ?>js/modernizr.js"></script>
        <?php if ($modulename == 'cart' && $controller == 'index' && $action == 'profile') { ?>
            <script src="<?php echo $baseUrl; ?>js/jquery-1.11.min.js"></script>
            <script src="<?php echo $baseUrl; ?>js/selectize.min.js"></script>
            <script src="<?php echo $baseUrl; ?>js/selectTag.js"></script>

        <?php } else { ?>
            <script src="<?php echo $baseUrl; ?>js/jquery-2.1.1.min.js"></script>
        <?php } ?>
        <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
        <script type="text/javascript" src="<?php echo $baseUrl; ?>js/jquery-ui.min.js"></script>
        <script src="<?php echo $baseUrl; ?>js/queryloader2.min.js"></script>

        <script src="<?php echo $baseUrl; ?>js/jquery.elevateZoom-3.0.8.min.js"></script>
        <script src="<?php echo $baseUrl; ?>js/fancybox/source/jquery.fancybox.pack.js"></script>
        <script src="<?php echo $baseUrl; ?>js/fancybox/source/helpers/jquery.fancybox-media.js"></script>
        <script src="<?php echo $baseUrl; ?>js/fancybox/source/helpers/jquery.fancybox-thumbs.js"></script>

        <script src="<?php echo $baseUrl; ?>js/layerslider/js/greensock.js"></script>
        <script src="<?php echo $baseUrl; ?>js/layerslider/js/layerslider.transitions.js"></script>
        <script src="<?php echo $baseUrl; ?>js/layerslider/js/layerslider.kreaturamedia.jquery.js"></script>
        <script src="<?php echo $baseUrl; ?>js/jquery.appear.js"></script>
        <script src="<?php echo $baseUrl; ?>js/owlcarousel/owl.carousel.min.js"></script>
        <script src="<?php echo $baseUrl; ?>js/jquery.countdown.plugin.min.js"></script>
        <script src="<?php echo $baseUrl; ?>js/jquery.countdown.min.js"></script>
        <script src="<?php echo $baseUrl; ?>js/arcticmodal/jquery.arcticmodal.js"></script>
        <script src="<?php echo $baseUrl; ?>twitter/jquery.tweet.min.js"></script>
        <script src="<?php echo $baseUrl; ?>js/colorpicker/colorpicker.js"></script>
        <script src="<?php echo $baseUrl; ?>js/theme.plugins.js"></script>
        <script src="<?php echo $baseUrl; ?>js/theme.core.js"></script>
        <script type="text/javascript" src="https://platform-api.sharethis.com/js/sharethis.js#property=5ff5e0e02bc64600181b1033&product=inline-share-buttons" async="async"></script>
        <!--[if lte IE 9]>
        <link rel="stylesheet" type="text/css" href="<?php echo $this->baseUrl('css/oldie.css'); ?>">
        <![endif]-->
    </head>
    <body class="front_page">
        <div class="wide_layout">
            <?php
            echo $this->render('_header.phtml');
            echo $this->layout()->content;
            echo $this->render('_footer.phtml');
            ?>
        </div>
        <a href="#" class="back-to-top"><i class="fa fa-chevron-up"></i></a>



        <script type="text/javascript">
            function getSeoName(str) {
                str = str.replace(/\s\s+/g, ' ').toLowerCase();
                str = str.replace(/#|(|)|,|\/|_|  +/g, '');
                str = str.split(',').join('-');
                str = str.split(' ').join('-');
                return str.replace('--', '-');
            }
            setTimeout(function () {
                $.getJSON('index/autosuggest', function (destinations) {

                    $("#selectProductTag").autocomplete({
                        minLength: 3,
                        source: destinations,
                        autoFocus: true,
                        select: function (event, ui) {
                            var label = ui.item.label;
                            var url = ui.item.url;
                            window.location.href = url;
                        }
                    });
                });
                $.getJSON('index/autosuggestcity', function (destinations) {

                    $(".selectcity").autocomplete({
                        minLength: 3,
                        source: destinations,
                        autoFocus: true,
                        select: function (event, ui) {
                            var label = ui.item.label;
                            $('#CityId').val(ui.item.CityId);

                        }
                    });
                });
            }, 1000);

            function showHideDesc(id) {
                alert();
                $('.detailTab').hide();
                $('#mtab-' + id).show();
            }
            $("#subscribe-form").submit(function () {

                var email = $.trim($("#send_email").val());

                if (email.length == 0) {
                    $("#eml").css('color', 'red').html("E-Mail Can't be Empty").fadeIn().delay(3000).fadeOut();
                    return false;
                }
                $.ajax({
                    url: 'index/save-letter',
                    type: 'POST', data: {email: email},
                    dataType: 'json',
                    beforeSend: function () {},
                    success: function (result) {
                        alert(result.msg);
                        return false;
                    },
                    error: function () {
                        alert('Oops unable to connect with server!!');
                        return false;
                    }
                });
                return false;
            });


            function filterData() {
                //var brand = [];
                //$("input[id^='Brand_']").each(function (i) {
                //	if($(this).prop('checked') == true){
                //		brand.push($(this).val());
                //	}
                //});
                var data = $('.filter-form').serialize();
                var sortbyorder = $('#sortbyorder').val();
                $.ajax({
                    url: 'list/ajax-index',
                    type: 'POST',
                    data: data + '&sortbyorder=' + sortbyorder,
                    dataType: 'html',
                    beforeSend: function () {},
                    success: function (result) {
                        $('#products_container').html(result);
                    },
                    error: function () {
                        alert('Oops unable to connect with server!!');
                        return false;
                    }
                });
            }

            function addToCart(id) {
                var name = $('#name').val();
                var image = $('#image').val();
                var color = $('#productcolorName'+$('#productweight').val()).val();
                var sizenameId = $('#sizenameId').val();
                var price = $('#productprice').val();
                var priceId = $('#productpriceID').val();
                var weight = $('#optionvalueWeight' + priceId).val();
                var qty = $('#productqty').val();
                var model = $('#productModel').val();
                var namhoItemCode = $('#productNamhoItemCode').val();
                var CompanyName = $('#CompanyName').val();
                var SupplierEmail = $('#SupplierEmail').val();
                var SupplierSysId = $('#SupplierSysId').val();
                var IsDeliveryChargesIncluded = $('#IsDeliveryChargesIncluded').val();

                $.ajax({
                    url: 'index/add-to-cart',
                    type: 'POST',
                    data: {sizenameId: sizenameId, SupplierSysId: SupplierSysId, priceId: priceId, id: id, name: name, image: image, color: color, price: price, weight: weight, qty: qty, model: model, namhoItemCode: namhoItemCode, CompanyName: CompanyName, SupplierEmail: SupplierEmail,IsDeliveryChargesIncluded:IsDeliveryChargesIncluded},
                    dataType: 'html',
                    beforeSend: function () {},
                    success: function (result) {
                        $('.appendCartProductheader').html(result);
                        $('#open_shopping_cart').focus();
                        $('.shopping_cart').addClass('active visible');
                        var cartTotalProduct = $('#cartTotalProduct').val();
                        $('#open_shopping_cart').attr('data-amount', cartTotalProduct);
                        return false;
                    },
                    error: function () {
                        alert('Oops unable to connect with server!!');
                        return false;
                    }
                });
            }
            function removeFromCart(id) {

                $.ajax({
                    url: 'index/remove-from-cart',
                    type: 'POST',
                    data: {id: id},
                    dataType: 'html',
                    beforeSend: function () {},
                    success: function (result) {
                        $('.appendCartProductheader').html(result);
                        var cartTotalProduct = $('#cartTotalProduct').val();
                        $('#open_shopping_cart').attr('data-amount', cartTotalProduct);
                        $('.removeCart_' + id).remove();
                        calculateprice();
                        return false;
                    },
                    error: function () {
                        alert('Oops unable to connect with server!!');
                        return false;
                    }
                });
            }
            function itemIncement(id) {
                var price = $('.price_' + parseInt(id)).html();
                var totalprice = $('.totalprice_' + parseInt(id)).html();

                $('.totalprice_' + parseInt(id)).html(parseInt(totalprice) + parseInt(price));
                $('#totalpricehidden_' + parseInt(id)).val(parseInt(totalprice) + parseInt(price));
                calculateprice();
            }
            function itemDecement(id) {

                var price = $('.price_' + parseInt(id)).html();
                var totalprice = $('.totalprice_' + parseInt(id)).html();
                if ((parseInt(totalprice) - parseInt(price)) != 0) {
                    $('.totalprice_' + parseInt(id)).html(parseInt(totalprice) - parseInt(price));
                    $('#totalpricehidden_' + parseInt(id)).val(parseInt(totalprice) - parseInt(price));
                }
                calculateprice();

            }
            function changePriceByWeight(that) {
                var name = $(that).val();
                $(".colorDisplaycl").hide();
                $("#ColorDisplay" + name).show();
                var DefaultColor = $('#productcolor' + name).val();
                var getPriceId = $("#getPriceId" + name + DefaultColor).val();
                var optionvalueShowPrice = $('#optionvalueWeightPrice' + getPriceId).val();
                var optionvalueWeightPriceDiscount = $('#optionvalueWeightPriceDiscount' + getPriceId).val();
                var discounttext = '';
                if(optionvalueWeightPriceDiscount == 0) {
                    discounttext = '';
                } else {
                    discounttext = '<s><i class="icon-rupee"></i>' + optionvalueWeightPriceDiscount + '</s>';
                }
                $('.optionvalueShowPrice').html(optionvalueShowPrice);
                $("#productionPriceDisplay").html(discounttext);
                $('#productprice').val(optionvalueShowPrice);
                $('#productpriceID').val(getPriceId);
            }

            function changePriceByWeightC(DefaultColor,Name) {
                var name = $("#productweight").val();
                $("#productcolorName"+name).val(Name);
                var getPriceId = $("#getPriceId" + name + DefaultColor).val();
                var optionvalueShowPrice = $('#optionvalueWeightPrice' + getPriceId).val();
                $('.optionvalueShowPrice').html(optionvalueShowPrice);
                $('#productprice').val(optionvalueShowPrice);
                $('#productpriceID').val(getPriceId);
            }

            $('.save_address').on('submit', function () {
                var data = $(this).serialize();

                $.ajax({
                    url: 'cart/index/save-customer-address',
                    type: 'POST',
                    data: data,
                    dataType: 'json',
                    beforeSend: function () {},
                    success: function (result) {
                        if (result.status == true) {
							
                            
                            var html = '<input type="radio" id="radiio' + result.id + '" name="orderAddress" name="orderAddress" value="' + result.id + '" checked><label for="radiio' + result.id + '"><a href="javascript://" onclick="deleteAddress(' + result.id + ')" class="pull-right">Delete</a><a href="javascript://" onclick="editAddress(' + result.id + ')" class="pull-right" style="margin-right: 20px;" >Edit</a><span class="offer_text addressbold">' + result.data.AddressType + '</span> <br>' + result.data.Name + '<br>' +
                                    '<span class="offer_text">' + result.data.AddressLine1 + ', ' + result.data.LandMark + ', ' + result.data.City + ', ' + result.data.State + '</span>' +
                                    '<br><span class="offer_text">' + result.data.PinCode + '</span> </label>';
							if($('#address_id').val() != ''){
								$('.removeAddressDiv' + result.id).html(html);
								alert('Address updated successfull');
							}else{
								$('#appendAddressRow').append('<div class="custom02 removeAddressDiv' + result.id + '">'+html+'</div>');
								alert('Address added successfull');
							}
                            
                            $('#myModal').modal('hide');
                        } else {
                            alert(result.msg);
                            $('#' + result.id).focus();
                            return false;
                        }
                    },
                    error: function () {
                        alert('Oops unable to connect with server!!');
                        return false;
                    }
                });


            })
            function selectAddress() {
                $('#tab-8').removeClass('visible').addClass('invisible');
                $('#tab-9').removeClass('invisible').addClass('mvisible');
                $('.atab-8').removeClass('active');
                $('.atab-9').addClass('active');
            }
            function redirectProccess(that) {
                var link = $(that).attr('link');
                localStorage.setItem("lastpageurl", window.location.pathname);
                window.location.href = link;
            }
            function placeOrder() {
                var data = $('.place-order').serialize();

                $.ajax({
                    url: 'cart/index/place-order',
                    type: 'POST',
                    data: data,
                    dataType: 'json',
                    beforeSend: function () {
                        $('.placeOrder').html('Please wait..').attr('disabled', true);
                    },
                    success: function (result) {
                        $('.placeOrder').html('Place Order').attr('disabled', false);
                        if (result.status == true) {
                            window.location.href = 'cart/index/order-success';
                        }
                    },
                    error: function () {
                        alert('Oops unable to connect with server!!');
                        return false;
                    }
                });
            }
            function calculateprice() {
                var total = 0;
                $(".totalpricehidden").each(function (index) {
                    total = parseInt(total) + parseInt($(this).val());
                });
                $('.finalPrice').html(total);

            }
            function getCountryStateData(that) {
                var cityId = $(that).val();
                $.ajax({
                    url: 'cart/index/get-city-databy-id',
                    type: 'POST',
                    data: {'cityId': cityId},
                    dataType: 'json',
                    beforeSend: function () { },
                    success: function (result) {
                        if (result.status == true) {
                            console.log(result.cityData);
                            $('#state').val(result.cityData.StateName);
                            $('#State_id').val(result.cityData.State_id);
                        }
                    },
                    error: function () {
                        alert('Oops unable to connect with server!!');
                        return false;
                    }
                });
            }
            function manageAccordian(id) {

                $('.manageAccordian').hide();
                $('#' + id).show();

            }
            $('#change-password-form').on('submit', function () {
                $('.forgetMsg').html('');
                var data = $(this).serialize();
                $.ajax({
                    url: '/login/changepassword',
                    type: 'POST',
                    data: data,
                    dataType: 'json',
                    beforeSend: function () {},
                    success: function (result) {
                        if (result.status == true) {
                            $('.resetPassDiv').hide();
                            $('.resetPassSuccessDiv').show();
                            $('.forgetMsg').html(result.msg).css({'color': 'green', 'font-size': '15px;'});
                        } else {
                            $('.forgetMsg').html(result.msg).css({'color': 'red'});
                        }

                    },
                    error: function () {
                        alert('Oops unable to connect with server!!');
                        return false;
                    }
                })


            })
            function resetFilter() {
                $('.brandClass').attr('checked', false);
                var minp = $('#hidden_minimum_price').val().trim();
                var maxp = $('#hidden_maximum_price').val().trim();
                $('#minimum_price').val(minp);
                $('#maximum_price').val(maxp);
                filterData();
                $('#price_show').html('Range INR : ' + minp + ' - ' + maxp);
                $('#price_range').find('.ui-slider-range').css({'left': '0%', 'width': '100%'});
                $(".ui-slider-handle:nth-child(2)").css("left", "0%");
                $(".ui-slider-handle:nth-child(3)").css("left", "100%");

            }

            $("#menu").click(function () {

                $(".topbar").toggle(1000);

            });
            $("#filtershow").click(function () {

                $(".filterboxshow").slideDown(1000);

            });

            $(".closebtn").click(function () {

                $(".filterboxshow").hide();

            });
            function cancelOrder(itemId, statusid) {
                if (!confirm('Are you sure, you want to cancel order?')) {
                    return false;
                }
                $.ajax({
                    url: '/dashboard/changeorderstatus',
                    type: 'POST',
                    data: {'statusid': statusid, 'itemId': itemId, 'type': 'customer'},
                    dataType: 'json',
                    beforeSend: function () {
                        $('.itemOrderStatusTd' + itemId).html('Please wait...');
                    },
                    success: function (result) {
                        if (result.status) {
                            $('.itemOrderStatusTd' + itemId).html('Cancelled');
                            $('.itemOrderStatusTdd' + itemId).html('Cancelled');
                        } else {
                            $('.itemOrderStatusTd' + itemId).html('Cancel');
                            $('.itemOrderStatusTdd' + itemId).html('Cancel');
                        }
                    },
                    error: function () {
                        alert('Oops unable to connect with server!!');
                        return false;
                    }
                })
            }
			function deleteAddress(id) {
                if (!confirm('Are you sure, you want to delete address?')) {
                    return false;
                }
                $.ajax({
                    url: '/cart/index/delete-address',
                    type: 'POST',
                    data: {'id': id},
                    dataType: 'json',
                    beforeSend: function () {
                        
                    },
                    success: function (result) {
                        if (result.status == true) {
                        $('.removeAddressDiv'+parseInt(id)).hide();    
						$('.orderAddress').attr('checked',true);
                        } 
                    },
                    error: function () {
                        alert('Oops unable to connect with server!!');
                        return false;
                    }
                })
            }
			function editAddress(id){
				$.ajax({
                    url: '/cart/index/edit-address',
                    type: 'POST',
                    data: {'id': id},
                    dataType: 'json',
                    beforeSend: function () {
                        
                    },
                    success: function (result) {
                        if (result.status == true) {
							$('#address_id').val(result.data.id);
							$('#name').val(result.data.Name);
							$('#phone').val(result.data.Mobile);
							$('#email').val(result.data.Email);
							$('#pin_code').val(result.data.PinCode);
							$('#address').val(result.data.AddressLine1);
							$('#localitytown').val(result.data.LandMark);
							$('#CityId').val(result.data.City_id);
							$('#state').val(result.data.State);
							$('#'+result.data.AddressType).attr('checked',true);
                        } 
						 $("#myModal").modal('show');
                    },
                    error: function () {
                        alert('Oops unable to connect with server!!');
                        return false;
                    }
                })
			}
	function addAddress(){
		 $("#myModal").modal('show');
		 $('#address_id').val('');
	}
        </script>
		<script>
    //$(document).ready(function(){
        $("#myModaladvertisement").modal('show');
    //});
</script>
    </body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit