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="stepView2_0" class="view current"> <table align="center" border="0" cellspacing="0" cellpadding="0" style="" class="table_padding scan_table"> <tr> <td width="100px" rowspan="2" class="valign_top"><img src="../images/scan_ani.gif"></td> <td> <table border="0" cellspacing="0" cellpadding="0" class="table_padding"> <tr><th class="nowrap_cell"><strong><span id="scan_status_scanning">Scanning:</span></strong></th><td width="310px"><span id="Scanning">Initializing...</span></td></tr> <!--<tr><th class="nowrap_cell"><strong><span id="scan_status_files_scanned" >File scanned:</span></strong></th><td>56</td></tr>--> <tr><th class="nowrap_cell"><strong><span id="scan_status_elapsed">Elapsed time:</span></strong></th><td><span id="TimeElapsed">0 second</span></td></tr> <tr><th class="nowrap_cell"><strong><span id="scan_status_found">Threats found:</span></strong></th><td><strong><span id="TotalFound" class="txt_red">0</span></strong></td></tr> </table> </td> </tr> </table> <div class="progress_bar_area"><span><img id="progress_bar" width="0px"></img></span></div> <div class="progress_status"><em id="Progress">0</em><em>%</em></div> <div class="btm_btn_area btm_btn_area_steps"> <a class="btn_common" id="btn_stop" href="javascript:void(0);"><div id="scan_stop" OnClick="ConfirmStop()">Stop</div></a> </div> </div> <script type="text/javascript"> jsInsertString("Scanning", SCAN_STATUS_DEFAULT_MSG); jsInsertString("scan_status_scanning", SCAN_STATUS_SCANNING); jsInsertString("scan_status_elapsed", SCAN_STATUS_ELAPSED); jsInsertString("scan_status_found", SCAN_STATUS_FOUND); jsInsertString("scan_stop", BTN_STOP); jsInsertString("TimeElapsed", SCAN_DEFAULT_TIME_ELAPSED); gotoNextStep(2); window.external.scanStart("cbScanStart"); function cbScanStart() { onCountTime(); } function ConfirmStop() { jQuery('#dialog p').html(WARN_MSG_STOP_SCAN); jQuery('#dialog').dialog('option', { "buttons": (function(){ var dialog_buttons = {}; dialog_buttons[BTN_OK] = function () { jQuery(this).dialog("close"); window.external.stopNow(); }; 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_STOP_SCAN) ) //{ // window.external.stopNow(); //} } function cbUpdateProgress(progress) { if( progress == "" ) return; var jsonProgress = JSON.parse(progress); if(jsonProgress.scanning == "ENUM_AUTORUN") $("span#Scanning").html(UI_STR_CALLBACK_ENUMERATE_AUTORUN); else if(jsonProgress.scanning == "ENUM_FILE") $("span#Scanning").html(UI_STR_CALLBACK_ENUMERATE_FILE); else if(jsonProgress.scanning == "ENUM_PROCESS") $("span#Scanning").html(UI_STR_CALLBACK_ENUMERATE_PROCESS); else if(jsonProgress.scanning != "" ) { var fileName = strGetSubStringInByte(jsonProgress.scanning, 50); if( textWidth(fileName) >= 270 ) { fileName = strGetSubStringInByte(jsonProgress.scanning, 37); } $("span#Scanning").html(fileName); } $("span#TotalFound").html(jsonProgress.found); $("em#Progress").html(jsonProgress.progress); var barLength = jsonProgress.progress * 3; if( barLength > 250 ) barLength -= 3; $("img#progress_bar").attr("width", barLength); } </script>