mvc + php + smarty