403Webshell
Server IP : 66.29.132.122  /  Your IP : 3.129.250.222
Web Server : LiteSpeed
System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : admazpex ( 531)
PHP Version : 7.2.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/softaculous/sitepad/editor/site-data/plugins/kkart-pro/assets/js/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/softaculous/sitepad/editor/site-data/plugins/kkart-pro/assets/js/admin/meta-boxes-coupon.min.js
jQuery(function(_){({init:function(){_("select#discount_type").on("change",this.type_options).change(),this.insert_generate_coupon_code_button(),_(".button.generate-coupon-code").on("click",this.generate_coupon_code)},type_options:function(){var e=_(this).val();"percent"===e?_("#coupon_amount").removeClass("kkart_input_price").addClass("kkart_input_decimal"):_("#coupon_amount").removeClass("kkart_input_decimal").addClass("kkart_input_price"),"fixed_cart"!==e?_(".limit_usage_to_x_items_field").show():_(".limit_usage_to_x_items_field").hide()},insert_generate_coupon_code_button:function(){_(".post-type-shop_coupon").find("#title").after('<a href="#" class="button generate-coupon-code">'+kkart_admin_meta_boxes_coupon.generate_button_text+"</a>")},generate_coupon_code:function(e){e.preventDefault();for(var o=_("#title"),e=_("#title-prompt-text"),t="",n=0;n<kkart_admin_meta_boxes_coupon.char_length;n++)t+=kkart_admin_meta_boxes_coupon.characters.charAt(Math.floor(Math.random()*kkart_admin_meta_boxes_coupon.characters.length));t=kkart_admin_meta_boxes_coupon.prefix+t+kkart_admin_meta_boxes_coupon.suffix,o.focus().val(t),e.addClass("screen-reader-text")}}).init()});

Youez - 2016 - github.com/yon3zu
LinuXploit