PageSourceSearch

http://www.superlitio.com/tNugYpaUtB/dfiles/19608/e/js/zh-cn/lang.js

js superlitio.com collected 2026-10-02 14:13:04 UTC 2,671 bytes, 39 lines download raw bytes

1
2function quick_login(sid,fun)
3{if(typeof(fun)!="undefined")
4{fun="&fun="+escape(fun);}
5else
6{fun="";}
7IDialog('会员登录','/e/aspx/quick_login.aspx?s='+sid+fun,300,200);}
8function Check_Permission(sid,state,mtype)
9{switch(state)
10{case"not_login":alert("对不起,请先登录!");var backurl=location.href;location.href="/e/member/index.aspx?type=login&s="+sid+"&to="+escape(backurl);break;case"no_permissions":alert("对不起,"+mtype+"没有访问权限!");location.href="/";break;}}
11function cart_prompt(sid,table,id)
12{var MC=GetCookie("Member");if(MC=="")
13{IDialog('会员登录','/e/aspx/quick_login.aspx?s='+sid,300,200);}
14else
15{IDialog('购物车信息',"/e/order/cart.aspx?s="+sid+"&table="+table+"&id="+id,400,140);}}
16function LoginBox(Id,SiteId)
17{var LoginForm=document.forms["loginbox_"+Id];LoginForm.action="/e/member/index.aspx?type=login&s="+SiteId;LoginForm.target="_self";var L_username=LoginForm.username;var L_passowrd=LoginForm.password;var L_yzm=LoginForm.vcode;if(L_username.value=="")
18{alert("请输入用户名!");L_username.focus();return false;}
19else if(Length(L_username.value)<4||Length(L_username.value)>16)
20{alert("用户名长度需要在4-16之间!");L_username.focus();return false;}
21else if(!IsUserName(L_username.value))
22{alert("用户名只能由字母、数字、下划线和汉字组成!");L_username.focus();return false;}
23if(L_passowrd.value=="")
24{alert("请输入密码!");L_passowrd.focus();return false;}
25else if(L_passowrd.value.length<4||L_passowrd.valuelength>16)
26{alert("密码长度需要在4-16之间!");L_passowrd.focus();return false;}
27else if(!IsStr(L_passowrd.value))
28{alert("密码只能由数字,字母和下划线组成!");L_passowrd.focus();return false;}
29if(L_yzm!=null)
30{if(L_yzm.value.length!=4)
31{alert("请输入正确的验证码!");L_yzm.focus();return false;}}
32return true;}
33function Attachment_Back(Error,Point,SiteId)
34{switch(Error)
35{case"notexists":alert("对不起,文件不存在!");window.close();break;case"nopermission":alert("对不起,您所在的会员组无下载权限!");window.close();break;case"nopoint":alert("对不起,您的积分不足,此文件下载需要"+Point+"点积分!")
36window.close();break;case"notlogin":alert("对不起,请先登录!");var backurl=location.href;location.href="/e/member/index.aspx?s="+SiteId+"&type=login&to="+escape(backurl);return false;break;}}
37function AddFavourites_Back(sid,v)
38{switch(v)
39{case"ok":alert("信息收藏成功!");break;case"has_exists":alert("此信息已经收藏过了!");break;case"not_exists":alert("此信息数据已经不存在!");break;case"notlogin":quick_login(sid);break;default:alert("错误:"+v);break;}}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.