11 Aralık 2014, 12:23
|
#1 |
Çevrimdışı
Kullanıcıların profil bilgileri misafirlere kapatılmıştır.
| Popup Quick Register (Açılır Pencer Hızlı Kayıt)
Kullandığınız Tema > Navbar
Bul PHP Kod: Kodu kopyalamak için üzerine çift tıklayın!
<td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
Değiştir PHP Kod: Kodu kopyalamak için üzerine çift tıklayın!
<if condition="$show['registerbutton']"><td class="vbmenu_control"><div style="margin-bottom:2px;"><a href="#quickthread" id="quickthread" class="smallfont">Register</a> <script type="text/javascript"> vbmenu_register("quickthread"); </script></div>
<div id="quickthread_menu" style="display:none">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="500" align="center">
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<div style="width:$stylevar[formwidth]" align="$stylevar[left]">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<!-- message area -->
<if condition="$vboptions['quickregister_active'] AND $show['guest']">
<!-- Start Quick Register by +++++++.com -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('quickregister')"><img id="collapseimg_quickregister" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_quickregister].gif" alt="" border="0" /></a>
<strong>$vbphrase[quickregister_quickregister]</strong>
</td>
</tr>
</thead>
<tbody id="collapseobj_quickregister" style="$vbcollapse[collapseobj_quickregister]">
<tr>
<td class="alt1" align="center">
<span class="smallfont"><script type="text/javascript" src="$vboptions[bburl]/clientscript/vbulletin_md5.js"></script>
<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></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('$vbphrase[fill_out_both_password_fields]');
return false;
}
else if (password1.value != password2.value)
{
alert('$vbphrase[entered_passwords_do_not_match]');
return false;
}
else
{
<if condition="$show['coppa']">
pass_copy = password1.value;
passconfirm_copy = password2.value;
</if>
var junk_output;
md5hash(password1, document.forms.register.password_md5, junk_output, $show[nopasswordempty]);
md5hash(password2, document.forms.register.passwordconfirm_md5, junk_output, $show[nopasswordempty]);
<if condition="$show['coppa']">
document.forms.register.password.value = pass_copy;
document.forms.register.passwordconfirm.value = passconfirm_copy;
</if>
return true;
}
return false;
}
</script>
<form action="register.php?do=addmember" name="register" method="post" onsubmit="return verify_passwords(password, passwordconfirm);">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="addmember" />
<input type="hidden" name="url" value="$url" />
<input type="hidden" name="agree" value="$agree" />
<input type="hidden" name="password_md5" />
<input type="hidden" name="passwordconfirm_md5" />
<if condition="$vboptions['quickregister_welcomemsg']">
$vboptions[quickregister_welcomemsgtext]<br><br>
</if>
$vbphrase[quickregister_username]
<input type="text" class="bginput" name="username" maxlength="$vboptions[maxuserlength]" value="$username" style="width:70px" />
$vbphrase[quickregister_password]
<input type="password" class="bginput" name="password" size="25" maxlength="50" value="$password" style="width:70px" />
$vbphrase[quickregister_confirmpassword]
<input type="password" class="bginput" name="passwordconfirm" size="25" maxlength="50" value="$passwordconfirm" style="width:70px" />
$vbphrase[quickregister_email]
<input type="text" class="bginput" name="email" size="25" maxlength="50" value="$email" dir="ltr" style="width:70px" />
$vbphrase[quickregister_confirmemail]
<input type="text" class="bginput" name="emailconfirm" size="25" maxlength="50" value="$emailconfirm" dir="ltr" style="width:70px" /><br>
<if condition="$vboptions['quickregister_dob']">
$vbphrase[quickregister_birthday]
<select name="month" id="bd_month" style="width:70px" />
<option value="-1">$vbphrase[quickregister_bdmonth]</option>
<option value="01">January</option>
<option value="02">February</option>
<option value="03">March</option>
<option value="04">April</option>
<option value="05">May</option>
<option value="06">June</option>
<option value="07">July</option>
<option value="08">August</option>
<option value="09">September</option>
<option value="10">October</option>
<option value="11">November</option>
<option value="12">December</option>
</select>
<select name="day" id="bd_day" style="width:70px" />
<option value="-1" >$vbphrase[quickregister_bdday]</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="$vbphrase[quickregister_bdyear]" size="4" maxlength="4" id="bd_year" style="width:50px" /></if>
<if condition="$vboptions['quickregister_huver'] AND $vboptions['hv_type'] AND $vboptions['regimagetype']">
$human_verify
</if>
<input type="submit" class="button" value="$vbphrase[quickregister_submit]" accesskey="s" />
<input name="agree" id="cb_rules_agree" value="1" type="checkbox"><strong>$vbphrase[quickregister_agree] <a href="$vboptions[bburl]/register.php?" target="_blank">$vbphrase[quickregister_forumrules]</a></strong>
</form>
</span></td>
</tr>
</tbody>
</table>
<!-- End Quick Register by +++++++.com --></if>
<!-- / message area -->
</td>
</tr>
</table>
</div>
</div>
</td>
</tr>
</table>
</form>
</div></td></td></if>
__________________ |
| |