20 - 06 - 2015, 12:22
|
#1 (permalink)
|
Kullanıcıların profil bilgileri ziyaretçilere kapalı | Hızlı Üye Ol Eklentisi (Quick Register) Türkçe Forumhome da bul
PHP- Kodu:
altina ekle PHP- Kodu: <!-- Hemen Üye Ol -->
<if condition="$show['guest']"><table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="6"><div align="center"><b>Hemen Üye Ol</b></div></td>
</tr>
<tr>
<td class="alt1" colspan="6"> <div align="center">
<span class="smallfont"><script type="text/javascript" src="$vboptions[bb]/clientscript/vbulletin_md5.js"></script>
<script type="text/javascript">
function verify_passwords(password1, password2)
{
// do various checks, this will save people noticing mistakes on next page
if (password1.value == '' || password2.value == '')
{
alert('Fill out both password fields');
return false;
}
else if (password1.value != password2.value)
{
alert('Entered passwords do not match');
return false;
}
else
{
md5hash(password1, document.forms.register.password_md5);
md5hash(password2, document.forms.register.passwordconfirm_md5);
return true;
}
return false;
}
</script>
<form action="$vboptions[bb]/register.php" name="register" method="post" onsubmit="return verify_passwords(password, passwordconfirm);">
<input type="hidden" name="s" value="" />
<input type="hidden" name="do" value="addmember" />
<input type="hidden" name="" value="$" />
<input type="hidden" name="agree" value="" />
<input type="hidden" name="password_md5" />
<input type="hidden" name="passwordconfirm_md5" />
Kullanıcı Adı:
<input type="text" class="bginput" name="username" maxlength="15" value="" style="width:70px" />
Parola:
<input type="password" class="bginput" name="password" maxlength="15" value="" style="width:70px" />
Parolayı Doğrula:
<input type="password" class="bginput" name="passwordconfirm" maxlength="15" value="" style="width:70px" />
Email:
<input type="text" class="bginput" name="email" maxlength="50" value="" style="width:70px" />
Emaili Doğrula:
<input type="text" class="bginput" name="emailconfirm" maxlength="50" value="" style="width:70px" /><br>
Doğum Tarihi: <select name="Month" id="bd_month"style="width:70px" />
<option value="-1" >Ay</option>
<option value="01" >Ocak</option>
<option value="02" >Şubat</option>
<option value="03" >Mart</option>
<option value="04" >Nisan</option>
<option value="05" >Mayıs</option>
<option value="06" >Haziran</option>
<option value="07" >Temmuz</option>
<option value="08" >Ağustos</option>
<option value="09" >Eylül</option>
<option value="10" >Ekim</option>
<option value="11" >Kasım</option>
<option value="12" >Aralık</option>
</select>
<select name="Day" id="bd_day"style="width:70px" />
<option value="-1" >Gün</option>
<option value="01" >1</option>
<option value="02" >2</option>
<option value="03" >3</option>
<option value="04" >4</option>
<option value="05" >5</option>
<option value="06" >6</option>
<option value="07" >7</option>
<option value="08" >8</option>
<option value="09" >9</option>
<option value="10" >10</option>
<option value="11" >11</option>
<option value="12" >12</option>
<option value="13" >13</option>
<option value="14" >14</option>
<option value="15" >15</option>
<option value="16" >16</option>
<option value="17" >17</option>
<option value="18" >18</option>
<option value="19" >19</option>
<option value="20" >20</option>
<option value="21" >21</option>
<option value="22" >22</option>
<option value="23" >23</option>
<option value="24" >24</option>
<option value="25" >25</option>
<option value="26" >26</option>
<option value="27" >27</option>
<option value="28" >28</option>
<option value="29" >29</option>
<option value="30" >30</option>
<option value="31" >31</option>
</select>
<input type="text" class="bginput" name="year" onFocus="value=''" value="Sene" size="4" maxlength="4" id="bd_year" style="width:70px" />
<input name="agree" id="cb_rules_agree" value="1" type="checkbox"><strong>Forum Kurallarını Kabul et <a href="$vboptions[bb]/register.php?">Forum
Kuralları</a></strong>
<input type="submit" class="button" value="Gönder" accesskey="s" />
</span></form>
</div></td>
</tr>
</thead>
</table><br></if>
<!-- Hemen Üye Ol -->
|
| |