index.asp
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Welcome To MINI-MAX/51-E Web Server</title>
<style type="text/css">
body,td,th {font-family: Arial, Helvetica, sans-serif; font-size: 12px;}
body {margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; background-image: url(digits.gif);}
.style2 {font-size: 11px}
.style4 {font-size: 12px}
.style5 {color: #006600;font-weight: bold;font-size: 16px;}
</style>
<script language="VBScript" type="text/VBScript">
Sub settime_OnClick
Set TheForm = Document.Forms("timeform")
TheForm.hour.Value = (int(TheForm.hour.Value/10))*16+int(TheForm.hour.Value MOD 10)
TheForm.minute.Value = (int(TheForm.minute.Value/10))*16+int(TheForm.minute.Value MOD 10)
TheForm.sec.Value = (int(TheForm.sec.Value/10))*16+int(TheForm.sec.Value MOD 10)
End Sub
Sub setdate_OnClick
Set TheForm = Document.Forms("dateform")
TheForm.day.Value = (int(TheForm.day.Value/10))*16+int(TheForm.day.Value MOD 10)
TheForm.month.Value = (int(TheForm.month.Value/10))*16+int(TheForm.month.Value MOD 10)
TheForm.year.Value = (int(TheForm.year.Value/10))*16+int(TheForm.year.Value MOD 10)
End Sub
Function BCD(arg)
' arg must be fixed-point (long or integer) and positive
' function returns long
Dim b0, b1, b2, b3
b0 = arg Mod 10
b1 = ((arg Mod 100) - b0) / 10
b2 = ((arg Mod 1000) - b1 * 10 - b0) / 100
b3 = ((arg Mod 10000) - b2 * 100 - b1 * 10 - b0) / 1000
msgbox b0 & " " & b1 & " " & b2 & " " & b3
BCD = b3 * 256 * 256 * 256 + b2 * 256 * 256 + b1 * 256 + b0
End Function
</script>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
</head>
<body>
<!-- THIS SECTION IMPLEMENTS WEBCAT LOGO IMAGE AT THE TOP OF THE PAGE -->
<table width="100%" border="0" cellpadding="1">
<tr>
<td><a href="javascript:;" onClick="MM_openBrWindow('webcat.jpg','','width=515,height=475')"><img src="banner.gif" width="349" height="90" border="0"></a></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="1">
<!-- THIS SECTION IMPLEMENTS SET REAL-TIME CLOCK -->
<tr>
<td valign="top">
<p><span class="style5">SET Real Time Clock</span></p>
<table width="381" border="0">
<tr>
<td width="371">
<fieldset wi>
<legend><strong>SET TIME FORM</strong></legend>
<!-- THIS SECTION IMPLEMENTS SET TIME FORM -->
<form action="" method="get" name="timeform" id="timeform">
<table width="370" border="0">
<tr>
<td><div align="center"><strong>Hour</strong></div></td>
<td><div align="center"><strong>Minute</strong></div></td>
<td><div align="center"><strong>Second</strong></div></td>
</tr>
<tr>
<!-- HOURS SECTION -->
<td><div align="center">
<input name="I2CSTART" type="hidden" id="I2CSTART">
<input type="hidden" name="I2CNUM" value="208">
<input type="hidden" name="I2CNUM" value="2">
<input name="I2CNUM" type="text" id="hour" size="2" maxlength="2">
<strong>
<input name="I2CSTOP" type="hidden" id="I2CSTOP">
</strong></div>
</td>
<!-- MINUTES SECTION -->
<td><div align="center">
<input name="I2CSTART" type="hidden" id="I2CSTART">
<input type="hidden" name="I2CNUM" value="208">
<input type="hidden" name="I2CNUM" value="1">
<input name="I2CNUM" type="text" id="minute" size="2" maxlength="2">
<strong>
<input name="I2CSTOP" type="hidden" id="I2CSTOP">
</strong></div>
</td>
<!-- SECONDS SECTION -->
<td><div align="center">
<input name="I2CSTART" type="hidden" id="I2CSTART">
<input type="hidden" name="I2CNUM" value="208">
<input type="hidden" name="I2CNUM" value="0">
<input name="I2CNUM" type="text" id="sec" size="2" maxlength="2">
<strong>
<input name="I2CSTOP" type="hidden" id="I2CSTOP">
</strong></div>
</td>
</tr>
<!-- SECTION WITH BUTTON "SET TIME" -->
<tr>
<td colspan="3"><div align="center"><strong>
<input name="I2CSTART" type="hidden" id="I2CSTART">
<input name="I2CNUM" type="hidden" id="I2CNUM" value="7">
<input name="I2CNUM" type="hidden" id="I2CNUM" value="0">
<input name="I2CSTOP" type="hidden" id="I2CSTOP">
<input name="settime" type="submit" id="settime" value="SET TIME">
</strong></div></td>
</tr>
</table>
</form>
</fieldset>
</td>
</tr>
</table>
<br>
<table width="381" border="0">
<tr>
<td width="371">
<fieldset wi>
<legend><strong>SET DATE FORM</strong></legend>
<!-- THIS SECTION IMPLEMENTS SET DATE FORM -->
<form action="" method="get" name="dateForm" id="dateForm">
<table width="370" border="0">
<tr>
<td><div align="center"><strong>DAY</strong></div></td>
<td><div align="center"><strong>MONTH</strong></div></td>
<td><div align="center"><strong>YEAR</strong></div></td>
</tr>
<tr>
<!-- DAY SECTION -->
<td><div align="center">
<input name="I2CSTART" type="hidden" id="I2CSTART">
<input type="hidden" name="I2CNUM" value="208">
<input type="hidden" name="I2CNUM" value="4">
<input name="I2CNUM" type="text" id="day" size="2" maxlength="2">
<strong>
<input name="I2CSTOP" type="hidden" id="I2CSTOP">
</strong></div>
</td>
<!-- MONTH SECTION -->
<td><div align="center">
<input name="I2CSTART" type="hidden" id="I2CSTART">
<input type="hidden" name="I2CNUM" value="208">
<input type="hidden" name="I2CNUM" value="5">
<input name="I2CNUM" type="text" id="month" size="2" maxlength="2">
<strong>
<input name="I2CSTOP" type="hidden" id="I2CSTOP">
</strong></div>
</td>
<!-- YEAR SECTION -->
<td><div align="center">
<input name="I2CSTART" type="hidden" id="I2CSTART">
<input type="hidden" name="I2CNUM" value="208">
<input type="hidden" name="I2CNUM" value="6">
<input name="I2CNUM" type="text" id="year" size="2" maxlength="2">
<strong>
<input name="I2CSTOP" type="hidden" id="I2CSTOP">
</strong></div></td>
</tr>
<!-- SECTION WITH BUTTON "SET DATE" -->
<tr>
<td colspan="3"><div align="center"><strong>
<input name="I2CSTART" type="hidden" id="I2CSTART">
<input name="I2CNUM" type="hidden" id="I2CNUM" value="7">
<input name="I2CNUM" type="hidden" id="I2CNUM" value="0">
<input name="I2CSTOP" type="hidden" id="I2CSTOP">
<input name="setdate" type="submit" id="setdate" value="SET DATE">
</strong></div>
</td>
</tr>
</table>
</form>
</fieldset>
</td>
</tr>
</table>
</p>
</td>
</tr>
</table>
</body>
</html>
Screenshot