Server : Apache/2.4.43 (Win64) OpenSSL/1.1.1g PHP/7.4.6 System : Windows NT USER-PC 6.1 build 7601 (Windows 7 Professional Edition Service Pack 1) AMD64 User : User ( 0) PHP Version : 7.4.6 Disable Function : NONE Directory : C:/Users/User/AppData/Local/Temp/HouseCall32/interface/html/ |
<div id="stepView3_0" class="view current row"> <div id="summary" class="col"> <h2> <span id="str_summary">Summary</span> <a id="lnk_more_detail" class="txt_11 txt_normal" href="javascript:void(0);" OnClick="$('#btn_preScan').click()">More Details</a> </h2> <div class="dotline_h"></div> <div id="CleanSummary"> </div> <div class="btm_btn_area btm_btn_area_steps"> <ul class="list_inline"> <li><a href="http://shop.trendmicro.com/ " id="lnk_more_protection">Get more protection.</a></li> <li><a class="btn_common" id="btn_selectFileToFeedback" href="javascript:void(0);"><div id="selectFileToFeedback">abc</div></a></li> <li><a class="btn_common btn_special" id="btn_reboot" href="javascript:void(0);"><div id="RestartNow">Restart Now</div></a></li> <li><a class="btn_common" id="btn_backtomain" href="javascript:void(0);"><div id="GoToMain">Scan Again</div></a></li> <li><a class="btn_common" id="summary_btn_close" href="javascript:void(0);"><div id="SummaryCloseNow">Close</div></a></li> </ul> </div> <input id="ShowCleanResult" type="hidden"/> <input id="RebootNow" type="hidden"/> </div> <div id="ad300x250" class="col"> </div> </div> <script type="text/javascript"> function ConfirmReboot() { jQuery('#dialog p').html(WARN_MSG_CLEAN_REBOOT); jQuery('#dialog').dialog('option', { "buttons": (function(){ var dialog_buttons = {}; dialog_buttons[BTN_OK] = function () { jQuery(this).dialog("close"); $("#RebootNow").click(); }; dialog_buttons[BTN_CANCEL] = function () { jQuery(this).dialog("close"); }; return dialog_buttons; })(), "close": function(event, ui) { }, "open": function(event, ui) { } }); jQuery('#dialog').dialog("open"); //if( window.external.confirmDialog(WARN_MSG_CLEAN_REBOOT) ) { // $("#RebootNow").click(); //} } function cbGetFixSummary(result) { var bNoResult = false; var bNeedReboot = false; var htmlSummary = ""; if( result == "" ) { bNoResult = true; } else { var jsonSummary = eval('(' + result + ')'); if( jsonSummary.threat_found.total + jsonSummary.suspicious_found.total > 0 ) { if( jsonSummary.threat_found.total > 0 ) { htmlSummary += String.format("<h3 class=marginb_5>" + UI_STR_FMT_CLEAN_SUM_THREAT_FOUND + "</h3>", jsonSummary.threat_found.total); htmlSummary += "<ul class=\"list_status\">"; if( jsonSummary.threat_found.action_fix_success > 0 ) { htmlSummary += String.format("<li class=\"ok\">" + UI_STR_FMT_CLEAN_SUM_THREAT_FIXED + "</li>", jsonSummary.threat_found.action_fix_success); } if( jsonSummary.threat_found.action_fix_fail > 0 ) { htmlSummary += String.format("<li class=\"error\">" + UI_STR_FMT_CLEAN_SUM_THREAT_UNABLE_TO_FIX + "</li>", jsonSummary.threat_found.action_fix_fail); } if( jsonSummary.threat_found.action_fix_reboot > 0 ) { htmlSummary += String.format("<li class=\"error\">" + UI_STR_FMT_CLEAN_SUM_THREAT_FIXED_AFTER_REBOOT + "</li>", jsonSummary.threat_found.action_fix_reboot); bNeedReboot = true; } if( jsonSummary.threat_found.action_ignore > 0 ) { htmlSummary += String.format("<li class=\"warn\">" + UI_STR_FMT_CLEAN_SUM_THREAT_IGNORED + "</li>", jsonSummary.threat_found.action_ignore); } htmlSummary += "</ul>" } if( jsonSummary.suspicious_found.total > 0 ) { htmlSummary += String.format("<h3 class=marginb_5>" + UI_STR_FMT_CLEAN_SUM_SUSPICIOUS_FOUND + "</h3>", jsonSummary.suspicious_found.total); htmlSummary += "<ul class=\"list_status\">"; if( jsonSummary.suspicious_found.action_fix_success > 0 ) { htmlSummary += String.format("<li class=\"ok\">" + UI_STR_FMT_CLEAN_SUM_SUSPICIOUS_FIXED + "</li>", jsonSummary.suspicious_found.action_fix_success); } if( jsonSummary.suspicious_found.action_fix_fail > 0 ) { htmlSummary += String.format("<li class=\"error\">" + UI_STR_FMT_CLEAN_SUM_SUSPICIOUS_UNABLE_TO_FIX + "</li>", jsonSummary.suspicious_found.action_fix_fail); } if( jsonSummary.suspicious_found.action_fix_reboot > 0 ) { htmlSummary += String.format("<li class=\"error\">" + UI_STR_FMT_CLEAN_SUM_SUSPICIOUS_FIXED_AFTER_REBOOT + "</li>", jsonSummary.suspicious_found.action_fix_reboot); bNeedReboot = true; } if( jsonSummary.suspicious_found.action_ignore > 0 ) { htmlSummary += String.format("<li class=\"warn\">" + UI_STR_FMT_CLEAN_SUM_SUSPICIOUS_IGNORED + "</li>", jsonSummary.suspicious_found.action_ignore); } htmlSummary += "</ul>" } } else { bNoResult = true; } if (jsonSummary.enable_file_selection) { jsInsertString("selectFileToFeedback", BTN_SELECT_FILE_TO_SEND); $("#btn_selectFileToFeedback").show(); } } if( bNoResult ) { htmlSummary += "<ul class=\"list_status\"><li class=\"ok\">" + SCAN_MSG_NO_THREAT + "</li></ul>"; } if( !bNeedReboot ) { $("#btn_reboot").hide(); } $("#CleanSummary").html(htmlSummary); } jsInsertString("str_summary", SCAN_SUMMARY); jsInsertString("lnk_more_detail", SCAN_MORE_DETAIL); jsInsertString("GoToMain", BTN_SCAN_AGAIN); jsInsertString("CloseNow", BTN_CLOSE); jsInsertString("RestartNow", BTN_RESTART_NOW); gotoNextStep(3); $("#GoToMain").live("click",function() { $("#step_content").load("scan_step1_0.html"); }); $("#CloseNow").live("click",function() { window.external.closeNow(); }); $("#RebootNow").live("click",function() { window.external.rebootNow(); }); $("#selectFileToFeedback").live("click",function() { // //window.external.openFileSelection("select_file.html", 305, 220); window.external.openFileSelection("select_file.html", 305, 260); }) .parent().attr("title", BTN_SELECT_FILE_TO_SEND_TOOLTIP); $("#btn_selectFileToFeedback").hide(); window.external.getFixSummary("cbGetFixSummary"); </script>