home *** CD-ROM | disk | FTP | other *** search
- <HTML>
- <HEAD><TITLE>Sambar Server Network Control Panel</TITLE>
- <%
- #include "../header.asp"
- #include "../menu.asp"
- area = "clocksync";
- #include "submenu.asp"
- %>
- <BR>
- <BLOCKQUOTE><BLOCKQUOTE>
- <FORM method=get action=ntp.asp>
- <INPUT NAME=host VALUE="<%=getParameter($params, "host"); %>">
- <INPUT TYPE=submit VALUE="NTP Clock Sync">
- </FORM>
- <BR>
- <%
- host = getParameter($params, "host");
- if (host != NULL)
- {
- ret = ntpsync(host);
- if (ret == -1)
- {
- printf("Failed to synchronize clock with NTP server: <I>%s</I>",
- host);
- }
- }
-
- %>
- </BLOCKQUOTE></BLOCKQUOTE>
- <%
- #include "../footer.asp"
- %>
- </BODY></HTML>
-