reg_smarty