avatar_Dzib

Создание аккаунта в MU Online с помощью MD5 DSW

Автор Dzib, 2010 Июль 30, 18:39

« назад - далее »

0 Пользователи и 1 гость просматривают эту тему.

Ключевые слова [SEO] mu onlinedarkstyleweb dswmuweb 0.9создание аккаунтабаза данных md5 dswmuaccmakerджойн серверсоветы и обзоры

Dzib

Привет всем. У меня очень вредная база днаых МД5. Создать акаунт можно только 2-я мне известными способами, это MuAccMaker и MuWeb 0.9 если его правильно установить (MD5 дллку скопировать, прописать скрипт в Query Analyzer, рег файk запустить и т.д) MuMaker не может создать акаунт (мд5 он) Пишет чето там String or binary data would be trucated. The statement has been terminated. DSW не создает акаунт, ни  4.4.1 лайт эдитион ни премиум. Я думаю что если посмотреть как создает мувеб акаунт, можно исправить то что не доделано в DSW. Помогите с пхп кодом, что нужно изменить что б процедура создания акаунта была такая как в мувебе...
Код DSW
Спойлер
<?php
include"inc/m_protect.inc.php";

print "<div class="page-head">".phrase_reg."</div>";

if (isset($_GET['ref'])){

$user_ip=getenv("REMOTE_ADDR");
$ref = stripslashes($_GET['ref']);
$ip_signup_acc = "select ip,acc,acc2,acc3 from ip_log WHERE ip='$user_ip'";
$ip_signup_acc = mssql_query( $ip_signup_acc );
$ip_signup_acc = mssql_fetch_row($ip_signup_acc);

if(empty($ip_signup_acc
  • )){$msquery7 ="INSERT INTO ip_log (ip,acc,acc2,acc3) VALUES ('$user_ip','$login',NULL,NULL)";
}

elseif(empty($ip_signup_acc[1]) OR $ip_signup_acc[1] == NULL){$msquery7 = "UPDATE ip_log Set acc='$login' Where ip='$user_ip'";
}

elseif(empty($ip_signup_acc[2]) OR $ip_signup_acc[2] == NULL){$msquery7 = "UPDATE ip_log Set acc2='$login' Where ip='$user_ip'";
}
elseif(empty($ip_signup_acc[3]) OR $ip_signup_acc[3] == NULL){$msquery7 = "UPDATE ip_log Set acc3='$login' Where ip='$user_ip'";
}
else{$reg_error_msg="Account Limit From 1 ip adress: 3.
Your accounts: $ip_signup_acc[1] ,$ip_signup_acc[2], $ip_signup_acc[3]";exit;
}
}
if (isset($_POST['s_start'])){

$login = stripslashes($_POST['login']);
$nickname = stripslashes($_POST['nickname']);
$email = stripslashes($_POST['email']);
$pw = stripslashes($_POST['pass']);
$pw2 = stripslashes($_POST['re_pass']);
$sques = stripslashes($_POST['sicret_question']);
$sansw = stripslashes($_POST['sicret_answer']);
$sql_email_check = mssql_query("SELECT mail_addr FROM MEMB_INFO WHERE mail_addr='$email'");
$sql_username_check = mssql_query("SELECT memb___id FROM MEMB_INFO WHERE memb___id='$login'");
$email_check = mssql_num_rows($sql_email_check);
$username_check = mssql_num_rows($sql_username_check);
$disclaimer_verify = stripslashes($_POST['disclaimer_verify']);
$rules_verify = stripslashes($_POST['rules_verify']);
$ref = stripslashes($_POST['ref']);

$ip_signup_acc = "select ip,acc,acc2,acc3 from ip_log WHERE ip='$user_ip'";
$ip_signup_acc = mssql_query( $ip_signup_acc );
$ip_signup_acc = mssql_fetch_row($ip_signup_acc);

if (isset($_GET['ref'])){

if(empty($ip_signup_acc
  • )){$msquery7 ="INSERT INTO ip_log (ip,acc,acc2,acc3) VALUES ('$user_ip','$login',NULL,NULL)";
}

elseif(empty($ip_signup_acc[1]) OR $ip_signup_acc[1] == NULL){$msquery7 = "UPDATE ip_log Set acc='$login' Where ip='$user_ip'";
}

elseif(empty($ip_signup_acc[2]) OR $ip_signup_acc[2] == NULL){$msquery7 = "UPDATE ip_log Set acc2='$login' Where ip='$user_ip'";
}
elseif(empty($ip_signup_acc[3]) OR $ip_signup_acc[3] == NULL){$msquery7 = "UPDATE ip_log Set acc3='$login' Where ip='$user_ip'";
}
else{$reg_error_msg="Account Limit From 1 ip adress: 3.
Your accounts: $ip_signup_acc[1] ,$ip_signup_acc[2], $ip_signup_acc[3]";exit;
}
}


if (empty($login) || empty($nickname) || empty($email) || empty($pw) || empty($pw2) || empty($sques) || empty($sansw))
{
$reg_error_msg = phrase_reg_fill_up_all;
}
elseif($sques==$sansw){$reg_error_msg=phrase_reg_q_e_a;
}
elseif($pw!=$pw2){$reg_error_msg=phrase_reg_pw_dont_match;
}
elseif($rules_verify != 'yes'){$reg_error_msg=phrase_reg_dont_agree_with_reg_terms;
}
elseif($email_check > 0){
$reg_error_msg = phrase_reg_already_exists_email;
}
elseif ($username_check > 0)
{
$reg_error_msg = phrase_reg_already_exists_login;
}

else
{
if($Web['account_activation']['is_enabled']== 1){
$bloc_code=1;
$is_not_activated=1;
$alphanum = "01234567890abcdefghijklmnopqrstuvwxyz";
$random_value= substr(str_shuffle($alphanum), 0, 8);

$activation_code=md5($login.$random_value.$email);

$activation_link=$Web['mail']['web_http_adress']."?pg=activate&c=$activation_code";


$mTo            = $email;
$mSubject        = ''.$Web['mail']['servername'].' [Account Registration]';
$mHeaders        = "From: ".$Web['mail']['from']."rn" .
"Reply-To: ".$Web['mail']['reply_to']."rn" .
"X-Mailer: X32 Kernel Engines (PHP/" . phpversion() . ")rn" .
"X32K: https://xap.tria.lv/MDaemonrn" .
"Content-type: text/plain; charset=UTF-8";
$mMessage        = "Привет $login!rn" .
"Вы получили отчёт о регистрации аккаунта на сервере ".$Web['mail']['web_http_adress']."rnrn" .
"В этом письме содержится дополнительная информация о вашем аккаунте.rn" .
"Ваш логин : $loginrn" .
"Ваш пароль : $pwrnrn" .
"Нажмите ссылку ниже для активации аккаунтаrn" .
"$activation_linkrnrnrn" .
"Благодарим за понимание. Желаем увидеть вас в рядах наших войнов.";

if(!@mail($mTo, $mSubject, $mMessage, $mHeaders))
{
$reg_error_msg = "Извените пожалусто у нас возникли некоторые проблеммы с отправкой почты. Попробуйте зарегестрироваться попозже...<br /><br />Нажимте на <a href="/?pg=news">ссылку</a> для выхода на главную страницу.";
}
}
else{
$bloc_code='0';
$activation_code=NULL;
$is_not_activated='0';
}

if(!$reg_error_msg){

$rand = rand(10000, 99999);
if($Web['MD5'] == 1){
$md5_code=" [dbo].[UFN_MD5_ENCODEVALUE]('$pw', '$login')";
}
else{
$md5_code="'$pw'";
}


$msquery3 = "INSERT INTO MEMB_INFO (memb___id,memb__pwd,memb_name,sno__numb,post_code,addr_info,addr_deta,tel__numb
,mail_addr,phon_numb,fpas_ques,fpas_answ,job__code,appl_days,modi_days,out__days,
true_days,mail_chek,bloc_code,ctl1_code,ref,is_not_activated,activation_code) VALUES ('$login','$md5_code','$nickname','1','1234','11111','','12343','$email','$email','$sques','$sansw','1','2003-11-23','2003-11-23','2003-11-23','2003-11-23','1','$bloc_code','1','$ref','$is_not_activated','$activation_code')";
$msquery4 = "INSERT INTO VI_CURR_INFO (ends_days,chek_code,used_time,memb___id,memb_name,memb_guid,sno__numb,Bill_Sect
ion,Bill_value,Bill_Hour,Surplus_Point,Surplus_Minute,Increase_Days )  VALUES ('2005','1',1234,'$login','$nickname',1,'7','6','3','6','6','2003-11-23 10:36:00','0' )";
$msquery5 = "INSERT INTO MEMB_CREDITS (memb___id,credits) VALUES ('$login','0')";
$msquery6 = "UPDATE MEMB_INFO Set ref_c=ref_c+1 Where memb___id='$ref'";

$msresults= mssql_query($msquery3);
$msresults= mssql_query($msquery4);
$msresults= mssql_query($msquery5);
$msresults= mssql_query($msquery6);
if (isset($msquery7)){
$msresults= mssql_query($msquery7);
}
unset($_SESSION['random']);

print "<div class="msg-ok"><ul><li>Регистрация прошла успешно! Теперь вы можете зайти в игру!</li></ul></div>
";
$Reg_Success='1';
}
}
}
if($reg_error_msg){print"<div class="msg-error"><ul><li>$reg_error_msg</li></ul></div>";
}
if(!$Reg_Success){
?>
<form method="post" action="">

<script language="JavaScript">
<!--
var helps = new Array();
helps['login'] = '<p><b><?php print phrase_reg_login;?>:</b></p><p><?php print phrase_reg_login_desc;?></p>';
helps['nickname'] = '<p><b><?php print phrase_reg_nick;?>:</b></p><p><?php print phrase_reg_nick_desc;?></p>';
helps['pass'] = '<p><b><?php print phrase_reg_pw;?>:</b></p><p><?php print phrase_reg_pw_desc;?></p>';
helps['re_pass'] = '<p><b><?php print phrase_reg_pw;?>:</b></p><p><?php print phrase_reg_pw_desc;?></p>';
helps['email'] = '<p><b><?php print phrase_reg_mail;?>:</b></p><p><?php print phrase_reg_mail_desc;?></p>';
helps['sicret_question'] = '<p><b><?php print phrase_reg_sq;?>:</b></p><p><?php print phrase_reg_sa_desc;?></p>';
helps['sicret_answer'] = '<p><b><?php print phrase_reg_sa;?>:</b></p><p><?php print phrase_reg_sa_desc;?></p>';
helps['code_in'] = '<p><b><?php print phrase_reg_code_title; ?>:</b></p><p><?php print phrase_reg_code_info;?></p>';
// -->
</script>
<form name="signup" method="post" action="">
<table border="0" cellspacing="0" cellpadding="2" width="70%" align="left">
<tr>
<td><span for="login" id="lb_login"><b><?php print phrase_reg_login;?>:</b></span></td>
<td><input type="text" class="txt-simple" name="login" id="login" value="<?php print $login;?>" size="20" maxLength="10" onfocus="document.getElementById('help').innerHTML=helps['login'];document.getElementById('help').style.display='block';" onblur="var o = document.getElementById('lb_' + this.id); if(o) { var v = ''; if(this.type=='text' || this.type=='password')v=this.value;if(this.type=='radio')v=document.signup.gender
  • .checked||document.signup.gender[1].checked;if(v
=='') { o.style.color='#c00'; } else { o.style.color=''; } } " /></td>

</tr>
<tr>
<td colspan="2" class="rc"></td>
</tr>
<tr>

<td><span for="nickname" id="lb_nickname"><b><?php print phrase_reg_nick;?>:</b></span></td>
<td><input type="text" id="nickname" class="txt-simple" name="nickname" value="<?php print $nickname;?>" size="20" maxLength="15" onfocus="document.getElementById('help').innerHTML=helps['nickname'];document.getElementById('help').style.display='block';" onblur="var o = document.getElementById('lb_' + this.id); if(o) { var v = ''; if(this.type=='text' || this.type=='password')v=this.value;if(this.type=='radio')v=document.signup.gender
  • .checked||document.signup.gender[1].checked;if(v
=='') { o.style.color='#c00'; } else { o.style.color=''; } } " /></td>
</tr>
<tr>
<td colspan="2" class="rc"></td>
</tr>
<tr>
<td><span for="pass" id="lb_pass"><b><?php print phrase_reg_pw;?>:</b></span></td>
<td><input type="password" class="txt-simple" id="pass" name="pass" value="" size="20" maxLength="35" onfocus="document.getElementById('help').innerHTML=helps['pass'];document.getElementById('help').style.display='block';" onblur="var o = document.getElementById('lb_' + this.id); if(o) { var v = ''; if(this.type=='text' || this.type=='password')v=this.value;if(this.type=='radio')v=document.signup.gender
  • .checked||document.signup.gender[1].checked;if(v
=='') { o.style.color='#c00'; } else { o.style.color=''; } } " /></td>
</tr>
<tr>
<td><span for="re_pass" id="lb_re_pass"><b><?php print phrase_reg_re_pw;?>:</b></span></td>
<td><input type="password" id="re_pass" class="txt-simple" name="re_pass" value="" size="20" maxLength="35" onfocus="document.getElementById('help').innerHTML=helps['re_pass'];document.getElementById('help').style.display='block';" onblur="var o = document.getElementById('lb_' + this.id); if(o) { var v = ''; if(this.type=='text' || this.type=='password')v=this.value;if(this.type=='radio')v=document.signup.gender
  • .checked||document.signup.gender[1].checked;if(v
=='') { o.style.color='#c00'; } else { o.style.color=''; } } " /></td>

</tr>
<tr>
<td colspan="2" class="rc"></td>
</tr>
<tr>

<td><span for="email" id="lb_email"><b><?php print phrase_reg_mail;?>:</b></span></td>
<td><input type="text" class="txt-simple" name="email" id="email" value="<?php print $email;?>" size="20" maxLength="35" onfocus="document.getElementById('help').innerHTML=helps['email'];document.getElementById('help').style.display='block';" onblur="var o = document.getElementById('lb_' + this.id); if(o) { var v = ''; if(this.type=='text' || this.type=='password')v=this.value;if(this.type=='radio')v=document.signup.gender
  • .checked||document.signup.gender[1].checked;if(v
=='') { o.style.color='#c00'; } else { o.style.color=''; } } " /></td>
</tr>
<tr>
<td colspan="2" class="rc"></td>
</tr>
<tr>
<td><b><?php print phrase_reg_sq;?>:</b></td>
<td><select class="button-gray" id="sicret_question" name="sicret_question" value="<?php print $sques;?>" size="1" onfocus="document.getElementById('help').innerHTML=helps['sicret_question'];document.getElementById('help').style.display='block';" onblur="var o = document.getElementById('lb_' + this.id); if(o) { var v = ''; if(this.type=='text' || this.type=='password')v=this.value;if(this.type=='radio')v=document.signup.gender
  • .checked||document.signup.gender[1].checked;if(v
=='') { o.style.color='#c00'; } else { o.style.color=''; } } ">
<option value="1">Девичья фамилия вашей Матери?</option>
<option value="2">Отчество Вашего Отца?</option>
<option value="3">Кличка Вашего домашнего животного?</option>
<option value="4">Ваш любимый старый фильм?</option>
<option value="5">Ваша любимая спортивная команда?</option>
<option value="6">Название первого автомобиля?</option>
<option value="7">Название Вашей первой школы?</option>

</select></td>
</tr>
<tr>

<td><span for="sicret_answer" id="lb_sicret_answer"><b><?php print phrase_reg_sa;?>:</b></span></td>
<td><input type="text" class="txt-simple" id="sicret_answer" name="sicret_answer" value="<?php print $sansw;?>" size="20" maxLength="20" onfocus="document.getElementById('help').innerHTML=helps['sicret_answer'];document.getElementById('help').style.display='block';" onblur="var o = document.getElementById('lb_' + this.id); if(o) { var v = ''; if(this.type=='text' || this.type=='password')v=this.value;if(this.type=='radio')v=document.signup.gender
  • .checked||document.signup.gender[1].checked;if(v
=='') { o.style.color='#c00'; } else { o.style.color=''; } } " /></td>
</tr>
<tr>
<td colspan="2" class="rc"></td>
</tr>
<tr>
<td colspan="2">

<input type="checkbox" name="rules_verify" value="yes" /> <?php print phrase_reg_know;?> <a onclick="tickBox('rules.txt', '600', '500', 'article7', false); return false;" href="java script:;"><?php print phrase_reg_server_rules;?></a>.<br />

</td>
</tr>
<tr>
<td colspan="2" align="center"><input type="hidden" name="ref" value="<?php print $ref;?>"><input type="submit" class="button-gray" name="s_start" value="<?php print phrase_reg;?>"></td>
</tr>
</table>
<div id="help" class="help"></div>
</form>
<script language="JavaScript">
<!--
document.signup.login.focus();
// -->
</script>
<?php
}
?>           
[свернуть]

Код мувеба
Спойлер
<?php
if ( read_module( 14 ) == 0 )
{
echo locked( "For the moment this page is closed...Please try again latter.", "370" );
}
else if ( !isset( $_GET['op2'] ) )
{
$register_content = "<br><br> <table width="470" border="0" align="center" cellpadding="0" cellspacing="4"> <tr> <td align="center" class="big_text"><b>Условия соглашения</b><br><br></td> </tr> <tr> <td><div align="center"><form method="POST" action="".$muweb[servername]."-Register-Agree.html" name="register_terms"> <textarea name="textarea" class="terms" cols="60" rows="30">".implode( "", file( "TOS_Register.txt" ) )."</textarea></form> </div></td> </tr> </table><br> <table width="480" border="0" align="center" cellpadding="0" cellspacing="0" > <tr> <td align="center"><div id="r_terms"><input type="button" class="button" value="Я согласен!" onClick="send_data('register_terms','r_terms','Загрузка...','230','0')"> <input type="button" class="button" value="Я не согласен!" onClick="sub_page('index.html')"></div></td> </tr> </table><br>";
}
else if ( $_GET['op2'] == "Agree" )
{
if ( isset( $_POST['register_me'] ) )
{
require( "sys_/plugins/Validate.class.php" );
$elems[] = array( "name" => "username", "label" => "Username (6-10 Characters)", "type" => "text", "uname" => "true", "required" => TRUE, "len_min" => 6, "len_max" => 10, "cont" => "alpha" );
$elems[] = array( "name" => "email", "label" => "Email is invalid (ex. [email protected])", "type" => "text", "required" => TRUE, "len_max" => 50, "cont" => "email" );
$elems[] = array( "name" => "password", "label" => "Password is invalid (6-10 Characters)", "type" => "text", "required" => TRUE, "len_min" => 6, "len_max" => 10, "cont" => "alpha" );
$elems[] = array( "name" => "repassword", "label" => "Passwords did not Match", "type" => "text", "required" => TRUE, "len_min" => 6, "len_max" => 10, "cont" => "alpha", "equal" => array( "password" ) );
$elems[] = array( "name" => "country", "label" => "Country Code is invalid (Max 3 Numbers)", "type" => "text", "required" => TRUE, "len_max" => 3, "cont" => "digit" );
$elems[] = array( "name" => "gender", "label" => "Gender Code is invalid (Max 1 Numbers)", "type" => "text", "required" => TRUE, "len_max" => 1, "cont" => "digit" );
$elems[] = array( "name" => "secretquestion", "label" => "Secret Question Code is invalid (Max 2 Numbers)", "type" => "text", "required" => TRUE, "len_max" => 2, "cont" => "digit" );
if ( $muweb['pID'] == 1 )
{
$elems[] = array( "name" => "pID", "label" => "Kullanэcэ Kodu Sэnэrэ (Max ".$muweb['pID_minim']." Numara)", "type" => "text", "required" => TRUE, "len_min" => $muweb['pID_minim'], "len_max" => $muweb['pID_minim'], "cont" => "digit" );
}
$elems[] = array( "name" => "secretanswer", "label" => "Cекретный вопрос превысил лимиты. (Максимум 20 букв.)", "type" => "text", "required" => TRUE, "len_max" => "20", "cont" => "alpha" );
$f = new FormValidator( $elems );
$err = $f->validate( $_POST );
if ( $err === TRUE )
{
$valid = $f->getValidElems( );
foreach ( $valid as $k => $v )
{
if ( !( $valid[$k]
  • [1] == FALSE ) )
{
continue;
}
else if ( empty( $valid[$k]
  • [2] ) )
{
echo alert( $valid[$k]
  • [2], "warning" );
}
else
{
echo alert( $valid[$k]
  • [2], "warning" );
}
}
}
else
{
if ( $_SESSION['image_random_value'] != md5( $_POST['securecode'] ) )
{
echo alert( "Code from verify image is invalid.", "warning" );
$error = 1;
}
if ( c_acc( $_POST['username'] ) === TRUE )
{
echo alert( "Ваш аккаунт уже существует в нашей базе данных.", "warning" );
$error = 1;
}
if ( c_mail( $_POST['email'] ) === TRUE )
{
echo alert( "Ваш е-майл уже существует в нашей базе данных.", "warning" );
$error = 1;
}
if ( $error != 1 )
{
global $db_secondary;
if ( $muweb['md5_encrypt'] == 1 )
{
$make_me_acc = $db_secondary->Execute( "INSERT INTO memb_info (memb___id,memb__pwd,memb__pwd2,memb_name,sno__numb,bloc_code,ctl1_code,mail_che
k,mail_addr,appl_days,modi_days,out__days,true_days,secretquestion,secretanswer,c
ountry,gender) VALUES (?,[dbo].[fn_md5](?,?),?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)", array( $_POST['username'], $_POST['password'], $_POST['username'], $_POST['password'], "test", clean_variable( $_POST['pID'] ), "0", "0", "1", $_POST['email'], date( "m/d/Y" ), date( "m/d/Y" ), "2005-01-03", "2005-01-03", clean_variable( $_POST['secretquestion'] ), clean_variable( $_POST['secretanswer'] ), clean_variable( $_POST['country'] ), clean_variable( $_POST['gender'] ) ) );
if ( $make_me_acc )
{
echo alert( "$username успешно зарегестрирован!", "success" );
}
else
{
echo alert( "Kayэt oLurken Bir Hata oLdu.", "warning" );
}
}
else
{
$make_me_acc = $db_secondary->Execute( "INSERT INTO memb_info (memb___id,memb__pwd,memb__pwd2,memb_name,sno__numb,bloc_code,ctl1_code,mail_che
k,mail_addr,appl_days,modi_days,out__days,true_days,secretquestion,secretanswer,c
ountry,gender) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)", array( $_POST['username'], $_POST['password'], $_POST['password'], "test", clean_variable( $_POST['pID'] ), "0", "0", "1", $_POST['email'], date( "m/d/Y" ), date( "m/d/Y" ), "2005-01-03", "2005-01-03", clean_variable( $_POST['secretquestion'] ), clean_variable( $_POST['secretanswer'] ), clean_variable( $_POST['country'] ), clean_variable( $_POST['gender'] ) ) );
$make_me_acc_ = $db_secondary->Execute( "INSERT INTO VI_CURR_INFO (ends_days,chek_code,used_time,memb___id,memb_name,memb_guid,sno__numb,Bill_Sect
ion,Bill_value,Bill_Hour,Surplus_Point,Surplus_Minute,Increase_Days ) VALUES ('2005','1',1234,?,?,1,'7','6','3','6','6',".date( "m/d/Y" ).",'0' )", array( $_POST['username'], $_POST['username'] ) );
if ( $make_me_acc && $make_me_acc_ )
{
echo alert( "Вы успешно зарегистрировались!", "success" );
}
else
{
echo alert( "Kayэt oLurken Bir Hata oLdu", "warning" );
}
}
}
}
}
$register_content = "<br><form name="register_form" method="POST" action=""><table width="315" border="0" align="center" cellpadding="0" cellspacing="4"> <tr> <td colspan="2"><div align="left"><font color="#ffffff" size=2 face=Tahoma><b> Логин (6 - 10 символов) <em><span class="little_text"></span></em></div></td> </tr> <tr> <td width="50" align="left"><input type="text" name="username" class="field" maxlength="10"> </td> <td width="265"><div align="left" class="register_link"><a href="java script:void(0)" onclick="return check_availability();">(Проверить логин)</a></div></td> </tr> <tr> <td colspan="2"><div align="left"><font color="#ffffff" size=2 face=Tahoma><b>Пароль (6 - 10 символов) <em><span class="little_text"></span></em></div></td> </tr> <tr> <td colspan="2" align="left"><input type="password" name="password" class="field" maxlength="10"></td> </tr> <tr> <td colspan="2"><div align="left"><font color="#ffffff" size=2 face=Tahoma><b>Повторите пароль</div></td> </tr> <tr> <td colspan="2" align="left"><input type="password" name="repassword" class="field" maxlength="10"></td> </tr>";
if ( $muweb['pID'] == 1 )
{
$register_content .= " <tr> <td colspan="2"><div align="left"><font color="#ffffff" size=2 face=Tahoma><b>Kullanэcэ Kodu <em><span class="little_text"></span></em></div></td> </tr> <tr> <td colspan="2" align="left"><input type="text" name="pID" class="field" maxlength="".$muweb['pID_minim'].""></td> </tr>";
}
else
{
$register_content .= " <tr> <td colspan="2" ><input type="hidden" name="pID" class="field" value="".$muweb['pID_set'].""></td> </tr>";
}
$register_content .= "<tr> <td colspan="2"><div align="left">&nbsp;</div></td> </tr> <tr> <td colspan="2"><div align="left">&nbsp;</div></td> </tr> <tr> <td colspan="2"><div align="left"><font color="#ffffff" size=2 face=Tahoma><b>E-mail адресс <em><span class="little_text"></span></em></div></td> </tr> <tr> <td align="left"><input type="text" name="email" class="field" maxlength="50"></td> <td><div align="left" class="register"></div></td> </tr> <tr> <td colspan="2"><div align="left"><font color="#ffffff" size=2 face=Tahoma><b>Страна</div></td> </tr> <tr> <td colspan="2"><div align="left"> <select name="country" class="field"><option value="x">--Выбрать</option>";
$c = getcountry( "list" );
foreach ( $c as $cc => $v )
{
$register_content .= "<option value="".$cc."">".$v."</option>";
}
$register_content .= "</select></div></td> </tr> <tr> <td colspan="2"><div align="left"><font color="#ffffff" size=2 face=Tahoma><b>Пол</div></td> </tr> <tr> <td colspan="2"><div align="left"> <select name="gender" class="field"> <option value="x">--Выбрать</option> <option value="1">Мужской</option> <option value="2">Женский</option> </select></div></td> </tr> </table> <table width="315" border="0" align="center" cellpadding="0" cellspacing="4"> <tr> <td colspan="2"><div align="left"><font color="#ffffff" size=2 face=Tahoma><b>Секретный вопрос</div></td> </tr> <tr> <td colspan="2" align="left"><select name="secretquestion" id="question" class="field"><option value="x">--Выбрать</option>";
$c = s_question( "list" );
foreach ( $c as $cc => $v )
{
$register_content .= "<option value="".$cc."">".$v."</option>";
}
$register_content .= "</select> </td> </tr> <tr> <td width="164"><div align="right"><font color="#ffffff" size=2 face=Tahoma><b>Ответ</div></td> <td><input type="text" name="secretanswer" class="field" maxlength="20"></td> </tr> </table><br> <table width="315" border="0" align="center" cellpadding="0" cellspacing="4"> <tr> <td colspan="2"><div align="left"><b><font color="#ff9900"></font></b><br> <span class="register_link"><font color="#ffffff" size=2 face=Tahoma><b>Ты человек или БОТ? <a href="java script:refresh_image('Secure_Image.html');"">Другая картинка</a></span></div></td> </tr> <tr> <td colspan="2"><img src="Secure_Image.html" name="image_verify" id="image_verify"></td> </tr> <tr> <td width="385" align="right"><font color="#ffffff" size=2 face=Tahoma><b>Введите код изображенный на картинке</td> <td align="right"><input type="text" name="securecode" class="field"><input type="hidden" name="register_me"></td> </tr> </table></form><br><div id="register_content"><input name="" type="button" value="Зарегистрироваться" class="button" OnClick="register_me('Пожалуйста, подождите!');"></div><br><br> ";
}
echo html( $register_content );
?>
[свернуть]


8BitCore


Dzib

спосиба, но у меня сервер сезон3 эпизод 2 и хз де найти джоин сервер без МД5... Но нащёт сайта интересно всетаки.

8BitCore

join на все версии катит один и тот же
/index.php?topic=5123.0

Похожие темы (5)