wb.AddPageTitle("","pageheader","社团活动课程报名系统","武冈市新东中心小学")
If e.PostValues.ContainsKey("username") AndAlso e.PostValues.ContainsKey("password") Then '判断是否是验证失败后的重新登录
wb.AddTopTips("","toptip1","用户名或密码错误!").msec = 2000 '如果用户通过登录按钮访问,则给用户一个2秒的提示.
End If
wb.AddForm("","form1","logon.htm")
With wb.AddInputGroup("form1","ipg1")
.AddInput("username","户名","text")
.AddInput("password","密码","password")
End With
With wb.AddButtonGroup("form1","btg1",False)
.Add("btn1", "登录", "submit")
.Add("btn2", "注册", "", "/addnew.htm")
End With
[此贴子已经被作者于2023/9/8 17:17:27编辑过]