| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | |
| "http://www.w3.org/TR/html4/loose.dtd"> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
| <title>ASR Wireless Router UAPXC-88</title> | |
| <script type="text/javascript" src="//192.168.1.1/js/common.js" language="javascript"></script> | |
| <script type="text/javascript"> | |
| var g_platformName = "mifi"; | |
| if (typeof jQuery == 'undefined') { | |
| //document.location = "http://192.168.0.1?c=" + (new Date()).valueOf(); | |
| window.location.reload(true); | |
| } | |
| </script> | |
| <script type="text/javascript" src="//192.168.1.1/js/panel/quick_setup.js" language="javascript"></script> | |
| <script type="text/javascript" src="//192.168.1.1/js/panel/internet/internet_connection.js" language="javascript"></script> | |
| <script type="text/javascript" src="//192.168.1.1/js/panel/wifi/wifiSetting.js" language="javascript"></script> | |
| <script type="text/javascript" src="//192.168.1.1/js/panel/dashboard.js" language="javascript"></script> | |
| <link rel="stylesheet" type="text/css" href="//192.168.1.1/css/common.css" media="all"> | |
| <link type="application/rss+xml" rel='alternate' href='ap-x.rss'/> | |
| <script type="text/javascript"> | |
| function setLocale(value) { | |
| SetCookie("locale",value,365); | |
| setLocalization(value); | |
| displayControls(); | |
| $("#tbarouter_username").focus(); | |
| } | |
| function displayControls() { | |
| document.getElementById("laUsername").innerHTML=jQuery.i18n.prop("laUsername"); | |
| document.getElementById("laPassword").innerHTML=jQuery.i18n.prop("laPassword"); | |
| document.getElementById("btnSignIn").value = jQuery.i18n.prop("btnSignIn"); | |
| document.getElementById("btnSharedFile").value = jQuery.i18n.prop("btnSharedFile"); | |
| document.getElementById("lTitleUAPXC").innerHTML = jQuery.i18n.prop("lTitleUAPXC"); | |
| document.getElementById("lacopyright").innerHTML = jQuery.i18n.prop("lacopyright"); | |
| } | |
| function sharefile() { | |
| document.getElementById("divAdminApp").style.width="1500px"; | |
| //document.getElementById("divAdminApp").innerHTML = callProductHTML("//192.168.1.1/WebDav/WebDav_Share.html"); | |
| document.getElementById("divAdminApp").innerHTML = CallHtmlFile("//192.168.1.1/html/webdav_shared.html"); | |
| document.getElementById("lTitleShareFile").innerHTML = jQuery.i18n.prop("lTitleShareFile"); | |
| document.getElementById("ShareFileBack").innerHTML=jQuery.i18n.prop("ShareFileBack"); | |
| ShareFileShowInit(); | |
| } | |
| function Login() { | |
| var username=encodeURIComponent(document.getElementById("tbarouter_username").value); | |
| var password=encodeURIComponent(document.getElementById("tbarouter_password").value); | |
| var login_done; | |
| if(username=="" ||password=="") | |
| login_done = 0; | |
| else | |
| login_done = doLogin(username,password) | |
| if(1 == login_done) { | |
| document.getElementById("divAdminApp").innerHTML = CallHtmlFile("//192.168.1.1/html/adminApp.html"); | |
| document.getElementById("lableWelcome").innerHTML = jQuery.i18n.prop("lableWelcome"); | |
| //document.getElementById("quickSetup").innerHTML = jQuery.i18n.prop("quickSetupName"); | |
| document.getElementById("MainHelp").innerHTML = jQuery.i18n.prop("helpName"); | |
| document.getElementById("MainLogOut").innerHTML = jQuery.i18n.prop("LogOutName"); | |
| document.getElementById("divAdminApp").className = ""; | |
| document.getElementsByTagName("body")[0].className = ""; | |
| g_loginPasswd = password; | |
| initAPP(); | |
| } else { | |
| document.getElementById('lloginfailed').style.display = 'block'; | |
| if(login_done == 0) | |
| document.getElementById("lloginfailed").innerHTML = jQuery.i18n.prop("lloginfailed"); | |
| else if(login_done == -1) | |
| document.getElementById("lloginfailed").innerHTML = jQuery.i18n.prop("lnoconn"); | |
| } | |
| } | |
| function checkEnter(e) { | |
| var characterCode; | |
| if(e && e.which) { | |
| e = e | |
| characterCode = e.which | |
| } else { | |
| e = event | |
| characterCode = e.keyCode | |
| } | |
| if(characterCode == 13) { | |
| Login(); | |
| } | |
| } | |
| function hideError() { | |
| document.getElementById('lloginfailed').style.display = 'none'; | |
| } | |
| function initIndex() { | |
| if("IE6" == GetBrowserType()) { | |
| var fileref=document.createElement('script'); | |
| fileref.setAttribute("type","text/javascript"); | |
| fileref.setAttribute("src", '//192.168.1.1/js/jquery/jquery.bgiframe.min.js'); | |
| document.getElementsByTagName("head")[0].appendChild(fileref); | |
| } | |
| if("" == GetCookie("locale")){ | |
| SetCookie("locale","en",365); | |
| } | |
| setLocalization(GetCookie("locale")); | |
| displayControls(); | |
| } | |
| function initAPP() { | |
| initmb(); | |
| if ("" == GetCookie("skipQs") || 0 == GetCookie("skipQs")) { | |
| sm("MBQuickSetup",600,300); | |
| LocalAllElement(); | |
| } | |
| else | |
| { | |
| createMenuFromXML(); | |
| createMenu(1); | |
| } | |
| } | |
| function btnSkipQSClicked() | |
| { | |
| if($("#btnSkipQsCheckBox").attr("checked")) { | |
| SetCookie("skipQs",1,365); | |
| } | |
| document.getElementById("lableWelcome").innerHTML = jQuery.i18n.prop("lableWelcome"); | |
| document.getElementById("quickSetupSpan").innerHTML = '<a href="#." onclick="GotoQuickSetup()" id="quickSetup" >Quick Setup</a> | <a href="#." id="HelpName" onclick="getMainHelp()">Help</a> | <a href="#." id="LogOutName" onclick="logOut()">Log Out</a>'; | |
| document.getElementById("quickSetup").innerHTML = jQuery.i18n.prop("quickSetupName"); | |
| document.getElementById("HelpName").innerHTML = jQuery.i18n.prop("helpName"); | |
| document.getElementById("LogOutName").innerHTML = jQuery.i18n.prop("LogOutName"); | |
| hm(); | |
| window.location.href = '/dashboard'; | |
| } | |
| </script> | |
| </head> | |
| <body onload="initIndex()" class="loginBody"> | |
| <div class="liginbox" id="divAdminApp"> | |
| <!--<span class="asr_logo"> </span>--> | |
| <img src="//192.168.1.1/images/asr_logo.png" alt="" /><br class="clear" /> | |
| <div class="box1"> | |
| <div class="title_box"><label id='lTitleUAPXC' style="font-weight: bold"></label></div> | |
| <div class="box2"> | |
| <a href="#." onclick="setLocale('en')">English</a> | | |
| <a href="#." onclick="setLocale('cn')">中文</a> | |
| </div> | |
| <div class="box3"> | |
| <label id='laUsername'>Username</label> | |
| <input type='text' name='router_username' maxlength="32" value='' id='tbarouter_username' class='textfield' onchange='hideError()' /> | |
| <br /> | |
| <label id='laPassword'>Password</label> | |
| <input type='password' value='' id='tbarouter_password' maxlength="32" class='textfield' onkeypress='checkEnter(event)' /> | |
| <br /> | |
| <label class='error' id='lloginfailed' style='display: none'>Invalid username or password </label> | |
| <label class='error' id='E7683FTEFTA8HT08HFH09' style='display: none'> </label> | |
| <input name="" type="button" class="button" id="btnSignIn" value="Sign In" onclick='Login()' /> | |
| <br /> | |
| <input name="" style="margin-left:450px;" type="button" class="button" id="btnSharedFile" value="Share File" onclick='sharefile()' /> | |
| </div> | |
| </div><label id="lacopyright" class="copy" style="text-align:left">Copyright 2017, All Rights Reserved, ASR Ltd.</label> | |
| <!--label id="version" class="version"></label> | |
| <label id="last_login" class="copy" style="text-align:left" ></label--> | |
| </div> | |
| </body> | |
| </html> |