| Server IP : 62.173.141.34 / Your IP : 216.73.217.88 Web Server : Apache/2.4.63 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/3.0.2 System : Linux server7.msonline.ru 5.15.0-179-generic #189-Ubuntu SMP Tue May 5 18:20:56 UTC 2026 x86_64 User : izihss ( 1005) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,exec,system,passthru,shell_exec,proc_open,popen MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/izihss/web/izihss.ru/public_html/wp-content/plugins/image-zoom/js/ |
Upload File : |
jQuery(document).ready(function($) {
/* =====================================================================================
*
* Permet le reset d'une URL courte
*
*/
jQuery(".resetLink").click( function() {
var num = this.getAttribute("id").replace("reset","") ;
jQuery("#wait"+num).show();
jQuery("#lien"+num).html("Reset in progress...");
//Supprime la ligne
var arguments = {
action: 'reset_link',
idLink : num
}
//POST the data and append the results to the results div
jQuery.post(ajaxurl, arguments, function(response) {
jQuery("#wait"+num).fadeOut();
jQuery("#lien"+num).html(response);
});
})
/* =====================================================================================
*
* Affiche le formulaire de changement de url force
*
*/
jQuery(".forceLink").click( function() {
var num = this.getAttribute("id").replace("force","") ;
var response = "<label for='shorturl"+num+"'>"+site+"/</label><input name='tag-name' id='shorturl"+num+"' value='' size='10' type='text'><input type='submit' name='' id='valid"+num+"' class='button-primary validButton' value='Update' onclick='validButtonF(this);' /><input type='submit' name='' id='cancel"+num+"' class='button cancelButton' value='Cancel' onclick='cancelButtonF(this);' />" ;
jQuery("#lien"+num).html(response);
})
});
/* =====================================================================================
*
* Cancel du formulaire
*
*/
function cancelButtonF (element) {
var num = element.getAttribute("id").replace("cancel","") ;
jQuery("#wait"+num).show();
var arguments = {
action: 'cancel_link',
idLink : num
}
//POST the data and append the results to the results div
jQuery.post(ajaxurl, arguments, function(response) {
jQuery("#wait"+num).fadeOut();
jQuery("#lien"+num).html(response);
});
}
/* =====================================================================================
*
* Valid du formulaire
*
*/
function validButtonF (element) {
var num = element.getAttribute("id").replace("valid","") ;
jQuery("#wait"+num).show();
var arguments = {
action: 'valid_link',
idLink : num,
link : document.getElementById("shorturl"+num).value
}
//POST the data and append the results to the results div
jQuery.post(ajaxurl, arguments, function(response) {
jQuery("#wait"+num).fadeOut();
jQuery("#lien"+num).html(response);
});
}