<%
'=================================== 判断 Start =============
'===================添加内容
sub rzAdd()
if request.Form("rz_Contents")="" then
Response.Write("<script language=javascript>alert('你必须填写内容内容');history.back(1);</script>")
Response.End
end if
end sub
'===================编辑内容
sub rzEdit()
if request.Form("rz_Contents")="" then
Response.Write("<script language=javascript>alert('你必须填写内容内容');history.back(1);</script>")
Response.End
end if
end sub
'===================添加连接分类
sub LinkAddCat()
if request.Form("cat_name")="" then
Response.Write("<script language=javascript>alert('你必须填写分类名称');history.back(1);</script>")
Response.End
end if
end sub
'===================编辑连接分类
sub LinkEditCat()
if request.Form("cat_name")="" then
Response.Write("<script language=javascript>alert('你必须填写分类名称');history.back(1);</script>")
Response.End
end if
end sub
'===================添加连接
sub LinkAdd()
if request.Form("Link_name")="" then
Response.Write("<script language=javascript>alert('你必须填写链接名称');history.back(1);</script>")
Response.End
end if
if request.Form("Link_url")="" then
Response.Write("<script language=javascript>alert('你必须填写连接网址');history.back(1);</script>")
Response.End
end if
end sub
'===================编辑连接
sub LinkEdit()
if request.Form("Link_name")="" then
Response.Write("<script language=javascript>alert('你必须填写链接名称');history.back(1);</script>")
Response.End
end if
if request.Form("Link_url")="" then
Response.Write("<script language=javascript>alert('你必须填写连接网址');history.back(1);</script>")
Response.End
end if
end sub

'===================添加管理员
sub adminAdd()
if request.Form("txqname")="" then
Response.Write("<script language=javascript>alert('你必须填写管理员名称');history.back(1);</script>")
Response.End
end if
if request.Form("txqname")="txqname" then
Response.Write("<script language=javascript>alert('你填写管理员名称已经存在\请重新填写');history.back(1);</script>")
Response.End
end if
if request.Form("txqpass")="" then
Response.Write("<script language=javascript>alert('你必须填写管理员密码');history.back(1);</script>")
Response.End
end if
if request.Form("txqpasss")="" then
Response.Write("<script language=javascript>alert('你必须填写确认密码');history.back(1);</script>")
Response.End
end if
if request.Form("txqpass")<>request.Form("txqpasss") then
Response.Write("<script language=javascript>alert('你的确认密码和管理员密码不一致\n请重新填写');history.back(1);</script>")
Response.End
end if
end sub
'========================  =========== 判断 End ===============
%>