The program uses FSO+SERV-U (2.x version) to implement:
1. index.htm
<html>
<head>
<title>Ningbo Keyu Network——Personal Web Application</title>
<meta http-equiv=Content-Type content=text/html; charset=gb2312>
<script language=Javascript>
function CheckIfEnglish( String )
{
var Letters = ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890-;
var i;
var c;
if(String.charAt( 0 )=='''-'''''')
return false;
if( String.charAt( String.length - 1 ) == ''''-''''' )
return false;
for( i = 0; i < String.length; i ++ )
{
c = String.charAt( i );
if (Letters.indexOf( c ) < 0)
return false;
}
return true;
}
function checkSubmit() {
var EmailReg = /^[_a-z0-9]+@([_a-z0-9]+/.)+[a-z0-9]{2,3}$/;
if (document.form.name.value == ) {
alert (Please enter the user name you want to register!);
document.form.name.focus();
return false;
}
if (!CheckIfEnglish(document.form.name.value )) {
alert(The user name cannot enter Chinese and illegal characters!);
document.form.name.focus();
return false;
}
if ((document.form.pass.value == )&&(document.form.rpass.value == )) {
alert(Password cannot be empty!);
document.form.pass.focus();
document.form.rpass.focus();
return false;
}
if ((document.form.pass.value)!=(document.form.rpass.value)) {
alert ('''''The secondary password input is different!'''');
document.form.pass.focus();
document.form.rpass.focus();
return false;
}
if (document.form.email.value == ) {
alert (please enter your email!);
document.form.email.focus();
return false;
}
if ((!EmailReg.test(document.form.email.value))&&(document.form.email.value!=''''''''''')) {
alert ('''''Email's format is incorrect!'''');
document.form.email.focus();
return false;
}
return true;
}
</script>
<script language=JavaScript>
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName==Netscape)&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
</script>
</head>
<body bgcolor=#FFFFF text=#000000 background=crystal.jpg>
<p align=center> </p>
<p align=center><b><font size=6 color=#333333>Ningbo Keyu Network——Personal Web Application</font></b></p>
<p align=center></p>
<table width=65% border=0 align=center>
<tr>