home *** CD-ROM | disk | FTP | other *** search
/ PC World 1999 November / PCWorld_1999-11_cd.bin / Komunik / Sambar / _setup.1 / newhost.stm < prev    next >
Text File  |  1999-02-10  |  1KB  |  51 lines

  1. <HTML>
  2. <HEAD>
  3. <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
  4. </HEAD>
  5. <BODY bgcolor=#ffffff>
  6. <CENTER><FONT SIZE=6>Create a New Host</FONT></CENTER>
  7. <BR>
  8. <SCRIPT language="JavaScript">
  9. <!--
  10. function Form_Validator(theForm)
  11. {
  12.     if (theForm.ip.value == "")
  13.     {
  14.         alert("Please enter a value for the \"IP Address\" field.");
  15.         theForm.ip.focus();
  16.         return (false);
  17.     }
  18.  
  19.     if (theForm.host.value == "")
  20.     {
  21.         alert("Please enter a value for the \"Host Name(s)\" field.");
  22.         theForm.host.focus();
  23.         return (false);
  24.     }
  25. }
  26. //-->
  27. </SCRIPT>
  28. <BR>
  29. <FORM METHOD="POST" ACTION="/session/addhost" TARGET="_top" onsubmit="return Form_Validator(this)">
  30. <INPUT TYPE="hidden" NAME="RCpage" VALUE="/sysadmin/dns/hosts.htm">
  31.  
  32. <TABLE border=0 cellpadding=5 cellspacing=2 width=550>
  33. <TR valign=top>
  34. <TD align=right><B>IP Address</B></TD>
  35. <TD><INPUT TYPE="text" NAME="ip" VALUE="" SIZE=20 MAXLENGTH=20><BR>
  36.     <I>(i.e. 192.153.48.181)</I></TD>
  37. </TR>
  38. <TR VALIGN=top>
  39. <TD align=right><B>Host Name(s)</B></TD>
  40. <TD><INPUT TYPE="text" NAME="host" VALUE="" SIZE=40 MAXLENGTH=255>
  41.     <I>(i.e. www www.sambar.com www.sambar.net)</I></TD>
  42. </TR>
  43. <TR>
  44. <TD></TD><TD><INPUT TYPE="submit" VALUE="Create New Host Entry"></TD>
  45. </TR>
  46. </TABLE>
  47. </FORM>
  48. </CENTER>
  49. </BODY>
  50. </HTML>
  51.