<tr>
<td class="navi" align="center"> <script type="text/javascript"> $(document).ready(function(){ //Fasr.reg script v 0.1 //script by http://javascript.ucoz.net $("#fastReg").click(function(){new _uWnd('regWin','Шинээр бүртгүүлэх',350,400,{autosize:1,fadespeed:100,fadeclosespeed:100,fadetype:1,fadeclosetype:2,icon:'http://s40.ucoz.net/.s/img/icon/us.png',min:1,oncontent:function(){getRegData()}},'<div class="reg1"><div class="reg2">Нэр:</div><input type="text" id="rLogin"></div><div class="reg1"><div class="reg2">Нууц үг:</div><input type="password" id="rPass"></div><div class="reg1"><div class="reg2">Имайл хаяг:</div><input type="text" id="rMail"></div><div class="reg1"><div class="reg2"><span id="rRes"> </span> </div><input type="button" onclick="rEnd()" id="rEnd" value="Бүртгүүлэх"></div>')});$("#rPost").live("click",function(){_uWnd.close('captcha');_code=$("#rCode").val();$.post("/index/",{jkd498:1,act:_act,ssid:_ssid,jkd428:1,sos:_sos,user:$("#rLogin").val(),password:$("#rPass").val(),password1:$("#rPass").val(),name:$("#rLogin").val(),email:$("#rMail").val(),code:_code,seckey:_seckey,a:4,s:0},function(i){var error=$('.manTdError',i).html();if(error){if(error=='Баталгаажуулах код буруу байна'){newCodeImg()}_uWnd.alert('<span style="color:red;"><br>'+error+'</span>','Ошибка',{tm:3500,w:200,h:110})}else{new _uWnd('success','Амжилттай бүртгэгдлээ',350,350,{modal:1,autosize:1,fadespeed:100,fadeclosespeed:100,fadetype:1,fadeclosetype:2,icon:'http://s40.ucoz.net/.s/img/icon/us.png',min:1},'<br><font style="color:green"><b>Та манайд гишүүнээр элслээ!</b></font><br><br><u>Таны бүртгэл</u>:<br> Нэр - <b>'+$("#rLogin").val()+'</b>; Нууц үг - <b>'+$("#rPass").val()+'</b><br><br><input type="button" value="Бүртгэлдээ нэвтрэх" onclick="postLogin();">')}})})});function postLogin(login,pass){new _uWnd('LF',' ',-250,-110,{autosize:0,oncontent:function(){lgin()}},{url:'/index/40'})}function lgin(){$("input[name='user']").val($("#rLogin").val());$("input[name='password']").val($("#rPass").val());$("#submfrmLg555").click()}function rEnd(){if(!$("#rMail").val().match(/^[a-zA-Z0-9_\.\-]+\@[a-zA-Z0-9\.\-]+\.[a-zA-Z0-9]{2,6}$/)||$("#rLogin").val().match(/^\s+$/)||$("#rLogin").val().length<3||$("#rPass").val().length<4){_uWnd.alert('<span style="color:red;"><br>ERROR</span>','Алдаа',{tm:3500,w:200,h:110});return}else{new _uWnd('captcha','Батлах код',300,300,{close:0,modal:1,autosize:1,fadespeed:100,fadeclosespeed:100,fadetype:1,fadeclosetype:2,oncontent:function(){$('#rCha').html(_img)}},'<span id="rCha"></span><br><input type="text" id="rCode"><br><input type="button" value="OK" id="rPost">')}}function newCodeImg(){$.get("/index/3",function(hj){new_img=$("#secImg",hj).clone();new _uWnd('captcha','Батлах код',300,300,{close:0,modal:1,autosize:1,fadespeed:100,fadeclosespeed:100,fadetype:1,fadeclosetype:2,oncontent:function(){$('#rCha').html(new_img)}},'<span id="rCha"></span><br><input type="text" id="rCode"><br><input type="button" value="OK" id="rPost">')})}function getRegData(){$.get("/index/3",function(m){_act=$("input[name='act']",m).val(),_ssid=$("input[name='ssid']",m).val(),_seckey=$("input[name='seckey']",m).val(),_img=$("#secImg",m).clone(),_sos=getSession(m)})}function getSession(data){for(var i=0,code=data.match(/_dS\('(.+)'\)/i)[1],_i=code.length-1,session='';i<_i;i++){session+=String.fromCharCode(code.charCodeAt(i)-code.substr(_i,1))};return session.match(/\d+/g)} </script> <a href="#" onclick="return false" id="fastReg"><img src="http://bidmongol.net/bvrtgel.jpg" width="200" height="150"></a>
</td> </tr>
|