Framework php + smarty