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.