1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xmlns="http://www.w3.org/1999/xhtml"> 3<head> 4<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 5<meta HTTP-EQUIV="Pragma" CONTENT="no-cache"> 6<meta HTTP-EQUIV="Expires" CONTENT="-1"> 7<title>Untitled Document</title> 8<link href="../NM_style.css" rel="stylesheet" type="text/css"> 9<link rel="stylesheet" type="text/css" href="../form_style.css"> 10 11<script type="text/javascript" src="/state.js"></script> 12<script> 13var printer_manufacturer_array = parent.printer_manufacturers(); 14var printer_model_array = parent.printer_models(); 15var printer_pool_array = parent.printer_pool(); 16 17function initial(){ 18 if(printer_model_array.length > 0 ) { 19 showtext($("printerModel"), printer_manufacturer_array[0]+" "+printer_model_array[0]); 20 21 if(printer_pool_array[0] != "") 22 showtext($("printerStatus"), '<#CTL_Enabled#>'); 23 else 24 showtext($("printerStatus"), '<#CTL_Disabled#>'); 25 } 26 else 27 showtext($("printerStatus"), '<% translate_x("System_Internet_Details_Item5_desc2"); %>'); 28} 29 30function cleanTask(){ 31 parent.showLoading(3); 32 33 document.form.action_mode.value = "Update"; 34 document.form.action_script.value = "mfp_monopolize"; 35 document.form.current_page.value = "index.asp"; 36 document.form.next_page.value = ""; 37 38 document.form.submit(); 39} 40</script> 41</head> 42 43<body class="statusbody" onload="initial();"> 44 45<form method="post" name="form" action="/start_apply.htm"> 46<input type="hidden" name="productid" value="<% nvram_get_f("general.log","productid"); %>"> 47<input type="hidden" name="current_page" value="Main_GStatus_Content.asp"> 48<input type="hidden" name="next_page" value=""> 49<input type="hidden" name="modified" value="0"> 50<input type="hidden" name="action_mode" value=""> 51<input type="hidden" name="action_script" value=""> 52<input type="hidden" name="preferred_lang" id="preferred_lang" value="<% nvram_get_x("LANGUAGE", "preferred_lang"); %>"> 53 54<table width="95%" border="1" align="center" cellpadding="4" cellspacing="0" bordercolor="#6b8fa3" class="table1px"> 55 <tr> 56 <th width="50%"><span class="top-messgae"><#PrinterStatus_x_PrinterModel_itemname#></span></th> 57 <td width="130"><span id="printerModel"></span></td> 58 </tr> 59 <tr> 60 <th><span class="top-messgae"><#Printing_status#></span></th> 61 <td><span id="printerStatus"></span></td> 62 </tr> 63 <tr> 64 <th><#Printing_button_item#></th> 65 <td><input type="button" class="button" value="<#btn_Enable#>" onclick="cleanTask();"></td> 66 </tr> 67</table> 68</form> 69</body> 70</html> 71