<?php $pa = $route_param['pa']?(int)$route_param['pa']:1; //var_dump($route_param); $number = $route_param['aid']; ?>