move website name assign to smarty class