by date and by category ajax interface finished.