home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 August / CHIP_08_2003.iso / Spesial / proxy / ProxPro / ProxyPro.exe / data1.cab / ConfigSite_Files / services / LocalDomain.agp < prev    next >
Encoding:
Text File  |  2002-12-09  |  3.9 KB  |  126 lines

  1. <% 
  2.     path = SysInfo.SkinPath
  3.     dim szPath
  4.     szPath = "Table"
  5.     SkinTable = SysInfo.GetSkinParameter(szPath)
  6.     szPath = "Font"
  7.     SkinFont = SysInfo.GetSkinParameter(szPath)
  8.     szPath = "Link"
  9.     SkinLink = SysInfo.GetSkinParameter(szPath)
  10.     szPath = "VLink"
  11.     SkinVLink= SysInfo.GetSkinParameter(szPath)
  12. %>
  13. <script language="JavaScript">
  14. <!--
  15. function MM_preloadImages() { //v3.0
  16.   var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
  17.     var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
  18.     if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
  19. }
  20.  
  21. function MM_swapImgRestore() { //v3.0
  22.   var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
  23. }
  24.  
  25. function MM_findObj(n, d) { //v4.0
  26.   var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
  27.     d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  28.   if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  29.   for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  30.   if(!x && document.getElementById) x=document.getElementById(n); return x;
  31. }
  32.  
  33. function MM_swapImage() { //v3.0
  34.   var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
  35.    if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
  36. }
  37. //-->
  38. </script>
  39. <html>
  40. <head>
  41. <title>Professional GateKeeper - Infopulse</title>
  42. <!--              -->
  43. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
  44. <title>MediaFamily - Welcome</title>
  45.  
  46. </head>
  47. <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">
  48.   <tr> 
  49.     <td width="344"><img src="images/1_r1_c2.jpg" width="344" height="70"></td>
  50.     <td width="135"><img src="images/1_r1_c3.jpg" width="135" height="70"></td>
  51.     <td width="100"><a href="hlpServices.agp"><img src="images/1_r1_c4.jpg" width="100" height="70"border=0></a></td>
  52.     <td width="1000"> </td>
  53.   </tr>
  54. </table>
  55. <map name="n1_r4_c3Map"> 
  56.   <area shape="rect" coords="492,45,567,76" href="#">
  57. </map>
  58.  
  59. <p><big><strong><font face="Arial">Add local domain name mask</font></strong></big></p>
  60.  
  61. <%
  62.  
  63.  
  64.     if Request.ReqParam("action") = "Add" Then 
  65.         
  66.         if(Len(Request.ReqParam("oldMask"))>0) then
  67.             Dialer.DeleteLocalAddress 0,Request.ReqParam("oldMask")
  68.             Dialer.AddLocalAddress 0,Request.ReqParam("mask")
  69.         else
  70.             Dialer.AddLocalAddress 0,Request.ReqParam("mask")
  71.         end if
  72.  
  73.         If Not Err.Number = 0 Then 
  74.             ErrLine = Err.Description
  75.         else
  76.             Response.Redirect("LocalAddresses.agp?Action=Show")
  77.         End If
  78.     end if
  79.  
  80.  
  81.  
  82.     if Request.ReqParam("action") = "Cancel" Then 
  83.             Response.Redirect("LocalAddresses.agp?Action=Show")
  84.     end if
  85.     
  86.     oldMask=""
  87.     if Request.ReqParam("action") = "Edit" Then 
  88.             oldMask=Request.ReqParam("mask")
  89.     end if
  90.     
  91. %>
  92.  
  93. <%
  94.     If Not Len(ErrLine) = 0 Then
  95.         Response.Write("<B><FONT COLOR=""#FF0000"">" & ErrLine & "</FONT></B><br>")
  96.     End If
  97. %>
  98.  
  99.  
  100.  
  101. <form method="POST" action= "/services/LocalDomain.agp">
  102. <table border="1" cellpadding="0" cellspacing="0" width="60%">
  103.  
  104.     <tr>
  105.         <td width="50%" bgcolor="<%Response.Write(SkinTable)%>"><strong><font face="Arial" color="<%Response.Write(SkinFont)%>">
  106.             IP Address mask
  107.         </font></strong></td>
  108.     </tr>         
  109.     <tr>
  110.         <td width="50%"><font face="Arial">
  111.          <input type="text"        size="40"        name=    "mask" value= <%Response.Write(oldMask)%> >
  112.          <input type="hidden"    size="40"        name=    "oldMask" value= <%Response.Write(oldMask)%> >
  113.         </td>
  114.     </tr>
  115.  
  116. </table>
  117. <br>
  118. <input type="submit"    name="action"    value=    "Add">
  119. <input type="submit"    name="action"    value=    "Cancel">
  120. </form>     
  121.     
  122. <font size="1" face="Arial"><%Response.Write(GateKeeper.Version)%></font>
  123.  
  124. </body>
  125. </html>
  126.