文章内容:
'+ ''+ ''+ ''; } $('.load_berita_trending_side').html(berita_trending_side); }, 成功:函数(响应){ var berita_trending_side = ''; $.each(response.data, function(i, val) { berita_trending_side += ' ‘+’’+’’+’’+’’ '+ ''+ ''+ ''+ ''+ ' '; }); $('.load_berita_trending_side').html(berita_trending_side); } }); // --------------------------- 结束加载时事通讯趋势 --------------------------- // --------------------------- 加载时事通讯病毒 --------------------------- $.ajax({ method : 'POST', url : 'https://www.netralnews.com/post/post/fetch_berita_viral_side', data : { param_id_newsletter:param_id_newsletter }, dataType : 'json', beforeSend: function() { var berita_viral = ''; for (i=0; i '+ ''+ ''+ ''+ ''+ ''; } $('.load_berita_viral').html(berita_viral); }, success:function(response) { var berita_viral = ''; $.each(response.data, function(i, val) { berita_viral += ' ‘+’’+’’+’’+’’ '+ ''+ ''+ ''+ ''+ ' '; }); $('.load_berita_viral').html(berita_viral); } }); // --------------------------- 结束加载新闻通讯病毒式 --------------------------- // --------------------------- 加载新闻通讯高级版 --------------------------- $.ajax({ method : 'POST', url : 'https://www.netralnews.com/post/post/fetch_berita_premium_side', data : { param_id_newsletter:param_id_newsletter }, dataType : 'json', beforeSend: function() { var berita_premium = ''; for (i=0; i '+ ''+ ''+ ''+ ''+ ''; } $('.load_berita_premium').html(berita_premium); }, success:function(response) { var berita_premium = ''; $.each(response.data, function(i, val) { berita_premium += ' ‘+’’+’’+’’+’’ '+ ''+ ''+ ''+ ''+ ' '; }); $('.load_berita_premium').html(berita_premium); } }); // --------------------------- 结束加载新闻通讯高级版 --------------------------- // --------------------------- 处理 iklan --------------------------- $(document).on('click', '.trigg-ads', function() { var id_list = $(this).attr('id_list'); $.ajax({ method : 'post', url : 'https://www.netralnews.com/post/post/post_klik_iklan', data : { id_list:id_list }, dataType : 'json', success: function(response) {} }); }); // iklan square $.ajax({ method : 'POST', url : 'https://www.netralnews.com/post/post/fetch_iklan_square_retail_1', data : {}, dataType : 'json', success:function(response) { var load_iklan_square_retail_1 = ''; if (response.data.length > 0) { $.each(response.data, function(i, val) { load_iklan_square_retail_1 += ''; }); $('.load_iklan_square_retail_1').html(load_iklan_square_retail_1); var swiper_square = new Swiper("#swiper-square-retail-1", { autoplay: { delay: 5000, disableOnInteraction: false, } }); } else { if (iklan_google == '1') { // load_iklan_square_retail_1 += // ''+ // ''+ // ''; // $('.load_iklan_square_retail_1').html(load_iklan_square_retail_1); } } } }); $.ajax({ method : 'POST', url : 'https://www.netralnews.com/post/post/fetch_iklan_square_retail_2', 数据 : {}, dataType : 'json', 成功:函数(响应){ var load_iklan_square_retail_2 = ''; if (response.data.length > 0) { $.each(response.data, function(i, val) { load_iklan_square_retail_2 += ''+ '广告]]>
'+val.judul+'
‘+’’+’'+ ''+val.tanggal+''+ '
'+ val.赞助商+ ''+ ''+ ''+val.judul+'
‘+’’+’'+ ''+val.tanggal+''+ '
'+ val.赞助商+ ''+ ''+ ''+val.judul+'
‘+’’+’'+ ''+val.tanggal+''+ '
'+ val.赞助商+ ''+ ''+ '
分类:
标签:
留言