Diet Cake Board exercise

1st PR
no need for this if statement po. you can set the default page at line 15 .

``$thread->page_num = Param::get('page_num',1);``