remove smarty & use php-router