Notice: Undefined index: oid in D:\WebRoot\www.gmlzpx.com\gsldby\index.php on line 7
股市论道8月
function check(form){
var b=/^[a-zA-Z]\w{3,20}$/;
if(!b.test(form.uName.value)){
alert("请输入4-20位字母开头的用户名");
document.mobileform.uName.focus();
return false;
}
var pwd = document.mobileform.pwd.value;
if(pwd==""||pwd.length<6){
alert("请输入6位以上的密码");
document.mobileform.pwd.focus();
return false;
}
}
function get_mobile_code(){
$.post('sms.php', {mobile:jQuery.trim($('#mobile').val()),send_code:672982}, function(msg) {
alert(jQuery.trim(unescape(msg)));
if(msg=='提交成功'){
RemainTime();
}
});
};
var iTime = 59;
var Account;
function RemainTime(){
document.getElementById('zphone').disabled = true;
var iSecond,sSecond="",sTime="";
if (iTime >= 0){
iSecond = parseInt(iTime%60);
iMinute = parseInt(iTime/60)
if (iSecond >= 0){
if(iMinute>0){
sSecond = iMinute + "分" + iSecond + "秒";
}else{
sSecond = iSecond + "秒";
}
}
sTime=sSecond;
if(iTime==0){
clearTimeout(Account);
sTime='获取验证码';
iTime = 59;
document.getElementById('zphone').disabled = false;
}else{
Account = setTimeout("RemainTime()",1000);
iTime=iTime-1;
}
}else{
sTime='没有倒计时';
}
document.getElementById('zphone').value = sTime;
}
// this is important for IEs
var polyfilter_scriptpath = '/js/';