home *** CD-ROM | disk | FTP | other *** search
Wrap
<% path = SysInfo.SkinPath dim szPath szPath = "Table" SkinTable = SysInfo.GetSkinParameter(szPath) szPath = "Font" SkinFont = SysInfo.GetSkinParameter(szPath) szPath = "Link" SkinLink = SysInfo.GetSkinParameter(szPath) szPath = "VLink" SkinVLink= SysInfo.GetSkinParameter(szPath) %> <script language="JavaScript"> <!-- function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } function MM_findObj(n, d) { //v4.0 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && document.getElementById) x=document.getElementById(n); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } //--> </script> <html> <head> <title>Professional GateKeeper - Infopulse</title> <!-- --> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2"> <title>MediaFamily - Welcome</title> </head> <body bgcolor="#FFFFFF" text="#000000" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" background="../images/backgr_x.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="344"><img src="images/1_r1_c2.jpg" width="344" height="70"></td> <td width="135"><img src="images/1_r1_c3.jpg" width="135" height="70"></td> <td width="100"><a href="hlpServices.agp"><img src="images/1_r1_c4.jpg" width="100" height="70"border=0></a></td> <td width="1000"> </td> </tr> </table> <map name="n1_r4_c3Map"> <area shape="rect" coords="492,45,567,76" href="#"> </map> <p><big><strong><font face="Arial">DHCP options for <br><%Response.Write(Request.ReqParam("identifier"))%></font></strong></big></p> <% if Request.ReqParam("action") = "Commit" Then On Error Resume Next ComDhcp.DhcpOption (Request.ReqParam("identifier"),-1) ="refresh" Dim count count =1 while (count <> 60 ) count=count+1 if Request.ReqParam(count) = "ON" then ComDhcp.DhcpOption (Request.ReqParam("identifier"),count) =Request.ReqParam ( count+100 ) end if wend If Err.Number = 0 Then Response.Redirect("/services/editdhcp.agp") End If End if %> <% If Not Len(ErrLine) = 0 Then Response.Write("<B><FONT COLOR=""#FF0000"">" & ErrLine & "</FONT></B><br>") End If %> <% Dim identifier identifier = Request.ReqParam("identifier") Dim ArrayProp(66) ArrayProp(1)="" ArrayProp(2)="2. Time Offset" ArrayProp(3)="3. Router" ArrayProp(4)="4. Time Server" ArrayProp(5)="5. Name Server" ArrayProp(6)="6. Domain Name Server" ArrayProp(7)="7. Log Server" ArrayProp(8)="8. Cookie Server" ArrayProp(9)="9. LPR Server" ArrayProp(10)="10. Impress Server" ArrayProp(11)="11. Resource Location Server" ArrayProp(12)="12. Host name" ArrayProp(13)="13. Boot File Size" ArrayProp(14)="14. Merit Dump File" ArrayProp(15)="15. Domain Name" ArrayProp(16)="16. Swap Server" ArrayProp(17)="17. Root Path" ArrayProp(18)="18. Extensions Path" ArrayProp(19)="19. IP Forwarding Enable/Disable (value=0 or 1)" ArrayProp(20)="20. Non-Local Source Routing Enable/Disable (value=0 or 1)" ArrayProp(21)="21. Policy Filter" ArrayProp(22)="22. Maximum Datagram Reassembly Size" ArrayProp(23)="23. Default IP Time-to-live" ArrayProp(24)="24. Path MTU Aging Timeout" ArrayProp(25)="25. Path MTU Plateau Table" ArrayProp(26)="26. Interface MTU" ArrayProp(27)="27. All Subnets are Local" ArrayProp(28)="28. Broadcast Address" ArrayProp(29)="29. Perform Mask Discovery" ArrayProp(30)="30. Mask Supplier" ArrayProp(31)="31. Perform Router Discovery" ArrayProp(32)="32. Router Solicitation Address" ArrayProp(33)="33. Static Route" ArrayProp(34)="34. Trailer Encapsulation" ArrayProp(35)="35. ARP Cache Timeout" ArrayProp(36)="36. Ethernet Encapsulation" ArrayProp(37)="37. TCP Default TTL" ArrayProp(38)="38. TCP Keepalive Interval" ArrayProp(39)="39. TCP Keepalive Garbage" ArrayProp(40)="40. Network Information Service Domain" ArrayProp(41)="41. Network Information Servers" ArrayProp(42)="42. Network Time Protocol Servers" ArrayProp(43)="43. Vendor Specific Information" ArrayProp(44)="44. NetBIOS over TCP/IP Name Server" ArrayProp(45)="45. NetBIOS over TCP/IP Datagram Distribution Server" ArrayProp(46)="46. NetBIOS over TCP/IP Node Type" ArrayProp(47)="47. NetBIOS over TCP/IP Scope" ArrayProp(48)="48. X Window System Font Server" ArrayProp(49)="49. X Window System Display Manager" ArrayProp(50)="" ArrayProp(51)="" ArrayProp(52)="" ArrayProp(53)="" ArrayProp(54)="" ArrayProp(55)="55. Parameter Request List" ArrayProp(56)="56. Message" ArrayProp(57)="57. Maximum DHCP Message Size" ArrayProp(58)="" ArrayProp(59)="" ArrayProp(60)="60. Class-identifier" ArrayProp(61)="61. Client-identifier" %> <form method="POST" action= "/services/AdvanceSubnet.agp"> <input type="hidden" name="identifier" value="<%Response.Write(identifier)%>"> <br> <table border="1" cellpadding="0" cellspacing="0" width="100%"> <tr> <td bgcolor="<%Response.Write(SkinTable)%>"><strong><font face="Arial" color="<%Response.Write(SkinFont)%>"> Enable </font></strong></td> <td bgcolor="<%Response.Write(SkinTable)%>"><strong><font face="Arial" color="<%Response.Write(SkinFont)%>"> Subnet Options </font></strong></td> <td bgcolor="<%Response.Write(SkinTable)%>"><strong><font face="Arial" color="<%Response.Write(SkinFont)%>"> Subnet Value </font></strong></td> </tr> <% Dim counter counter =1 while (counter <> 61 ) counter=counter+1 if (ArrayProp(counter)<>"") then %> <tr> <input type="hidden" size=14 name="identifier" value="<%Request.Write(Request.ReqParam("identifier"))%>" > <td width="5%"><font face="Arial"><input type="checkbox" name=<%Response.Write(counter)%> value="ON" <% if ComDhcp.DhcpOption (identifier,counter)<>"" then Response.Write("checked") end if%>></td> <td width="40%"><strong><font face="Arial"><%Response.Write(ArrayProp(counter))%></B></td> <td width="55%"><font face="Arial"><input type="text" size="35" name=<%Response.Write(counter+100)%> value="<%Response.Write(ComDhcp.DhcpOption (identifier,counter)) %>"> </td> </tr> <% end if wend %> </table> <p><input type="submit" name="action" value="Commit"></p> </form> <font size="1" face="Arial"><%Response.Write(GateKeeper.Version)%></font> </body> </html>