function email_check() {

  //app.preloader.show();

  let dt2=get_localstorage('member');

  let req={'email':dt2.data.email,'name':dt2.data.nama_member};

  console.log(req)

  

  $.ajax({

    type: "post",

    url: base_url + 'email_cek',

    data: req,

    success: (res) => {

      if (res.success) {

        app.preloader.hide();

        app.dialog.alert('Email Check Success','Email Check');

        //app.views.main.router.navigate('/');

      } else {

        app.preloader.hide();

        app.dialog.alert(res.message, 'Email Check');

      }

    }

  })

  

}