#!/bin/sh . /www/cgi-bin/functions.sh lock_cgiwait auto_basic_type=$($nvram get auto_check_for_upgrade) thank_for=$($nvram get thank_login) print_cgi_header print_http_header "/funcs.js" "/upgrade.js" print_nocommitload_header "_auto_upgrade" "auto_lang_firm_check.html" "auto_upgrade_detwan" cat < function loadvalue() { if('$thank_for' == '0') { if(isIE()) window.open('thank_login.html','thankspage','width=460,height=400,top=240,left=300,status=yes') else window.open('thank_login.html','thankspage','width=380,height=350,screenY=250,screenX=300,status=yes') } } function set_apply(){ document.forms[0].time_stamp_dni.value=parent.index_ts; document.forms[0].submit(); } loadvalue(); setTimeout("set_apply()",1000); EOF print_http_footer