add some usfull functions and add serach parameters to news page
Merge remote-tracking branch 'origin/master'