FOTO: Aksi Ribuan Buruh Blokir Jalan Tol

‘+
‘+
‘+
”+
Silahkan mengisi kode pengaman yang sesuai dengan gambar di atas.‘+
”+
”+
”+

);
clicked++;
$(“[id^=replyButton_]*”).click(function(){
var captchaCode = $(“[id^=captcha_code_]*”).val();
var textReply = $(“[id^=comment_2_]*”).val();

if(captchaCode!=” && textReply!=”){
$(‘#replyAlert_’ + divId).html(

);
$(‘#replyBox_’ + divId).remove();
var type_ = ‘article’;
$.ajax({
type: “POST”,
url: “/comment/insertReply/”,
data: “captcha_code=” + captchaCode + “&comment_reply=” + textReply + “&parent_id=” + divId +
“&article_id=” + articleId + “&type=”+ type_,
success: function(msg){
$(‘#replyContent_’ + divId).remove();
$(‘#replyAlert_’ + divId).html(msg);
}
});
}else{
$(‘#replyBox_’ + divId).html(

);
}
});
if(clicked==1){
$(“[id^=replyLink_]*”).click(function(){
$(‘#replyBox_’ + divId).hide();
});
}
});
}

function report(username,idComment){
var captchaRefresh = Math.floor(Math.random() * 999999999);
var senderUser = ”;
var location = window.location;
var str = ‘Anda, ‘+senderUser +’, melaporkan penyalahgunaan untuk ID : ‘ +username+’
dengan URL artikel : ‘+ location +”;
str += ”;
str += ”;
str += ”;
str += ”;
str += ”;
str += ‘

Terima kasih telah mengirimkan laporan. Kami tidak bertanggung jawab atas kebenaran data yang Anda isi. Data ini tidak akan dimunculkan ke publik, namun hanya sebagai data yang akan digunakan untuk memeriksa dan menindak lanjuti permasalahan sesuai topik yang anda kirimkan.

‘;

jqistates = {
state0: {
html: str,
buttons:{Submit:true, Cancel:false},
submit: function(v,m,f){
var flag = true;
var e = “”;
var email_status = false;
m.find(‘.errorBlock’).hide(‘fast’,function(){ jQuery(this).remove(); });
if(v){
// validasi
if(jQuery.trim(f.id_email)!=”"){
var emailRegEx = /^[A-Z0-9._%+-]+@[A-Z0-9.-]+.[A-Z]{2,4}$/i;
if (f.id_email.search(emailRegEx) == 0) email_status = true;
}

if(email_status == false){e += “E-mail tidak boleh kosong / format email salah
“;}
if(f.id_problem == 0){e += “Pilih topik permasalahan anda
“;}
if(jQuery.trim(f.id_keterangan)==”"){e += “Silakan isi keterangan
“;}
if(jQuery.trim(f.id_captcha_image)==”"){e += “Masukkan captcha
“;}

if(e==”"){
$.ajax({
type : “POST”,
url : “/comment/report_abuse/”,
data : “captcha_code=” + f.id_captcha_image + “&idComment=”+ idComment + “&topik_masalah=” + f.id_problem + “&keterangan=” + f.id_keterangan +
“&id_pelapor=” + senderUser + “&location=”+ escape(location) + “&email_pelapor=” + f.id_email + “&id_terlapor=” + username,
success : function(msg){
$.prompt.close()
jQuery.prompt(msg);
}
});
//jQuery.prompt.goToState(‘state1′);
}else{
// do noticement failure
jQuery(”).prependTo(m).show(‘slow’);
}
return false;
}
}
},
state1: {
html: ‘

Permintaan anda akan segera di proses.
Terima Kasih atas partisipasi anda

‘,
focus: 1,
buttons: {Ok: true },
submit: function(v,m){
if(v)return true;
}
}
};
$.prompt(jqistates);
}

Powered By WizardRSS.com | Full Text RSS Feed | Amazon WordPress Plugin | Android Forum | Hud Software

Best Anti Wrinkle Cream

Related Posts:

  • No Related Posts

Leave a Reply

You must be logged in to post a comment.