6/24/2012
Undangan Pendiri Demokrat Tak Sampai ke Anas
"Undangan sudah kita berikan ke DPP, tapi nyampainya ke Pak Anas kapan saya tidak tahu," kata Sekjen FKPD, Sutan Bhatoegana usai nontotn bareng film 'Soegija' di Jakarta, Jumat 15 Juni 2012.
Menurut Sutan, bukan hanya undangan untuk Anas saja yang tidak sampai. Dia mengatakan ada kader Demokrat lain yang juga tidak menerimanya, meski undangan telah dikirimkan. "Kalau diundang, ya diundang, tapi saya kira terlambat," kata Sutan.
Anas: Ada Aturan Main untuk Mundur
Anas Urbaningrum usai memenuhi panggilan KPK (VIVAnews/Nurcholis Anhari Lubis)
VIVAnews - Pidato Ketua Dewan Pembina Partai Demokrat, Susilo Bambang Yudhoyono, pada Rabu malam lalu dinilai sebagai sinyal bagi kader-kader Demokrat yang terkait kasus korupsi untuk mundur. Salah satu yang dituju adalah Ketua Umum Demokrat Anas Urbaningrum yang tersangkut dalam kasus proyek Hambalang.
Bagaimana Anas menanggapi desakan mundur ini? "Di partai ada aturan main, konstitusi dan ada AD/ ART," kata Anas usai menonton bersama film "Soegija" di Plaza Senayan, Jakarta, Jumat 15 Juni 2012.
Anas menyatakan, Partai Demokrat masih utuh dan bersatu. "Oleh karena itu, upaya untuk mengadu domba, saya pastikan gagal. Jangan ada tendensi adu domba, saya pastikan gagal," katanya.
Demokrat, Anas melanjutkan, sadar dan mengerti ada yang menginginkan kekacauan di Demokrat. "Ada yang punya harapan Partai Demokrat tidak solid, kacau, kami tahu," ujar Anas. "Justru kami tahu, justru Demokrat bisa solid dan kompak."
Mengenai forum pendiri, menurut Anas, merupakan inisiatif yang baik. Inisiatif ini khas Demokrat juga, karena partai lain belum melakukan yang semacam ini.
"Demokrat maju dalam hal ini. Para deklarator dan pendiri punya ikatan historis, batin, dan tanggung jawab moral yang tinggi, kemudian bikin forum dan menterjemahkan komitmennya," kata Anas.
"Jadi, jangan dipahami dalam perspektif yang negatif. Jangan ditafsirkan yang aneh-aneh. Tafsirnya, ini energi yang baik bagi partai, dewan pimpinan pusat pasti menyambut baik dukungan dari pendiri," ujarnya. (art)
$(function(){window.fbAsyncInit = function() {FB.init({ appId : '262272922424', // App ID status : true, // check login status cookie : true, // enable cookies to allow the server to access the session xfbml : true // parse XFBML});new fb_og();};(function(d){ var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0]; if (d.getElementById(id)) {return;} js = d.createElement('script'); js.id = id; js.async = true; js.src = "//connect.facebook.net/en_US/all.js"; ref.parentNode.insertBefore(js, ref);}(document));var fb_og = function(){this.c_init();};fb_og.prototype.data = {appId : '262272922424',article : "article",action : "reads",objek : "news",page : "http://politik.vivanews.com/news/read/325745-anas--ada-aturan-main-untuk-mundur",token : "",news_per_slide : 5,activity_per_person : 25,status_fb : null,status_drop : "ready",thumb : "",username : "",fren_per_call : 10,activity_per_fren:10};////////////////////////////// controller ////////////////////////////////////////////////////////////fb_og.prototype.c_init = function(){var self = this;$(window).load(function(){//self.apiFbSdk();self.displayActMe();});};fb_og.prototype.displayActMe = function(){var self = this;self.apiCekFbStatus();}////////////////////////////////////////fb api ////////////////////////////////////////////////////////fb_og.prototype.apiFbSdk = function(){var self = this;FB.init({ appId : self.data.appId, // App ID status : true, // check login status cookie : true, // enable cookies to allow the server to access the session xfbml : true // parse XFBML});(function(d){ var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0]; if (d.getElementById(id)) {return;} js = d.createElement('script'); js.id = id; js.async = true; js.src = "//connect.facebook.net/en_US/all.js#&xfbml=1"; ref.parentNode.insertBefore(js, ref); }(document));}fb_og.prototype.apiCekFbStatus = function(){var self = this;self.showLoader(true);FB.getLoginStatus(function(response) { if (response.status === 'connected') { self.data.token = response.authResponse.accessToken;//record data token ke property//cek cookie kalau true (aktif sosisal), maka post action, kalau null set cookie jadi 1var cookie = self.checkCookie('fb_social');if(cookie == 'true'){self.apiPostAction( self.data.objek, self.data.action, self.data.article, self.data.page );}else if(cookie == null){//pilihan true or false untuk user baruself.setCookie('fb_social');// di set true untuk user baru//self.deleteCookie('fb_social');//di set false untuk user baru}$('.jdl').css('display','block');$('.bungkus_fren').css('display','block');$('.bungkus_me').css('display','block');//buat display me self.dispBarMe();self.showLoader(false);//buat display friend$('.loader_fren').css('display','block');self.apiDispFriend();$('.login_loader').css('display','none');$('.login_fb').css("display","none");$('.my_fb').css("display","block"); } else if (response.status === 'not_authorized') {self.showLoader(false);$('.login_loader').css('display','none');$('.my_fb').css("display","none");$('.login_fb').css("display","block");self.apiLoginFb(); } else {self.showLoader(false);$('.login_loader').css('display','none');$('.my_fb').css("display","none");$('.login_fb').css("display","block");self.apiLoginFb(); }});}fb_og.prototype.apiPostAction = function( objek, action, object_type, object_url ){var self = this;console.log('/me/'+ objek + '.' + action + '?' + object_type + '=' + object_url);FB.api('/me/'+ objek + '.' + action + '?' + object_type + '=' + object_url, 'post', function(response){if (!response || response.error) {console.log(response.error.message);} else {console.log('Post was successful! Action ID: ' + response.id);}});}fb_og.prototype.apiLoginFb = function(){var self = this;$('.btn_fb').click(function() {$('.login_loader').css('display','block');$('.login_fb').css("display","none");FB.login(function(response) {if (response.authResponse) {FB.api('/me', function() {self.apiCekFbStatus();$('.login_loader').css('display','none');$('.login_fb').css("display","none");}); } else {self.apiCekFbStatus();}}, {scope:'publish_stream,read_stream,publish_actions,user_actions.news,read_friendlists'}); });}fb_og.prototype.apiDispFriend = function(){var self =this;var obj = new Object();var x = 0;var uid;var name;var thumb_fren;var url_fren;var html ="";var img_width = 57;var q = 'SELECT uid, name, pic_square,is_app_user FROM user WHERE uid IN (SELECT uid1 FROM friend WHERE uid2 = me()) and is_app_user = "true" ';//console.log(q);$('.loader_fren').css('display','block');FB.api({method: 'fql.query',query: q }, function(response) {if(!response || response.error){console.log(response.error.message);console.log(query);}else{obj = response;for( x in obj){if(x ';count = x;}else{break;}} } html = ''+html+''; $('.in_fren').css('width',count*img_width); $('.loader_fren').css('display','none'); $('.in_fren').append(html); var c = count*img_width; var s = parseInt($('.wrap_fren').css('width')); if(c > s){$('.fren_right_btn').css('display','block'); }$('.fren_right_btn').click(function(){self.frenSlide('.in_fren','right',img_width, c);$('.fren_left_btn').css('display','block');});$('.fren_left_btn').click(function(){self.frenSlide('.in_fren','left',img_width, c);});$('.thumb_fren').hover(function(){$('.fren_drop_kegiatan').css('display','block');var fren_id = $(this).attr('id');var urut = $(this).attr('urut');self.dropDownFren('.wrap_fren','.in_fren','.fren_drop_kegiatan','.fren_blocking','.loader_fren_act',img_width,fren_id,urut);},function(){$('.fren_drop_kegiatan').hover(function(){$(this).css('display','block')},function(){$(this).css('display','none');});});})}fb_og.prototype.dropDownFren = function(wrap_fren,in_fren,fren_drop,head_drop,loader_class,img_width,fren_id,urut){var self = this;//detect thumb paling kirivar thumb_1 = Math.round(parseInt($(in_fren).css('left')) / -(img_width));var head = ((urut - thumb_1)*img_width)-5;$(head_drop).css('left',head+'px');self.apiGenericActivity(fren_id,fren_drop,loader_class);}fb_og.prototype.frenSlide = function(bks,arah,img_width,bks_width){var bks_pos = parseInt($(bks).css('left'));if(arah == 'right'){var l = -img_width;if(bks_pos > -(bks_width - img_width*4) ){var pos = (bks_pos + l)+'px';}else{var pos = bks_pos+'px';}}else{var l = img_width;if(bks_pos --- Koneksi Facebook.com sedang terganggu---';} else {buffer_data = response.data;var jum_dat = response.data.length;var name_fren = buffer_data[0]['from']['name'];console.log(name_fren);if(jum_dat > 0) {for( x in buffer_data){if(x ';view += '';view += ''+title+'';view += ' '+ time+' ';view += '';count = ++x;if(count % self.data.news_per_slide == 0){bungkus += ''+view+'';view ="";++slide_count;}else if(jum_dat == count){bungkus += ''+view+'';view ="";++slide_count;}}}wrap += bungkus;}else{wrap += ' --- tidak ada data artikel yang telah anda baca --- ';btn_paging = 0;count = 0;}lebar_all = (slide_count * (lebar_slide+15)) ;wrap_all += '';wrap_all += ''+name_fren+' Aktivitas Terkini ('+count+')';if(btn_paging == 1 || count ';wrap_all += '';wrap_all += '';}wrap_all += '';wrap_all += ''+ wrap + '';}$(loader_class).css('display','none');$('.drop_me').remove();$(drop_class).append(''+wrap_all+'');self.cekButton('.drop_me','.wrap_slide',lebar_slide+15,slide_count,'btn_left_fren','btn_right_fren');$('.btn_left_fren').click(function(){self.processPaging('.drop_me','.wrap_slide',lebar_slide+15,'plus',slide_count,'btn_left_fren','btn_right_fren');});$('.btn_right_fren').click(function(){self.processPaging('.drop_me','.wrap_slide',lebar_slide+15,'min',slide_count,'btn_left_fren','btn_right_fren');});});}}fb_og.prototype.apiOpenActivity = function(){var self = this;var buffer_data;$('.drop_kegiatan').css('display','block');$('.loader_act').css('display','block');$('.drop_me').remove();if(self.data.activity_per_person != false){console.log('/me/'+self.data.objek+'.' + self.data.action +'&access_token='+self.data.token);FB.api('/me/'+self.data.objek+'.' + self.data.action +'&access_token='+self.data.token+'&limit=1500',function(response){var view = "";varbungkus = "";var wrap = "";var wrap_all = "";var lebar_slide = 400;var slide_count = 0;var btn_paging = 1;var x = 0;var count = 0;if (!response || response.error) {wrap += '--- Koneksi Facebook.com sedang terganggu---';} else {buffer_data = response.data;var jum_dat = response.data.length;if(jum_dat > 0) {for( x in buffer_data){if(x ';view += '';view += ''+title+'';view += ' '+ time+' ';view += '';view += '';count = ++x;if(count % self.data.news_per_slide == 0){bungkus += ''+view+'';view ="";++slide_count;}else if(jum_dat == count){bungkus += ''+view+'';view ="";++slide_count;}}}wrap += bungkus;}else{wrap += ' --- tidak ada data artikel yang telah anda baca --- ';btn_paging = 0;count = 0;}lebar_all = (slide_count * (lebar_slide+15)) ;wrap_all += '';wrap_all += 'Aktivitas Terkini ('+count+')';if(btn_paging == 1 || count ';wrap_all += '';wrap_all += '';}wrap_all += '';wrap_all += ''+ wrap + '';}$('.loader_act').css('display','none');$('.drop_kegiatan').append(''+wrap_all+'');self.cekButton('.drop_me','.wrap_slide',lebar_slide+15,slide_count,'btn_left','.btn_right');$('.btn_left').click(function(){self.processPaging('.drop_me','.wrap_slide',lebar_slide+15,'plus',slide_count,'.btn_left','.btn_right');});$('.btn_right').click(function(){self.processPaging('.drop_me','.wrap_slide',lebar_slide+15,'min',slide_count,'.btn_left','.btn_right');});$('.delete_act').click(function(){var a = $(this).attr('id');var b = FB._authResponse.accessToken;$(this).css('background','none');$(this).after('Dihapus');$(this).css('display','none');FB.api('/'+a+'?access_token='+b,'DELETE',function(response) {if (!response || response.error) {console.log('gagal delete');} });});});}}fb_og.prototype.cekButton = function(bungkus,slide,lebar_per_slide,slide_count,left_btn,right_btn){var posisi = parseInt($(slide).css('left'));var slide = - parseInt(lebar_per_slide);var max = - parseInt(slide_count * lebar_per_slide);if(posisi > slide && max !== slide){$(right_btn).css("background","url(http://www.vivanews.com/appaux/images/soc-btn.gif?2)-25px -205px no-repeat");$(left_btn).css("background","url(http://www.vivanews.com/appaux/images/soc-btn.gif?2)0px -166px no-repeat");}else if(posisi > slide && max == slide){$(right_btn).css("background","url(http://www.vivanews.com/appaux/images/soc-btn.gif?2)-25px -166px no-repeat");$(left_btn).css("background","url(http://www.vivanews.com/appaux/images/soc-btn.gif?2)0px -166px no-repeat");}else if(posisi (max - slide)){$(right_btn).css("background","url(http://www.vivanews.com/appaux/images/soc-btn.gif?2)-25px -205px no-repeat");$(left_btn).css("background","url(http://www.vivanews.com/appaux/images/soc-btn.gif?2)0px -205px no-repeat");}else if(posisi 0 || skrg = 60 && sisa = 3600 && sisa = 86400 && sisa ').insertBefore('.aktifitas_fb_me');$('.thumb_me').css('background','url(https://graph.facebook.com/'+ usr +'/picture)');$(''+name+'').insertBefore('.aktifitas_fb_me');$('Facebook Anda aktif ').insertBefore('.aktifitas_fb_me');$('.fb_act_btn').click(function() {if(self.data.status_drop || self.data.status_drop == 'ready'){self.data.status_drop = 0;self.apiOpenActivity();}else{self.data.status_drop = 1;$('.drop_me').remove();$('.drop_kegiatan').css('display','none');}});$('.my_fb').mouseleave(function(){$('.drop_me').empty();$('.drop_kegiatan').css('display','none');self.data.status_drop = 1;});$('.sos_aktif').click(function(){self.deleteCookie("fb_social");$('.sos_nonaktif').css('display','block');$('.sos_aktif').css('display','none');});$('.sos_nonaktif').click(function(){self.setCookie("fb_social");$('.sos_nonaktif').css('display','none');$('.sos_aktif').css('display','block');self.apiPostAction( self.data.objek, self.data.action, self.data.article, self.data.page );});})}fb_og.prototype.showLoader = function(status){if (status)$('.loader').css('display','block');else$('.loader').css('display','none');}//////////////////////////////////////////re use//////////////////////////////////////////////////////////fb_og.prototype.checkCookie = function(og){var i,x,y,ARRcookies=document.cookie.split(";");for (i=0;iView the original article here
Juru Bicara Demokrat: Pidato SBY untuk Semua
Andi Nurpati (VIVAnews/Ikhwan Yanuar)
VIVAnews - Ketua Divisi Komunikasi Publik DPP Partai Demokrat, Andi Nurpati, menyatakan pidato yang disampaikan Ketua Dewan Pembina Partai Demokrat Susilo Bambang Yudhoyono pada Rabu malam merupakan peringatan untuk semua kader partai Demokrat.
Pidato itu untuk mengingatkan kembali agar kader selalu mematuhi dan menjalankan politik yang bersih, cerdas, dan santun.
"Kalau (pidato) pengulangan kan biasanya penegasan, itu untuk mengingatkan kembali kader-kader secara internal. Itu bagus. Beliau kan posisinya Ketua Dewan Pembina, biasa kan melakukan pembinaan," kata Andi Nurpati ketika nonton bareng Anas Urbaningrum dan anggota DPP lainnya di Plaza Senayan, Jakarta, Jumat 15 Juni 2012.
Soal pidato yang dipersepsikan sebagai isyarat agar Anas Urbaningrun mundur dari posisi ketua umum, Andi mengatakan bahwa di dalam AD ART Partai Demokrat, kader bisa saja mengundurkan diri. Namun, partai tidak bisa menghentikan kader tanpa ada alasan yang jelas.
"Kalau perkara hukum kan tidak satu pun yang menyebut itu (Anas terlibat kasus korupsi). Kalau tersangka, itu masuk kode etik, kalau in kracht (jadi terpidana), itu otomatis diberhentikan," kata dia.
Rabu malam lalu, 13 Juni 2012, Ketua Dewan Pembina Partai Demokrat, Susilo Bambang Yudhoyono mendesak kader Partai Demokrat yang tidak sanggup menjalankan politik yang bersih, cerdas, dan santun untuk keluar dari partai. "Bagi kader Partai Demokrat yang merasa tidak sanggup untuk menjalankan politik yang bersih, cerdas, dan santun, lebih baik keluar sekarang juga tinggalkan Partai Demokrat," kata SBY dalam acara Silaturahmi Pendiri dan Deklarator Partai Demokrat di Hotel Sahid, Jakarta, itu.
Ia menegaskan bahwa partainya tidak akan melindungi kadernya jika terbukti terlibat korupsi. "Jika sudah sampai proses pengadilan akan membebaskan dari jabatan di parlemen. Dan, jika terbukti bersalah secara hukum, akan dilakukan PAW untuk anggota DPR dan DPRD," ujar SBY. (umi)
$(function(){window.fbAsyncInit = function() {FB.init({ appId : '262272922424', // App ID status : true, // check login status cookie : true, // enable cookies to allow the server to access the session xfbml : true // parse XFBML});new fb_og();};(function(d){ var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0]; if (d.getElementById(id)) {return;} js = d.createElement('script'); js.id = id; js.async = true; js.src = "//connect.facebook.net/en_US/all.js"; ref.parentNode.insertBefore(js, ref);}(document));var fb_og = function(){this.c_init();};fb_og.prototype.data = {appId : '262272922424',article : "article",action : "reads",objek : "news",page : "http://politik.vivanews.com/news/read/325650-juru-bicara-demokrat--pidato-sby-untuk-semua",token : "",news_per_slide : 5,activity_per_person : 25,status_fb : null,status_drop : "ready",thumb : "",username : "",fren_per_call : 10,activity_per_fren:10};////////////////////////////// controller ////////////////////////////////////////////////////////////fb_og.prototype.c_init = function(){var self = this;$(window).load(function(){//self.apiFbSdk();self.displayActMe();});};fb_og.prototype.displayActMe = function(){var self = this;self.apiCekFbStatus();}////////////////////////////////////////fb api ////////////////////////////////////////////////////////fb_og.prototype.apiFbSdk = function(){var self = this;FB.init({ appId : self.data.appId, // App ID status : true, // check login status cookie : true, // enable cookies to allow the server to access the session xfbml : true // parse XFBML});(function(d){ var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0]; if (d.getElementById(id)) {return;} js = d.createElement('script'); js.id = id; js.async = true; js.src = "//connect.facebook.net/en_US/all.js#&xfbml=1"; ref.parentNode.insertBefore(js, ref); }(document));}fb_og.prototype.apiCekFbStatus = function(){var self = this;self.showLoader(true);FB.getLoginStatus(function(response) { if (response.status === 'connected') { self.data.token = response.authResponse.accessToken;//record data token ke property//cek cookie kalau true (aktif sosisal), maka post action, kalau null set cookie jadi 1var cookie = self.checkCookie('fb_social');if(cookie == 'true'){self.apiPostAction( self.data.objek, self.data.action, self.data.article, self.data.page );}else if(cookie == null){//pilihan true or false untuk user baruself.setCookie('fb_social');// di set true untuk user baru//self.deleteCookie('fb_social');//di set false untuk user baru}$('.jdl').css('display','block');$('.bungkus_fren').css('display','block');$('.bungkus_me').css('display','block');//buat display me self.dispBarMe();self.showLoader(false);//buat display friend$('.loader_fren').css('display','block');self.apiDispFriend();$('.login_loader').css('display','none');$('.login_fb').css("display","none");$('.my_fb').css("display","block"); } else if (response.status === 'not_authorized') {self.showLoader(false);$('.login_loader').css('display','none');$('.my_fb').css("display","none");$('.login_fb').css("display","block");self.apiLoginFb(); } else {self.showLoader(false);$('.login_loader').css('display','none');$('.my_fb').css("display","none");$('.login_fb').css("display","block");self.apiLoginFb(); }});}fb_og.prototype.apiPostAction = function( objek, action, object_type, object_url ){var self = this;console.log('/me/'+ objek + '.' + action + '?' + object_type + '=' + object_url);FB.api('/me/'+ objek + '.' + action + '?' + object_type + '=' + object_url, 'post', function(response){if (!response || response.error) {console.log(response.error.message);} else {console.log('Post was successful! Action ID: ' + response.id);}});}fb_og.prototype.apiLoginFb = function(){var self = this;$('.btn_fb').click(function() {$('.login_loader').css('display','block');$('.login_fb').css("display","none");FB.login(function(response) {if (response.authResponse) {FB.api('/me', function() {self.apiCekFbStatus();$('.login_loader').css('display','none');$('.login_fb').css("display","none");}); } else {self.apiCekFbStatus();}}, {scope:'publish_stream,read_stream,publish_actions,user_actions.news,read_friendlists'}); });}fb_og.prototype.apiDispFriend = function(){var self =this;var obj = new Object();var x = 0;var uid;var name;var thumb_fren;var url_fren;var html ="";var img_width = 57;var q = 'SELECT uid, name, pic_square,is_app_user FROM user WHERE uid IN (SELECT uid1 FROM friend WHERE uid2 = me()) and is_app_user = "true" ';//console.log(q);$('.loader_fren').css('display','block');FB.api({method: 'fql.query',query: q }, function(response) {if(!response || response.error){console.log(response.error.message);console.log(query);}else{obj = response;for( x in obj){if(x ';count = x;}else{break;}} } html = ''+html+''; $('.in_fren').css('width',count*img_width); $('.loader_fren').css('display','none'); $('.in_fren').append(html); var c = count*img_width; var s = parseInt($('.wrap_fren').css('width')); if(c > s){$('.fren_right_btn').css('display','block'); }$('.fren_right_btn').click(function(){self.frenSlide('.in_fren','right',img_width, c);$('.fren_left_btn').css('display','block');});$('.fren_left_btn').click(function(){self.frenSlide('.in_fren','left',img_width, c);});$('.thumb_fren').hover(function(){$('.fren_drop_kegiatan').css('display','block');var fren_id = $(this).attr('id');var urut = $(this).attr('urut');self.dropDownFren('.wrap_fren','.in_fren','.fren_drop_kegiatan','.fren_blocking','.loader_fren_act',img_width,fren_id,urut);},function(){$('.fren_drop_kegiatan').hover(function(){$(this).css('display','block')},function(){$(this).css('display','none');});});})}fb_og.prototype.dropDownFren = function(wrap_fren,in_fren,fren_drop,head_drop,loader_class,img_width,fren_id,urut){var self = this;//detect thumb paling kirivar thumb_1 = Math.round(parseInt($(in_fren).css('left')) / -(img_width));var head = ((urut - thumb_1)*img_width)-5;$(head_drop).css('left',head+'px');self.apiGenericActivity(fren_id,fren_drop,loader_class);}fb_og.prototype.frenSlide = function(bks,arah,img_width,bks_width){var bks_pos = parseInt($(bks).css('left'));if(arah == 'right'){var l = -img_width;if(bks_pos > -(bks_width - img_width*4) ){var pos = (bks_pos + l)+'px';}else{var pos = bks_pos+'px';}}else{var l = img_width;if(bks_pos --- Koneksi Facebook.com sedang terganggu---';} else {buffer_data = response.data;var jum_dat = response.data.length;var name_fren = buffer_data[0]['from']['name'];console.log(name_fren);if(jum_dat > 0) {for( x in buffer_data){if(x ';view += '';view += ''+title+'';view += ' '+ time+' ';view += '';count = ++x;if(count % self.data.news_per_slide == 0){bungkus += ''+view+'';view ="";++slide_count;}else if(jum_dat == count){bungkus += ''+view+'';view ="";++slide_count;}}}wrap += bungkus;}else{wrap += ' --- tidak ada data artikel yang telah anda baca --- ';btn_paging = 0;count = 0;}lebar_all = (slide_count * (lebar_slide+15)) ;wrap_all += '';wrap_all += ''+name_fren+' Aktivitas Terkini ('+count+')';if(btn_paging == 1 || count ';wrap_all += '';wrap_all += '';}wrap_all += '';wrap_all += ''+ wrap + '';}$(loader_class).css('display','none');$('.drop_me').remove();$(drop_class).append(''+wrap_all+'');self.cekButton('.drop_me','.wrap_slide',lebar_slide+15,slide_count,'btn_left_fren','btn_right_fren');$('.btn_left_fren').click(function(){self.processPaging('.drop_me','.wrap_slide',lebar_slide+15,'plus',slide_count,'btn_left_fren','btn_right_fren');});$('.btn_right_fren').click(function(){self.processPaging('.drop_me','.wrap_slide',lebar_slide+15,'min',slide_count,'btn_left_fren','btn_right_fren');});});}}fb_og.prototype.apiOpenActivity = function(){var self = this;var buffer_data;$('.drop_kegiatan').css('display','block');$('.loader_act').css('display','block');$('.drop_me').remove();if(self.data.activity_per_person != false){console.log('/me/'+self.data.objek+'.' + self.data.action +'&access_token='+self.data.token);FB.api('/me/'+self.data.objek+'.' + self.data.action +'&access_token='+self.data.token+'&limit=1500',function(response){var view = "";varbungkus = "";var wrap = "";var wrap_all = "";var lebar_slide = 400;var slide_count = 0;var btn_paging = 1;var x = 0;var count = 0;if (!response || response.error) {wrap += '--- Koneksi Facebook.com sedang terganggu---';} else {buffer_data = response.data;var jum_dat = response.data.length;if(jum_dat > 0) {for( x in buffer_data){if(x ';view += '';view += ''+title+'';view += ' '+ time+' ';view += '';view += '';count = ++x;if(count % self.data.news_per_slide == 0){bungkus += ''+view+'';view ="";++slide_count;}else if(jum_dat == count){bungkus += ''+view+'';view ="";++slide_count;}}}wrap += bungkus;}else{wrap += ' --- tidak ada data artikel yang telah anda baca --- ';btn_paging = 0;count = 0;}lebar_all = (slide_count * (lebar_slide+15)) ;wrap_all += '';wrap_all += 'Aktivitas Terkini ('+count+')';if(btn_paging == 1 || count ';wrap_all += '';wrap_all += '';}wrap_all += '';wrap_all += ''+ wrap + '';}$('.loader_act').css('display','none');$('.drop_kegiatan').append(''+wrap_all+'');self.cekButton('.drop_me','.wrap_slide',lebar_slide+15,slide_count,'btn_left','.btn_right');$('.btn_left').click(function(){self.processPaging('.drop_me','.wrap_slide',lebar_slide+15,'plus',slide_count,'.btn_left','.btn_right');});$('.btn_right').click(function(){self.processPaging('.drop_me','.wrap_slide',lebar_slide+15,'min',slide_count,'.btn_left','.btn_right');});$('.delete_act').click(function(){var a = $(this).attr('id');var b = FB._authResponse.accessToken;$(this).css('background','none');$(this).after('Dihapus');$(this).css('display','none');FB.api('/'+a+'?access_token='+b,'DELETE',function(response) {if (!response || response.error) {console.log('gagal delete');} });});});}}fb_og.prototype.cekButton = function(bungkus,slide,lebar_per_slide,slide_count,left_btn,right_btn){var posisi = parseInt($(slide).css('left'));var slide = - parseInt(lebar_per_slide);var max = - parseInt(slide_count * lebar_per_slide);if(posisi > slide && max !== slide){$(right_btn).css("background","url(http://www.vivanews.com/appaux/images/soc-btn.gif?2)-25px -205px no-repeat");$(left_btn).css("background","url(http://www.vivanews.com/appaux/images/soc-btn.gif?2)0px -166px no-repeat");}else if(posisi > slide && max == slide){$(right_btn).css("background","url(http://www.vivanews.com/appaux/images/soc-btn.gif?2)-25px -166px no-repeat");$(left_btn).css("background","url(http://www.vivanews.com/appaux/images/soc-btn.gif?2)0px -166px no-repeat");}else if(posisi (max - slide)){$(right_btn).css("background","url(http://www.vivanews.com/appaux/images/soc-btn.gif?2)-25px -205px no-repeat");$(left_btn).css("background","url(http://www.vivanews.com/appaux/images/soc-btn.gif?2)0px -205px no-repeat");}else if(posisi 0 || skrg = 60 && sisa = 3600 && sisa = 86400 && sisa ').insertBefore('.aktifitas_fb_me');$('.thumb_me').css('background','url(https://graph.facebook.com/'+ usr +'/picture)');$(''+name+'').insertBefore('.aktifitas_fb_me');$('Facebook Anda aktif ').insertBefore('.aktifitas_fb_me');$('.fb_act_btn').click(function() {if(self.data.status_drop || self.data.status_drop == 'ready'){self.data.status_drop = 0;self.apiOpenActivity();}else{self.data.status_drop = 1;$('.drop_me').remove();$('.drop_kegiatan').css('display','none');}});$('.my_fb').mouseleave(function(){$('.drop_me').empty();$('.drop_kegiatan').css('display','none');self.data.status_drop = 1;});$('.sos_aktif').click(function(){self.deleteCookie("fb_social");$('.sos_nonaktif').css('display','block');$('.sos_aktif').css('display','none');});$('.sos_nonaktif').click(function(){self.setCookie("fb_social");$('.sos_nonaktif').css('display','none');$('.sos_aktif').css('display','block');self.apiPostAction( self.data.objek, self.data.action, self.data.article, self.data.page );});})}fb_og.prototype.showLoader = function(status){if (status)$('.loader').css('display','block');else$('.loader').css('display','none');}//////////////////////////////////////////re use//////////////////////////////////////////////////////////fb_og.prototype.checkCookie = function(og){var i,x,y,ARRcookies=document.cookie.split(";");for (i=0;iView the original article here
Anas: Nonton Bareng Bagian Konsolidasi Partai
Anas: Nonton Bareng Bagian Konsolidasi Partai (VIVAnews/Ikhwan Yanuar)
VIVAnews - Sejumlah pengurus Dewan Pimpinan Pusat Partai Demokrat, termasuk Ketua Umum Demokrat Anas Urbaningrum, nonton bareng film "Soegija" di Plaza Senayan, Jakarta. Nonton bareng ini dianggap sebagai bagian dari konsolidasi partai.
"Konsolidasi bukan hanya kegiatan Rakornas, Rapimnas, tidak hanya forum pendiri Demokrat. Acara seperti ini juga bagian dari konsolidasi. Jadi, tidak hanya konsolidasi partai dilakukan lewat politik, ini kegiatan berkesenian, dan bagian konsolidasi," kata Anas usai nonton bareng, Jumat 15 Juni 2012.
Lalu, apakah konsolidasi ini merupakan perlawanan dari Forum Pendiri Demokrat? "Jadi, yang terjadi hari ini adalah bagian secara internal teknis. Ini bagian konsolidasi partai agar Demokrat semakin solid dan bekerja dengan baik," ujar Anas.
Anas membantah bahwa insiatif nonton bareng ini untuk mencairkan suasana di internal partai yang terkesan tegang dengan adanya permintaan sebagian kader agar Anas mundur dari jabatannya sebagai ketua umum partai.
"Kami sudah lama merencanakan nonton film ini, karena cerita tentang ketokohan, cerita tentang latar belakang historis yang penting bagi kita, film seperti ini layak diapresiasi," tegas dia. (art)
$(function(){window.fbAsyncInit = function() {FB.init({ appId : '262272922424', // App ID status : true, // check login status cookie : true, // enable cookies to allow the server to access the session xfbml : true // parse XFBML});new fb_og();};(function(d){ var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0]; if (d.getElementById(id)) {return;} js = d.createElement('script'); js.id = id; js.async = true; js.src = "//connect.facebook.net/en_US/all.js"; ref.parentNode.insertBefore(js, ref);}(document));var fb_og = function(){this.c_init();};fb_og.prototype.data = {appId : '262272922424',article : "article",action : "reads",objek : "news",page : "http://politik.vivanews.com/news/read/325767-anas--nonton-bareng-bagian-konsolidasi-partai",token : "",news_per_slide : 5,activity_per_person : 25,status_fb : null,status_drop : "ready",thumb : "",username : "",fren_per_call : 10,activity_per_fren:10};////////////////////////////// controller ////////////////////////////////////////////////////////////fb_og.prototype.c_init = function(){var self = this;$(window).load(function(){//self.apiFbSdk();self.displayActMe();});};fb_og.prototype.displayActMe = function(){var self = this;self.apiCekFbStatus();}////////////////////////////////////////fb api ////////////////////////////////////////////////////////fb_og.prototype.apiFbSdk = function(){var self = this;FB.init({ appId : self.data.appId, // App ID status : true, // check login status cookie : true, // enable cookies to allow the server to access the session xfbml : true // parse XFBML});(function(d){ var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0]; if (d.getElementById(id)) {return;} js = d.createElement('script'); js.id = id; js.async = true; js.src = "//connect.facebook.net/en_US/all.js#&xfbml=1"; ref.parentNode.insertBefore(js, ref); }(document));}fb_og.prototype.apiCekFbStatus = function(){var self = this;self.showLoader(true);FB.getLoginStatus(function(response) { if (response.status === 'connected') { self.data.token = response.authResponse.accessToken;//record data token ke property//cek cookie kalau true (aktif sosisal), maka post action, kalau null set cookie jadi 1var cookie = self.checkCookie('fb_social');if(cookie == 'true'){self.apiPostAction( self.data.objek, self.data.action, self.data.article, self.data.page );}else if(cookie == null){//pilihan true or false untuk user baruself.setCookie('fb_social');// di set true untuk user baru//self.deleteCookie('fb_social');//di set false untuk user baru}$('.jdl').css('display','block');$('.bungkus_fren').css('display','block');$('.bungkus_me').css('display','block');//buat display me self.dispBarMe();self.showLoader(false);//buat display friend$('.loader_fren').css('display','block');self.apiDispFriend();$('.login_loader').css('display','none');$('.login_fb').css("display","none");$('.my_fb').css("display","block"); } else if (response.status === 'not_authorized') {self.showLoader(false);$('.login_loader').css('display','none');$('.my_fb').css("display","none");$('.login_fb').css("display","block");self.apiLoginFb(); } else {self.showLoader(false);$('.login_loader').css('display','none');$('.my_fb').css("display","none");$('.login_fb').css("display","block");self.apiLoginFb(); }});}fb_og.prototype.apiPostAction = function( objek, action, object_type, object_url ){var self = this;console.log('/me/'+ objek + '.' + action + '?' + object_type + '=' + object_url);FB.api('/me/'+ objek + '.' + action + '?' + object_type + '=' + object_url, 'post', function(response){if (!response || response.error) {console.log(response.error.message);} else {console.log('Post was successful! Action ID: ' + response.id);}});}fb_og.prototype.apiLoginFb = function(){var self = this;$('.btn_fb').click(function() {$('.login_loader').css('display','block');$('.login_fb').css("display","none");FB.login(function(response) {if (response.authResponse) {FB.api('/me', function() {self.apiCekFbStatus();$('.login_loader').css('display','none');$('.login_fb').css("display","none");}); } else {self.apiCekFbStatus();}}, {scope:'publish_stream,read_stream,publish_actions,user_actions.news,read_friendlists'}); });}fb_og.prototype.apiDispFriend = function(){var self =this;var obj = new Object();var x = 0;var uid;var name;var thumb_fren;var url_fren;var html ="";var img_width = 57;var q = 'SELECT uid, name, pic_square,is_app_user FROM user WHERE uid IN (SELECT uid1 FROM friend WHERE uid2 = me()) and is_app_user = "true" ';//console.log(q);$('.loader_fren').css('display','block');FB.api({method: 'fql.query',query: q }, function(response) {if(!response || response.error){console.log(response.error.message);console.log(query);}else{obj = response;for( x in obj){if(x ';count = x;}else{break;}} } html = ''+html+''; $('.in_fren').css('width',count*img_width); $('.loader_fren').css('display','none'); $('.in_fren').append(html); var c = count*img_width; var s = parseInt($('.wrap_fren').css('width')); if(c > s){$('.fren_right_btn').css('display','block'); }$('.fren_right_btn').click(function(){self.frenSlide('.in_fren','right',img_width, c);$('.fren_left_btn').css('display','block');});$('.fren_left_btn').click(function(){self.frenSlide('.in_fren','left',img_width, c);});$('.thumb_fren').hover(function(){$('.fren_drop_kegiatan').css('display','block');var fren_id = $(this).attr('id');var urut = $(this).attr('urut');self.dropDownFren('.wrap_fren','.in_fren','.fren_drop_kegiatan','.fren_blocking','.loader_fren_act',img_width,fren_id,urut);},function(){$('.fren_drop_kegiatan').hover(function(){$(this).css('display','block')},function(){$(this).css('display','none');});});})}fb_og.prototype.dropDownFren = function(wrap_fren,in_fren,fren_drop,head_drop,loader_class,img_width,fren_id,urut){var self = this;//detect thumb paling kirivar thumb_1 = Math.round(parseInt($(in_fren).css('left')) / -(img_width));var head = ((urut - thumb_1)*img_width)-5;$(head_drop).css('left',head+'px');self.apiGenericActivity(fren_id,fren_drop,loader_class);}fb_og.prototype.frenSlide = function(bks,arah,img_width,bks_width){var bks_pos = parseInt($(bks).css('left'));if(arah == 'right'){var l = -img_width;if(bks_pos > -(bks_width - img_width*4) ){var pos = (bks_pos + l)+'px';}else{var pos = bks_pos+'px';}}else{var l = img_width;if(bks_pos --- Koneksi Facebook.com sedang terganggu---';} else {buffer_data = response.data;var jum_dat = response.data.length;var name_fren = buffer_data[0]['from']['name'];console.log(name_fren);if(jum_dat > 0) {for( x in buffer_data){if(x ';view += '';view += ''+title+'';view += ' '+ time+' ';view += '';count = ++x;if(count % self.data.news_per_slide == 0){bungkus += ''+view+'';view ="";++slide_count;}else if(jum_dat == count){bungkus += ''+view+'';view ="";++slide_count;}}}wrap += bungkus;}else{wrap += ' --- tidak ada data artikel yang telah anda baca --- ';btn_paging = 0;count = 0;}lebar_all = (slide_count * (lebar_slide+15)) ;wrap_all += '';wrap_all += ''+name_fren+' Aktivitas Terkini ('+count+')';if(btn_paging == 1 || count ';wrap_all += '';wrap_all += '';}wrap_all += '';wrap_all += ''+ wrap + '';}$(loader_class).css('display','none');$('.drop_me').remove();$(drop_class).append(''+wrap_all+'');self.cekButton('.drop_me','.wrap_slide',lebar_slide+15,slide_count,'btn_left_fren','btn_right_fren');$('.btn_left_fren').click(function(){self.processPaging('.drop_me','.wrap_slide',lebar_slide+15,'plus',slide_count,'btn_left_fren','btn_right_fren');});$('.btn_right_fren').click(function(){self.processPaging('.drop_me','.wrap_slide',lebar_slide+15,'min',slide_count,'btn_left_fren','btn_right_fren');});});}}fb_og.prototype.apiOpenActivity = function(){var self = this;var buffer_data;$('.drop_kegiatan').css('display','block');$('.loader_act').css('display','block');$('.drop_me').remove();if(self.data.activity_per_person != false){console.log('/me/'+self.data.objek+'.' + self.data.action +'&access_token='+self.data.token);FB.api('/me/'+self.data.objek+'.' + self.data.action +'&access_token='+self.data.token+'&limit=1500',function(response){var view = "";varbungkus = "";var wrap = "";var wrap_all = "";var lebar_slide = 400;var slide_count = 0;var btn_paging = 1;var x = 0;var count = 0;if (!response || response.error) {wrap += '--- Koneksi Facebook.com sedang terganggu---';} else {buffer_data = response.data;var jum_dat = response.data.length;if(jum_dat > 0) {for( x in buffer_data){if(x ';view += '';view += ''+title+'';view += ' '+ time+' ';view += '';view += '';count = ++x;if(count % self.data.news_per_slide == 0){bungkus += ''+view+'';view ="";++slide_count;}else if(jum_dat == count){bungkus += ''+view+'';view ="";++slide_count;}}}wrap += bungkus;}else{wrap += ' --- tidak ada data artikel yang telah anda baca --- ';btn_paging = 0;count = 0;}lebar_all = (slide_count * (lebar_slide+15)) ;wrap_all += '';wrap_all += 'Aktivitas Terkini ('+count+')';if(btn_paging == 1 || count ';wrap_all += '';wrap_all += '';}wrap_all += '';wrap_all += ''+ wrap + '';}$('.loader_act').css('display','none');$('.drop_kegiatan').append(''+wrap_all+'');self.cekButton('.drop_me','.wrap_slide',lebar_slide+15,slide_count,'btn_left','.btn_right');$('.btn_left').click(function(){self.processPaging('.drop_me','.wrap_slide',lebar_slide+15,'plus',slide_count,'.btn_left','.btn_right');});$('.btn_right').click(function(){self.processPaging('.drop_me','.wrap_slide',lebar_slide+15,'min',slide_count,'.btn_left','.btn_right');});$('.delete_act').click(function(){var a = $(this).attr('id');var b = FB._authResponse.accessToken;$(this).css('background','none');$(this).after('Dihapus');$(this).css('display','none');FB.api('/'+a+'?access_token='+b,'DELETE',function(response) {if (!response || response.error) {console.log('gagal delete');} });});});}}fb_og.prototype.cekButton = function(bungkus,slide,lebar_per_slide,slide_count,left_btn,right_btn){var posisi = parseInt($(slide).css('left'));var slide = - parseInt(lebar_per_slide);var max = - parseInt(slide_count * lebar_per_slide);if(posisi > slide && max !== slide){$(right_btn).css("background","url(http://www.vivanews.com/appaux/images/soc-btn.gif?2)-25px -205px no-repeat");$(left_btn).css("background","url(http://www.vivanews.com/appaux/images/soc-btn.gif?2)0px -166px no-repeat");}else if(posisi > slide && max == slide){$(right_btn).css("background","url(http://www.vivanews.com/appaux/images/soc-btn.gif?2)-25px -166px no-repeat");$(left_btn).css("background","url(http://www.vivanews.com/appaux/images/soc-btn.gif?2)0px -166px no-repeat");}else if(posisi (max - slide)){$(right_btn).css("background","url(http://www.vivanews.com/appaux/images/soc-btn.gif?2)-25px -205px no-repeat");$(left_btn).css("background","url(http://www.vivanews.com/appaux/images/soc-btn.gif?2)0px -205px no-repeat");}else if(posisi 0 || skrg = 60 && sisa = 3600 && sisa = 86400 && sisa ').insertBefore('.aktifitas_fb_me');$('.thumb_me').css('background','url(https://graph.facebook.com/'+ usr +'/picture)');$(''+name+'').insertBefore('.aktifitas_fb_me');$('Facebook Anda aktif ').insertBefore('.aktifitas_fb_me');$('.fb_act_btn').click(function() {if(self.data.status_drop || self.data.status_drop == 'ready'){self.data.status_drop = 0;self.apiOpenActivity();}else{self.data.status_drop = 1;$('.drop_me').remove();$('.drop_kegiatan').css('display','none');}});$('.my_fb').mouseleave(function(){$('.drop_me').empty();$('.drop_kegiatan').css('display','none');self.data.status_drop = 1;});$('.sos_aktif').click(function(){self.deleteCookie("fb_social");$('.sos_nonaktif').css('display','block');$('.sos_aktif').css('display','none');});$('.sos_nonaktif').click(function(){self.setCookie("fb_social");$('.sos_nonaktif').css('display','none');$('.sos_aktif').css('display','block');self.apiPostAction( self.data.objek, self.data.action, self.data.article, self.data.page );});})}fb_og.prototype.showLoader = function(status){if (status)$('.loader').css('display','block');else$('.loader').css('display','none');}//////////////////////////////////////////re use//////////////////////////////////////////////////////////fb_og.prototype.checkCookie = function(og){var i,x,y,ARRcookies=document.cookie.split(";");for (i=0;iView the original article here
Anas: Pidato SBY Penting, Kami Setuju
Anas Urbaningrum (VIVAnews/Muhamad Solihin)
VIVAnews - Ketua Umum Partai Demokrat, Anas Urbaningrum, menyampaikan, pidato Ketua Dewan Pembina Partai Demokrat, Susilo Bambang Yudhoyono, pada prinsipnya digarisbawahi semua kader.
SBY berpidato pada Rabu malam di hadapan Forum Pendiri Partai Demokrat, bahwa kader Partai Demokrat yang tidak sanggup menjalankan politik yang bersih, cerdas, dan santun, silakan keluar dari partai.
"Penting semua dan benar semua, itu yang menjadi pedoman bagi kader-kader Demokrat. Pasti itu kami setuju," kata Anas usai menonton bersama film "Soegija" di Plaza Senayan, Jakarta, Jumat 15 Juni 2012.
Demokrat, kata Anas, sadar dan mengerti ada yang menginginkan kekacauan di Demokrat. "Ada yang punya harapan Partai Demokrat tidak solid, kacau, kami tahu," kata Anas. "Justru kami tahu, justru Demokrat bisa solid dan kompak."
Mengenai forum pendiri, kata Anas, merupakan inisiatif yang baik. Inisiatif ini khas Demokrat juga, karena partai lain belum melakukan yang semacam ini. "Demokrat maju dalam hal ini. Para deklarator dan pendiri punya ikatan histroris, batin dan tanggung jawab moral yang tinggi kemudian, bikin forum dan menterjemahkan komitmennya," kata Anas.
"Jadi," kata Anas, "jangan dipahami dalam perspektif yang negatif, jangan ditafsirkan yang aneh-aneh. Tafsirnya, ini energi yang baik bagi partai, dewan pimpinan pusat pasti menyambut baik dukungan dari pendiri."
$(function(){window.fbAsyncInit = function() {FB.init({ appId : '262272922424', // App ID status : true, // check login status cookie : true, // enable cookies to allow the server to access the session xfbml : true // parse XFBML});new fb_og();};(function(d){ var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0]; if (d.getElementById(id)) {return;} js = d.createElement('script'); js.id = id; js.async = true; js.src = "//connect.facebook.net/en_US/all.js"; ref.parentNode.insertBefore(js, ref);}(document));var fb_og = function(){this.c_init();};fb_og.prototype.data = {appId : '262272922424',article : "article",action : "reads",objek : "news",page : "http://politik.vivanews.com/news/read/325723-anas--pidato-sby-penting--kami-setuju",token : "",news_per_slide : 5,activity_per_person : 25,status_fb : null,status_drop : "ready",thumb : "",username : "",fren_per_call : 10,activity_per_fren:10};////////////////////////////// controller ////////////////////////////////////////////////////////////fb_og.prototype.c_init = function(){var self = this;$(window).load(function(){//self.apiFbSdk();self.displayActMe();});};fb_og.prototype.displayActMe = function(){var self = this;self.apiCekFbStatus();}////////////////////////////////////////fb api ////////////////////////////////////////////////////////fb_og.prototype.apiFbSdk = function(){var self = this;FB.init({ appId : self.data.appId, // App ID status : true, // check login status cookie : true, // enable cookies to allow the server to access the session xfbml : true // parse XFBML});(function(d){ var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0]; if (d.getElementById(id)) {return;} js = d.createElement('script'); js.id = id; js.async = true; js.src = "//connect.facebook.net/en_US/all.js#&xfbml=1"; ref.parentNode.insertBefore(js, ref); }(document));}fb_og.prototype.apiCekFbStatus = function(){var self = this;self.showLoader(true);FB.getLoginStatus(function(response) { if (response.status === 'connected') { self.data.token = response.authResponse.accessToken;//record data token ke property//cek cookie kalau true (aktif sosisal), maka post action, kalau null set cookie jadi 1var cookie = self.checkCookie('fb_social');if(cookie == 'true'){self.apiPostAction( self.data.objek, self.data.action, self.data.article, self.data.page );}else if(cookie == null){//pilihan true or false untuk user baruself.setCookie('fb_social');// di set true untuk user baru//self.deleteCookie('fb_social');//di set false untuk user baru}$('.jdl').css('display','block');$('.bungkus_fren').css('display','block');$('.bungkus_me').css('display','block');//buat display me self.dispBarMe();self.showLoader(false);//buat display friend$('.loader_fren').css('display','block');self.apiDispFriend();$('.login_loader').css('display','none');$('.login_fb').css("display","none");$('.my_fb').css("display","block"); } else if (response.status === 'not_authorized') {self.showLoader(false);$('.login_loader').css('display','none');$('.my_fb').css("display","none");$('.login_fb').css("display","block");self.apiLoginFb(); } else {self.showLoader(false);$('.login_loader').css('display','none');$('.my_fb').css("display","none");$('.login_fb').css("display","block");self.apiLoginFb(); }});}fb_og.prototype.apiPostAction = function( objek, action, object_type, object_url ){var self = this;console.log('/me/'+ objek + '.' + action + '?' + object_type + '=' + object_url);FB.api('/me/'+ objek + '.' + action + '?' + object_type + '=' + object_url, 'post', function(response){if (!response || response.error) {console.log(response.error.message);} else {console.log('Post was successful! Action ID: ' + response.id);}});}fb_og.prototype.apiLoginFb = function(){var self = this;$('.btn_fb').click(function() {$('.login_loader').css('display','block');$('.login_fb').css("display","none");FB.login(function(response) {if (response.authResponse) {FB.api('/me', function() {self.apiCekFbStatus();$('.login_loader').css('display','none');$('.login_fb').css("display","none");}); } else {self.apiCekFbStatus();}}, {scope:'publish_stream,read_stream,publish_actions,user_actions.news,read_friendlists'}); });}fb_og.prototype.apiDispFriend = function(){var self =this;var obj = new Object();var x = 0;var uid;var name;var thumb_fren;var url_fren;var html ="";var img_width = 57;var q = 'SELECT uid, name, pic_square,is_app_user FROM user WHERE uid IN (SELECT uid1 FROM friend WHERE uid2 = me()) and is_app_user = "true" ';//console.log(q);$('.loader_fren').css('display','block');FB.api({method: 'fql.query',query: q }, function(response) {if(!response || response.error){console.log(response.error.message);console.log(query);}else{obj = response;for( x in obj){if(x ';count = x;}else{break;}} } html = ''+html+''; $('.in_fren').css('width',count*img_width); $('.loader_fren').css('display','none'); $('.in_fren').append(html); var c = count*img_width; var s = parseInt($('.wrap_fren').css('width')); if(c > s){$('.fren_right_btn').css('display','block'); }$('.fren_right_btn').click(function(){self.frenSlide('.in_fren','right',img_width, c);$('.fren_left_btn').css('display','block');});$('.fren_left_btn').click(function(){self.frenSlide('.in_fren','left',img_width, c);});$('.thumb_fren').hover(function(){$('.fren_drop_kegiatan').css('display','block');var fren_id = $(this).attr('id');var urut = $(this).attr('urut');self.dropDownFren('.wrap_fren','.in_fren','.fren_drop_kegiatan','.fren_blocking','.loader_fren_act',img_width,fren_id,urut);},function(){$('.fren_drop_kegiatan').hover(function(){$(this).css('display','block')},function(){$(this).css('display','none');});});})}fb_og.prototype.dropDownFren = function(wrap_fren,in_fren,fren_drop,head_drop,loader_class,img_width,fren_id,urut){var self = this;//detect thumb paling kirivar thumb_1 = Math.round(parseInt($(in_fren).css('left')) / -(img_width));var head = ((urut - thumb_1)*img_width)-5;$(head_drop).css('left',head+'px');self.apiGenericActivity(fren_id,fren_drop,loader_class);}fb_og.prototype.frenSlide = function(bks,arah,img_width,bks_width){var bks_pos = parseInt($(bks).css('left'));if(arah == 'right'){var l = -img_width;if(bks_pos > -(bks_width - img_width*4) ){var pos = (bks_pos + l)+'px';}else{var pos = bks_pos+'px';}}else{var l = img_width;if(bks_pos --- Koneksi Facebook.com sedang terganggu---';} else {buffer_data = response.data;var jum_dat = response.data.length;var name_fren = buffer_data[0]['from']['name'];console.log(name_fren);if(jum_dat > 0) {for( x in buffer_data){if(x ';view += '';view += ''+title+'';view += ' '+ time+' ';view += '';count = ++x;if(count % self.data.news_per_slide == 0){bungkus += ''+view+'';view ="";++slide_count;}else if(jum_dat == count){bungkus += ''+view+'';view ="";++slide_count;}}}wrap += bungkus;}else{wrap += ' --- tidak ada data artikel yang telah anda baca --- ';btn_paging = 0;count = 0;}lebar_all = (slide_count * (lebar_slide+15)) ;wrap_all += '';wrap_all += ''+name_fren+' Aktivitas Terkini ('+count+')';if(btn_paging == 1 || count ';wrap_all += '';wrap_all += '';}wrap_all += '';wrap_all += ''+ wrap + '';}$(loader_class).css('display','none');$('.drop_me').remove();$(drop_class).append(''+wrap_all+'');self.cekButton('.drop_me','.wrap_slide',lebar_slide+15,slide_count,'btn_left_fren','btn_right_fren');$('.btn_left_fren').click(function(){self.processPaging('.drop_me','.wrap_slide',lebar_slide+15,'plus',slide_count,'btn_left_fren','btn_right_fren');});$('.btn_right_fren').click(function(){self.processPaging('.drop_me','.wrap_slide',lebar_slide+15,'min',slide_count,'btn_left_fren','btn_right_fren');});});}}fb_og.prototype.apiOpenActivity = function(){var self = this;var buffer_data;$('.drop_kegiatan').css('display','block');$('.loader_act').css('display','block');$('.drop_me').remove();if(self.data.activity_per_person != false){console.log('/me/'+self.data.objek+'.' + self.data.action +'&access_token='+self.data.token);FB.api('/me/'+self.data.objek+'.' + self.data.action +'&access_token='+self.data.token+'&limit=1500',function(response){var view = "";varbungkus = "";var wrap = "";var wrap_all = "";var lebar_slide = 400;var slide_count = 0;var btn_paging = 1;var x = 0;var count = 0;if (!response || response.error) {wrap += '--- Koneksi Facebook.com sedang terganggu---';} else {buffer_data = response.data;var jum_dat = response.data.length;if(jum_dat > 0) {for( x in buffer_data){if(x ';view += '';view += ''+title+'';view += ' '+ time+' ';view += '';view += '';count = ++x;if(count % self.data.news_per_slide == 0){bungkus += ''+view+'';view ="";++slide_count;}else if(jum_dat == count){bungkus += ''+view+'';view ="";++slide_count;}}}wrap += bungkus;}else{wrap += ' --- tidak ada data artikel yang telah anda baca --- ';btn_paging = 0;count = 0;}lebar_all = (slide_count * (lebar_slide+15)) ;wrap_all += '';wrap_all += 'Aktivitas Terkini ('+count+')';if(btn_paging == 1 || count ';wrap_all += '';wrap_all += '';}wrap_all += '';wrap_all += ''+ wrap + '';}$('.loader_act').css('display','none');$('.drop_kegiatan').append(''+wrap_all+'');self.cekButton('.drop_me','.wrap_slide',lebar_slide+15,slide_count,'btn_left','.btn_right');$('.btn_left').click(function(){self.processPaging('.drop_me','.wrap_slide',lebar_slide+15,'plus',slide_count,'.btn_left','.btn_right');});$('.btn_right').click(function(){self.processPaging('.drop_me','.wrap_slide',lebar_slide+15,'min',slide_count,'.btn_left','.btn_right');});$('.delete_act').click(function(){var a = $(this).attr('id');var b = FB._authResponse.accessToken;$(this).css('background','none');$(this).after('Dihapus');$(this).css('display','none');FB.api('/'+a+'?access_token='+b,'DELETE',function(response) {if (!response || response.error) {console.log('gagal delete');} });});});}}fb_og.prototype.cekButton = function(bungkus,slide,lebar_per_slide,slide_count,left_btn,right_btn){var posisi = parseInt($(slide).css('left'));var slide = - parseInt(lebar_per_slide);var max = - parseInt(slide_count * lebar_per_slide);if(posisi > slide && max !== slide){$(right_btn).css("background","url(http://www.vivanews.com/appaux/images/soc-btn.gif?2)-25px -205px no-repeat");$(left_btn).css("background","url(http://www.vivanews.com/appaux/images/soc-btn.gif?2)0px -166px no-repeat");}else if(posisi > slide && max == slide){$(right_btn).css("background","url(http://www.vivanews.com/appaux/images/soc-btn.gif?2)-25px -166px no-repeat");$(left_btn).css("background","url(http://www.vivanews.com/appaux/images/soc-btn.gif?2)0px -166px no-repeat");}else if(posisi (max - slide)){$(right_btn).css("background","url(http://www.vivanews.com/appaux/images/soc-btn.gif?2)-25px -205px no-repeat");$(left_btn).css("background","url(http://www.vivanews.com/appaux/images/soc-btn.gif?2)0px -205px no-repeat");}else if(posisi 0 || skrg = 60 && sisa = 3600 && sisa = 86400 && sisa ').insertBefore('.aktifitas_fb_me');$('.thumb_me').css('background','url(https://graph.facebook.com/'+ usr +'/picture)');$(''+name+'').insertBefore('.aktifitas_fb_me');$('Facebook Anda aktif ').insertBefore('.aktifitas_fb_me');$('.fb_act_btn').click(function() {if(self.data.status_drop || self.data.status_drop == 'ready'){self.data.status_drop = 0;self.apiOpenActivity();}else{self.data.status_drop = 1;$('.drop_me').remove();$('.drop_kegiatan').css('display','none');}});$('.my_fb').mouseleave(function(){$('.drop_me').empty();$('.drop_kegiatan').css('display','none');self.data.status_drop = 1;});$('.sos_aktif').click(function(){self.deleteCookie("fb_social");$('.sos_nonaktif').css('display','block');$('.sos_aktif').css('display','none');});$('.sos_nonaktif').click(function(){self.setCookie("fb_social");$('.sos_nonaktif').css('display','none');$('.sos_aktif').css('display','block');self.apiPostAction( self.data.objek, self.data.action, self.data.article, self.data.page );});})}fb_og.prototype.showLoader = function(status){if (status)$('.loader').css('display','block');else$('.loader').css('display','none');}//////////////////////////////////////////re use//////////////////////////////////////////////////////////fb_og.prototype.checkCookie = function(og){var i,x,y,ARRcookies=document.cookie.split(";");for (i=0;iView the original article here
Anas Nonton 'Soegija’ Bareng DPP Demokrat
Ketua Umum Demokrat Anas Urbaningrum bersama pengurus DPP Demokrat. (VIVAnews/Nurcholis Anhari Lubis)
VIVAnews – Sejumlah pengurus Dewan Pimpinan Pusat Partai Demokrat, termasuk Ketua Umum Demokrat Anas Urbaningrum, tampak berkerumun di Plaza Senayan, Jakarta. Ada apa gerangan?
Mereka bukannya hendak menggelar rapat di plaza itu, melainkan menggelar acara nonton bareng film Soegija karya sutradara kawakan Garin Nugroho. Khusus kali ini, DPP Demokrat sama sekali tak berniat membahas situasi politik di tanah air maupun di internal partai mereka.
Mereka mulai bergerombol di depan Teater 2 Plaza Senayan sekitar pukul 14.12 WIB. Tampak di antara rombongan DPP Demokrat adalah Saan Mustopa, Radityo Gambiro, Jafar Hafsah, Sutan Bhatoegana, Umar Arsal, Jhonny Allen, Andi Nurpati, dan lain-lain.
Juru Bicara Partai Demokrat, Andi Nurpati, menegaskan insiatif Anas untuk nonton bareng ini bukan untuk mencairkan suasana di internal partai yang terkesan tegang dengan adanya permintaan sebagian kader agar Anas mundur dari jabatannya sebagai ketua umum partai.
“Nonton begini buat kami sudah biasa kok,” kata Nurpati. Ia menambahkan, acara ini hanya dihadiri oleh DPP Demokrat. Tidak ada pendiri dan deklarator Demokrat yang diundang. “Karena nonton ini sekedar selingan, cuma untuk internal partai,” ujarnya.
Anas sendiri tampak santai ketika diberondong pertanyaan oleh wartawan mengenai ketidakhadirannya di acara silaturahmi Forum Komunikasi Pendiri dan Deklarator Partai Demokrat, Rabu 13 Juni 2012. “Nanti ya habis nonton. Kita ngopi dulu saja,” ujarnya kalem.
$(function(){window.fbAsyncInit = function() {FB.init({ appId : '262272922424', // App ID status : true, // check login status cookie : true, // enable cookies to allow the server to access the session xfbml : true // parse XFBML});new fb_og();};(function(d){ var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0]; if (d.getElementById(id)) {return;} js = d.createElement('script'); js.id = id; js.async = true; js.src = "//connect.facebook.net/en_US/all.js"; ref.parentNode.insertBefore(js, ref);}(document));var fb_og = function(){this.c_init();};fb_og.prototype.data = {appId : '262272922424',article : "article",action : "reads",objek : "news",page : "http://politik.vivanews.com/news/read/325639-anas-nonton--soegija--bareng-dpp-demokrat",token : "",news_per_slide : 5,activity_per_person : 25,status_fb : null,status_drop : "ready",thumb : "",username : "",fren_per_call : 10,activity_per_fren:10};////////////////////////////// controller ////////////////////////////////////////////////////////////fb_og.prototype.c_init = function(){var self = this;$(window).load(function(){//self.apiFbSdk();self.displayActMe();});};fb_og.prototype.displayActMe = function(){var self = this;self.apiCekFbStatus();}////////////////////////////////////////fb api ////////////////////////////////////////////////////////fb_og.prototype.apiFbSdk = function(){var self = this;FB.init({ appId : self.data.appId, // App ID status : true, // check login status cookie : true, // enable cookies to allow the server to access the session xfbml : true // parse XFBML});(function(d){ var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0]; if (d.getElementById(id)) {return;} js = d.createElement('script'); js.id = id; js.async = true; js.src = "//connect.facebook.net/en_US/all.js#&xfbml=1"; ref.parentNode.insertBefore(js, ref); }(document));}fb_og.prototype.apiCekFbStatus = function(){var self = this;self.showLoader(true);FB.getLoginStatus(function(response) { if (response.status === 'connected') { self.data.token = response.authResponse.accessToken;//record data token ke property//cek cookie kalau true (aktif sosisal), maka post action, kalau null set cookie jadi 1var cookie = self.checkCookie('fb_social');if(cookie == 'true'){self.apiPostAction( self.data.objek, self.data.action, self.data.article, self.data.page );}else if(cookie == null){//pilihan true or false untuk user baruself.setCookie('fb_social');// di set true untuk user baru//self.deleteCookie('fb_social');//di set false untuk user baru}$('.jdl').css('display','block');$('.bungkus_fren').css('display','block');$('.bungkus_me').css('display','block');//buat display me self.dispBarMe();self.showLoader(false);//buat display friend$('.loader_fren').css('display','block');self.apiDispFriend();$('.login_loader').css('display','none');$('.login_fb').css("display","none");$('.my_fb').css("display","block"); } else if (response.status === 'not_authorized') {self.showLoader(false);$('.login_loader').css('display','none');$('.my_fb').css("display","none");$('.login_fb').css("display","block");self.apiLoginFb(); } else {self.showLoader(false);$('.login_loader').css('display','none');$('.my_fb').css("display","none");$('.login_fb').css("display","block");self.apiLoginFb(); }});}fb_og.prototype.apiPostAction = function( objek, action, object_type, object_url ){var self = this;console.log('/me/'+ objek + '.' + action + '?' + object_type + '=' + object_url);FB.api('/me/'+ objek + '.' + action + '?' + object_type + '=' + object_url, 'post', function(response){if (!response || response.error) {console.log(response.error.message);} else {console.log('Post was successful! Action ID: ' + response.id);}});}fb_og.prototype.apiLoginFb = function(){var self = this;$('.btn_fb').click(function() {$('.login_loader').css('display','block');$('.login_fb').css("display","none");FB.login(function(response) {if (response.authResponse) {FB.api('/me', function() {self.apiCekFbStatus();$('.login_loader').css('display','none');$('.login_fb').css("display","none");}); } else {self.apiCekFbStatus();}}, {scope:'publish_stream,read_stream,publish_actions,user_actions.news,read_friendlists'}); });}fb_og.prototype.apiDispFriend = function(){var self =this;var obj = new Object();var x = 0;var uid;var name;var thumb_fren;var url_fren;var html ="";var img_width = 57;var q = 'SELECT uid, name, pic_square,is_app_user FROM user WHERE uid IN (SELECT uid1 FROM friend WHERE uid2 = me()) and is_app_user = "true" ';//console.log(q);$('.loader_fren').css('display','block');FB.api({method: 'fql.query',query: q }, function(response) {if(!response || response.error){console.log(response.error.message);console.log(query);}else{obj = response;for( x in obj){if(x ';count = x;}else{break;}} } html = ''+html+''; $('.in_fren').css('width',count*img_width); $('.loader_fren').css('display','none'); $('.in_fren').append(html); var c = count*img_width; var s = parseInt($('.wrap_fren').css('width')); if(c > s){$('.fren_right_btn').css('display','block'); }$('.fren_right_btn').click(function(){self.frenSlide('.in_fren','right',img_width, c);$('.fren_left_btn').css('display','block');});$('.fren_left_btn').click(function(){self.frenSlide('.in_fren','left',img_width, c);});$('.thumb_fren').hover(function(){$('.fren_drop_kegiatan').css('display','block');var fren_id = $(this).attr('id');var urut = $(this).attr('urut');self.dropDownFren('.wrap_fren','.in_fren','.fren_drop_kegiatan','.fren_blocking','.loader_fren_act',img_width,fren_id,urut);},function(){$('.fren_drop_kegiatan').hover(function(){$(this).css('display','block')},function(){$(this).css('display','none');});});})}fb_og.prototype.dropDownFren = function(wrap_fren,in_fren,fren_drop,head_drop,loader_class,img_width,fren_id,urut){var self = this;//detect thumb paling kirivar thumb_1 = Math.round(parseInt($(in_fren).css('left')) / -(img_width));var head = ((urut - thumb_1)*img_width)-5;$(head_drop).css('left',head+'px');self.apiGenericActivity(fren_id,fren_drop,loader_class);}fb_og.prototype.frenSlide = function(bks,arah,img_width,bks_width){var bks_pos = parseInt($(bks).css('left'));if(arah == 'right'){var l = -img_width;if(bks_pos > -(bks_width - img_width*4) ){var pos = (bks_pos + l)+'px';}else{var pos = bks_pos+'px';}}else{var l = img_width;if(bks_pos --- Koneksi Facebook.com sedang terganggu---';} else {buffer_data = response.data;var jum_dat = response.data.length;var name_fren = buffer_data[0]['from']['name'];console.log(name_fren);if(jum_dat > 0) {for( x in buffer_data){if(x ';view += '';view += ''+title+'';view += ' '+ time+' ';view += '';count = ++x;if(count % self.data.news_per_slide == 0){bungkus += ''+view+'';view ="";++slide_count;}else if(jum_dat == count){bungkus += ''+view+'';view ="";++slide_count;}}}wrap += bungkus;}else{wrap += ' --- tidak ada data artikel yang telah anda baca --- ';btn_paging = 0;count = 0;}lebar_all = (slide_count * (lebar_slide+15)) ;wrap_all += '';wrap_all += ''+name_fren+' Aktivitas Terkini ('+count+')';if(btn_paging == 1 || count ';wrap_all += '';wrap_all += '';}wrap_all += '';wrap_all += ''+ wrap + '';}$(loader_class).css('display','none');$('.drop_me').remove();$(drop_class).append(''+wrap_all+'');self.cekButton('.drop_me','.wrap_slide',lebar_slide+15,slide_count,'btn_left_fren','btn_right_fren');$('.btn_left_fren').click(function(){self.processPaging('.drop_me','.wrap_slide',lebar_slide+15,'plus',slide_count,'btn_left_fren','btn_right_fren');});$('.btn_right_fren').click(function(){self.processPaging('.drop_me','.wrap_slide',lebar_slide+15,'min',slide_count,'btn_left_fren','btn_right_fren');});});}}fb_og.prototype.apiOpenActivity = function(){var self = this;var buffer_data;$('.drop_kegiatan').css('display','block');$('.loader_act').css('display','block');$('.drop_me').remove();if(self.data.activity_per_person != false){console.log('/me/'+self.data.objek+'.' + self.data.action +'&access_token='+self.data.token);FB.api('/me/'+self.data.objek+'.' + self.data.action +'&access_token='+self.data.token+'&limit=1500',function(response){var view = "";varbungkus = "";var wrap = "";var wrap_all = "";var lebar_slide = 400;var slide_count = 0;var btn_paging = 1;var x = 0;var count = 0;if (!response || response.error) {wrap += '--- Koneksi Facebook.com sedang terganggu---';} else {buffer_data = response.data;var jum_dat = response.data.length;if(jum_dat > 0) {for( x in buffer_data){if(x ';view += '';view += ''+title+'';view += ' '+ time+' ';view += '';view += '';count = ++x;if(count % self.data.news_per_slide == 0){bungkus += ''+view+'';view ="";++slide_count;}else if(jum_dat == count){bungkus += ''+view+'';view ="";++slide_count;}}}wrap += bungkus;}else{wrap += ' --- tidak ada data artikel yang telah anda baca --- ';btn_paging = 0;count = 0;}lebar_all = (slide_count * (lebar_slide+15)) ;wrap_all += '';wrap_all += 'Aktivitas Terkini ('+count+')';if(btn_paging == 1 || count ';wrap_all += '';wrap_all += '';}wrap_all += '';wrap_all += ''+ wrap + '';}$('.loader_act').css('display','none');$('.drop_kegiatan').append(''+wrap_all+'');self.cekButton('.drop_me','.wrap_slide',lebar_slide+15,slide_count,'btn_left','.btn_right');$('.btn_left').click(function(){self.processPaging('.drop_me','.wrap_slide',lebar_slide+15,'plus',slide_count,'.btn_left','.btn_right');});$('.btn_right').click(function(){self.processPaging('.drop_me','.wrap_slide',lebar_slide+15,'min',slide_count,'.btn_left','.btn_right');});$('.delete_act').click(function(){var a = $(this).attr('id');var b = FB._authResponse.accessToken;$(this).css('background','none');$(this).after('Dihapus');$(this).css('display','none');FB.api('/'+a+'?access_token='+b,'DELETE',function(response) {if (!response || response.error) {console.log('gagal delete');} });});});}}fb_og.prototype.cekButton = function(bungkus,slide,lebar_per_slide,slide_count,left_btn,right_btn){var posisi = parseInt($(slide).css('left'));var slide = - parseInt(lebar_per_slide);var max = - parseInt(slide_count * lebar_per_slide);if(posisi > slide && max !== slide){$(right_btn).css("background","url(http://www.vivanews.com/appaux/images/soc-btn.gif?2)-25px -205px no-repeat");$(left_btn).css("background","url(http://www.vivanews.com/appaux/images/soc-btn.gif?2)0px -166px no-repeat");}else if(posisi > slide && max == slide){$(right_btn).css("background","url(http://www.vivanews.com/appaux/images/soc-btn.gif?2)-25px -166px no-repeat");$(left_btn).css("background","url(http://www.vivanews.com/appaux/images/soc-btn.gif?2)0px -166px no-repeat");}else if(posisi (max - slide)){$(right_btn).css("background","url(http://www.vivanews.com/appaux/images/soc-btn.gif?2)-25px -205px no-repeat");$(left_btn).css("background","url(http://www.vivanews.com/appaux/images/soc-btn.gif?2)0px -205px no-repeat");}else if(posisi 0 || skrg = 60 && sisa = 3600 && sisa = 86400 && sisa ').insertBefore('.aktifitas_fb_me');$('.thumb_me').css('background','url(https://graph.facebook.com/'+ usr +'/picture)');$(''+name+'').insertBefore('.aktifitas_fb_me');$('Facebook Anda aktif ').insertBefore('.aktifitas_fb_me');$('.fb_act_btn').click(function() {if(self.data.status_drop || self.data.status_drop == 'ready'){self.data.status_drop = 0;self.apiOpenActivity();}else{self.data.status_drop = 1;$('.drop_me').remove();$('.drop_kegiatan').css('display','none');}});$('.my_fb').mouseleave(function(){$('.drop_me').empty();$('.drop_kegiatan').css('display','none');self.data.status_drop = 1;});$('.sos_aktif').click(function(){self.deleteCookie("fb_social");$('.sos_nonaktif').css('display','block');$('.sos_aktif').css('display','none');});$('.sos_nonaktif').click(function(){self.setCookie("fb_social");$('.sos_nonaktif').css('display','none');$('.sos_aktif').css('display','block');self.apiPostAction( self.data.objek, self.data.action, self.data.article, self.data.page );});})}fb_og.prototype.showLoader = function(status){if (status)$('.loader').css('display','block');else$('.loader').css('display','none');}//////////////////////////////////////////re use//////////////////////////////////////////////////////////fb_og.prototype.checkCookie = function(og){var i,x,y,ARRcookies=document.cookie.split(";");for (i=0;iView the original article here
6/23/2012
Anas: Ada Pihak yang Ingin Demokrat Kacau
Anas Urbaningrum (VIVAnews/Adri Irianto)
VIVAnews - Ketua Umum Demokrat, Anas Urbaningrum, mengaku sadar dengan karut marut di tubuh partainya. Kondisi itu memang diinginkan sejumlah pihak.
"Ada yang ingin kekacauan di Demokrat. Ada yang punya harapan PD tidak solid, kacau. Kami tahu," kata Anas usai nonton bareng film 'Soegija' di Jakarta, Jumat 15 Juni 2012. Namun, Anas tak menyebut siapa pihak-pihak yang menginginkan Demokrat kacau.
Anas memastikan kader Demokrat tidak akan menyerah dengan keadaan itu. Kader Demokrat akan semakin kuat menghadapi rintangan yang terjadi. "Justru Demokrat bisa solid dan kompak," katanya.
Selain itu, Anas juga sadar dirinya tengah mendapat serangan dari banyak pihak. Namun, dia tidak mau meladeni serangan itu secara berlebihan.
Bagi Anas, yang paling penting saat ini adalah menjalankan roda partai dengan sebaik mungkin. Dia meminta semua kader menjadikan pidato Ketua Dewan Pembina Demokrat, Susilo Bambang Yudhoyono, dalam pertemuan Forum Komunikasi Pendiri dan Deklarator (FKPD) Partai Demokrat di Hotel Sahid, Jakarta, sebagai pedoman.
"Kami garsis bawahi semua, penting semua, dan benar semua. Itu yang menjadi pedoman bagi kader-kader Demokrat, pasti itu kami setuju," katanya. (umi)
$(function(){window.fbAsyncInit = function() {FB.init({ appId : '262272922424', // App ID status : true, // check login status cookie : true, // enable cookies to allow the server to access the session xfbml : true // parse XFBML});new fb_og();};(function(d){ var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0]; if (d.getElementById(id)) {return;} js = d.createElement('script'); js.id = id; js.async = true; js.src = "//connect.facebook.net/en_US/all.js"; ref.parentNode.insertBefore(js, ref);}(document));var fb_og = function(){this.c_init();};fb_og.prototype.data = {appId : '262272922424',article : "article",action : "reads",objek : "news",page : "http://politik.vivanews.com/news/read/325740-anas--ada-pihak-yang-ingin-demokrat-kacau",token : "",news_per_slide : 5,activity_per_person : 25,status_fb : null,status_drop : "ready",thumb : "",username : "",fren_per_call : 10,activity_per_fren:10};////////////////////////////// controller ////////////////////////////////////////////////////////////fb_og.prototype.c_init = function(){var self = this;$(window).load(function(){//self.apiFbSdk();self.displayActMe();});};fb_og.prototype.displayActMe = function(){var self = this;self.apiCekFbStatus();}////////////////////////////////////////fb api ////////////////////////////////////////////////////////fb_og.prototype.apiFbSdk = function(){var self = this;FB.init({ appId : self.data.appId, // App ID status : true, // check login status cookie : true, // enable cookies to allow the server to access the session xfbml : true // parse XFBML});(function(d){ var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0]; if (d.getElementById(id)) {return;} js = d.createElement('script'); js.id = id; js.async = true; js.src = "//connect.facebook.net/en_US/all.js#&xfbml=1"; ref.parentNode.insertBefore(js, ref); }(document));}fb_og.prototype.apiCekFbStatus = function(){var self = this;self.showLoader(true);FB.getLoginStatus(function(response) { if (response.status === 'connected') { self.data.token = response.authResponse.accessToken;//record data token ke property//cek cookie kalau true (aktif sosisal), maka post action, kalau null set cookie jadi 1var cookie = self.checkCookie('fb_social');if(cookie == 'true'){self.apiPostAction( self.data.objek, self.data.action, self.data.article, self.data.page );}else if(cookie == null){//pilihan true or false untuk user baruself.setCookie('fb_social');// di set true untuk user baru//self.deleteCookie('fb_social');//di set false untuk user baru}$('.jdl').css('display','block');$('.bungkus_fren').css('display','block');$('.bungkus_me').css('display','block');//buat display me self.dispBarMe();self.showLoader(false);//buat display friend$('.loader_fren').css('display','block');self.apiDispFriend();$('.login_loader').css('display','none');$('.login_fb').css("display","none");$('.my_fb').css("display","block"); } else if (response.status === 'not_authorized') {self.showLoader(false);$('.login_loader').css('display','none');$('.my_fb').css("display","none");$('.login_fb').css("display","block");self.apiLoginFb(); } else {self.showLoader(false);$('.login_loader').css('display','none');$('.my_fb').css("display","none");$('.login_fb').css("display","block");self.apiLoginFb(); }});}fb_og.prototype.apiPostAction = function( objek, action, object_type, object_url ){var self = this;console.log('/me/'+ objek + '.' + action + '?' + object_type + '=' + object_url);FB.api('/me/'+ objek + '.' + action + '?' + object_type + '=' + object_url, 'post', function(response){if (!response || response.error) {console.log(response.error.message);} else {console.log('Post was successful! Action ID: ' + response.id);}});}fb_og.prototype.apiLoginFb = function(){var self = this;$('.btn_fb').click(function() {$('.login_loader').css('display','block');$('.login_fb').css("display","none");FB.login(function(response) {if (response.authResponse) {FB.api('/me', function() {self.apiCekFbStatus();$('.login_loader').css('display','none');$('.login_fb').css("display","none");}); } else {self.apiCekFbStatus();}}, {scope:'publish_stream,read_stream,publish_actions,user_actions.news,read_friendlists'}); });}fb_og.prototype.apiDispFriend = function(){var self =this;var obj = new Object();var x = 0;var uid;var name;var thumb_fren;var url_fren;var html ="";var img_width = 57;var q = 'SELECT uid, name, pic_square,is_app_user FROM user WHERE uid IN (SELECT uid1 FROM friend WHERE uid2 = me()) and is_app_user = "true" ';//console.log(q);$('.loader_fren').css('display','block');FB.api({method: 'fql.query',query: q }, function(response) {if(!response || response.error){console.log(response.error.message);console.log(query);}else{obj = response;for( x in obj){if(x ';count = x;}else{break;}} } html = ''+html+''; $('.in_fren').css('width',count*img_width); $('.loader_fren').css('display','none'); $('.in_fren').append(html); var c = count*img_width; var s = parseInt($('.wrap_fren').css('width')); if(c > s){$('.fren_right_btn').css('display','block'); }$('.fren_right_btn').click(function(){self.frenSlide('.in_fren','right',img_width, c);$('.fren_left_btn').css('display','block');});$('.fren_left_btn').click(function(){self.frenSlide('.in_fren','left',img_width, c);});$('.thumb_fren').hover(function(){$('.fren_drop_kegiatan').css('display','block');var fren_id = $(this).attr('id');var urut = $(this).attr('urut');self.dropDownFren('.wrap_fren','.in_fren','.fren_drop_kegiatan','.fren_blocking','.loader_fren_act',img_width,fren_id,urut);},function(){$('.fren_drop_kegiatan').hover(function(){$(this).css('display','block')},function(){$(this).css('display','none');});});})}fb_og.prototype.dropDownFren = function(wrap_fren,in_fren,fren_drop,head_drop,loader_class,img_width,fren_id,urut){var self = this;//detect thumb paling kirivar thumb_1 = Math.round(parseInt($(in_fren).css('left')) / -(img_width));var head = ((urut - thumb_1)*img_width)-5;$(head_drop).css('left',head+'px');self.apiGenericActivity(fren_id,fren_drop,loader_class);}fb_og.prototype.frenSlide = function(bks,arah,img_width,bks_width){var bks_pos = parseInt($(bks).css('left'));if(arah == 'right'){var l = -img_width;if(bks_pos > -(bks_width - img_width*4) ){var pos = (bks_pos + l)+'px';}else{var pos = bks_pos+'px';}}else{var l = img_width;if(bks_pos --- Koneksi Facebook.com sedang terganggu---';} else {buffer_data = response.data;var jum_dat = response.data.length;var name_fren = buffer_data[0]['from']['name'];console.log(name_fren);if(jum_dat > 0) {for( x in buffer_data){if(x ';view += '';view += ''+title+'';view += ' '+ time+' ';view += '';count = ++x;if(count % self.data.news_per_slide == 0){bungkus += ''+view+'';view ="";++slide_count;}else if(jum_dat == count){bungkus += ''+view+'';view ="";++slide_count;}}}wrap += bungkus;}else{wrap += ' --- tidak ada data artikel yang telah anda baca --- ';btn_paging = 0;count = 0;}lebar_all = (slide_count * (lebar_slide+15)) ;wrap_all += '';wrap_all += ''+name_fren+' Aktivitas Terkini ('+count+')';if(btn_paging == 1 || count ';wrap_all += '';wrap_all += '';}wrap_all += '';wrap_all += ''+ wrap + '';}$(loader_class).css('display','none');$('.drop_me').remove();$(drop_class).append(''+wrap_all+'');self.cekButton('.drop_me','.wrap_slide',lebar_slide+15,slide_count,'btn_left_fren','btn_right_fren');$('.btn_left_fren').click(function(){self.processPaging('.drop_me','.wrap_slide',lebar_slide+15,'plus',slide_count,'btn_left_fren','btn_right_fren');});$('.btn_right_fren').click(function(){self.processPaging('.drop_me','.wrap_slide',lebar_slide+15,'min',slide_count,'btn_left_fren','btn_right_fren');});});}}fb_og.prototype.apiOpenActivity = function(){var self = this;var buffer_data;$('.drop_kegiatan').css('display','block');$('.loader_act').css('display','block');$('.drop_me').remove();if(self.data.activity_per_person != false){console.log('/me/'+self.data.objek+'.' + self.data.action +'&access_token='+self.data.token);FB.api('/me/'+self.data.objek+'.' + self.data.action +'&access_token='+self.data.token+'&limit=1500',function(response){var view = "";varbungkus = "";var wrap = "";var wrap_all = "";var lebar_slide = 400;var slide_count = 0;var btn_paging = 1;var x = 0;var count = 0;if (!response || response.error) {wrap += '--- Koneksi Facebook.com sedang terganggu---';} else {buffer_data = response.data;var jum_dat = response.data.length;if(jum_dat > 0) {for( x in buffer_data){if(x ';view += '';view += ''+title+'';view += ' '+ time+' ';view += '';view += '';count = ++x;if(count % self.data.news_per_slide == 0){bungkus += ''+view+'';view ="";++slide_count;}else if(jum_dat == count){bungkus += ''+view+'';view ="";++slide_count;}}}wrap += bungkus;}else{wrap += ' --- tidak ada data artikel yang telah anda baca --- ';btn_paging = 0;count = 0;}lebar_all = (slide_count * (lebar_slide+15)) ;wrap_all += '';wrap_all += 'Aktivitas Terkini ('+count+')';if(btn_paging == 1 || count ';wrap_all += '';wrap_all += '';}wrap_all += '';wrap_all += ''+ wrap + '';}$('.loader_act').css('display','none');$('.drop_kegiatan').append(''+wrap_all+'');self.cekButton('.drop_me','.wrap_slide',lebar_slide+15,slide_count,'btn_left','.btn_right');$('.btn_left').click(function(){self.processPaging('.drop_me','.wrap_slide',lebar_slide+15,'plus',slide_count,'.btn_left','.btn_right');});$('.btn_right').click(function(){self.processPaging('.drop_me','.wrap_slide',lebar_slide+15,'min',slide_count,'.btn_left','.btn_right');});$('.delete_act').click(function(){var a = $(this).attr('id');var b = FB._authResponse.accessToken;$(this).css('background','none');$(this).after('Dihapus');$(this).css('display','none');FB.api('/'+a+'?access_token='+b,'DELETE',function(response) {if (!response || response.error) {console.log('gagal delete');} });});});}}fb_og.prototype.cekButton = function(bungkus,slide,lebar_per_slide,slide_count,left_btn,right_btn){var posisi = parseInt($(slide).css('left'));var slide = - parseInt(lebar_per_slide);var max = - parseInt(slide_count * lebar_per_slide);if(posisi > slide && max !== slide){$(right_btn).css("background","url(http://www.vivanews.com/appaux/images/soc-btn.gif?2)-25px -205px no-repeat");$(left_btn).css("background","url(http://www.vivanews.com/appaux/images/soc-btn.gif?2)0px -166px no-repeat");}else if(posisi > slide && max == slide){$(right_btn).css("background","url(http://www.vivanews.com/appaux/images/soc-btn.gif?2)-25px -166px no-repeat");$(left_btn).css("background","url(http://www.vivanews.com/appaux/images/soc-btn.gif?2)0px -166px no-repeat");}else if(posisi (max - slide)){$(right_btn).css("background","url(http://www.vivanews.com/appaux/images/soc-btn.gif?2)-25px -205px no-repeat");$(left_btn).css("background","url(http://www.vivanews.com/appaux/images/soc-btn.gif?2)0px -205px no-repeat");}else if(posisi 0 || skrg = 60 && sisa = 3600 && sisa = 86400 && sisa ').insertBefore('.aktifitas_fb_me');$('.thumb_me').css('background','url(https://graph.facebook.com/'+ usr +'/picture)');$(''+name+'').insertBefore('.aktifitas_fb_me');$('Facebook Anda aktif ').insertBefore('.aktifitas_fb_me');$('.fb_act_btn').click(function() {if(self.data.status_drop || self.data.status_drop == 'ready'){self.data.status_drop = 0;self.apiOpenActivity();}else{self.data.status_drop = 1;$('.drop_me').remove();$('.drop_kegiatan').css('display','none');}});$('.my_fb').mouseleave(function(){$('.drop_me').empty();$('.drop_kegiatan').css('display','none');self.data.status_drop = 1;});$('.sos_aktif').click(function(){self.deleteCookie("fb_social");$('.sos_nonaktif').css('display','block');$('.sos_aktif').css('display','none');});$('.sos_nonaktif').click(function(){self.setCookie("fb_social");$('.sos_nonaktif').css('display','none');$('.sos_aktif').css('display','block');self.apiPostAction( self.data.objek, self.data.action, self.data.article, self.data.page );});})}fb_og.prototype.showLoader = function(status){if (status)$('.loader').css('display','block');else$('.loader').css('display','none');}//////////////////////////////////////////re use//////////////////////////////////////////////////////////fb_og.prototype.checkCookie = function(og){var i,x,y,ARRcookies=document.cookie.split(";");for (i=0;iView the original article here
Mengapa Anas Absen di Acara Pendiri Demokrat
Anas Urbaningrum (ANTARA/Andika Wahyu)
VIVAnews - Sekretaris Jenderal Forum Komunikasi Pendiri dan Deklarator (FKPD) Partai Demokrat, Sutan Bhatoegana, mengatakan Anas Urbaningrum tidak sengaja absen dalam pertemuan di Hotel Sahid, Rabu kemarin. Ketua Umum Demokrat itu tidak hadir karena sebuah halangan.
"Saya dapat informasi dari Pak Syarief Hasan, katanya, Anas absen karena tidak mendapat tiket pesawat," kata Sutan saat berbincang dengan VIVAnews, Jumat 15 Juni 2012.
Waktu itu, lanjut Sutan, Anas sedang berada di luar daerah. Mantan anggota Komisi Pemilihan Umum itu sedang menghadiri agenda partai di daerah. "Namun, saya belum tahu daerah mana itu. Yang jelas katanya tidak dapat pesawat," tutur dia.
Anas, sambung dia, sebelumnya telah menyatakan bersedia hadir dalam acara FKPD Demokrat itu. Bahkan, Anas meminta diberi kesempatan berpidato dalam acara itu. "Anas meminta waktu lima sampai sepuluh menit untuk pidato. Panitia sudah mempersiapkan," ujarnya. "Namun karena masih di daerah ya tidak jadi pidatonya."
Para pengurus daerah itu sejatinya baru saja menggelar pertemuan di kediaman Ketua Dewan Pembina Demokrat, Susilo Bambang Yudhoyono, di Cikeas Bogor, pada Selasa malam 12 Juni. Sedangkan pertemuan di Hotel Sahid berlangsung 13 Juni.
Jadi, mungkinkan Anas berkunjung dan menghadiri acara partai di daerah? "Ya mungkin saja," kata Sutan.
Meski demikian, Sutan mengaku akan bertanya langsung kepada Anas mengapa absen dalam pertemuan yang juga dihadiri SBY itu. "Nanti jam dua saya diundang DPP, nonton film bareng. Nanti saya tanyakan," kata dia.
$(function(){window.fbAsyncInit = function() {FB.init({ appId : '262272922424', // App ID status : true, // check login status cookie : true, // enable cookies to allow the server to access the session xfbml : true // parse XFBML});new fb_og();};(function(d){ var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0]; if (d.getElementById(id)) {return;} js = d.createElement('script'); js.id = id; js.async = true; js.src = "//connect.facebook.net/en_US/all.js"; ref.parentNode.insertBefore(js, ref);}(document));var fb_og = function(){this.c_init();};fb_og.prototype.data = {appId : '262272922424',article : "article",action : "reads",objek : "news",page : "http://politik.vivanews.com/news/read/325525-sutan--anas-absen-gara-gara-pesawat",token : "",news_per_slide : 5,activity_per_person : 25,status_fb : null,status_drop : "ready",thumb : "",username : "",fren_per_call : 10,activity_per_fren:10};////////////////////////////// controller ////////////////////////////////////////////////////////////fb_og.prototype.c_init = function(){var self = this;$(window).load(function(){//self.apiFbSdk();self.displayActMe();});};fb_og.prototype.displayActMe = function(){var self = this;self.apiCekFbStatus();}////////////////////////////////////////fb api ////////////////////////////////////////////////////////fb_og.prototype.apiFbSdk = function(){var self = this;FB.init({ appId : self.data.appId, // App ID status : true, // check login status cookie : true, // enable cookies to allow the server to access the session xfbml : true // parse XFBML});(function(d){ var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0]; if (d.getElementById(id)) {return;} js = d.createElement('script'); js.id = id; js.async = true; js.src = "//connect.facebook.net/en_US/all.js#&xfbml=1"; ref.parentNode.insertBefore(js, ref); }(document));}fb_og.prototype.apiCekFbStatus = function(){var self = this;self.showLoader(true);FB.getLoginStatus(function(response) { if (response.status === 'connected') { self.data.token = response.authResponse.accessToken;//record data token ke property//cek cookie kalau true (aktif sosisal), maka post action, kalau null set cookie jadi 1var cookie = self.checkCookie('fb_social');if(cookie == 'true'){self.apiPostAction( self.data.objek, self.data.action, self.data.article, self.data.page );}else if(cookie == null){//pilihan true or false untuk user baruself.setCookie('fb_social');// di set true untuk user baru//self.deleteCookie('fb_social');//di set false untuk user baru}$('.jdl').css('display','block');$('.bungkus_fren').css('display','block');$('.bungkus_me').css('display','block');//buat display me self.dispBarMe();self.showLoader(false);//buat display friend$('.loader_fren').css('display','block');self.apiDispFriend();$('.login_loader').css('display','none');$('.login_fb').css("display","none");$('.my_fb').css("display","block"); } else if (response.status === 'not_authorized') {self.showLoader(false);$('.login_loader').css('display','none');$('.my_fb').css("display","none");$('.login_fb').css("display","block");self.apiLoginFb(); } else {self.showLoader(false);$('.login_loader').css('display','none');$('.my_fb').css("display","none");$('.login_fb').css("display","block");self.apiLoginFb(); }});}fb_og.prototype.apiPostAction = function( objek, action, object_type, object_url ){var self = this;console.log('/me/'+ objek + '.' + action + '?' + object_type + '=' + object_url);FB.api('/me/'+ objek + '.' + action + '?' + object_type + '=' + object_url, 'post', function(response){if (!response || response.error) {console.log(response.error.message);} else {console.log('Post was successful! Action ID: ' + response.id);}});}fb_og.prototype.apiLoginFb = function(){var self = this;$('.btn_fb').click(function() {$('.login_loader').css('display','block');$('.login_fb').css("display","none");FB.login(function(response) {if (response.authResponse) {FB.api('/me', function() {self.apiCekFbStatus();$('.login_loader').css('display','none');$('.login_fb').css("display","none");}); } else {self.apiCekFbStatus();}}, {scope:'publish_stream,read_stream,publish_actions,user_actions.news,read_friendlists'}); });}fb_og.prototype.apiDispFriend = function(){var self =this;var obj = new Object();var x = 0;var uid;var name;var thumb_fren;var url_fren;var html ="";var img_width = 57;var q = 'SELECT uid, name, pic_square,is_app_user FROM user WHERE uid IN (SELECT uid1 FROM friend WHERE uid2 = me()) and is_app_user = "true" ';//console.log(q);$('.loader_fren').css('display','block');FB.api({method: 'fql.query',query: q }, function(response) {if(!response || response.error){console.log(response.error.message);console.log(query);}else{obj = response;for( x in obj){if(x ';count = x;}else{break;}} } html = ''+html+''; $('.in_fren').css('width',count*img_width); $('.loader_fren').css('display','none'); $('.in_fren').append(html); var c = count*img_width; var s = parseInt($('.wrap_fren').css('width')); if(c > s){$('.fren_right_btn').css('display','block'); }$('.fren_right_btn').click(function(){self.frenSlide('.in_fren','right',img_width, c);$('.fren_left_btn').css('display','block');});$('.fren_left_btn').click(function(){self.frenSlide('.in_fren','left',img_width, c);});$('.thumb_fren').hover(function(){$('.fren_drop_kegiatan').css('display','block');var fren_id = $(this).attr('id');var urut = $(this).attr('urut');self.dropDownFren('.wrap_fren','.in_fren','.fren_drop_kegiatan','.fren_blocking','.loader_fren_act',img_width,fren_id,urut);},function(){$('.fren_drop_kegiatan').hover(function(){$(this).css('display','block')},function(){$(this).css('display','none');});});})}fb_og.prototype.dropDownFren = function(wrap_fren,in_fren,fren_drop,head_drop,loader_class,img_width,fren_id,urut){var self = this;//detect thumb paling kirivar thumb_1 = Math.round(parseInt($(in_fren).css('left')) / -(img_width));var head = ((urut - thumb_1)*img_width)-5;$(head_drop).css('left',head+'px');self.apiGenericActivity(fren_id,fren_drop,loader_class);}fb_og.prototype.frenSlide = function(bks,arah,img_width,bks_width){var bks_pos = parseInt($(bks).css('left'));if(arah == 'right'){var l = -img_width;if(bks_pos > -(bks_width - img_width*4) ){var pos = (bks_pos + l)+'px';}else{var pos = bks_pos+'px';}}else{var l = img_width;if(bks_pos --- Koneksi Facebook.com sedang terganggu---';} else {buffer_data = response.data;var jum_dat = response.data.length;var name_fren = buffer_data[0]['from']['name'];console.log(name_fren);if(jum_dat > 0) {for( x in buffer_data){if(x ';view += '';view += ''+title+'';view += ' '+ time+' ';view += '';count = ++x;if(count % self.data.news_per_slide == 0){bungkus += ''+view+'';view ="";++slide_count;}else if(jum_dat == count){bungkus += ''+view+'';view ="";++slide_count;}}}wrap += bungkus;}else{wrap += ' --- tidak ada data artikel yang telah anda baca --- ';btn_paging = 0;count = 0;}lebar_all = (slide_count * (lebar_slide+15)) ;wrap_all += '';wrap_all += ''+name_fren+' Aktivitas Terkini ('+count+')';if(btn_paging == 1 || count ';wrap_all += '';wrap_all += '';}wrap_all += '';wrap_all += ''+ wrap + '';}$(loader_class).css('display','none');$('.drop_me').remove();$(drop_class).append(''+wrap_all+'');self.cekButton('.drop_me','.wrap_slide',lebar_slide+15,slide_count,'btn_left_fren','btn_right_fren');$('.btn_left_fren').click(function(){self.processPaging('.drop_me','.wrap_slide',lebar_slide+15,'plus',slide_count,'btn_left_fren','btn_right_fren');});$('.btn_right_fren').click(function(){self.processPaging('.drop_me','.wrap_slide',lebar_slide+15,'min',slide_count,'btn_left_fren','btn_right_fren');});});}}fb_og.prototype.apiOpenActivity = function(){var self = this;var buffer_data;$('.drop_kegiatan').css('display','block');$('.loader_act').css('display','block');$('.drop_me').remove();if(self.data.activity_per_person != false){console.log('/me/'+self.data.objek+'.' + self.data.action +'&access_token='+self.data.token);FB.api('/me/'+self.data.objek+'.' + self.data.action +'&access_token='+self.data.token+'&limit=1500',function(response){var view = "";varbungkus = "";var wrap = "";var wrap_all = "";var lebar_slide = 400;var slide_count = 0;var btn_paging = 1;var x = 0;var count = 0;if (!response || response.error) {wrap += '--- Koneksi Facebook.com sedang terganggu---';} else {buffer_data = response.data;var jum_dat = response.data.length;if(jum_dat > 0) {for( x in buffer_data){if(x ';view += '';view += ''+title+'';view += ' '+ time+' ';view += '';view += '';count = ++x;if(count % self.data.news_per_slide == 0){bungkus += ''+view+'';view ="";++slide_count;}else if(jum_dat == count){bungkus += ''+view+'';view ="";++slide_count;}}}wrap += bungkus;}else{wrap += ' --- tidak ada data artikel yang telah anda baca --- ';btn_paging = 0;count = 0;}lebar_all = (slide_count * (lebar_slide+15)) ;wrap_all += '';wrap_all += 'Aktivitas Terkini ('+count+')';if(btn_paging == 1 || count ';wrap_all += '';wrap_all += '';}wrap_all += '';wrap_all += ''+ wrap + '';}$('.loader_act').css('display','none');$('.drop_kegiatan').append(''+wrap_all+'');self.cekButton('.drop_me','.wrap_slide',lebar_slide+15,slide_count,'btn_left','.btn_right');$('.btn_left').click(function(){self.processPaging('.drop_me','.wrap_slide',lebar_slide+15,'plus',slide_count,'.btn_left','.btn_right');});$('.btn_right').click(function(){self.processPaging('.drop_me','.wrap_slide',lebar_slide+15,'min',slide_count,'.btn_left','.btn_right');});$('.delete_act').click(function(){var a = $(this).attr('id');var b = FB._authResponse.accessToken;$(this).css('background','none');$(this).after('Dihapus');$(this).css('display','none');FB.api('/'+a+'?access_token='+b,'DELETE',function(response) {if (!response || response.error) {console.log('gagal delete');} });});});}}fb_og.prototype.cekButton = function(bungkus,slide,lebar_per_slide,slide_count,left_btn,right_btn){var posisi = parseInt($(slide).css('left'));var slide = - parseInt(lebar_per_slide);var max = - parseInt(slide_count * lebar_per_slide);if(posisi > slide && max !== slide){$(right_btn).css("background","url(http://www.vivanews.com/appaux/images/soc-btn.gif?2)-25px -205px no-repeat");$(left_btn).css("background","url(http://www.vivanews.com/appaux/images/soc-btn.gif?2)0px -166px no-repeat");}else if(posisi > slide && max == slide){$(right_btn).css("background","url(http://www.vivanews.com/appaux/images/soc-btn.gif?2)-25px -166px no-repeat");$(left_btn).css("background","url(http://www.vivanews.com/appaux/images/soc-btn.gif?2)0px -166px no-repeat");}else if(posisi (max - slide)){$(right_btn).css("background","url(http://www.vivanews.com/appaux/images/soc-btn.gif?2)-25px -205px no-repeat");$(left_btn).css("background","url(http://www.vivanews.com/appaux/images/soc-btn.gif?2)0px -205px no-repeat");}else if(posisi 0 || skrg = 60 && sisa = 3600 && sisa = 86400 && sisa ').insertBefore('.aktifitas_fb_me');$('.thumb_me').css('background','url(https://graph.facebook.com/'+ usr +'/picture)');$(''+name+'').insertBefore('.aktifitas_fb_me');$('Facebook Anda aktif ').insertBefore('.aktifitas_fb_me');$('.fb_act_btn').click(function() {if(self.data.status_drop || self.data.status_drop == 'ready'){self.data.status_drop = 0;self.apiOpenActivity();}else{self.data.status_drop = 1;$('.drop_me').remove();$('.drop_kegiatan').css('display','none');}});$('.my_fb').mouseleave(function(){$('.drop_me').empty();$('.drop_kegiatan').css('display','none');self.data.status_drop = 1;});$('.sos_aktif').click(function(){self.deleteCookie("fb_social");$('.sos_nonaktif').css('display','block');$('.sos_aktif').css('display','none');});$('.sos_nonaktif').click(function(){self.setCookie("fb_social");$('.sos_nonaktif').css('display','none');$('.sos_aktif').css('display','block');self.apiPostAction( self.data.objek, self.data.action, self.data.article, self.data.page );});})}fb_og.prototype.showLoader = function(status){if (status)$('.loader').css('display','block');else$('.loader').css('display','none');}//////////////////////////////////////////re use//////////////////////////////////////////////////////////fb_og.prototype.checkCookie = function(og){var i,x,y,ARRcookies=document.cookie.split(";");for (i=0;iView the original article here