Advertisement
Guest User

Untitled

a guest
Dec 11th, 2019
326
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.16 KB | None | 0 0
  1.  
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  3. <html>
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=2.0, user-scalable=1"/>
  7. <meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
  8. <meta HTTP-EQUIV="Expires" CONTENT="-1">
  9. <link rel="shortcut icon" href="images/favicon.png">
  10. <link rel="icon" href="images/favicon.png">
  11. <title>ASUS Wireless Router RT-AC51U - Chybové hlášení</title>
  12. <style>
  13. .page_body{
  14. background-color:#21333e;
  15. margin:10px auto;
  16. }
  17. .page_body_mobile{
  18. background-color:black;
  19. margin:0px auto;
  20. }
  21. .loadingBarBlock{
  22. filter:alpha(opacity=90);
  23. opacity:.90;
  24. -webkit-border-radius: 10px;
  25. -moz-border-radius: 10px;
  26. border-radius: 10px;
  27. behavior: url(/PIE.htc);
  28. border-radius: 10px 10px 10px 10px;
  29. border: 0px;
  30. width:300px;
  31. font-size:12px;
  32. font-family:Verdana, Arial, Helvetica, sans-serif;
  33. color:#FFFFFF;
  34. background-color:#000000;
  35. position:absolute;
  36. margin:5px 35% 5px;
  37. }
  38. .erTable thead{
  39. color:#FFFFFF;
  40. font-weight:bolder;
  41. font-size:15px;
  42. font-family:Verdana, Arial, Helvetica, sans-serif;
  43. text-align:center;
  44. line-height:25px;
  45. }
  46. .erTable th{
  47. font-weight:bolder;
  48. font-size:13px;
  49. font-family:Verdana, Arial, Helvetica, sans-serif;
  50. line-height:25px;
  51. text-align:left;
  52. }
  53. .erTable thead td{
  54. height:52px;
  55. background: #7d7e7d; /* Old browsers */
  56. background: -moz-linear-gradient(top, #7d7e7d 0%, #0e0e0e 100%); /* FF3.6+ */
  57. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#7d7e7d), color-stop(100%,#0e0e0e)); /* Chrome,Safari4+ */
  58. background: -webkit-linear-gradient(top, #7d7e7d 0%,#0e0e0e 100%); /* Chrome10+,Safari5.1+ */
  59. background: -o-linear-gradient(top, #7d7e7d 0%,#0e0e0e 100%); /* Opera11.10+ */
  60. background: -ms-linear-gradient(top, #7d7e7d 0%,#0e0e0e 100%); /* IE10+ */
  61. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7d7e7d', endColorstr='#0e0e0e',GradientType=0 ); /* IE6-9 */
  62. background: linear-gradient(top, #7d7e7d 0%,#0e0e0e 100%); /* W3C */
  63. }
  64. .erTable tbody th{
  65. background: #000; /* Old browsers */
  66. font-size:15px;
  67. }
  68. .erpage_td{
  69. background: #000; /* Old browsers */
  70. }
  71. .erpage_footer{
  72. height:36px;
  73. background: #0e0e0e; /* Old browsers */
  74. background: -moz-linear-gradient(top, #0e0e0e 0%, #7d7e7d 100%); /* FF3.6+ */
  75. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#0e0e0e), color-stop(100%,#7d7e7d)); /* Chrome,Safari4+ */
  76. background: -webkit-linear-gradient(top, #0e0e0e 0%,#7d7e7d 100%); /* Chrome10+,Safari5.1+ */
  77. background: -o-linear-gradient(top, #0e0e0e 0%,#7d7e7d 100%); /* Opera11.10+ */
  78. background: -ms-linear-gradient(top, #0e0e0e 0%,#7d7e7d 100%); /* IE10+ */
  79. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0e0e0e', endColorstr='#7d7e7d',GradientType=0 ); /* IE6-9 */
  80. background: linear-gradient(top, #0e0e0e 0%,#7d7e7d 100%); /* W3C */
  81. -webkit-border-bottom-right-radius: 10px;
  82. -webkit-border-bottom-left-radius: 10px;
  83. -moz-border-radius-bottomright: 10px;
  84. -moz-border-radius-bottomleft: 10px;
  85. border-bottom-right-radius: 10px;
  86. border-bottom-left-radius: 10px;
  87. }
  88. .Epagecontent{
  89. font-size:12px;
  90. font-family:Verdana, Arial, Helvetica, sans-serif;
  91. border:1px dashed #333;
  92. background-color:#FFF;
  93. width:90%;
  94. padding:5px;
  95. margin:2px 0px 10px 20px;
  96. line-height:20px;
  97. color:#000;
  98. }
  99. .Epagetitle{
  100. font-size:14px;
  101. font-family:Verdana, Arial, Helvetica, sans-serif;
  102. font-weight: bolder;
  103. line-height:30px;
  104. color:#FFF;
  105. margin:0px 0px 0px 20px;
  106. }
  107. .alertImg{
  108. position:absolute;
  109. z-index:600;
  110. margin:-117px 0px 0px 410px;
  111. }
  112. .er_title{
  113. color:#FC0;
  114. background-color:#000000;
  115. font-weight:bolder;
  116. height:30px;
  117. line-height:24px;
  118. margin:5px 0px 0px 20px;
  119. }
  120. .Bar_container{
  121. width:85%;
  122. height:21px;
  123. border:2px inset #999;
  124. margin:0 auto;
  125. background-color:#FFFFFF;
  126. z-index:100;
  127. }
  128. #proceeding_img_text{
  129. position:absolute; z-index:101; font-size:11px; color:#000000; margin-left:110px; line-height:21px;
  130. }
  131. #proceeding_img{
  132. height:21px;
  133. background:#C0D1D3 url(/images/proceeding_img.gif);
  134. }
  135. .modelName{
  136. color:#FFFFFF;
  137. font-size:22px;
  138. font-family:Verdana;
  139. font-weight:bolder;
  140. border:0px solid #333;
  141. width:300px;
  142. position:absolute;
  143. height:20px;
  144. letter-spacing:1px;
  145. margin:10px 0px 0px 18px;
  146. }
  147. .popup_bar_bg{
  148. position:absolute;
  149. margin: auto;
  150. top: 0;
  151. left: 0;
  152. width:100%;
  153. height:100%;
  154. z-index:99;
  155. background-color: #444F53;
  156. filter:alpha(opacity=90); /*IE5、IE5.5、IE6、IE7*/
  157. opacity: .9; /*Opera9.0+、Firefox1.5+、Safari、Chrome*/
  158. background-repeat: repeat;
  159. visibility:hidden;
  160. overflow:hidden;
  161. }
  162. .button_gen{
  163. font-weight: bolder;
  164. text-shadow: 1px 1px 0px black;
  165. background: transparent url(/images/New_ui/contentbt_normal.png) no-repeat scroll center top;
  166. _background: transparent url(/images/New_ui/contentbt_normal_ie6.png) no-repeat scroll center top;
  167. border:0;
  168. color: #FFFFFF;
  169. height:33px;
  170. font-family:Verdana;
  171. font-size:12px;
  172. padding:0 .70em 0 .70em;
  173. width:122px;
  174. overflow:visible;
  175. cursor:pointer;
  176. outline: none; /* for Firefox */
  177. hlbr:expression(this.onFocus=this.blur()); /* for IE */
  178. white-space:normal;
  179. }
  180. .button_gen:hover{
  181. font-weight: bolder;
  182. background:url(/images/New_ui/contentbt_over.png) no-repeat;
  183. height:33px;
  184. width:122px;
  185. padding:0 .70em 0 .70em;
  186. background-position:0px;
  187. cursor:pointer;
  188. outline: none; /* for Firefox */
  189. hlbr:expression(this.onFocus=this.blur()); /* for IE */
  190. }
  191. .radius{
  192. -webkit-border-top-left-radius: 10px;
  193. -webkit-border-top-right-radius: 10px;
  194. -moz-border-radius-topleft: 10px;
  195. -moz-border-radius-topright: 10px;
  196. border-top-left-radius: 10px;
  197. border-top-right-radius: 10px
  198. }
  199. .footer_mobile{
  200. height:36px;
  201. background: #0e0e0e; /* Old browsers */
  202. background: -moz-linear-gradient(top, #0e0e0e 0%, #7d7e7d 100%); /* FF3.6+ */
  203. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#0e0e0e), color-stop(100%,#7d7e7d)); /* Chrome,Safari4+ */
  204. background: -webkit-linear-gradient(top, #0e0e0e 0%,#7d7e7d 100%); /* Chrome10+,Safari5.1+ */
  205. background: -o-linear-gradient(top, #0e0e0e 0%,#7d7e7d 100%); /* Opera11.10+ */
  206. background: -ms-linear-gradient(top, #0e0e0e 0%,#7d7e7d 100%); /* IE10+ */
  207. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0e0e0e', endColorstr='#7d7e7d',GradientType=0 ); /* IE6-9 */
  208. background: linear-gradient(top, #0e0e0e 0%,#7d7e7d 100%); /* W3C */
  209. box-sizing:border-box;
  210. position:relative;
  211. bottom:0;
  212. height:36px;
  213. width:100%;
  214. }
  215. .content_block{
  216. width:500px;
  217. margin:40px auto 0px auto;
  218. }
  219. .content_block_mobile{
  220. width:100%;
  221. }
  222. </style>
  223. <script type="text/JavaScript" src="/jquery.js"></script>
  224. <script type="text/javascript">
  225. var sw_mode = '1';
  226. if((sw_mode == 2 || sw_mode == 3) && '' == 1)
  227. sw_mode = 4;
  228. if('RT-AC51U' == "RT-AC3200" && sw_mode == 3 && '' == 2)
  229. sw_mode = 2;
  230. var detect_dhcp_pppoe = "";
  231. var current_lanip = '192.168.1.1';
  232. var current_mask = '255.255.255.0';
  233. var new_lan_ip = '';
  234. var reboot_time = 5;
  235. var wanstate = -1;
  236. var wansbstate = -1;
  237. var wanauxstate = -1;
  238. var _wlc_ssid = decodeURIComponent('');
  239. wanstate = 2;
  240. wansbstate = 0;
  241. wanauxstate = 0;
  242.  
  243. function is_logined() { return 0; }
  244. function login_ip_dec() { return '0'; }
  245. function login_ip_str() { return '0.0.0.0'; }
  246. function login_ip_str_now() { return '192.168.1.100'; }
  247. function login_mac_str() { return 'd0:17:c2:16:02:48'; }
  248.  
  249. var done_setting_lan = 0;
  250. var winH, winW;
  251. var progress, y;
  252. var rc_support = "mssid 2.4G 5G update usbX1 rawifi switchctrl manual_stb 11AC ipv6 PARENTAL2 pptpd printer modem openvpnd webdav rrsut cloudsync appnet HTTPS vpnc tcode";
  253. function isSupport(_ptn){
  254. return (rc_support.search(_ptn) == -1) ? false : true;
  255. }
  256. var tmo_support = isSupport("tmo");
  257. if(tmo_support)
  258. var theUrl = "cellspot.router";
  259. else
  260. var theUrl = "router.asus.com";
  261. var wans_dualwan_orig = '';
  262. if(wans_dualwan_orig.search(" ") == -1)
  263. var wans_flag = 0;
  264. else
  265. var wans_flag = (wans_dualwan_orig.search("none") == -1) ? 1:0;
  266. var casenum = '3';
  267. var dsl_support = isSupport("dsl");
  268. function initial(){
  269. var LoginIP = login_ip_str();
  270. var nowIP = login_ip_str_now();
  271. if(isMobile()){
  272. document.getElementById('body_tag').className = "page_body_mobile";
  273. document.getElementById('main_content').className = "content_block_mobile";
  274. document.getElementById('footer').className = "";
  275. document.getElementById('failReason').style.fontSize = "16px";
  276. document.getElementById('suggestion_block').style.fontSize = "16px";
  277. }
  278. else{
  279. document.getElementById('table_head').className = "radius";
  280. }
  281. var html_code = '';
  282. var html_code_notlogin = "<ul>\n<li>Please check with your network administrator.</li>\n</ul>\n";
  283. hideLinkTag();
  284. if(casenum == 1){
  285. showtext($("#failReason1")[0], "Síťový kabel není připojen.");
  286. html_code += "<ul>";
  287. html_code += "<li>Zkontrolujte, zda je řádně připojen kabel mezi portem WAN směrovače a modemu.</li>";
  288. html_code += "</ul>";
  289. }
  290. else if(casenum == 2){
  291. html_code += "<ul>";
  292. html_code += "<li>";
  293. if(wansbstate == 2 || wanauxstate == 3){
  294. showtext($("#failReason1")[0], "Přihlášení PPPoE nebo VPN se nezdařilo.");
  295. html_code += "<div>";
  296. html_code += "<a href='javascript:pppoeLink();' style='color:#569AC7;text-decoration:underline;'>Přejděte na stránku „Nastavení účtu“</a>";
  297. html_code += "<span>a překontrolujte správnost svého účtu a hesla.</span>";
  298. html_code += "</div>";
  299. }
  300. else{
  301. showtext($("#failReason1")[0], "Žádná odezva vzdáleného serveru.");
  302. html_code += "<div>";
  303. html_code += "<a href='javascript:detectLink();' style='color:#569AC7; text-decoration:underline;'>Přechodem na stránku Rychlé nastavení internetu bude automaticky rozpoznán typ připojení.</a>";
  304. html_code += "<span>a RT-AC51U zjistí váš typ WAN automaticky.</span>";
  305. html_code += "</div>";
  306. }
  307. html_code += "</li>";
  308. html_code += "</ul>";
  309. }
  310. else if(casenum == 3){
  311. showtext($("#failReason1")[0], "Nelze se připojit k Internetu. Znovu zkontrolujte údaje o vašem účtu s vaším ISP nebo požádejte horkou linku odborné pomoci ASUS o pomoc s technickými problémy a o podporu.");
  312. html_code += "<ul>";
  313. html_code += "<li>Prosím kontaktujte svého poskytovatele internetu (ISP) a zjistěte důvod selhání DHCP.</li>";
  314. html_code += "</ul>";
  315. }
  316. else if(casenum == 4){
  317. showtext($("#failReason1")[0], "Připojení k Internetu se nezdařilo. Adresa IP serveru je stejná jako adresa IP brány.");
  318. html_code += "<ul>";
  319. html_code += "<li>Znovu nakonfigurujte adresu IP smerovače tak, aby byla odlišná od adresy IP brány.</li>";
  320. html_code += "</ul>";
  321. }
  322. else if(casenum == 5){
  323. if(wanstate == 5)
  324. showtext($("#failReason1")[0], "Pravděpodobně jste zastavili činnost WAN připojení manuálně.");
  325. else
  326. showtext($("#failReason1")[0], "Dynamická nebo statická adresa IP směrovače nejsou správné.");
  327. html_code += '<ul>\n';
  328. if(wanstate == 5)
  329. html_code += '<li>Prosím vytvořte připojení WAN manuálně.</li>\n';
  330. else
  331. html_code += '<li>Zkontrolujte, zda jsou nastavení IP a DNS správná.</li>\n';
  332. html_code += '</ul>\n';
  333. if(wanstate == 5){
  334. html_code += '<ul>\n';
  335. html_code += '<li><a href="javascript:manually_start_wan_Link();" style="color:#569AC7; text-decoration:underline;">Obnovte WAN.</a></li>\n';
  336. html_code += '</ul>\n';
  337. }
  338. }
  339. else if(casenum == 6){
  340. new_lan_ip = get_new_lanip();
  341. if(LoginIP != "0.0.0.0" && LoginIP != nowIP){
  342. showtext($("#failReason1")[0], "IP conflict detected. Please check again.");
  343. html_code = html_code_notlogin;
  344. $("#Epage_Suggest1")[0].style.display= "none";
  345. $("#Epage_Suggest2")[0].style.display= "";
  346. }else{
  347. showtext($("#failReason1")[0], "Došlo ke konfliktu adresy IP.");
  348. html_code += "<ul>\n";
  349. html_code += "<li>Klepnutím na tlačítko (Další) získá směrovač automaticky novou adresu IP. Nová adresa IP je:<br>";
  350. html_code += "<B>"+new_lan_ip+"</B></li>\n";
  351. html_code += "<li>Nakonfigurujte všechna zařízení, například Předávání portů nebo DMZ, na novou adresu IP.</li>\n";
  352. html_code += "</ul>\n";
  353. html_code += "<br>\n";
  354. html_code += "<div style=\"text-align: right;\">\n";
  355. html_code += "<input type=\"button\" class=\"button_gen\" width=\"72\" onclick=\"change_lan_subnet();\" value=\"Další\">\n";
  356. html_code += "</div>\n";
  357. }
  358. $("#suggestion").hide();
  359. }
  360. else if(casenum == 8){
  361. showtext($("#failReason1")[0], "Nadřízený přístupový bod (AP) je pravděpodobně vypnutý. Zkontrolujte prosím znovu.");
  362. if(LoginIP != "0.0.0.0" && LoginIP != nowIP){
  363. html_code = html_code_notlogin;
  364. $("#Epage_Suggest1")[0].style.display= "none";
  365. $("#Epage_Suggest2")[0].style.display= "";
  366. }
  367. else{
  368. html_code += "<ul>\n";
  369. html_code += "<li>Změňte síť, ke které se RT-AC51U připojí.";
  370. html_code += "<span style=\"text-align: right;\">\n";
  371. html_code += "<input type=\"button\" class=\"button_gen\" width=\"72\" onclick=\"javascript:location.href=\'/QIS_wizard.htm?flag=";
  372. if(sw_mode == "2")
  373. html_code += "sitesurvey_rep";
  374. else
  375. html_code += "sitesurvey_mb";
  376. html_code += "\';\" value=\"Znovu vyhledat\">";
  377. html_code += "</span>\n";
  378. html_code += "</li>\n";
  379. html_code += "<li>Manuální konfigurace a dolaďování";
  380. html_code += "<span style=\"text-align: right;\">\n";
  381. html_code += "<input type=\"button\" class=\"button_gen\" width=\"72\" onclick=\"javascript:location.href=\'QIS_wizard.htm?flag=manual\';\" value=\"Ruční nastavení\">";
  382. html_code += "</span>\n";
  383. html_code += "</li>\n";
  384. html_code += "</ul>\n";
  385. }
  386. $("#suggestion").hide();
  387. }
  388. else{
  389. parent.location = "/index.asp";
  390. }
  391. if(tmo_support && isMobile()){
  392. $('#Epage_Suggest').hide();
  393. $('#suggestion_block').hide();
  394. }
  395. $("#case_content")[0].innerHTML = html_code;
  396. }
  397. function isMobile(){
  398. if( navigator.userAgent.match(/iPhone/i) ||
  399. navigator.userAgent.match(/iPod/i) ||
  400. navigator.userAgent.match(/iPad/i) ||
  401. (navigator.userAgent.match(/Android/i) && (navigator.userAgent.match(/Mobile/i) || navigator.userAgent.match(/Tablet/i))) ||
  402. (navigator.userAgent.match(/Opera/i) && (navigator.userAgent.match(/Mobi/i) || navigator.userAgent.match(/Mini/i))) || // Opera mobile or Opera Mini
  403. navigator.userAgent.match(/IEMobile/i) || // IE Mobile
  404. navigator.userAgent.match(/BlackBerry/i) //BlackBerry
  405. ){
  406. return true;
  407. }
  408. else{
  409. return false;
  410. }
  411. }
  412. function showtext(obj, str){
  413. if(obj)
  414. obj.innerHTML = str;
  415. }
  416. function hideLinkTag(){
  417. if(document.all){
  418. var tagObjs = document.all.tags("a");
  419. for(var i = 0; i < tagObjs.length; ++i)
  420. tagObjs(i).outerHTML = tagObjs(i).outerHTML.replace(">"," hidefocus=true>");
  421. }
  422. }
  423. function wanLink(){
  424. if(wans_flag){
  425. if(wans_dualwan_orig.split(" ")[0].toUpperCase == "USB")
  426. location.href = '/Advanced_Modem_Content.asp';
  427. else if(dsl_support){
  428. if(wans_dualwan_orig.split(" ")[0].toUpperCase == "WAN" || wans_dualwan_orig.split(" ")[0].toUpperCase == "LAN")
  429. location.href = '/Advanced_WAN_Content.asp';
  430. else
  431. location.href = '/Advanced_DSL_Content.asp';
  432. }
  433. else
  434. location.href = '/Advanced_WAN_Content.asp';
  435. }
  436. else{
  437. if(dsl_support)
  438. location.href = '/Advanced_DSL_Content.asp';
  439. else
  440. location.href = '/Advanced_WAN_Content.asp';
  441. }
  442. }
  443. function pppoeLink(){
  444. location.href = "/QIS_wizard.htm?flag=pppoe";
  445. }
  446. function detectLink(){
  447. location.href = "/QIS_wizard.htm?flag=detect";
  448. }
  449. function manually_start_wan_Link(){
  450. location.href = "/index.asp?flag=Internet";
  451. }
  452. function change_lan_subnet(){
  453. showLoadingBar(reboot_time);
  454. send_setting();
  455. setTimeout("check_system_ready();", reboot_time*1000);
  456. }
  457. function check_system_ready(){
  458. if(wanstate != 2){
  459. $("#proceeding_action")[0].innerHTML = "Adresa IP se obnovuje. Trvá-li tento proces déle než dvě minuty, obnovte adresu IP ručně podle následujících tří kroků: (1) odpojte síťový kabel; (2) počkejte přibližně deset sekund; a (3) znovu jej připojte pro získání nové adresy IP.";
  460. detect_router();
  461. setTimeout("check_system_ready();", 3000);
  462. }
  463. else{
  464. $("#proceeding_img")[0].style.width = "100%";
  465. $("#proceeding_img_text")[0].innerHTML = "Hotovo!";
  466. $("#proceeding_action")[0].innerHTML = "Nastavení IP byla úspěšně zaktualizována. Budete přesměrování na webové grafické uživatelské rozhraní RT-AC51U.";
  467. if('1' == '0')
  468. setTimeout("parent.location = \"http://"+new_lan_ip+"/QIS_wizard.htm?flag=welcome\"", 2*1000);
  469. else
  470. setTimeout("parent.location = \"http://"+new_lan_ip+"/QIS_wizard.htm?flag=detect\"", 2*1000);
  471. }
  472. }
  473. function send_setting(){
  474. $.ajax({
  475. url: '/setting_lan.htm',
  476. dataType: 'script',
  477. error: function(xhr){
  478. setTimeout("send_setting();", 1000);
  479. },
  480. success: function(response){
  481. ;
  482. }
  483. });
  484. }
  485. function detect_router(){
  486. $.ajax({
  487. url: 'http://'+new_lan_ip+'/WAN_info.asp',
  488. dataType: 'script',
  489. error: function(xhr){
  490. setTimeout("detect_router();", 1000);
  491. },
  492. success: function(response){
  493. setTimeout("detect_router();", 1000);
  494. }
  495. });
  496. }
  497. function get_new_lanip(){
  498. if(tmo_support){
  499. if(current_lanip.indexOf("192.168.29") >= 0)
  500. return "192.168.24.1";
  501. else
  502. return "192.168.29.1";
  503. }
  504. else{
  505. var reverse_mask_num = ~(inet_aton(current_mask));
  506. var current_lanip_num = inet_aton(current_lanip);
  507. var new_lanip_num = current_lanip_num+reverse_mask_num+1;
  508. return inet_ntoa(new_lanip_num);
  509. }
  510. }
  511. function inet_aton(ip_str){
  512. if(!ip_str)
  513. return -1;
  514. var re = /^(\d+)\.(\d+)\.(\d+)\.(\d+)$/;
  515. if(re.test(ip_str)){
  516. var v1 = parseInt(RegExp.$1);
  517. var v2 = parseInt(RegExp.$2);
  518. var v3 = parseInt(RegExp.$3);
  519. var v4 = parseInt(RegExp.$4);
  520. if(v1 < 256 && v2 < 256 && v3 < 256 && v4 < 256)
  521. return v1*256*256*256+v2*256*256+v3*256+v4;
  522. }
  523. return -2;
  524. }
  525. function inet_ntoa(ip_num){
  526. var v1, v2, v3, v4;
  527. var ip_str = "";
  528. if(!ip_num || typeof(ip_num) != "number")
  529. return null;
  530. v1 = (ip_num&0xff000000)>>>24;
  531. v2 = (ip_num&0x00ff0000)>>>16;
  532. v3 = (ip_num&0x0000ff00)>>>8;
  533. v4 = (ip_num&0x000000ff);
  534. ip_str = v1+"."+v2+"."+v3+"."+v4;
  535. return ip_str;
  536. }
  537. function winW_H(){
  538. if(parseInt(navigator.appVersion) > 3){
  539. winW = document.documentElement.scrollWidth;
  540. if(document.documentElement.clientHeight > document.documentElement.scrollHeight)
  541. winH = document.documentElement.clientHeight;
  542. else
  543. winH = document.documentElement.scrollHeight;
  544. }
  545. }
  546. function showLoadingBar(seconds){
  547. htmlbodyforIE = document.getElementsByTagName("html"); //this both for IE&FF, use "html" but not "body" because <!DOCTYPE html PUBLIC.......>
  548. htmlbodyforIE[0].style.overflow = "hidden"; //hidden the Y-scrollbar for preventing from user scroll it.
  549. winW_H();
  550. var blockmarginTop;
  551. blockmarginTop = document.documentElement.scrollTop + 200;
  552. $("#loadingBarBlock")[0].style.marginTop = blockmarginTop+"px";
  553. $("#LoadingBar")[0].style.width = winW+"px";
  554. $("#LoadingBar")[0].style.height = winH+"px";
  555. if(!seconds)
  556. seconds = 0;
  557. else
  558. progress = 100/seconds;
  559. y = 0;
  560. LoadingProgress(seconds);
  561. }
  562. function LoadingProgress(seconds){
  563. $("#LoadingBar")[0].style.visibility = "visible";
  564. y = y+progress;
  565. if(typeof(seconds) == "number" && seconds >= 0){
  566. if(seconds != 0){
  567. if(Math.round(y) == 100){
  568. $("#proceeding_img")[0].style.width = "99%";
  569. $("#proceeding_img_text")[0].innerHTML = "99%";
  570. }
  571. else{
  572. $("#proceeding_img")[0].style.width = Math.round(y) + "%";
  573. $("#proceeding_img_text")[0].innerHTML = Math.round(y) + "%";
  574. }
  575. --seconds;
  576. setTimeout("LoadingProgress("+seconds+");", 1000);
  577. }
  578. else{
  579. $("#proceeding_img")[0].style.width = "99%";
  580. $("#proceeding_img_text")[0].innerHTML = "99%";
  581. y = 0;
  582. }
  583. }
  584. }
  585. function hideLoadingBar(){
  586. $("#LoadingBar")[0].style.visibility = "hidden";
  587. }
  588. </script>
  589. </head>
  590. <body id="body_tag" onload="initial();" class="page_body">
  591. <div id="LoadingBar" class="popup_bar_bg">
  592. <table cellpadding="5" cellspacing="0" id="loadingBarBlock" class="loadingBarBlock" align="center">
  593. <tr>
  594. <td height="80">
  595. <div class="Bar_container">
  596. <span id="proceeding_img_text"></span>
  597. <div id="proceeding_img"></div>
  598. </div>
  599. <div id="proceeding_action" style="margin:5px auto; width:85%;">Changing the local subnet...</div>
  600. </td>
  601. </tr>
  602. </table>
  603. <!--[if lte IE 6.5]><iframe class="hackiframe"></iframe><![endif]-->
  604. </div>
  605. <div id="main_content" class="content_block">
  606. <table style="width:100%" border="0" align="center" cellspacing="0" class="erTable">
  607. <thead>
  608. <tr>
  609. <td id="table_head" height="52" align="left" valign="top"><span class="modelName">RT-AC51U</span></td>
  610. </tr>
  611. </thead>
  612. <tr>
  613. <th valign="top" height="60px"><div class="er_title">Nezdařil se přístup k webové stránce, kterou chcete zobrazit.</div></th>
  614. </tr>
  615. <tr>
  616. <td valign="top" class="erpage_td">
  617. <span class="Epagetitle">Důvod neúspěšného připojení :</span>
  618. <div id="failReason" class="Epagecontent" style="color:red">
  619. <ul>
  620. <li>
  621. <span id="failReason1"></span>
  622. </li>
  623. </ul>
  624. </div>
  625. <div id="Epage_Suggest" class="Epagetitle">
  626. <div id="Epage_Suggest1"><span>Doporučujeme vám: (Je zapotřebí účet a heslo administrátora.)</span></div>
  627. <div id="Epage_Suggest2" style="display:none;"><span>Doporučujeme vám: </span></div>
  628. </div>
  629. <div id="suggestion_block" class="Epagecontent">
  630. <div id="case_content"></div>
  631. <div id="suggestion" style="">
  632. <ul>
  633. <li>
  634. <span id="suggestion_final">Pokud problém přetrvává, ručně změňte nastavení připojení.</span>&nbsp;
  635. <a href="javascript:wanLink();" style="color:#569AC7; text-decoration:underline;">Klepnutím zde přejdete na stránku nastavení</a>&nbsp;
  636. <span>Kde můžete zkontrolovat a nakonfigurovat svá nastavení sami.</span>
  637. </li>
  638. </ul>
  639. </div>
  640. </div>
  641. </td>
  642. </tr>
  643. <tr>
  644. <td id="footer" height="22" class="erpage_footer"><span></span></td>
  645. </tr>
  646. </table>
  647. </div>
  648. </body>
  649. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement