Taman Labuai Pekanbaru Berantakan dan Kumuh

Written By Unknown on Kamis, 09 Januari 2014 | 12.47

Kamis, 1 Januari 1970 07:00 WIB

'); }); } }); }); function loadmore(sort){ var sort = sort; $(".loadmore").html(""); $.getJSON("http://www.tribunnews.com/ajax/get_comment?callback=?", {type: 'articles',id: '',tn_id: '9',start:(sort)}, function(data) { $.each(data.posts, function(key, val) { if(val.username) user = ""+val.name+""; else user = val.name if(val.child != '0') child = ""+val.child+" Balasan"; else child = "Balas"; if(val.like != '0') { if(val.likeyou == '1') like = "Suka-"+val.like+" orang"; else like = "Suka-"+val.like+" orang"; } else { like = "Suka"; } $("#commentins").append("
  • "+val.comment+"

    "+child+like+"

  • "); sort = sort + 1; $(".loadmore").remove(); }); var totalc = parseInt($("#totalcomment").html()); if(sort Tampilkan lainnya
    '); }); } function setlike(cid,aid){ login(); } function setunlike(cid,aid){ login(); } function sendcomment(cid){ var idform = $("#sendcomment"+cid); $("#sendcomment"+cid+" div").children(".button").attr('disabled', 'disabled'); $("#sendcomment"+cid+" div").children(".loading").html(""); $("#sendcomment"+cid+" div").children(".loading").show(); $("#sendcomment"+cid+" div").children(".message").show(); $("#sendcomment"+cid+" div").children(".message").html("processing..."); $.getJSON("http://www.tribunnews.com/ajax/send_comment?callback=?", $("#sendcomment"+cid).serialize(), function(data) { if(data.status == '1') { $("#sendcomment"+cid+" div").children(".message").show(); $("#sendcomment"+cid+" div").children(".message").html("Komentar anda berhasil terkirim"); if(cid == "0") $("#commentins").prepend("
  • "+$("#img_ucom").html()+"

    "+$("#link_ucom").html()+"-beberapa detik lalu

    "+$("#sendcomment"+cid+" textarea").val()+"

    "); else $("#commentins"+cid).append("
  • "+$("#img_ucom").html()+"

    "+$("#link_ucom").html()+"-beberapa detik lalu

    "+$("#sendcomment"+cid+" textarea").val()+"

    "); $("#sendcomment"+cid+" input").attr('disabled', 'disabled'); } else { //alert(data.status); $("#sendcomment"+cid+" div").children(".button").removeAttr('disabled'); $("#sendcomment"+cid+" textarea").focus(); $("#sendcomment"+cid+" div").children(".message").show(); $("#sendcomment"+cid+" div").children(".message").html(data.status); setInterval(function(){idform.children(".button").removeAttr('disabled')},5000); ; } $("#sendcomment"+cid+" div").children(".loading").hide(); }); return false; } function replayc(cid,child){ if($("#replay"+cid).is(':hidden')) { $("#replay"+cid).show(); } else { var insertform = $("#commentform").html(); $("#replay"+cid).show(); $("#replay"+cid).attr("class","pt10"); $("#replay"+cid).html(insertform); $("#replay"+cid).prepend("

    Loading...

    "); $("#replay"+cid).prepend("
    "); if(child) { $.getJSON("http://www.tribunnews.com/ajax/get_comment?callback=?", {type: 'articles',id: '',parent_id:(cid),p : '0',tn_id: '9'}, function(data) { $("#loadrep").remove(); $.each(data.posts, function(key, val) { if(val.username) user = ""+val.name+""; else user = val.name; if(val.like != '0') { if(val.likeyou == '1') like = "Suka-"+val.like+" orang"; else like = "Suka-"+val.like+" orang"; } else { like = "Suka"; } $("#commentins"+cid).append("
  • ") }); }); } $("#replay"+cid+" .loadrep").hide(); $("#replay"+cid+" .cparent_id").val(cid); $("#replay"+cid+" input").removeAttr('disabled'); $("#replay"+cid+" .message").html("").hide(); $("#replay"+cid+" form").attr({"id":"sendcomment"+cid,"onsubmit":"sendcomment("+cid+"); return false"}); $("#clrep"+cid).attr("onclick","rem_replayc("+cid+","+child+")"); } } function rem_replayc(cid,child){ $("#replay"+cid).hide(); $("#clrep"+cid).attr("onclick","replayc("+cid+","+child+")"); } function report(cid){ if (confirm('Anda yakin melaporkan ini?')) { $.getJSON("http://www.tribunnews.com/ajax/report?callback=?", {type: 'comment',id: cid}, function(data) { alert(data.respon); }); } }

    Atas


    Anda sedang membaca artikel tentang

    Taman Labuai Pekanbaru Berantakan dan Kumuh

    Dengan url

    http://pakanbarupos.blogspot.com/2014/01/taman-labuai-pekanbaru-berantakan-dan.html

    Anda boleh menyebar luaskannya atau mengcopy paste-nya

    Taman Labuai Pekanbaru Berantakan dan Kumuh

    namun jangan lupa untuk meletakkan link

    Taman Labuai Pekanbaru Berantakan dan Kumuh

    sebagai sumbernya

    0 komentar:

    Posting Komentar

    techieblogger.com Techie Blogger Techie Blogger