9

No night-long congregational Shab-e-Meraj prayers at Hazratbal shrine: Shrine management || Rising Kashmir

No night-long congregational Shab-e-Meraj prayers at Hazratbal shrine: Shrine management || Rising Kashmir

  • Archive News
  • Media
  • Contact
  • ‘+email_sent,’success’,’bottom’,’right’); setTimeout( function() { location.replace(“http://www.risingkashmir.com/home/login_set/login”); }, 2000 ); }else if(data == ‘done_but_not_sent’){ notify(email_fail,’warning’,’bottom’,’right’); notify(logup_success,’success’,’bottom’,’right’); setTimeout( function() { location.replace(“http://www.risingkashmir.com/home/login_set/login”); }, 2000 ); } else { //here.closest(‘.modal-content’).find(‘#close_logup_modal’).click(); notify(‘Signup failed’+’
    ‘+data,’warning’,’bottom’,’right’); //sound(‘unsuccessful_logup’); } }, error: function(e) { console.log(e) } }); }); $(“body”).on(‘click’,’.login_btn’,function(){ var here = $(this); // alert div for show alert message var text = here.html(); // alert div for show alert message var form = here.closest(‘form’); var logging = here.data(‘ing’); //var form = $(this); var formdata = false; if (window.FormData){ formdata = new FormData(form[0]); } $.ajax({ url: form.attr(‘action’), // form action url type: ‘POST’, // form submit method get/post dataType: ‘html’, // request type html/json/xml data: formdata ? formdata : form.serialize(), // serialize form data cache : false, contentType : false, processData : false, beforeSend: function() { here.addClass(‘disabled’); here.html(logging); // change submit button text }, success: function(data) { here.fadeIn(); here.html(text); here.removeClass(‘disabled’); if(data == ‘done’){ $(‘.closeModal’).click(); notify(‘Successful Login’,’success’,’bottom’,’right’); setTimeout(function(){reload_page()}, 2000); //sound(‘successful_login’); } else if(data == ‘failed’){ notify(‘Login Failed’,’warning’,’bottom’,’right’); //sound(‘unsuccessful_login’); } else { notify(data,’warning’,’bottom’,’right’); } }, error: function(e) { console.log(e) } }); }); $(“body”).on(‘click’,’.forget_btn’,function(){ var here = $(this); // alert div for show alert message var text = here.html(); // alert div for show alert message var form = here.closest(‘form’); var submitting = here.data(‘ing’); //var form = $(this); var formdata = false; if (window.FormData){ formdata = new FormData(form[0]); } $.ajax({ url: form.attr(‘action’), // form action url type: ‘POST’, // form submit method get/post dataType: ‘html’, // request type html/json/xml data: formdata ? formdata : form.serialize(), // serialize form data cache : false, contentType : false, processData : false, beforeSend: function() { here.addClass(‘disabled’); here.html(submitting); // change submit button text }, success: function(data) { here.fadeIn(); here.html(text); here.removeClass(‘disabled’); if(data == ’email_sent’){ notify(email_sent,’info’,’bottom’,’right’); $(“.closeModal”).click(); } else if(data == ’email_nay’){ $(“.closeModal”).click(); notify(email_noex,’info’,’bottom’,’right’); } else if(data == ’email_not_sent’){ $(“.closeModal”).click(); notify(email_fail,’info’,’bottom’,’right’); } else { notify(data,’warning’,’bottom’,’right’); } }, error: function(e) { console.log(e) } }); }); }); function reload_page(){ var loc = location.href; location.replace(loc); } function check_login_stat(thing){ return $.ajax({ url: ‘http://www.risingkashmir.com/home/check_login/’+thing }); } function signin(carry){ $(‘#login_modal’).data(‘ajax’,’http://www.risingkashmir.com/home/login_set/login/modal/’+carry); $(‘#login_modal’).click(); } function image_modal(image_link){ image_link = image_link.split(‘http://www.risingkashmir.com/’); var path = image_link[1]; path = path.split(‘/’); var folder = path[1]; var name = path[2]; $(‘#image_modal’).data(‘ajax’,’http://www.risingkashmir.com/home/image_modal/’+folder+’/’+name); $(‘#image_modal’).click(); } function preview_ad_modal(id){ $(‘#preview_ad_modal’).data(‘ajax’,’http://www.risingkashmir.com/home/marketing/preview/’+id); $(‘#preview_ad_modal’).click(); } function preview_remainings(id){ $(‘#preview_ad_modal’).data(‘ajax’,’http://www.risingkashmir.com/home/preview_package_remainings/’+id+’/blog’); $(‘#preview_ad_modal’).click(); } function preview_image_remainings(id){ $(‘#preview_ad_modal’).data(‘ajax’,’http://www.risingkashmir.com/home/preview_package_remainings/’+id+’/image’); $(‘#preview_ad_modal’).click(); } function preview_video_remainings(id){ $(‘#preview_ad_modal’).data(‘ajax’,’http://www.risingkashmir.com/home/preview_package_remainings/’+id+’/video’); $(‘#preview_ad_modal’).click(); } function preview_package(id){ $(‘#preview_package_modal’).data(‘ajax’,’http://www.risingkashmir.com/home/marketing/preview_package/’+id); $(‘#preview_package_modal’).click(); } function be_blogger(){ $(‘#be_blogger_modal’).data(‘ajax’,’http://www.risingkashmir.com/home/be_blogger’); $(‘#be_blogger_modal’).click(); } function package_details(id){ $(‘#purchased_packages_modal’).data(‘ajax’,’http://www.risingkashmir.com/home/purchased_packages/’+id); $(‘#purchased_packages_modal’).click(); } function notify(message,type,from,align){ $.notify({ // options message: message },{ // settings type: type, placement: { from: from, align: align } }); } $(“body”).on(‘click’,’.news_post’,function(){ var here = $(this); var form = here.closest(‘form’); var formdata = false; if (window.FormData){ formdata = new FormData(form[0]); } $.ajax({ url: form.attr(‘action’), // form action url type: ‘POST’, // form submit method get/post dataType: ‘html’, // request type html/json/xml data: formdata ? formdata : form.serialize(), // serialize form data cache : false, contentType : false, processData : false, success: function() { get_news(‘list’); }, error: function(e) { console.log(e) } }); }); $(‘body’).on(‘click’,’.signup_btn’,function(event){ event.preventDefault(); var now = $(this); var btntxt = now.html(); var form = now.closest(‘form’); var ing = now.data(‘ing’); var success = now.data(‘success’); var unsuccessful = now.data(‘unsuccessful’); var rld = now.data(‘reload’); var formdata = false; if (window.FormData){ formdata = new FormData(form[0]); } $.ajax({ url: form.attr(‘action’), // form action url type: ‘POST’, // form submit method get/post dataType: ‘html’, // request type html/json/xml data: formdata ? formdata : form.serialize(), // serialize form data cache : false, contentType : false, processData : false, beforeSend: function() { now.html(ing); }, success: function(data) { if(data == ‘done’){ notify(success,’success’,’bottom’,’right’); if(rld == ‘ok’){ setTimeout(function(){reload_page()}, 2000); } else if (rld == ‘blog_list’){ get_blog_list(); } $(“.closeModal”).click(); } else { var text = ”+unsuccessful+”+data; notify(text,’warning’,’bottom’,’right’); } now.html(btntxt); }, error: function(e) { console.log(e) } }); }); function form_submit(form_id){ var form = $(‘#’+form_id); var button = form.find(‘.submit_button’); var prv = button.html(); var ing = button.data(‘ing’); var success = button.data(‘success’); var unsuccessful = button.data(‘unsuccessful’); var redirect_click = button.data(‘redirectclick’); form.find(‘.summernotes’).each(function() { var now = $(this); now.closest(‘div’).find(‘.val’).val(now.code()); }); //var form = $(this); var formdata = false; if (window.FormData){ formdata = new FormData(form[0]); } $.ajax({ url: form.attr(‘action’), // form action url type: ‘POST’, // form submit method get/post dataType: ‘html’, // request type html/json/xml data: formdata ? formdata : form.serialize(), // serialize form data cache : false, contentType : false, processData : false, beforeSend: function() { button.html(ing); // change submit button text }, success: function(data) { var alls = data.split(‘#-#-#’); var part1 = alls[0]; var part2 = alls[1]; if(part1 == ‘success’){ notify(success,’success’,’bottom’,’right’); if(part2 == ”){ $(redirect_click).click(); } else { location.replace(part2); } form.find(‘input’).val(”); form.find(‘textarea’).val(”); form.find(‘textarea’).html(”); } else { var text = ”+unsuccessful+”+part2; notify(text,’warning’,’bottom’,’right’); } button.html(prv); }, error: function(e) { console.log(e) } }); } function to_readlater(id,e){ e = e || window.event; e = e.target || e.srcElement; var state = check_login_stat(‘state’); var news = id; var button = $(e); var alread = button.html(); if(button.is(“i”)){ var alread_classes = button.attr(‘class’); } if(button.is(“i”)){ button.attr(‘class’,’fa fa-spinner fa-spin fa-fw’); } else { button.find(‘i’).attr(‘class’,’fa fa-spinner fa-spin fa-fw’); } state.success(function (data) { if(data == ‘hypass’){ $.ajax({ url: base_url+’home/readlater/add/’+news, beforeSend: function() { if(button.is(“i”)){ button.attr(‘class’,’fa fa-spinner fa-spin fa-fw’); } else { button.find(‘i’).attr(‘class’,’fa fa-spinner fa-spin fa-fw’); } }, success: function(data) { if(data == ‘added’){ notify(readlater_added,’info’,’bottom’,’right’); }else if(data == ‘already’) { notify(readlater_already,’warning’,’bottom’,’right’); } if(button.is(“i”)){ button.attr(‘class’,alread_classes); } else { button.html(alread); } }, error: function(e) { console.log(e) } }); } else { if(button.is(“i”)){ button.attr(‘class’,alread_classes); } else { button.html(alread); } signin(‘quick’); } }); } function set_modal(){ $(“#popup-1”).activeModals({ // Functionality popupType: “delayed”, delayTime: 1000, exitTopDistance: 40, scrollTopDistance: 400, setCookie: false, cookieDays: 0, cookieTriggerClass: “setCookie-1”, cookieName: “activeModal-1”, // Overlay options overlayBg: true, overlayBgColor: “rgba(255, 255, 255, 0.721569)”, overlayTransition: “ease”, overlayTransitionSpeed: “0.4”, // Background effects bgEffect: “scaled”, blurBgRadius: “2px”, scaleBgValue: “1”, // Window options windowWidth: “530px”, windowHeight: “580px”, windowLocation: “center”, windowTransition: “fadeIn”, windowTransitionSpeed: “0.4”, windowTransitionEffect: “fadeIn”, windowShadowOffsetX: “0”, windowShadowOffsetY: “0”, windowShadowBlurRadius: “20px”, windowShadowSpreadRadius: “0”, windowShadowColor: “none”, windowBackground: “none”, windowRadius: “0px”, windowMargin: “10px”, windowPadding: “10px”, // Close and reopen button closeButton: “icon”, reopenClass: “openactiveModal-6”, }); $(“#popup-2”).activeModals({ // Functionality popupType: “delayed”, delayTime: 1000, exitTopDistance: 40, scrollTopDistance: 0, setCookie: false, cookieDays: 0, cookieTriggerClass: “setCookie-1”, cookieName: “activeModal-1”, // Overlay options overlayBg: false, overlayBgColor: “rgba(255, 255, 255, 0.72)”, overlayTransition: “ease”, overlayTransitionSpeed: “0.4”, // Background effects bgEffect: “scaled”, blurBgRadius: “2px”, scaleBgValue: “1”, // Window options windowWidth: “auto”, windowHeight: “auto”, windowLocation: “center”, windowTransition: “ease”, windowTransitionSpeed: “0.4”, windowTransitionEffect: “fadeIn”, windowShadowOffsetX: “0”, windowShadowOffsetY: “0”, windowShadowBlurRadius: “20px”, windowShadowSpreadRadius: “0”, windowShadowColor: “rgba(0,0,0,.8)”, windowBackground: “rgba(0, 0, 0, 0.8)”, windowRadius: “0px”, windowMargin: “10px”, windowPadding: “30px”, // Close and reopen button closeButton: “icon no2”, reopenClass: “openactiveModal-7”, }); $(“#popup-3”).activeModals({ // Functionality popupType: “delayed”, delayTime: 1000, exitTopDistance: 40, scrollTopDistance: 400, setCookie: false, cookieDays: 0, cookieTriggerClass: “setCookie-1”, cookieName: “activeModal-1”, // Overlay options overlayBg: true, overlayBgColor: “rgba(255, 255, 255, 0.721569)”, overlayTransition: “ease”, overlayTransitionSpeed: “0.4”, // Background effects bgEffect: “scaled”, blurBgRadius: “2px”, scaleBgValue: “1”, // Window options windowWidth: “530px”, windowHeight: “580px”, windowLocation: “center”, windowTransition: “fadeIn”, windowTransitionSpeed: “0.4”, windowTransitionEffect: “fadeIn”, windowShadowOffsetX: “0”, windowShadowOffsetY: “0”, windowShadowBlurRadius: “20px”, windowShadowSpreadRadius: “0”, windowShadowColor: “none”, windowBackground: “none”, windowRadius: “0px”, windowMargin: “10px”, windowPadding: “10px”, // Close and reopen button closeButton: “icon no3”, reopenClass: “openactiveModal-8”, }); $(“#popup-4”).activeModals({ // Functionality popupType: “delayed”, delayTime: 1000, exitTopDistance: 40, scrollTopDistance: 400, setCookie: false, cookieDays: 0, cookieTriggerClass: “setCookie-1”, cookieName: “activeModal-1”, // Overlay options overlayBg: true, overlayBgColor: “rgba(255, 255, 255, 0.721569)”, overlayTransition: “ease”, overlayTransitionSpeed: “0.4”, // Background effects bgEffect: “scaled”, blurBgRadius: “2px”, scaleBgValue: “1”, // Window options windowWidth: “80%”, windowHeight: “580px”, windowLocation: “center”, windowTransition: “fadeIn”, windowTransitionSpeed: “0.4”, windowTransitionEffect: “fadeIn”, windowShadowOffsetX: “0”, windowShadowOffsetY: “0”, windowShadowBlurRadius: “20px”, windowShadowSpreadRadius: “0”, windowShadowColor: “none”, windowBackground: “none”, windowRadius: “0px”, windowMargin: “10px auto”, windowPadding: “10px”, // Close and reopen button closeButton: “icon no3”, reopenClass: “openactiveModal-9”, }); $(“#popup-5”).activeModals({ // Functionality popupType: “delayed”, delayTime: 1000, exitTopDistance: 40, scrollTopDistance: 400, setCookie: false, cookieDays: 0, cookieTriggerClass: “setCookie-1”, cookieName: “activeModal-1”, // Overlay options overlayBg: true, overlayBgColor: “rgba(255, 255, 255, 0.721569)”, overlayTransition: “ease”, overlayTransitionSpeed: “0.4”, // Background effects bgEffect: “scaled”, blurBgRadius: “2px”, scaleBgValue: “1”, // Window options windowWidth: “530px”, windowHeight: “580px”, windowLocation: “center”, windowTransition: “fadeIn”, windowTransitionSpeed: “0.4”, windowTransitionEffect: “fadeIn”, windowShadowOffsetX: “0”, windowShadowOffsetY: “0”, windowShadowBlurRadius: “20px”, windowShadowSpreadRadius: “0”, windowShadowColor: “none”, windowBackground: “none”, windowRadius: “0px”, windowMargin: “10px”, windowPadding: “10px”, // Close and reopen button closeButton: “icon no3”, reopenClass: “openactiveModal-10”, }); $(“#popup-6”).activeModals({ // Functionality popupType: “delayed”, delayTime: 1000, exitTopDistance: 40, scrollTopDistance: 400, setCookie: false, cookieDays: 0, cookieTriggerClass: “setCookie-1”, cookieName: “activeModal-1”, // Overlay options overlayBg: true, overlayBgColor: “rgba(255, 255, 255, 0.721569)”, overlayTransition: “ease”, overlayTransitionSpeed: “0.4”, // Background effects bgEffect: “scaled”, blurBgRadius: “2px”, scaleBgValue: “1”, // Window options windowWidth: “530px”, windowHeight: “580px”, windowLocation: “center”, windowTransition: “fadeIn”, windowTransitionSpeed: “0.4”, windowTransitionEffect: “fadeIn”, windowShadowOffsetX: “0”, windowShadowOffsetY: “0”, windowShadowBlurRadius: “20px”, windowShadowSpreadRadius: “0”, windowShadowColor: “none”, windowBackground: “none”, windowRadius: “0px”, windowMargin: “10px”, windowPadding: “10px”, // Close and reopen button closeButton: “icon no3”, reopenClass: “openactiveModal-11”, }); } $(document).ready(function () { set_modal(); $(‘.window_set’).on(‘click’,’.author_contact_submitter’,function(event){ event.preventDefault(); var now = $(this); var btntxt = now.html(); var form = now.closest(‘form’); var success = now.data(‘success’); var unsuccessful = now.data(‘unsuccessful’); var formdata = false; if (window.FormData){ formdata = new FormData(form[0]); } $.ajax({ url: form.attr(‘action’), // form action url type: ‘POST’, // form submit method get/post dataType: ‘html’, // request type html/json/xml data: formdata ? formdata : form.serialize(), // serialize form data cache : false, contentType : false, processData : false, beforeSend: function() { now.html(‘submitting…’); }, success: function(data) { if(data == ‘success’){ notify(success,’success’,’bottom’,’right’); $(“.closeModal”).click(); } else { var text = ”+unsuccessful+”+data; notify(text,’warning’,’bottom’,’right’); } now.html(btntxt); }, error: function(e) { console.log(e) } }); }); }); function load_iamges(){ $(‘body’).find(‘.image_delay’).each(function(){ var src = $(this).data(‘src’); if($(this).is(‘img’)){ $(this).attr(‘src’,src); } else { $(this).css(‘background-image’,”url(‘”+src+”‘)”); } }); } ]]>
    SFi Official
    0

    Publication author

    offline 2 weeks

    SFi Official

    0
    Comments: 0Publics: 1367Registration: 11-03-2021