Downloadbereich | CyberPower (2024)

'; newHtml += '

' + $('#HdnSoftware').val() + '

'; newHtml += '

' + $('#HdnPlatform').val() + '

'; newHtml += '

' + $('#HdnMoreInformation').val() + '

'; } } else { newHtml += '

'; newHtml += '

'; newHtml += '

' + $('#HdnFileName').val() + '

'; newHtml += '

'; newHtml += '

' + $('#HdnLanguage').val() + '

'; newHtml += '

' + $('#HdnVersion').val() + '

'; newHtml += '

' + $('#HdnFileSize').val() + '

'; newHtml += '

' + $('#HdnOS').val() + '

'; newHtml += '

' + $('#HdnFileDownload').val() + '

'; newHtml += '

' + $('#HdnNote').val() + '

'; } break; } newHtml += '

'; if (vfilter.displayFormat == 'Form 3(Software & Utility)' && _isHWModelName) { if (_downloadSoftwarePack != null && _downloadSoftwarePack.length > 0) { //判斷是否含有"PowerPanel Business" 或 "PowerPanel Personal" 字串 $.each(_downloadSoftwarePack, function (iSoftware, vSoftware) { if ((vSoftware.pmtSeries.match("PowerPanel Business") || vSoftware.pmtSeries.match("PowerPanel Personal")) && 'True' == "True") { var modelName = "PowerPanel Cloud"; var seriesNameMulti = GetMultiListValue('Software', "PowerPanel Cloud"); var platformMulti = GetMultiListValue('Platform', "Cloud-based Platform"); newHtml += '

'; newHtml += '

' + seriesNameMulti + '

'; newHtml += '

' + platformMulti + '

'; newHtml += '

'; newHtml += '' + $('#HdnLearnMore').val() + ''; newHtml += '' + $('#HdnLoginPortal').val() + ''; newHtml += '

'; newHtml += '

'; return false; } }); $.each(_downloadSoftwarePack, function (iSoftware, vSoftware) { var modelName = (vSoftware.DisplayModelName != "") ? vSoftware.DisplayModelName.replace(/[\s]+/g, "_").toLowerCase() : ""; var seriesNameMulti = GetMultiListValue('Software', vSoftware.pmtSeries); newHtml += '

'; newHtml += '

' + seriesNameMulti + '

'; newHtml += '

' + vSoftware.PlatForm + '

'; newHtml += '

'; newHtml += '' + $('#HdnLearnMore').val() + ''; newHtml += '' + $('#HdnGotoDownload').val() + ''; newHtml += '

'; newHtml += '

'; }); } } $.each(_searchResult, function (iResult, vResult) { if (vResult.Type == vfilter.type) { if (vfilter.displayFormat != 'Form 3(Software & Utility)' || !_isHWModelName) { newHtml += '

'; newHtml += '

' + vResult.Name.replace(/\//g, '/ ') + '

'; if (vfilter.displayFormat == 'Form 3(Software & Utility)' && !_isHWModelName) { newHtml += '

'; if (vResult.Description != '') { newHtml += ''; newHtml += '

' + vResult.Description + '

'; } newHtml += '

'; } //Language if (vfilter.displayFormat == 'Form 1(File Name/Language/Download)' || (vfilter.displayFormat == 'Form 3(Software & Utility)' && !_isHWModelName)) { var langStr = ''; var langArr = vResult.Language.split(';'); $.each(langArr, function () { var lang = GetMultiListValue('Language', this); if (langStr) langStr += ', '; langStr += lang; }); newHtml += '

' + langStr + '

'; } //Version if (vfilter.displayFormat == 'Form 2(File Name/Version/Download)' || (vfilter.displayFormat == 'Form 3(Software & Utility)' && !_isHWModelName)) { newHtml += '

' + vResult.Version + '

'; } if (vfilter.displayFormat == 'Form 3(Software & Utility)' && !_isHWModelName) { //FileSize newHtml += '

' + vResult.FileSize + '

'; //Supported Operating System var osStr = ''; var osArr = vResult.OperatingSystem.split(';'); $.each(osArr, function () { var os = GetMultiListValue('Supported Operating System', this); if (osStr) osStr += ', '; osStr += os; }); newHtml += '

' + osStr + '

'; } //File Download if (_DownloadFormat == "Survey" && vResult.Type == 'Software & Utility') { newHtml += '

' + $('#HdnDownload').val() + '

'; } else { newHtml += '

'; } if (vfilter.displayFormat == 'Form 3(Software & Utility)' && !_isHWModelName) { newHtml += '

'; var objItem = new Object(); objItem.FileId = vResult.DocumentId; objItem.FileType = 'Download Center'; objItem.FileSubType = 'FileReleaseNote'; objItem.Note = ''; var json = JSON.stringify(objItem); $.ajax({ url: '/de/de/File/DefaultFileItem', type: 'GET', async: false, data: { fileItemJson: json }, contentType: "application/json; charset=utf-8", dataType: 'json', success: function (result) { if (result.length != 0) { newHtml += '' + releaseNoteStr + ''; } } }); newHtml += ''; newHtml += '' + $('#HdnMD5').val() + ''; newHtml += ''; newHtml += '

'; newHtml += ''; newHtml += ''; newHtml += '

'; newHtml += '

'; } newHtml += '

'; } } }); newHtml += '

'; } }); $('#skuContainer .softwareDlForm').each(function () { $(this).remove(); }); $('#skuContainerFile').append(newHtml); $('.downloadContent').addClass('active'); //todo jquery載入順序 $('#skuContainer .softwareDlForm a.copyBoxOpen').on('click', function (event) { event.preventDefault(); event.stopPropagation(); if (!$(this).siblings('.copyBox').hasClass('active')) { $(this).siblings('.copyBox').addClass('active').show(); } }); $('.softwareDlTab ul li').each(function () { var $this = $(this), $a = $this.find('a'), href = $a.attr('href'), $link = $(href); $this.on('click', function (e) { e.preventDefault(); $('.softwareDlTab ul li').removeClass('active'); $('.softwareDlForm').removeClass('active').hide(); $this.addClass('active'); $link.addClass('active').show(); }); }).eq(0).trigger('click'); $('.copyBox button').on('click', function () { var copyBox = $(this).parent().find('input'); copyBox.select(); document.execCommand('copy'); }); } function downloadFile(documentId, fileSubType) { location.href = '/de/de/File/GetFileSampleByType' + '?fileId=' + documentId + '&fileType=' + 'Download Center' + '&fileSubType=' + fileSubType; } function VideoPopUp(item) { //2016-3-3 Eric 點選後自動撥放 var src = $(item).attr('src'); if (src.indexOf('?autoplay=1') == -1) src += '?autoplay=1'; var div = $('#youtubePopup'); div.find('iframe').attr('src', src); div.fadeIn(); } function SurveyFromPopUp(model, id) { documentId = id; $('#modelNametitle').html(model); surveyModeltitle = model; //$('#surveyFromPopupInfo').fadeIn(); $('#SurveyCompanyId').val(''); $('#SurveyDomainId').val(''); $('#SurveyCountryId').val(''); $('#SurveyCityId').val(''); $('#SurveyStreetId').val(''); $('#SurveyZipCodeId').val(''); $('#SurveyNameId').val(''); $('#SurveyEmailId').val(''); $('#SurveyModelId').val(''); $('#modelNametitle').val(''); $('#SurveyAcceptanceId').prop("checked", false); CountrySelectorList(); } function AddSurveyItem() { var inputObj = JSON.stringify(Data()); $.ajax({ url: "/de/de/Ajax/AddSurveyItem", type: "POST", dataType: "json", data: { InputObj: inputObj }, success: function (result) { if (result.Flag) { $('#surveySuccessuspopup').fadeIn(); //$('#surveyFromPopupInfo').fadeOut(); window.location = '/de/de/File/GetFileSampleByType' + '?fileId=' + documentId + '&fileType=' + 'Download Center' + '&fileSubType=' + 'FileOriginal'; } else { $('#surveyFailedpopup').fadeIn(); } } }); return false; } function CloseSurveyPopup() { $('#surveypopup').fadeOut('fast').removeClass('PopupOn'); $('#surveySuccessuspopup').fadeOut('fast').removeClass('PopupOn'); $('#surveyFailedpopup').fadeOut('fast').removeClass('PopupOn'); } function CheckTypeItem() { var company = $('#SurveyCompanyId').val(); var name = $('#SurveyNameId').val(); var email = $('#SurveyEmailId').val(); var model = $('#SurveyModelId').val(); var acceptance = $('input[id="SurveyAcceptanceId"]:checked').val(); var obj = new Object(); var msg = ''; var checkPopUpTag = ''; obj.Domain = 'de'; checkPopUpTag += $('#HdnSurveyCheckPopUpTitle').val() + ''; if (company == '') { msg += $('#CompanyId').text() + " \n"; checkPopUpTag += $('#CompanyId').text() + ''; } if (name == '') { msg += $('#NameId').text() + " \n"; checkPopUpTag += $('#NameId').text() + ''; } var regexemail = /^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z]+$/; if (email == '' || !(regexemail.test(email))) { msg += $('#EmailId').text() + " \n"; checkPopUpTag += $('#EmailId').text() + ''; } if (model == '') { msg += $('#ModelId').text() + " \n"; checkPopUpTag += $('#ModelId').text() + ''; } if (acceptance == undefined) { msg += $('#AcceptanceId').text() + " \n"; checkPopUpTag += $('#AcceptanceId').text(); } if (msg != '') { checkPopUpTag += '

' + $('#Button_OK').val() + ''; $('#surveyFailedpopups').html(checkPopUpTag); $('#surveypopup').fadeIn(); return false; } return true; } function CountryIpDetection() { $.getJSON("https://ipv4.jsonip.com/?format=json", function (data) { var ip = data.ip; $.ajax({ url: "/de/de/Ajax/SurveyIpDetection", type: "POST", dataType: "json", data: { ip: ip }, success: function (result) { CountryList(result); ipDetection = result.CountryCode; } }); }); } function CountryList(elem) { var str = ''; $.ajax({ url: "/de/de/Ajax/SurveyCountryList", type: "POST", dataType: "json", //async: false, data: { domain: 'de' }, success: function (result) { str += "

"; for (var i in result) { if (result[i].CountryCode == elem.CountryCode) { str += "

"; } else { str += "

"; } }; $('#SurveyCountryId').html(str); countryList = result; } }); } function CountrySelectorList() { var str = ''; str += "

"; for (var i in countryList) { if (countryList[i].CountryCode == ipDetection) { str += "

"; } else { str += "

"; } }; $('#SurveyCountryId').html(str); } function Data() { var obj = new Object(); obj.Company = $('#SurveyCompanyId').val(); obj.Domain = 'de'; obj.Country = ($('#SurveyCountryId :selected').text() == '-Select-' ? "" : $('#SurveyCountryId :selected').text()); obj.CountryCode = $('#SurveyCountryId').val(); obj.City = $('#SurveyCityId').val(); obj.Street = $('#SurveyStreetId').val(); obj.ZipCode = $('#SurveyZipCodeId').val(); obj.Name = $('#SurveyNameId').val(); obj.Email = $('#SurveyEmailId').val(); obj.Model = $('#SurveyModelId').val(); obj.SurveyType = 'Software Download'; obj.SurveyName = surveyModeltitle; return obj; } function GetMultiLangSystems() { var systems = ["Download Center", "Product Category Setting"]; return systems; } function AutoComplete(str) { if (str != '' && $('.productSearch').hasClass('focus')) { $('#searchMatch').html(''); var filter = $.ui.autocomplete.escapeRegex(str.toLowerCase()); var res = []; var resMax = 5; var searchMatchHtml = ''; var startsWithMatcher = new RegExp("^" + filter, "i") , startsWith = $.grep(_keywordArr, function (item) { return startsWithMatcher.test(item.toLowerCase()); }) , containsMatcher = new RegExp(filter, "i") , contains = $.grep(_keywordArr, function (item) { return $.inArray(item, startsWith) < 0 && containsMatcher.test(item.toLowerCase()); }); while (res.length < resMax && (startsWith.length > 0 || contains.length > 0)) { if (startsWith.length > 0) { res.push(startsWith.shift()); } else if (contains.length > 0) { res.push(contains.shift()); } } if (res.length == 0) { res.push($('#HdnNoresult').val()); noResultFlag = true; searchMatchHtml += '

' + $('#HdnNoresult').val() + '

'; } else { noResultFlag = false; searchMatchHtml += '

    '; $.each(res, function (index, value) { searchMatchHtml += '
  • ' + value + '
  • '; }) searchMatchHtml += '

'; } $('#searchMatch').html(searchMatchHtml); ProductSearch(); $('#searchMatch').show(); } } function ProductSearch() { var productSearchIndex = 0; var $productSearch = $('.productSearch'), $productSearchForm = $productSearch.find('form'), $productSearchInput = $productSearchForm.find('input'), $productSearchClearTxt = $productSearchForm.find('.clearTxt'), $productSearchMatch = $productSearch.find('.searchMatch'), $productSearchMatchLi = $productSearchMatch.find('ul li'), $productSearchMatchA = $productSearchMatchLi.find('a'); $productSearchForm.on('click', function (e) { e.preventDefault(); }); $productSearchMatch.on('click', function (e) { e.preventDefault(); }); $productSearchInput.on('keydown', function (event) { if ($productSearchMatch.hasClass('active')) { if (event.which == 40) { event.preventDefault(); if (!noResultFlag) { if (productSearchIndex >= $productSearchMatchLi.length) { productSearchIndex = 0; } productSearchIndex += 1; $productSearchMatchA.removeClass('active'); $productSearchMatchLi.eq(productSearchIndex - 1).find('a').addClass('active'); $productSearchInput.val($productSearchMatchLi.eq(productSearchIndex - 1).text()); } } if (event.which == 9) { event.preventDefault(); if (!noResultFlag) { if (productSearchIndex >= $productSearchMatchLi.length) { productSearchIndex = 0; } productSearchIndex += 1; $productSearchMatchA.removeClass('active'); $productSearchMatchLi.eq(productSearchIndex - 1).find('a').addClass('active'); $productSearchInput.val($productSearchMatchLi.eq(productSearchIndex - 1).text()); } } if (event.which == 38) { event.preventDefault(); if (!noResultFlag) { if (productSearchIndex == 0) { productSearchIndex = $productSearchMatchLi.length; } productSearchIndex -= 1; $productSearchMatchA.removeClass('active'); $productSearchMatchLi.eq(productSearchIndex).find('a').addClass('active'); $productSearchInput.val($productSearchMatchLi.eq(productSearchIndex).text()); } } } }); $productSearchMatchA.on('mouseover', function () { $productSearchMatchLi.siblings().find('a').removeClass('active'); productSearchIndex = 0; }); $productSearchMatchA.on('click', function () { var $this = $(this); $productSearchMatchLi.siblings().find('a').removeClass('active'); productSearchIndex = 0; $productSearchInput.val($this.text()); $('.productSearchBtn').trigger('click'); }); $productSearchClearTxt.on('click', function (e) { e.preventDefault(); $productSearchInput.val('').focus(); $productSearchClearTxt.removeClass('active'); $productSearchMatch.slideUp().removeClass('active'); $productSearchMatchA.removeClass('active'); productSearchIndex = 0; }); } function GetModelVideos() { var filterArr = []; var videoSearchResult = []; filterArr.push("Type" + "|" + "Video Tutorials"); var keyword = $.trim($('#TxtKeyword').val()); if (keyword) filterArr.push('Keyword|' + keyword); $.ajax({ url: '/de/de/Ajax/ReadChannelMasterList', type: 'post', datatype: 'json', async: false, data: { jsonStr: JSON.stringify(filterArr), domain: 'de' }, success: function (result) { //2016-7-6 Eric 新增Category Filter if (result.NewMasterItemViews.length > 0) { var videoTabStr = ''; var videoFormStr = ''; $.each(result.NewMasterItemViews, function () { //加入全域變數 videoSearchResult.push(this); }); videoTabStr += '

    '; $.each(result.VideoCategoryList, function (iCategory, vCategory) { var videoName = vCategory.VideoCategoryMultiName.replace(/\'/g, ""); var videocategory = vCategory.VideoCategoryName.replace(/\'/g, ""); videoTabStr += '
  • '; videoTabStr += '' + videoName + '' videoTabStr += '
  • '; videoFormStr += '

    '; videoFormStr += '

    '; var VideoList = []; var videoNameList = []; $.each(videoSearchResult, function () { var item = $(this.NewMaster); //Category Filter if (item.attr('VideoCategory') == videoName && item.attr('ModelName').toUpperCase().includes(keyword.toUpperCase())) { if (videoNameList.indexOf(item.attr('Name')) == -1) { VideoList.push(this); videoNameList.push(item.attr('Name')); } else { $.each(VideoList, function (index, value) { if (value.NewMaster.Name == item.attr('Name') && value.NewMaster.ReleaseDate < item.attr('ReleaseDate')) { VideoList.splice(index, 1); VideoList.push(this); return false; } }); } } }); if (VideoList.length > 0) { //排序 VideoList.sort(function (a, b) { return (a.NewMaster.ReleaseDate < b.NewMaster.ReleaseDate) ? 1 : ((b.NewMaster.ReleaseDate < a.NewMaster.ReleaseDate) ? -1 : 0); }); $.each(VideoList, function (iVideo, vVideo) { var videoUrl = vVideo.NewMaster.VideoUrl; if (videoUrl) { var videoUrlSplit = videoUrl.split('/'); var videoImageUrl = "https://img.youtube.com/vi/" + videoUrlSplit[4] + "/hqdefault.jpg"; if (iVideo % 4 == 0 && iVideo / 4 != 0) { videoFormStr += '

    '; videoFormStr += '

    '; videoFormStr += '

    '; }); videoTabStr += '

'; $('#videoTab').html(videoTabStr); $('#skuContainerVideo').append(videoFormStr); $('#skuContainerVideo').removeAttr('style') } } }); $('.videoTab ul li').each(function () { var $this = $(this), $a = $this.find('a'), href = $a.attr('href'), $link = $(href); $this.on('click', function (e) { e.preventDefault(); $('.videoTab ul li').removeClass('active'); $('.videoForm').removeClass('active').hide(); $this.addClass('active'); $link.addClass('active').show(); }); }).eq(0).trigger('click'); } function newVideoPopUp(e, item) { e.preventDefault(); var $this = $(item), src = $this.attr('src'); popupScrollTop = $(window).scrollTop(); if (src.indexOf('?autoplay=1') == -1) src += '?autoplay=1'; var div = $('#youtubePopup'); div.find('iframe').attr('src', src); div.fadeIn().addClass('PopupOn'); $('html, body').addClass('popupOn'); $('body').scrollTop(popupScrollTop); } function MouseMoveEvent() { var isFocus = false; var productSearchIndex = 0, $productSearch = $('.productSearch'), $productSearchForm = $productSearch.find('form'), $productSearchInput = $productSearchForm.find('input'), $productSearchClearTxt = $productSearchForm.find('.clearTxt'), $productSearchMatch = $productSearch.find('.searchMatch'), $productSearchMatchLi = $productSearchMatch.find('ul li'), $productSearchMatchA = $productSearchMatchLi.find('a'); $('#TxtKeyword').mousedown(function (e) { isFocus = true; }); $('#TxtKeyword').mouseup(function (e) { isFocus = false; }); $(document).click(function (e) { if (!isFocus) { $productSearch.removeClass('focus'); $('html, body').removeClass('popupOn'); $productSearchMatch.hide().removeClass('active'); $productSearchMatchA.removeClass('active'); productSearchIndex = 0; } isFocus = false; }); }

Setzen Sie ein neues Passwort

Confirm

Downloadbereich | CyberPower (2024)
Top Articles
Latest Posts
Article information

Author: Frankie Dare

Last Updated:

Views: 6341

Rating: 4.2 / 5 (53 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Frankie Dare

Birthday: 2000-01-27

Address: Suite 313 45115 Caridad Freeway, Port Barabaraville, MS 66713

Phone: +3769542039359

Job: Sales Manager

Hobby: Baton twirling, Stand-up comedy, Leather crafting, Rugby, tabletop games, Jigsaw puzzles, Air sports

Introduction: My name is Frankie Dare, I am a funny, beautiful, proud, fair, pleasant, cheerful, enthusiastic person who loves writing and wants to share my knowledge and understanding with you.