fix mysql cast issue 2
add prototype of pagination
add prototype of news
add news pagination