error.aspx
上传用户:shmeyee
上传日期:2007-06-26
资源大小:32k
文件大小:1k
- <% @ Page language="C#" ContentType="text/html" ResponseEncoding="UTF-8" %>
- <% @ Import Namespace="System.Data"%>
- <% @ Import Namespace="System.Data.SqlClient"%>
- <% @ Import Namespace="System.Configuration"%>
- <%
- err=session("error")
- select case err
- case 0,4 :error=tra(cerror) //非法登录
- case 5 :error=tra(cerror2) //对象不存在
- case 6 :error=tra(cerror3) //无法查找此用户
- end select
- %>
- <?xml version="1.0" encoding="UTF-8"?><% Response.ContentType="text/vnd.wap.wml"; %>
- <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
- <wml>
- <head><meta http-equiv="Cache-Control" content="max-age=0"/></head>
- <wml>
- <card id="Error" title="Error">
- <p align="center">3G同学录</p>
- <p><%=error%></p>
- <% if (err=0 or err=4)
- {
- %>
- <p>
- <a href="index.asp">返回</a>
- </p>
- <%
- }
- else
- {
- %>
- <p>
- <anchor title="back">返回
- <prev/>
- </anchor>
- </p>
- <%}%>
- </card>
- </wml>