<?php $tid = $route_param['tid']?(int)$route_param['tid']:0; $tagid = $route_param['tagid']?(int)$route_param['tagid']:0; ?>