fetch banner info from db function.