added tow variables UPLOAD_LOC|URL to smarty