Kalangan Pemilik Usaha Keluhkan Pemadaman Listrik

Written By Unknown on Sabtu, 27 Juli 2013 | 12.47

Kamis, 1 Januari 1970 07:00 WIB

Komentar

"); $("#totalcomment").html(data.total); $("#comment_total_input").val(data.total); $.getJSON("http://www.tribunnews.com/ajax/get_comment?callback=?", {type: 'articles',id: '',tn_id: '9',start : '0'}, function(data) { $("#loadrep").remove(); var sort = 0; $.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 = "And menyukai ini-"+val.like+" orang"; else like = "Suka-"+val.like+" orang"; } else { like = "Suka"; } $("#commentins").append("
  • "+val.comment+"

    "+child+like+"

  • "); sort = sort + 1; }); var totalc = parseInt($("#totalcomment").html()); if(sort Tampilkan lainnya
    '); }); } }); }); 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); idform.children(".button").attr('disabled', 'disabled'); idform.children(".loading").html("").show(); $.getJSON("http://www.tribunnews.com/ajax/send_comment?callback=?", $("#sendcomment"+cid).serialize(), function(data) { if(data.status == '1') { idform.children(".message").show().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 { idform.children(".message").show().html(data.status); idform.children(".button").removeAttr('disabled'); } idform.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("") $("#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+" .loading").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+")"); }

    Atas


    Anda sedang membaca artikel tentang

    Kalangan Pemilik Usaha Keluhkan Pemadaman Listrik

    Dengan url

    http://pakanbarupos.blogspot.com/2013/07/kalangan-pemilik-usaha-keluhkan.html

    Anda boleh menyebar luaskannya atau mengcopy paste-nya

    Kalangan Pemilik Usaha Keluhkan Pemadaman Listrik

    namun jangan lupa untuk meletakkan link

    Kalangan Pemilik Usaha Keluhkan Pemadaman Listrik

    sebagai sumbernya

    0 komentar:

    Posting Komentar

    techieblogger.com Techie Blogger Techie Blogger