<%
'**************************************
'* 最后更新 2013-05-02 by 56770.Kingdge
'* Copyright www.56770.com
'**************************************
Dim error_type,mes,error_title,error_content
strwebtitle = Lebi_word(3) &"-"
sitename = site_name
HTTP_REDIRECT = Request.ServerVariables("HTTP_REFERER")
HTTP_REFERER = Request("HTTP_REFERER")
If HTTP_REFERER = "" Then HTTP_REFERER = GetFileUrl() 'Request.ServerVariables("QUERY_STRING")
If Instr(HTTP_REFERER,"HTTP_REFERER=") > 0 Then HTTP_REFERER = Split(HTTP_REFERER,"HTTP_REFERER=")(1) &"&HTTP_REDIRECT="& HTTP_REDIRECT
If InStr(LCase(HTTP_REFERER),"message/error") > 0 Then HTTP_REFERER = HTTP_REDIRECT
Showpath = "<a href='"& Eshop_url & LangPath &"'>"& Lebi_word(0) &"</a> → "& Lebi_word(3) &""
error_type = request("error_type")
If request("action") = "reg" Then
        mes = "<table width='100%' align='center' cellpadding='3' cellspacing='0'>"

        If InStr(error_type,",13,")> 0 Then
                mes=mes&"<tr><td height='25'>·"&Lebi_user(66)&"</td></tr>"
        End If
        If InStr(error_type,",11,")> 0 Then
                mes=mes&"<tr><td height='25'>·"&Lebi_user(56)&"</td></tr>"
        End If
        If InStr(error_type,",1,")> 0 Then
                mes=mes&"<tr><td height='25'>·"&Lebi_user(55)&"</td></tr>"
        End If
        If InStr(error_type,",2,")> 0 Then
                mes=mes&"<tr><td height='25'>·"&Lebi_user(57)&"</td></tr>"
        End If
        If InStr(error_type,",3,")> 0 Then
                mes=mes&"<tr><td height='25'>·"&Lebi_user(162)&"</td></tr>"
        End If
        If InStr(error_type,",12,")> 0 Then
                mes=mes&"<tr><td height='25'>·"&Lebi_user(163)&"</td></tr>"
        End If
        If InStr(error_type,",4,")> 0 Then
                mes=mes&"<tr><td height='25'>·"&Lebi_user(58)&"</td></tr>"
        End If
        If InStr(error_type,",5,")> 0 Then
                mes=mes&"<tr><td height='25'>·"&Lebi_user(59)&"</td></tr>"
        End If
        If InStr(error_type,",6,")> 0 Then
                mes=mes&"<tr><td height='25'>·"&Lebi_user(60)&"</td></tr>"
        End If
        If InStr(error_type,",7,")> 0 Then
                mes=mes&"<tr><td height='25'>·"&Lebi_user(61)&"</td></tr>"
        End If
        If InStr(error_type,",8,")> 0 Then
                mes=mes&"<tr><td height='25'>·"&Lebi_user(62)&"</td></tr>"
        End If
        If InStr(error_type,",9,")> 0 Then
                mes=mes&"<tr><td height='25'>·"&Lebi_user(63)&"</td></tr>"
        End If
        If InStr(error_type,",10,")> 0 Then
                mes=mes&"<tr><td height='25'>·"&Lebi_user(64)&"</td></tr>"
        End If
        mes = mes&"<tr><td height=""30"">·<a href='javascript:history.go(-1)'><font color=red><span id=""backtime"">0</span></font> "&Lebi_user(75)&"</a></td></tr>"
		mes = mes&"<script language=""JavaScript"">Url=""javascript:history.go(-1)"";if (!Url){Url=document.referrer}function countDown(secs){document.getElementById(""backtime"").innerHTML=secs;if(--secs>0) {setTimeout(""countDown(""+secs+"")"",1000);}else {window.location.href=Url;}}countDown(5);</script>"
		mes=mes&"<tr><td height='25' align='right'><a href='javascript:history.go(-1)'><img border=0 src="&Eshop_url&"images/re.gif align=absmiddle> "& Lebi_word(4) &"</a></td></tr>"
		mes=mes&"</table>"
        error_title = Lebi_word(3) &"&nbsp;&nbsp;〖"& Lebi_user(25) &"〗"
        error_content = mes
End If

If request("action") = "cklogin" Then
        mes = "<table width='100%' align='center' cellpadding='3' cellspacing='0'>"
        If InStr(error_type,",1,")> 0 Then
                mes = mes&"<tr><td height='25'>·"& Lebi_user(65) &"</td></tr>"
        End If
        If InStr(error_type,",2,")> 0 Then
                mes = mes&"<tr><td height='25'>·"& Lebi_user(66) &"</td></tr>"
        End If
        If InStr(error_type,",3,")> 0 Then
                mes = mes&"<tr><td height='25'>·"& Lebi_user(67) &"</td></tr>"
        End If
        mes = mes&"<tr><td height=""30"">·<a href='javascript:history.go(-1)'><font color=red><span id=""backtime"">0</span></font> "&Lebi_user(75)&"</a></td></tr>"
		mes = mes&"<script language=""JavaScript"">Url=""javascript:history.go(-1)"";if (!Url){Url=document.referrer}function countDown(secs){document.getElementById(""backtime"").innerHTML=secs;if(--secs>0) {setTimeout(""countDown(""+secs+"")"",1000);}else {window.location.href=Url;}}countDown(3);</script>"
		mes = mes&"<tr><td height='25' align='right'><a href='javascript:history.go(-1)'><img border=0 src="&Eshop_url&"images/re.gif align=absmiddle> "& Lebi_word(4) &"</a></td></tr>"
		mes = mes&"</table>"
        error_title = Lebi_word(3) &"&nbsp;&nbsp;〖"& Lebi_user(24) &"〗"
        error_content = mes
End If

If request("action") = "nocookies" Then
        mes = "<table width='100%' align='center' cellpadding='3' cellspacing='0'>"
        mes = mes&"<tr><td height='25'>·"&Lebi_cart(38)&"</td></tr>"
		mes = mes&"<tr><td height=""30"">·<a href='javascript:history.go(-1)'><font color=red><span id=""backtime"">0</span></font> "&Lebi_user(75)&"</a></td></tr>"
		mes = mes&"<script language=""JavaScript"">Url=""javascript:history.go(-1)"";if (!Url){Url=document.referrer}function countDown(secs){document.getElementById(""backtime"").innerHTML=secs;if(--secs>0) {setTimeout(""countDown(""+secs+"")"",1000);}else {window.location.href=Url;}}countDown(3);</script>"
		mes = mes&"<tr><td height='25' align='right'><a href='javascript:history.go(-1)'><img border=0 src="&Eshop_url&"images/re.gif align=absmiddle> "& Lebi_word(4) &"</a></td></tr>"
		mes = mes&"</table>"
        error_title =  "〖"& Lebi_word(3) &"〗"
        error_content = mes
End If

If request("action") = "nothing" Then
        mes = "<table width='100%' align='center' cellpadding='3' cellspacing='0'>"
        mes = mes&"<tr><td height='25'>·"&Lebi_cart(147)&"</td></tr>"
		mes = mes&"<tr><td height=""30"">·<a href='javascript:history.go(-1)'><font color=red><span id=""backtime"">0</span></font> "&Lebi_user(75)&"</a></td></tr>"
		mes = mes&"<script language=""JavaScript"">Url=""javascript:history.go(-1)"";if (!Url){Url=document.referrer}function countDown(secs){document.getElementById(""backtime"").innerHTML=secs;if(--secs>0) {setTimeout(""countDown(""+secs+"")"",1000);}else {window.location.href=Url;}}countDown(3);</script>"
		mes = mes&"<tr><td height='25' align='right'><a href='javascript:history.go(-1)'><img border=0 src="&Eshop_url&"images/re.gif align=absmiddle> "& Lebi_word(4) &"</a></td></tr>"
		mes = mes&"</table>"
        error_title =  "〖"& Lebi_word(7) &"〗"
        error_content = mes
End If

If request("action") = "basket" Then
        Dim basket_lowprice
		basket_lowprice = getGradePurview(3) ' 2008-3-7 by 56770.WangLei
        mes = "<table width='100%' align='center' cellpadding='3' cellspacing='0'>"
		If error_type = 1 Then
                mes = mes&"<tr><td height='25'>·"&Lebi_cart(40)&"</td></tr>"
		End If
		If error_type = 2 Then
                mes = mes&"<tr><td height='25'>·"&Lebi_cart(37)&"</td></tr>"
				mes = mes&"<tr><td height='25'>·"&Lebi_cart(32)&"："& checknum(request("stock"),0) &"</td></tr>"
		End If
		If error_type = 3 Then
                mes = mes&"<tr><td height='25'>·"&Replace(Lebi_cart(11),"[lowprice]",formatnumber2(basket_lowprice))&"</td></tr>"
		End If
		If error_type = 4 Then
                mes = mes&"<tr><td height='25'>·"&Lebi_user(144)&"</td></tr>"
		End If
		mes = mes&"<tr><td height=""30"">·<a href='javascript:history.go(-1)'><font color=red><span id=""backtime"">0</span></font> "&Lebi_user(75)&"</a></td></tr>"
		mes = mes&"<script language=""JavaScript"">Url=""javascript:history.go(-1)"";if (!Url){Url=document.referrer}function countDown(secs){document.getElementById(""backtime"").innerHTML=secs;if(--secs>0) {setTimeout(""countDown(""+secs+"")"",1000);}else {window.location.href=Url;}}countDown(3);</script>"
		mes = mes&"<tr><td height='25' align='right'><a href='javascript:history.go(-1)'><img border=0 src="&Eshop_url&"images/re.gif align=absmiddle> "& Lebi_word(4) &"</a></td></tr>"
		mes = mes&"</table>"
        error_title = Lebi_word(3) &"&nbsp;&nbsp;〖"& Lebi_cart(39) &"〗"
        error_content = mes
End If


If request("action") = "basket_coupon" Then
        mes = "<table width='100%' align='center' cellpadding='3' cellspacing='0'>"
		If error_type = 1 Then
                mes = mes&"<tr><td height='25'>·"&Lebi_cart(132)&"</td></tr>"
		End If
		If error_type = 2 Then
                mes = mes&"<tr><td height='25'>·"&Lebi_cart(134)&"</td></tr>"
		End If
		If error_type = 3 Then
                mes = mes&"<tr><td height='25'>·"&Lebi_cart(135)&"</td></tr>"
		End If
		If error_type = 4 Then
                mes = mes&"<tr><td height='25'>·"&Lebi_cart(136)&"</td></tr>"
		End If
		mes = mes&"<tr><td height=""30"">·<a href='javascript:history.go(-1)'><font color=red><span id=""backtime"">0</span></font> "&Lebi_user(75)&"</a></td></tr>"
		mes = mes&"<script language=""JavaScript"">Url=""javascript:history.go(-1)"";if (!Url){Url=document.referrer}function countDown(secs){document.getElementById(""backtime"").innerHTML=secs;if(--secs>0) {setTimeout(""countDown(""+secs+"")"",1000);}else {window.location.href=Url;}}countDown(3);</script>"
		mes = mes&"<tr><td height='25' align='right'><a href='javascript:history.go(-1)'><img border=0 src="&Eshop_url&"images/re.gif align=absmiddle> "& Lebi_word(4) &"</a></td></tr>"
		mes = mes&"</table>"
        error_title = Lebi_word(3) &"&nbsp;&nbsp;〖"& Lebi_cart(133) &"〗"
        error_content = mes
End If

If request("action") = "needlogin" Then
		Response.redirect Eshop_url & PagePath(6) &"?HTTP_REFERER="& server.urlencode(HTTP_REFERER) &"&HTTP_REDIRECT="& server.urlencode(HTTP_REDIRECT) &"?error=needlogin"
		Response.End 
        mes = "<table width='100%' align='center' cellpadding='3' cellspacing='0'>"
		mes = mes&"<tr><td height='25'>·"&Lebi_user(68)&"</td></tr>"
		mes = mes&"<tr><td height='25'>·<a href='"& Eshop_url & PagePath(6) &"?HTTP_REFERER="& server.urlencode(HTTP_REFERER) &"&HTTP_REDIRECT="& server.urlencode(HTTP_REDIRECT) &"'>"& Lebi_word(2) &"</a></td></tr>"
		mes = mes&"<tr><td height='25'>·<a href='"& Eshop_url & PagePath(7) &"?HTTP_REFERER="& server.urlencode(HTTP_REFERER) &"&HTTP_REDIRECT="& server.urlencode(HTTP_REDIRECT) &"'>"& Lebi_word(1) &"</a></td></tr>"
		mes = mes&"<tr><td height=""30"">·<a href='javascript:history.go(-1)'><font color=red><span id=""backtime"">0</span></font> "&Lebi_user(75)&"</a></td></tr>"
		mes = mes&"<script language=""JavaScript"">Url=""javascript:history.go(-1)"";if (!Url){Url=document.referrer}function countDown(secs){document.getElementById(""backtime"").innerHTML=secs;if(--secs>0) {setTimeout(""countDown(""+secs+"")"",1000);}else {window.location.href=Url;}}countDown(10);</script>"
		mes = mes&"<tr><td height='25' colspan='2' align='right'><a href='javascript:history.go(-1)'><img border=0 src="&Eshop_url&"images/re.gif align=absmiddle> "& Lebi_word(4) &"</a></td></tr>"
		mes = mes&"</table>"
        error_title = Lebi_word(3) &"&nbsp;&nbsp;〖"& Lebi_user(24) &"〗"
        error_content = mes
End If

If request("action") = "basket_cashsave" Then
        mes = "<table width='100%' align='center' cellpadding='3' cellspacing='0'>"
        If InStr(error_type,",1,")> 0 Then
                mes=mes&"<tr><td height='25'>·"&Lebi_cart(71)&"</td></tr>"
        End If
        If InStr(error_type,",2,")> 0 Then
                mes=mes&"<tr><td height='25'>·"&Lebi_cart(72)&"</td></tr>"
        End If
        If InStr(error_type,",3,")> 0 Then
                mes=mes&"<tr><td height='25'>·"&Lebi_cart(74)&"</td></tr>"
        End If
        If InStr(error_type,",4,")> 0 Then
                mes=mes&"<tr><td height='25'>·"&Lebi_cart(75)&"</td></tr>"
        End If
        If InStr(error_type,",5,")> 0 Then
                mes=mes&"<tr><td height='25'>·"&Lebi_cart(73)&"</td></tr>"
        End If
        If InStr(error_type,",6,")> 0 Then
                mes=mes&"<tr><td height='25'>·"&Lebi_cart(145)&"</td></tr>"
        End If
        If InStr(error_type,",7,")> 0 Then
                mes=mes&"<tr><td height='25'>·"&Lebi_cart(146)&"</td></tr>"
        End If
        If InStr(error_type,",8,")> 0 Then
                mes=mes&"<tr><td height='25'>·"&Lebi_cart(160)&"</td></tr>"
        End If

		mes = mes&"<tr><td height='25' align='right'><a href='javascript:history.go(-1)'><img border=0 src="&Eshop_url&"images/re.gif align=absmiddle> "& Lebi_word(4) &"</a></td></tr>"
		mes = mes&"</table>"
        error_title = Lebi_word(3) &"&nbsp;&nbsp;〖"& Lebi_cart(39) &"〗"
        error_content = mes
End If

If request("action") = "modiuserinfo" Then
        mes = "<table width='100%' align='center' cellpadding='3' cellspacing='0'>"
		mes = mes&"<meta http-equiv=refresh content=3;url=javascript:history.go(-1)>"
        If InStr(error_type,",1,")> 0 Then
                mes=mes&"<tr><td height='25'>·"&Lebi_user(162)&"</td></tr>"
        End If
        If InStr(error_type,",2,")> 0 Then
                mes=mes&"<tr><td height='25'>·"&Lebi_user(163)&"</td></tr>"
        End If
        If InStr(error_type,",3,")> 0 Then
                mes=mes&"<tr><td height='25'>·"&Lebi_user(58)&"</td></tr>"
        End If
        If InStr(error_type,",4,")> 0 Then
                mes=mes&"<tr><td height='25'>·"&Lebi_user(59)&"</td></tr>"
        End If
        If InStr(error_type,",5,")> 0 Then
                mes=mes&"<tr><td height='25'>·"&Lebi_user(60)&"</td></tr>"
        End If
        If InStr(error_type,",6,")> 0 Then
                mes=mes&"<tr><td height='25'>·"&Lebi_user(61)&"</td></tr>"
        End If
        If InStr(error_type,",7,")> 0 Then
                mes=mes&"<tr><td height='25'>·"&Lebi_user(62)&"</td></tr>"
        End If
        If InStr(error_type,",8,")> 0 Then
                mes=mes&"<tr><td height='25'>·"&Lebi_user(63)&"</td></tr>"
        End If
		mes = mes&"<tr><td height='25' align='right'><a href='javascript:history.go(-1)'><img border=0 src="&Eshop_url&"images/re.gif align=absmiddle> "& Lebi_word(4) &"</a></td></tr>"
		mes = mes&"</table>"
        error_title = Lebi_word(3) &"&nbsp;&nbsp;〖"& Lebi_user(9) &"〗"
        error_content = mes
End If

If request("action") = "paysave" Then
        mes = "<table width='100%' align='center' cellpadding='3' cellspacing='0'>"
        If InStr(error_type,",1,")> 0 Then
                mes=mes&"<tr><td height='25'>·"&Lebi_user(125)&"</td></tr>"
        End If
        If InStr(error_type,",2,")> 0 Then
                mes=mes&"<tr><td height='25'>·"&Lebi_cart(154)&"</td></tr>"
        End If
        If InStr(error_type,",3,")> 0 Then
                mes=mes&"<tr><td height='25'>·"&Lebi_user(60)&"</td></tr>"
        End If
        If InStr(error_type,",4,")> 0 Then
                mes=mes&"<tr><td height='25'>·"&Lebi_user(63)&"</td></tr>"
        End If
        If InStr(error_type,",5,")> 0 Then
                mes=mes&"<tr><td height='25'>·"&Lebi_user(66)&"</td></tr>"
        End If
		mes=mes&"<tr><td height='25' align='right'><a href='javascript:history.go(-1)'><img border=0 src="&Eshop_url&"images/re.gif align=absmiddle> "& Lebi_word(4) &"</a></td></tr>"
		mes=mes&"</table>"
        error_title = Lebi_word(3) &"&nbsp;&nbsp;〖"& Lebi_word(9) &"〗"
        error_content = mes
End If

If request("action") = "rating" Then
        mes = "<table width='100%' align='center' cellpadding='3' cellspacing='0'>"
        mes=mes&"<tr><td height='25'>·"&Lebi_pro(96)&"</td></tr>"
		mes = mes&"<tr><td height=""30"">·<a href='javascript:history.go(-1)'><font color=red><span id=""backtime"">0</span></font> "&Lebi_user(75)&"</a></td></tr>"
		mes = mes&"<script language=""JavaScript"">Url=""javascript:history.go(-1)"";if (!Url){Url=document.referrer}function countDown(secs){document.getElementById(""backtime"").innerHTML=secs;if(--secs>0) {setTimeout(""countDown(""+secs+"")"",1000);}else {window.location.href=Url;}}countDown(5);</script>"
		mes = mes&"<tr><td height='25' colspan='2' align='right'><a href='javascript:history.go(-1)'><img border=0 src="&Eshop_url&"images/re.gif align=absmiddle> "& Lebi_word(4) &"</a></td></tr>"
		mes = mes&"</table>"
        error_title = Lebi_word(3) &"&nbsp;&nbsp;〖"& Lebi_pro(92) &"〗"
        error_content = mes
End If

If request("action") = "comment" Then
        mes = "<table width='100%' align='center' cellpadding='3' cellspacing='0'>"
        mes=mes&"<tr><td height='25'>·"&Lebi_pro(102)&"</td></tr>"
		mes = mes&"<tr><td height=""30"">·<a href='javascript:history.go(-1)'><font color=red><span id=""backtime"">0</span></font> "&Lebi_user(75)&"</a></td></tr>"
		mes = mes&"<script language=""JavaScript"">Url=""javascript:history.go(-1)"";if (!Url){Url=document.referrer}function countDown(secs){document.getElementById(""backtime"").innerHTML=secs;if(--secs>0) {setTimeout(""countDown(""+secs+"")"",1000);}else {window.location.href=Url;}}countDown(5);</script>"
		mes = mes&"<tr><td height='25' colspan='2' align='right'><a href='javascript:history.go(-1)'><img border=0 src="&Eshop_url&"images/re.gif align=absmiddle> "& Lebi_word(4) &"</a></td></tr>"
		mes = mes&"</table>"
        error_title = Lebi_word(3) &"&nbsp;&nbsp;〖"& Lebi_word(35) &"〗"
        error_content = mes
End If

rem	<-{ 会员组无权限错误提示 2008-3-4 by 56770.WangLei
If request("action") = "notgrade" Then
		Response.redirect Eshop_url & PagePath(6) &"?HTTP_REFERER="& server.urlencode(HTTP_REFERER) &"&HTTP_REDIRECT="& server.urlencode(HTTP_REDIRECT) &"?error=notgrade"
		Response.End 
		Dim s1,s2,s3
        If Lebi_UserId ="" Then
			s1 = Lebi_user(199)
			s2 = UserLogin(0)
			s3 = "<tr><td height='25'>·<a href='"& Eshop_url & PagePath(6) &"?HTTP_REFERER="& server.urlencode(HTTP_REFERER) &"'>"& Lebi_word(2) &"</a></td></tr><tr><td height='25'>·<a href='"& Eshop_url & PagePath(7) &"?HTTP_REFERER="& server.urlencode(HTTP_REFERER) &"'>"& Lebi_word(1) &"</a></td></tr>"
        End If
        mes = "<table width='100%' align='center' cellpadding='3' cellspacing='0'>"
		mes = mes&"<tr><td height='25'>·"&Lebi_user(197) & s1 &"</td></tr>"
		mes = mes & s3
		mes = mes&"<tr><td height=""30"">·<a href='javascript:history.go(-1)'><font color=red><span id=""backtime"">0</span></font> "&Lebi_user(75)&"</a></td></tr>"
		mes = mes&"<script language=""JavaScript"">Url=""javascript:history.go(-1)"";if (!Url){Url=document.referrer}function countDown(secs){document.getElementById(""backtime"").innerHTML=secs;if(--secs>0) {setTimeout(""countDown(""+secs+"")"",1000);}else {window.location.href=Url;}}countDown(10);</script>"
		mes = mes&"<tr><td height='25' colspan='2' align='right'><a href='javascript:history.go(-1)'><img border=0 src="&Eshop_url&"images/re.gif align=absmiddle> "& Lebi_word(4) &"</a></td></tr>"
		mes = mes&"</table>"
        error_title = Lebi_word(3) &"&nbsp;&nbsp;〖"& Lebi_user(198) &"〗"
        error_content = mes
End If
rem	}->

%>