Nixon Chronicle
Michael Kors Dylan Chronograph Black Dial Blue Silicone Mens. New with tags: A brand-new, unused, and unworn item (including handmade items) in the original packaging (such as the original box or bag) and/or with the original tags attached.
-
Parameters
- Condition :
- A brand-new, unused
- Brand :
- Nixon
- Features :
- Date
- Age :
- Modern (2000-present)
- Movement :
- Quartz
- Display :
- Analog
- Band Material :
- Brown Leather
- Gender :
- Men
- Color :
- Silver
-
Comments
");
jQuery("#comments_name").removeAttr('value');
jQuery("#author_comment").removeAttr('value');
jQuery("#captchaInputValue").removeAttr('value');
jQuery("#captchaInputValue").attr("placeholder",response.captcha1 +" + "+response.captcha2 + " = ?");
jQuery("#captchaInputValue").parent().find(".invalid").text("");
}
if(response.index == 2){
jQuery("#captchaInputValue").parent().find(".invalid").text("Invalid Captcha");
}
});
return false;
}
// }
// else{
// jQuery("#captchaInputValue").parent().find(".invalid").text("Invalid Captcha");
//// alert("invalid");
// return false;
// }
});
jQuery('#order_popup_submit').click(function(){
var user_name = jQuery("#catalog-order-popup-1 .asc_seller_name").val();
var user_mail = jQuery("#catalog-order-popup-1 .asc_seller_mail").val();
var user_phone = jQuery("#catalog-order-popup-1 .asc_seller_phone").val();
var user_massage = jQuery("#catalog-order-popup-1 .asc_seller_massage").val();
var user_product_id = jQuery("#catalog-order-popup-1 .asc_seller_product_id").val();
var user_spam = jQuery("#catalog-order-popup-1 .asc_seller_spam").val();
var captcha_val = jQuery("#catalog-order-popup-1 .captchaInputValue").val();
var user_ip = jQuery("#catalog-order-popup-1 .huge_it_catalog_product_ip").val();
var emailCheck=/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i;
if(user_name == "" || user_mail == "" || user_phone == "" || user_massage == "" || user_product_id == "" || captcha_val == ""){
// alert("empty field");
jQuery("#catalog-order-popup-1 input[type=text]").each(function(){
if(!jQuery(this).val()){ // alert(jQuery(this).attr("name"));
jQuery(this).addClass("empty");
}
else{ jQuery(this).removeClass("empty"); }
});
return false;
}
else{
if(!(emailCheck.test(user_mail))){
alert("invalid email");return false;
}
else{
// alert(user_name + " " + user_mail+ " " + user_phone + " " + user_massage + " " + user_product_id + " " + captcha_val + " " + user_spam + " " + user_ip);
var data = {
action: 'my_action',
post: 'applyproductascsellerfromuser',
user_name: user_name,
user_mail: user_mail,
user_phone: user_phone,
user_product_id: user_product_id,
user_massage: user_massage,
user_spam: user_spam,
user_ip: user_ip,
captcha_val: captcha_val
};
jQuery.post("https://huge-it.com/wp-admin/admin-ajax.php", data, function(response) { // alert(response);
response = JSON.parse(response);
if(response.index == 1){
if( jQuery(".reviews-block .review").text().length == 0 ) { jQuery(".reviews-block").text(""); }
jQuery("#catalog-order-popup-1 .asc_seller_name").removeAttr('value');
jQuery("#catalog-order-popup-1 .asc_seller_mail").removeAttr('value');
jQuery("#catalog-order-popup-1 .asc_seller_phone").removeAttr('value');
jQuery("#catalog-order-popup-1 .asc_seller_massage").removeAttr('value');
jQuery("#catalog-order-popup-1 .captchaInputValue").val("").attr("placeholder",response.captcha1 +" + "+response.captcha2 + " = ?").parent().find(".invalid").text("");
jQuery("#catalog-order-popup-1 input[type=text]").each(function(){
jQuery(this).removeClass("empty");
});
// jQuery(".modalDialog ").find("a.catalog-order-popup-close").click();
}
if(response.index == 2){
jQuery("#catalog-order-popup-1").find(".invalid").text("Invalid Captcha");
}
});
return false;
}
// }
// else{
// jQuery("#captchaInputValue").parent().find(".invalid").text("Invalid Captcha");
//// alert("invalid");
// return false;
// }
}
});
jQuery(".rating-stars li").hover(function() {
var rate_val = jQuery(this).find("input").val();
var background_margin = (rate_val * 15);
jQuery(this).parent().css({
'background-position' : '0px -' + background_margin + 'px'
});
},function(){
if(jQuery(this).parent().hasClass('rated')){
var rateis=jQuery(this).parent().attr('data-rateis')*15;
jQuery(this).parent().css({
'background-position' : '0px -'+rateis+'px'
});
}else{
jQuery(this).parent().css({
'background-position' : '0px -75px'
});
}
});
jQuery(".rating-stars li input[type='radio']").click(function(){
var strthis=jQuery(this);
var rate_val = jQuery(this).val();
var ip = jQuery(".huge_it_catalog_product_ip").val();
var spam = jQuery(".huge_it_catalog_spam").val();
var product_id = jQuery(".huge_it_catalog_product_id").val();
var data = {
action: 'my_action',
post: 'productratingfromuser',
spam: spam,
ip: ip,
product_id: product_id,
rate_val: rate_val
};
// alert(ip + " " + spam + " " + product_id); return false;
jQuery.post("https://huge-it.com/wp-admin/admin-ajax.php", data, function(response) { // alert(response.index);
response = JSON.parse(response);
// alert(response.index);
// alert(response.rating);
if(response.index == 1){
var newrate = response.rating; // alert(newrate);
jQuery(strthis).parent().parent().addClass('rated').attr('data-rateis',newrate);
jQuery(strthis).parent().parent().css({
'background-position' : '0px -' + newrate*15 + 'px'
});
}
});
});
});