OBJ("banner").innerHTML = "<?php echo I18N("j", "Enter IP address"); ?> "; } else if (OBJ("en_dhcp").checked) { this.stages[2] = "wan_config_dhcp"; OBJ("banner").innerHTML = "<?php echo I18N("j", "ISP assigns IP automatically") . " (" . I18N("j", "DHCP") . ")"; ?> "; var mac = XG(this.phyinfp+"/macaddr"); var rmac = "<?php echo toupper(PHYINF_getruntimephymac('WAN-1')); ?> "; TEMP_SetFieldsByDelimit("macclone", mac, ':'); OBJ("st_dhcp_mac").innerHTML = (mac=="")? rmac:mac; } else if (OBJ("others").checked) { self.location.href = "./bsc_wan.php"; return; } OBJ("b_back").style.display = "inline"; OBJ("b_next").style.display = "inline"; } else if (this.currentStage==3)
"; OBJ("wan_ethernet_dslite_block").style.display = "block"; } else { OBJ("st_networkstatus").innerHTML = str_networkstatus; OBJ("name_wanipaddr").innerHTML = str_name_wanipaddr; OBJ("name_wangateway").innerHTML = str_name_wangateway; OBJ("st_wanipaddr").innerHTML = str_wanipaddr; OBJ("st_wangateway").innerHTML = str_wangateway; OBJ("st_wanDNSserver").innerHTML = str_wanDNSserver!="" ? str_wanDNSserver:"0.0.0.0"; OBJ("st_wanDNSserver2").innerHTML = str_wanDNSserver2!="" ? str_wanDNSserver2:"0.0.0.0"; OBJ("st_wannetmask").innerHTML = str_wannetmask; //OBJ("st_wan_mac").innerHTML = XG (this.rwanphyp+"/macaddr"); //OBJ("st_wan_mac").innerHTML = "<?php echo toupper(PHYINF_getruntimephymac("WAN-1")); ?> "; str_mac = XG (this.rwanphyp+"/macaddr"); OBJ("st_wan_mac").innerHTML = str_mac.toUpperCase(); OBJ("st_connection_uptime").innerHTML= wan_uptime_day+" "+"<?php echo I18N("j", "Day"); ?> "+" "+wan_uptime_hour+" "+"<?php echo I18N("j", "Hour"); ?> "+" "+wan_uptime_min+" "+"<?php echo I18N("j", "Min"); ?> "+" "+wan_uptime_sec+" "+"<?php