<?php
switch( intval($_GET['ErrorCode']) )
{
case 0:
break;
case 1:
$html = <<<HTML
<SCRIPT ID=clientEventHandlersVBS language = VBScript>
<!--
Dim TheForm
Set TheForm = Document.form1
MsgBox("密码输入错误,请重新输入!")
TheForm.gonghao.Focus
-->
</SCRIPT>
HTML;
echo $html;
default:
break;
}
?>
switch( intval($_GET['ErrorCode']) )
{
case 0:
break;
case 1:
$html = <<<HTML
<SCRIPT ID=clientEventHandlersVBS language = VBScript>
<!--
Dim TheForm
Set TheForm = Document.form1
MsgBox("密码输入错误,请重新输入!")
TheForm.gonghao.Focus
-->
</SCRIPT>
HTML;
echo $html;
default:
break;
}
?>
switch( intval($_GET['ErrorCode']) )
{
case 0:
break;
case 1:
$html = <<<HTML
<SCRIPT ID=clientEventHandlersVBS language = VBScript>
<!--
Dim TheForm
Set TheForm = Document.form1
MsgBox("密码输入错误,请重新输入!")
TheForm.gonghao.Focus
-->
</SCRIPT>
HTML;
echo $html;
break;
default:
break;
}
?>
$_GET['ErrorCode'] = 1;
switch( intval($_GET['ErrorCode']) )
{
case 0:
break;
case 1:
$html = <<<HTML
<script language = JavaScript>
<!--
var theForm = document.form1;
alert("密码输入错误,请重新输入!");
theForm.gonghao.focus();
-->
</script>
HTML;
echo $html;
break;
default:
break;
}
?>