fixed date_range calculation on admin page

issue #18
splitted filterbar output into different functions

issue #18