Thinkphp and Smarty