- 積分
- 196
- 威望
- 196
- 金錢
- 438
- 最後登錄
- 2013-7-31
|
<!--{/loop}-->
</select>
<!--{else}-->
<input type="text" name="field_$field[fieldid]new" size="25" value="$member['field_'.$field[fieldid]]" tabindex="1" class="txt" />
<!--{/if}--> *
</label>
<!--{/loop}-->
</div>
</div>
<div class="logininfo">
<h4>{lang login_now}</h4>
<!--{if $action == 'activation'}-->
<p>{lang login_inactive}</p>
<!--{/if}-->
<!--{if in_array('qqconnect', $plugins['available']) && $connect['allow']}-->
<p><a rel="nofollow" href="{$GLOBALS['connect_setting']['login_url']}"><img align="absmiddle" src="{IMGDIR}/qq_login.gif"></a></p>
<!--{/if}-->
</div>
<p class="fsubmit s_clear">
<!--{if $sitemessage[register]}--><a href="javascript:;" id="custominfo_register" class="right"><img src="{IMGDIR}/info.gif" alt="{lang faq}" /></a><!--{/if}-->
<span id="reginfo_a_btn">
<!--{if $action != 'activation'}--><em> </em><!--{/if}-->
<!--{if ($field || $regverify == 2) && !empty($infloat)}-->
<button class="submit" tabindex="1" onclick="regstep('reginfo_a','reginfo_b'); return false;">{lang register_next}</button>
</span>
<span id="reginfo_b_btn" style="display:none">
<em class="regpre"><a href="javascript:;" onclick="regstep('reginfo_b','reginfo_a');">{lang register_pre}</a></em>
<!--{/if}-->
<button class="submit" id="registerformsubmit" type="submit" name="regsubmit" value="true" tabindex="1">{if $action == 'activation'}{lang activation}{else}{lang submit}{/if}</button>
<!--{if $bbrules}-->
<input type="checkbox" class="checkbox" name="agreebbrule" value="$bbrulehash" id="agreebbrule" checked="checked" /> <label for="agreebbrule">{lang agree}<a href="javascript:;" onclick="display('layer_reg');display('layer_bbrule');">{lang rulemessage}</a></label>
<!--{/if}-->
</span>
</p>
</form>
</div>
</div>
<div id="layer_message" class="fcontent alert_win" style="display: none;">
<h3 class="float_ctrl">
<em>{lang login_member}</em>
<span><!--{if !empty($infloat)}--><a href="javascript:;" class="float_close" onclick="hideWindow('login')" title="{lang close}">{lang close}</a><!--{/if}--></span>
</h3>
<hr class="shadowline" />
<div class="postbox"><div class="alert_right">
<div id="messageleft1"></div>
<p class="alert_btnleft" id="messageright1"></p>
</div>
</div>
<script type="text/javascript" reload="1">
{if $action != 'activation'}
function initinput_register() {
$('registerform').username.focus();
}
if(BROWSER.ie && BROWSER.ie < 7) {
setTimeout('initinput_register()', 500);
} else {
initinput_register();
}
{/if}
{if $sitemessage[register]}
showPrompt('custominfo_register', 'click', '{echo trim($sitemessage[register][array_rand($sitemessage[register])])}', $sitemessage[time]);
{/if}
var profile_username_toolong = '{lang register_profile_username_toolong}';
var profile_username_tooshort = '{lang register_profile_profile_username_tooshort}';
var doublee = parseInt('$doublee');
var lastusername = lastpassword = lastemail = lastinvitecode = '';
function messagehandle_register(key, msg) {
$('returnmessage4').className = key == 1 ? 'onerror' : '';
$('returnmessage4').innerHTML = msg;
}
function checkusername() {
var username = trim($('username').value);
if(username == '' || username == lastusername) {
return;
} else {
lastusername = username;
}
var unlen = username.replace(/[^\x00-\xff]/g, "**").length;
if(unlen < 3 || unlen > 15) {
messagehandle_register(1, unlen < 3 ? profile_username_tooshort : profile_username_toolong);
return;
}
ajaxget('ajax.php?infloat=register&handlekey=register&action=checkusername&username=' + (BROWSER.ie && document.charset == 'utf-8' ? encodeURIComponent(username) : username), 'returnmessage4');
}
function checkemail() {
var email = trim($('email').value);
if(email == '' || email == lastemail) {
return;
} else {
lastemail = email;
}
ajaxget('ajax.php?infloat=register&handlekey=register&action=checkemail&email=' + email, 'returnmessage4');
}
function checkinvitecode() {
var invitecode = trim($('invitecode').value);
if(invitecode == lastinvitecode) {
return;
} else {
lastinvitecode = invitecode;
}
ajaxget('ajax.php?infloat=register&handlekey=register&action=checkinvitecode&invitecode=' + invitecode, 'returnmessage4');
}
function trim(str) {
return str.replace(/^\s*(.*?)[\s\n]*$/g, '$1');
}
{if ($field && !empty($infloat)) || $regverify == 2}
function regstep(obja,objb){
$(obja).style.display = $(obja+'_btn').style.display = 'none';
$(objb).style.display = $(objb+'_btn').style.display = '';
}
{/if}
{if $invitecode}
ajaxget('ajax.php?infloat=register&handlekey=register&action=checkinvitecode&invitecode=$invitecode', 'returnmessage4');
{/if}
</script>
<!--{/if}-->
{eval updatesession();}
<!--{if empty($infloat)}-->
</div></div>
</div>
<!--{/if}-->
{template footer} |
|