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}
.style7        {font-size: 16px; font-weight: bold; color: #006600;}
.style10    {font-size: 14px; font-weight: bold;}
.style14    {color: #990000}
.style19    {font-size: 14px; font-family: "Courier New", Courier, mono; font-weight: bold;}
</style>

<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
</script>

<script>
<!--
// Here read day, month, year vlues
var day   = ^DATE^;
var month = ^MONTH^;
var year = ^YEAR^;


function BCD(arg)
{
    var highDigit;
    var lowDigit;
    arg = parseInt(arg % 128,10)
    highDigit = parseInt(arg/16,10);
    lowDigit  = parseInt(arg%16,10);
    return (highDigit*10+lowDigit);    
         
}
//-->
</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>

<p>
    <span class="style7">Current WebServer Time</span> <br>
</p>


<!-- THIS SECTION IMPLEMENTS SHOW TIME VALUE -->
<table width="400" border="0">
<tr>
    <td width="54"><span class="style10">TIME</span></td>
    <td width="336">
        <iframe width="150" height="23" src="timeshow.asp" scrolling="no" frameborder="0"></iframe>
    </td>
</tr>

<tr>
    <td>?</td>
    <td>?</td>
</tr>

<!-- THIS SECTION IMPLEMENTS SHOW DATE VALUE -->
<tr>
    <td><strong>DATE:<span class="style14"></span></strong></td>
    <td>
        <table width="125" border="0" cellpadding="1" cellspacing="1">
        <tr>
            
            <!-- THIS SECTION IMPLEMETS SHOW MONTH -->
            <td width="20">
                <div align="center" class="style19">
                <script language="javascript">
                    <!--
                    var m
                    m = BCD(month)
                    if ( m < 10 )
                    {
                        document.write("0");
                    }

                    document.write(BCD(month))
                    //-->
                </script>
                </div>
            </td>
            
            <!-- THIS SECTION IMPLEMETS SHOW DAY -->
            <td width="5"><div align="center" class="style19">/</div></td>
            <td width="20">
                <div align="center" class="style19">
                <script language="javascript">
                    <!--
                    var d
                    d = BCD(day)
    
                    if ( d < 10 )
                    {
                        document.write("0");
                    }

                    document.write(BCD(day))
                    //-->
                </script>
                </div>
            </td>
            
            
            <!-- THIS SECTION IMPLEMETS SHOW YEAR -->
            <td width="5"><div align="center" class="style19">/</div></td>
            <td width="20">
                <div align="center" class="style19">
                <script language="javascript">
                <!--
                    document.write(BCD(year) + 2000)
                //-->
                </script>
                </div>
            </td>
        </tr>
        </table>         
    </td>
</tr>
</table>
    
</body>
</html>

timeshow.asp


<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script>
<!--

// this function reload the page each 5 seconds
function AutoReload()
{
    self.location.reload();
     window.setTimeout("AutoReload()", 5000); // reinit timer
}
window.setTimeout("AutoReload()", 5000); // 1000-mseconds interval 

// read current time
var hours   = ^HOUR^;
var minutes = ^MIN^;
var seconds = ^SEC^;

function BCD(arg)
{
    var highDigit;
    var lowDigit;
    arg = parseInt(arg % 128,10)
    highDigit = parseInt(arg/16,10);
    lowDigit  = parseInt(arg%16,10);
    return (highDigit*10+lowDigit);    
         
}
//-->
</script> 

<style type="text/css">
<!--
body {margin-left: 0px;    margin-top: 0px; margin-right: 0px;    margin-bottom: 0px;    background-image: url(digits.gif);}
.style10 {font-size: 14px; font-weight: bold; font-family: "Courier New", Courier, mono; }
-->
</style>

</head>

<body>
<table width="125" height="23" border ="0" cellpadding="1" cellspacing="1" bordercolor = "BLACK">
<tr>
    <!-- THIS SECTION SHOW HOURS-->
    <td align="center" width="31">
        <span class="style10">
        <script>
            <!--
            var h
            h = BCD(hours)
            if ( h < 10 )
            {
                document.write("0");
            }
    
            document.write(BCD(hours))
            //-->
        </script>
        </span>
    </td>
    
    <td width="4" ><span class="style10">:</span></td>
    
    <!-- THIS SECTION SHOW MINUTES -->
    <td align="center"  width="31">
        <span class="style10">
        <script>
            <!--
            var m
            m = BCD(minutes)
            if ( m < 10 )
            {
                document.write("0");
            }
            document.write(BCD(minutes))
            //-->
        </script>
        </span>
    </td>
    
    <td width="4" align="center"><span class="style10">:</span></td>
    
    <!-- THIS SECTION SHOW SECONDS-->
    <td align="center" width="33">
        <span class="style10">
        <script>
            <!--
            var s
            s = BCD(seconds)
            if ( s < 10 )
            {
                document.write("0");
            }
            document.write(BCD(seconds));
            //-->
        </script>
        </span>
    </td>
</tr>
</table>

</body>
</html>

Screenshot