403Webshell
Server IP : 192.64.112.168  /  Your IP : 3.139.72.210
Web Server : Apache
System : Linux nc-ph-2300-85.bluforrest.com 4.18.0-513.9.1.el8_9.x86_64 #1 SMP Sat Dec 2 05:23:44 EST 2023 x86_64
User : expressoneac ( 1128)
PHP Version : 8.0.30
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/expressoneac/www/wp-content/themes/woodmart/js/scripts/wc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/expressoneac/www/wp-content/themes/woodmart/js/scripts/wc/productReviewsLikes.min.js
!function(a){woodmartThemeModule.singleProdReviewsLike=function(){a("#reviews").on("click",".wd-review-likes .wd-like, .wd-review-likes .wd-dislike",function(){var e=a("body").hasClass("logged-in"),i=a(".whb-main-header .wd-header-my-account"),i=0<i.length&&i.hasClass("login-side-opener");let s,d=a(this),o=d.closest(".wd-review-likes");var n=d.closest(".comment_container").attr("id"),n=parseInt(n.substring(n.indexOf("-")+1));!e&&i?a(".login-side-opener").trigger("click"):e?d.hasClass("wd-active")||(d.siblings().removeClass("wd-active"),d.addClass("wd-active"),d.hasClass("wd-like")?s="like":d.hasClass("wd-dislike")&&(s="dislike"),a.ajax({url:woodmart_settings.ajaxurl,method:"POST",data:{action:"woodmart_comments_likes",comment_id:n,vote:s},beforeSend:function(){o.addClass("wd-adding")},complete:function(){o.removeClass("wd-adding")},success:function(e){var i=d.closest(".wd-review-likes");e.hasOwnProperty("likes")&&i.find(".wd-like span").text(e.likes),e.hasOwnProperty("dislikes")&&i.find(".wd-dislike span").text(e.dislikes)},error:function(e){console.error(e)}})):window.location.href=woodmart_settings.myaccount_page})},a(document).ready(function(){woodmartThemeModule.singleProdReviewsLike()})}(jQuery);

Youez - 2016 - github.com/yon3zu
LinuXploit