function latest() {

  app.preloader.show();

  $.ajax({

    type: "post",

    url: base_url+'news/?limit=36',

    success: (res) => {

      if (res.success) {

        app.preloader.hide();

        remove_localstorage('latest');

        set_localstorage('latest',res.data)

        //set_localstorage('latest_byid',res.byid);

        //set_localstorage('byid',res.byid)

        localstorage_InsUpdate('byid',res.byid)

        //showToast('get Item '+name+' Success');

      } else {

        app.preloader.hide();

        app.dialog.alert(res.message, 'Error get latest');

      }

    }

  })

}