Le programme utilise FSO + Serv-U (version 2.x) pour implémenter:
1. index.htm
<html>
<adal>
<Title> Ningbo KeyU Network— - Application Web personnelle </TITAL>
<meta http-equiv = contenu contenu contenu = text / html; charse = gb2312>
<Script Language = JavaScript>
Fonction Checkifenglish (String)
{
var lettres = abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz1234567890-;
var i;
var c;
if (string.charat (0) == '' '-' '' '' ')
retourne false;
if (string.charat (string.length - 1) == '' '' - '' '' ')
retourne false;
pour (i = 0; i <string.length; i ++)
{
c = string.charat (i);
if (Letters.indexof (c) <0)
retourne false;
}
Retour Vrai;
}
fonction CheckksUsBmit () {
var emailreg = /^__a-z0-9 diplômé+@ (_a-z0-9
if (document.form.name.value ==) {
alerte (veuillez saisir le nom d'utilisateur que vous souhaitez enregistrer!);
document.form.name.focus ();
retourne false;
}
if (! checkifenglish (document.form.name.value)) {
alerte (le nom d'utilisateur ne peut pas entrer dans les caractères chinois et illégaux!);
document.form.name.focus ();
retourne false;
}
if ((document.form.pass.value ==) && (document.form.rpass.value ==)) {
alerte (le mot de passe ne peut pas être vide!);
document.form.pass.focus ();
document.form.rpass.focus ();
retourne false;
}
if ((document.form.pass.value)! = (document.form.rpass.value)) {
alert ('' '' '' l'entrée du mot de passe secondaire est différente! '' '');
document.form.pass.focus ();
document.form.rpass.focus ();
retourne false;
}
if (document.form.email.value ==) {
alerte (veuillez saisir votre e-mail!);
document.form.email.focus ();
retourne false;
}
if ((! e-mail.
alert ('' '' '' Le format de messagerie est incorrect! '' '');
document.form.email.focus ();
retourne false;
}
Retour Vrai;
}
</cript>
<Script Language = JavaScript>
<! -
fonction mm_reloadpage (init) {// recharge la fenêtre si NAV4 a redimensionné
if (init == true) avec (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);
// ->
</cript>
</ head>
<Body bgColor = # fffff text = # 000000 background = cristal.jpg>
<p align = centre> </p>
<P align = Center> <b> <Font Size = 6 Color = # 33333> Ningbo Keyu Network— - Application Web personnelle </font> </b> </p>
<p align = centre> </p>
<Largeur du tableau = 65% Border = 0 Align = Center>
<tr>