
تبلیغات

جستجو

پیوندهای روزانه

لینک دوستان

امکانات جانبی
آمار
وب سایت:
بازدید دیروز : 32
بازدید هفته : 126
بازدید ماه : 410
بازدید کل : 55584
تعداد مطالب : 50
تعداد نظرات : 2
تعداد آنلاین : 1
پلاگین ثبت نام سریع در چت روم
حالا این کد رو بعد از کد بالا بزارید
if (self.userPrivilegienGlobal=="gast"){
var temp_user_name = (self.username.length > 20) ? self.username.slice(0, 20)+"..." : self.username;
var win_reg = new Window({className: self.win_style, title:lang_start_reg_title+' "'+temp_user_name+'"', width:250, height:115, top:200, left:200, resizable: false, showEffect:Effect.SlideDown, hideEffect: Effect.Fade, showEffectOptions: {duration:0.5}, hideEffectOptions: {duration:0.5}, draggable: true, minimizable: false, maximizable: false, destroyOnClose: false });
win_reg.setHTMLContent('<div style="direction:rtl;font-family:tahoma;font:11px;text-shadow:0 1px #999;" id="register_formular"><form id="register_form" style="display:inline;"><div>سیستم ثبت نام سریع<hr size="1"><table><tr><td><input style="width:150px;height:20px;padding:0 5px;border-radius:5px;border:1px solid #c9c9c9;" type="password" id="pw_register_field" size="6" placeholder="پسورد" /></td></tr><tr><td><input style="width:150px;height:20px;padding:0 5px;border-radius:5px;border:1px solid #c9c9c9;" type="password" id="pw_register_field2" size="6" placeholder="تکرار پسورد" /></td></tr><tr><td colspan="2"><br /><a href="#" style="text-decoration:none;padding:5px;border-radius:5px;border:1px solid brown;background:#F0F0F0;" id="make_register">'+lang_start_reg_button_register+'</a> <a href="#" style="text-decoration:none;padding:5px;border-radius:5px;border:1px solid brown;background:#F0F0F0;" id="cancel_register">'+lang_start_reg_button_cancel+'</a></td></tr></div></form></div>');
Event.observe('register_formular', 'click', function(event){
if(Event.element(event).id=="cancel_register") win_reg.close();
if(Event.element(event).id=="make_register") {
if ($('pw_register_field').value==$('pw_register_field2').value)
new Ajax.Request(
"./?ChangePw",
{
onSuccess: function(result){
if (result.responseText==1){
win_reg.setHTMLContent('<div style="direction:rtl;font-family:tahoma;font:11px;text-shadow:0 1px #999;" id="register_formular">'+lang_start_reg_after_registering+'<br /><br /><a style="text-decoration:none;padding:5px;border-radius:5px;border:1px solid brown;background:#F0F0F0;" href="./?Logout&r='+$("room").value+'">'+lang_start_reg_after_registering_link+'</a></div>');
}
else alert('Error!nn'+result.responseText);
},
postBody: "user_pw="+$('pw_register_field').value
}
);
else{
alert(lang_start_reg_error);
$('pw_register_field').value='';
$('pw_register_field2').value='';
$('pw_register_field').focus();
}
}
});
win_reg.show();
$("register_form").onsubmit = function(){return false;}
مطالب مرتبط

ورود کاربران

عضويت سريع

چت باکس
| |
وب : | |
پیام : | |
2+2=: | |
(Refresh) |

پشتيباني آنلاين

آمار























تبادل لینک هوشمند

خبرنامه
