links

ArqBlog &#124 Diretório Members * * var ajaxurl…


ArqBlog | Diretório Members

/* */

var ajaxurl = “http://www.arqblog.com.br/wp-load.php”;

if (typeof ajaxurl == ‘undefined’)
ajaxurl = “http://www.arqblog.com.br/wp-admin/admin-ajax.php”;
else if (ajaxurl == undefined)
ajaxurl = “http://www.arqblog.com.br/wp-admin/admin-ajax.php”;

jQuery(document).ready(function() {
jQuery(“.wangguard-user-report”).click(function() {
if (!confirm(‘Do you confirm to report the user?’))
return;

var userID = jQuery(this).attr(“rel”);

if ((userID == undefined) || (userID == ”)) {
userID = 0;

//BP profile button doesn’t allow to add a rel attr to the button so we store it in tne class field
var tmpClass = jQuery(this).attr(“class”);
var matches = tmpClass.match(/wangguard-user-report-id-(\d+)/);
if (matches != null)
userID = matches[1];
}

data = {
action : ‘wangguard_ajax_front_handler’,
object : ‘user’,
wpnonce : ‘0e4c37a519′,
userid : userID
};
jQuery.post(ajaxurl, data, function(response) {
if (response==’0’) {
alert(‘The user was reported.’);
jQuery(“.wangguard-user-report[rel='”+userID+”‘]”).fadeOut();
jQuery(“.wangguard-user-report-id-“+userID).fadeOut();
}
});
});

jQuery(“.wangguard-blog-report”).click(function() {
if (!confirm(‘Do you confirm to report the blog and authors?’))
return;

var blogID = jQuery(this).attr(“rel”);

if ((blogID == undefined) || (blogID == ”)) {
blogID = 0;

//BP profile button doesn’t allow to add a rel attr to the button so we store it in tne class field
var tmpClass = jQuery(this).attr(“class”);
var matches = tmpClass.match(/wangguard-blog-report-id-(\d+)/);
if (matches != null)
blogID = matches[1];
}

data = {
action : ‘wangguard_ajax_front_handler’,
object : ‘blog’,
wpnonce : ‘0e4c37a519′,
blogid : blogID
};
jQuery.post(ajaxurl, data, function(response) {
if (response==’0’) {
alert(‘The blog was reported.’);
jQuery(“.wangguard-blog-report”).fadeOut();
}
});
});
});

#header { background-image: url(http://www.arqblog.com.br/wp-content/uploads/2011/05/arqblog452.png); }
#header h1, #header #desc { display: none; }

jQuery(document).ready( function() { jQuery(“a.confirm”).click( function() { if ( confirm( ‘Tem certeza?’ ) ) return true; else return false; }); });

/* */

.

.

.

.

.


cadastre no arqblog

.


.

Voltar ao topo

http www massarok com br


http://www.massarok.com.br/

>Já pensou em atualizar seu guarda roupa de inverno?


>

var a2a_config = a2a_config || {};a2a_config.linkname = “mensagens diversificadas”;a2a_config.linkurl = “http://www.mensagensdiversificadas.com.br”;a2a_config.onclick = 1;a2a_config.locale = “pt-BR”;a2a_config.color_main = “b3efc1”;a2a_config.color_border = “2bca43”;a2a_config.color_link_text = “f40648”;a2a_config.color_link_text_hover = “e19898”;

>colete de pele, como vestir?


>

clique aqui e confira

var a2a_config = a2a_config || {};a2a_config.linkname = “mensagens diversificadas”;a2a_config.linkurl = “http://www.mensagensdiversificadas.com.br”;a2a_config.onclick = 1;a2a_config.locale = “pt-BR”;a2a_config.color_main = “b3efc1”;a2a_config.color_border = “2bca43”;a2a_config.color_link_text = “f40648”;a2a_config.color_link_text_hover = “e19898”;