First commit
This commit is contained in:
44
template/default/member/getpasswd.htm
Normal file
44
template/default/member/getpasswd.htm
Normal file
@@ -0,0 +1,44 @@
|
||||
<!--{template common/header}-->
|
||||
<div id="ct" class="wp w cl">
|
||||
<div class="mn mw">
|
||||
<div class="blr">
|
||||
<h3 class="flb" style="padding-left:0">
|
||||
<em>{lang getpassword}</em>
|
||||
</h3>
|
||||
<form method="post" autocomplete="off" action="member.php?mod=getpasswd&uid=$uid&id=$hashid&sign=$_GET[sign]">
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}" />
|
||||
<div class="c cl">
|
||||
<div class="lgfm">
|
||||
<label><em>{lang username}:</em>$member[username]</label>
|
||||
<label><em>{lang new_password}:</em><input type="password" id="newpasswd1" name="newpasswd1" size="25" class="px" /><span><i id="tip_newpasswd1" class="p_tip"></i></span></label>
|
||||
<p style="height:22px;">
|
||||
|
||||
<i class="d" id="chk_newpasswd1">{lang register_password_tips}<!--{if $_G['setting']['pwlength']}-->, {lang register_password_length_tips1} $_G['setting']['pwlength'] {lang register_password_length_tips2}<!--{/if}--></i>
|
||||
</p>
|
||||
<label><em>{lang new_password_confirm}:</em><input type="password" id="newpasswd2" name="newpasswd2" size="25" class="px" /><span><i id="tip_newpasswd2" class="p_tip"></i></span></label>
|
||||
<p style="height:22px;"><i class="d" id="chk_newpasswd2"></i></p>
|
||||
</div>
|
||||
<div class="lgf minf">
|
||||
<h4>{lang login_guest}</h4>
|
||||
</div>
|
||||
</div>
|
||||
<p class="fsb pns cl">
|
||||
<em> </em>
|
||||
<button class="pn pnc" type="submit" name="getpwsubmit" value="true"><span>{lang submit}</span></button>
|
||||
</p>
|
||||
</form>
|
||||
<script type="text/javascript" src="{$_G[setting][jspath]}register.js?{VERHASH}"></script>
|
||||
<script type="text/javascript">
|
||||
var strongpw = new Array();
|
||||
<!--{if $_G['setting']['strongpw']}-->
|
||||
<!--{loop $_G['setting']['strongpw'] $key $val}-->
|
||||
strongpw[$key] = $val;
|
||||
<!--{/loop}-->
|
||||
<!--{/if}-->
|
||||
var pwlength = <!--{if $_G['setting']['pwlength']}-->$_G['setting']['pwlength']<!--{else}-->0<!--{/if}-->;
|
||||
checkPwdComplexity($('newpasswd1'), $('newpasswd2'));
|
||||
</script>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--{template common/footer}-->
|
0
template/default/member/index.htm
Normal file
0
template/default/member/index.htm
Normal file
260
template/default/member/login.htm
Normal file
260
template/default/member/login.htm
Normal file
@@ -0,0 +1,260 @@
|
||||
<!--{template common/header}-->
|
||||
|
||||
<!--{eval $loginhash = 'L'.random(4);}-->
|
||||
<!--{if empty($_GET['infloat'])}-->
|
||||
<div id="ct" class="ptm wp w cl">
|
||||
<div class="nfl" id="main_succeed" style="display: none">
|
||||
<div class="f_c altw">
|
||||
<div class="alert_right">
|
||||
<p id="succeedmessage"></p>
|
||||
<p id="succeedlocation" class="alert_btnleft"></p>
|
||||
<p class="alert_btnleft"><a id="succeedmessage_href">{lang message_forward}</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mn" id="main_message">
|
||||
<div class="bm">
|
||||
<div class="bm_h bbs">
|
||||
<span class="y">
|
||||
<!--{hook/logging_side_top}-->
|
||||
<a href="member.php?mod={$_G[setting][regname]}" class="xi2">{lang login_guest}</a>
|
||||
</span>
|
||||
<!--{if !$secchecklogin2}-->
|
||||
<h3 class="xs2">{lang login}</h3>
|
||||
<!--{else}-->
|
||||
<h3 class="xs2">{lang login_seccheck2}</h3>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
<div>
|
||||
<!--{/if}-->
|
||||
|
||||
<div id="main_messaqge_$loginhash"{if $auth} style="width: auto"{/if}>
|
||||
<div id="layer_login_$loginhash">
|
||||
<h3 class="flb">
|
||||
<em id="returnmessage_$loginhash">
|
||||
<!--{if !empty($_GET['infloat'])}--><!--{if !empty($_GET['guestmessage'])}-->{lang login_guestmessage}<!--{elseif $auth}-->{lang profile_renew}<!--{else}-->{lang login_member}<!--{/if}--><!--{/if}-->
|
||||
</em>
|
||||
<span><!--{if !empty($_GET['infloat']) && !isset($_GET['frommessage'])}--><a href="javascript:;" class="flbc" onclick="hideWindow('$_GET[handlekey]', 0, 1);" title="{lang close}">{lang close}</a><!--{/if}--></span>
|
||||
</h3>
|
||||
<!--{hook/logging_top}-->
|
||||
<form method="post" autocomplete="off" name="login" id="loginform_$loginhash" class="cl" onsubmit="pwdclear = 1;ajaxpost('loginform_$loginhash', 'returnmessage_$loginhash', 'returnmessage_$loginhash', 'onerror');return false;" action="member.php?mod=logging&action=login&loginsubmit=yes{if !empty($_GET['handlekey'])}&handlekey=$_GET[handlekey]{/if}{if isset($_GET['frommessage'])}&frommessage{/if}&loginhash=$loginhash">
|
||||
<div class="c cl">
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}" />
|
||||
<input type="hidden" name="referer" value="{echo dreferer()}" />
|
||||
<!--{if $auth}-->
|
||||
<input type="hidden" name="auth" value="$auth" />
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if $invite}-->
|
||||
<div class="rfm">
|
||||
<table>
|
||||
<tr>
|
||||
<th>{lang register_from}</th>
|
||||
<td><a href="home.php?mod=space&uid=$invite[uid]" target="_blank">$invite[username]</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if !$auth}-->
|
||||
<div class="rfm">
|
||||
<table>
|
||||
<tr>
|
||||
<th>
|
||||
<!--{if $this->setting['autoidselect']}--><label for="username_$loginhash">{lang login_id}:</label><!--{else}-->
|
||||
<span class="login_slct">
|
||||
<select name="loginfield" style="float: left;" width="45" id="loginfield_$loginhash">
|
||||
<option value="username">{lang username}</option>
|
||||
<!--{if getglobal('setting/uidlogin')}-->
|
||||
<option value="uid">{lang uid}</option>
|
||||
<!--{/if}-->
|
||||
<option value="email">{lang email}</option>
|
||||
<!--{if getglobal('setting/secmobilelogin')}-->
|
||||
<option value="secmobile">{lang secmobile}</option>
|
||||
<!--{/if}-->
|
||||
</select>
|
||||
</span>
|
||||
<!--{/if}-->
|
||||
</th>
|
||||
<td><input type="text" name="username" id="username_$loginhash" autocomplete="off" size="30" class="px p_fre" value="$username" /></td>
|
||||
<td class="tipcol"><a href="member.php?mod={$_G[setting][regname]}">$_G['setting']['reglinkname']</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="rfm">
|
||||
<table>
|
||||
<tr>
|
||||
<th><label for="password3_$loginhash">{lang login_password}:</label></th>
|
||||
<td><input type="password" id="password3_$loginhash" name="password" onfocus="clearpwd()" size="30" class="px p_fre" /></td>
|
||||
<td class="tipcol"><a href="javascript:;" onclick="display('layer_login_$loginhash');display('layer_lostpw_$loginhash');" title="{lang getpassword}">{lang getpassword}</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if empty($_GET['auth']) || $questionexist || $seccodecheck}-->
|
||||
<div class="rfm">
|
||||
<table>
|
||||
<tr>
|
||||
<th>{lang security_q}:</th>
|
||||
<td><select id="loginquestionid_$loginhash" width="213" name="questionid"{if !$questionexist || $seccodecheck} onchange="if($('loginquestionid_$loginhash').value > 0) {$('loginanswer_row_$loginhash').style.display='';} else {$('loginanswer_row_$loginhash').style.display='none';}"<!--{/if}-->>
|
||||
<option value="0"><!--{if $questionexist && !$seccodecheck}-->{lang security_question_0}<!--{else}-->{lang security_question}<!--{/if}--></option>
|
||||
<option value="1">{lang security_question_1}</option>
|
||||
<option value="2">{lang security_question_2}</option>
|
||||
<option value="3">{lang security_question_3}</option>
|
||||
<option value="4">{lang security_question_4}</option>
|
||||
<option value="5">{lang security_question_5}</option>
|
||||
<option value="6">{lang security_question_6}</option>
|
||||
<option value="7">{lang security_question_7}</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="rfm" id="loginanswer_row_$loginhash" {if !$questionexist || $seccodecheck} style="display:none"{/if}>
|
||||
<table>
|
||||
<tr>
|
||||
<th>{lang security_a}:</th>
|
||||
<td><input type="text" name="answer" id="loginanswer_$loginhash" autocomplete="off" size="30" class="px p_fre" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if $seccodecheck || $secqaacheck}-->
|
||||
<!--{block sectpl}--><div class="rfm"><table><tr><th><sec>: </th><td><sec><br /><sec></td></tr></table></div><!--{/block}-->
|
||||
<!--{subtemplate common/seccheck}-->
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{hook/logging_input}-->
|
||||
|
||||
<div class="rfm {if !empty($_GET['infloat'])} bw0{/if}">
|
||||
<table>
|
||||
<tr>
|
||||
<th></th>
|
||||
<td><label for="cookietime_$loginhash"><input type="checkbox" class="pc" name="cookietime" id="cookietime_$loginhash" value="2592000" $cookietimecheck />{lang login_permanent}</label></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="rfm mbw bw0">
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<th> </th>
|
||||
<td>
|
||||
<button class="pn pnc" type="submit" name="loginsubmit" value="true"><strong>{lang login}</strong></button>
|
||||
</td>
|
||||
<td>
|
||||
<!--{if $this->setting['sitemessage'][login] && empty($_GET['infloat'])}--><a href="javascript:;" id="custominfo_login_$loginhash" class="y"> <i class="fico-info fic4 fc-p" alt="{lang faq}" class="vm"></i></a><!--{/if}-->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<!--{if !empty($_G['setting']['pluginhooks']['logging_method'])}-->
|
||||
<div class="rfm bw0 {if empty($_GET['infloat'])} mbw{/if}">
|
||||
<hr class="l" />
|
||||
<table>
|
||||
<tr>
|
||||
<th>{lang login_method}:</th>
|
||||
<td><!--{hook/logging_method}--></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div id="layer_lostpw_$loginhash" style="display: none;">
|
||||
<h3 class="flb">
|
||||
<em id="returnmessage3_$loginhash">{lang getpassword}</em>
|
||||
<span><!--{if !empty($_GET['infloat']) && !isset($_GET['frommessage'])}--><a href="javascript:;" class="flbc" onclick="hideWindow('login')" title="{lang close}">{lang close}</a><!--{/if}--></span>
|
||||
</h3>
|
||||
<form method="post" autocomplete="off" id="lostpwform_$loginhash" class="cl" onsubmit="ajaxpost('lostpwform_$loginhash', 'returnmessage3_$loginhash', 'returnmessage3_$loginhash', 'onerror');return false;" action="member.php?mod=lostpasswd&lostpwsubmit=yes&infloat=yes">
|
||||
<div class="c cl">
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}" />
|
||||
<input type="hidden" name="handlekey" value="lostpwform" />
|
||||
<div class="rfm">
|
||||
<table>
|
||||
<tr>
|
||||
<th><span class="rq">*</span><label for="lostpw_email">{lang email}:</label></th>
|
||||
<td><input type="text" name="email" id="lostpw_email" size="30" value="" class="px p_fre" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="rfm">
|
||||
<table>
|
||||
<tr>
|
||||
<th><label for="lostpw_username">{lang username}:</label></th>
|
||||
<td><input type="text" name="username" id="lostpw_username" size="30" value="" class="px p_fre" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="rfm mbw bw0">
|
||||
<table>
|
||||
<tr>
|
||||
<th></th>
|
||||
<td><button class="pn pnc" type="submit" name="lostpwsubmit" value="true"><span>{lang submit}</span></button></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="layer_message_$loginhash"{if empty($_GET['infloat'])} class="f_c blr nfl"{/if} style="display: none;">
|
||||
<h3 class="flb" id="layer_header_$loginhash">
|
||||
<!--{if !empty($_GET['infloat']) && !isset($_GET['frommessage'])}-->
|
||||
<em>{lang login_member}</em>
|
||||
<span><a href="javascript:;" class="flbc" onclick="hideWindow('login')" title="{lang close}">{lang close}</a></span>
|
||||
<!--{/if}-->
|
||||
</h3>
|
||||
<div class="c"><div class="alert_right">
|
||||
<div id="messageleft_$loginhash"></div>
|
||||
<p class="alert_btnleft" id="messageright_$loginhash"></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript" reload="1">
|
||||
<!--{if !isset($_GET['viewlostpw'])}-->
|
||||
var pwdclear = 0;
|
||||
function initinput_login() {
|
||||
document.body.focus();
|
||||
<!--{if !$auth}-->
|
||||
if($('loginform_$loginhash')) {
|
||||
$('loginform_$loginhash').username.focus();
|
||||
}
|
||||
<!--{if !$this->setting['autoidselect']}-->
|
||||
simulateSelect('loginfield_$loginhash');
|
||||
<!--{/if}-->
|
||||
<!--{elseif $seccodecheck && !(empty($_GET['auth']) || $questionexist)}-->
|
||||
if($('loginform_$loginhash')) {
|
||||
safescript('seccodefocus', function() {$('loginform_$loginhash').seccodeverify.focus()}, 500, 10);
|
||||
}
|
||||
<!--{/if}-->
|
||||
}
|
||||
initinput_login();
|
||||
<!--{if $this->setting['sitemessage']['login']}-->
|
||||
showPrompt('custominfo_login_$loginhash', 'mouseover', '<!--{echo trim($this->setting['sitemessage'][login][array_rand($this->setting['sitemessage'][login])])}-->', $this->setting['sitemessage'][time]);
|
||||
<!--{/if}-->
|
||||
|
||||
function clearpwd() {
|
||||
if(pwdclear) {
|
||||
$('password3_$loginhash').value = '';
|
||||
}
|
||||
pwdclear = 0;
|
||||
}
|
||||
<!--{else}-->
|
||||
display('layer_login_$loginhash');
|
||||
display('layer_lostpw_$loginhash');
|
||||
$('lostpw_email').focus();
|
||||
<!--{/if}-->
|
||||
</script>
|
||||
|
||||
<!--{eval updatesession();}-->
|
||||
<!--{if empty($_GET['infloat'])}-->
|
||||
</div></div></div></div>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
<!--{template common/footer}-->
|
47
template/default/member/login_simple.htm
Normal file
47
template/default/member/login_simple.htm
Normal file
@@ -0,0 +1,47 @@
|
||||
<!--{if CURMODULE != 'logging'}-->
|
||||
<script type="text/javascript" src="{$_G[setting][jspath]}logging.js?{VERHASH}"></script>
|
||||
<form method="post" autocomplete="off" id="lsform" action="member.php?mod=logging&action=login&loginsubmit=yes&infloat=yes&lssubmit=yes" onsubmit="return lsSubmit();">
|
||||
<div class="fastlg cl">
|
||||
<span id="return_ls" style="display:none"></span>
|
||||
<div class="y pns">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<!--{if !$_G['setting']['autoidselect']}-->
|
||||
<td>
|
||||
<span class="ftid">
|
||||
<select name="fastloginfield" id="ls_fastloginfield" width="40">
|
||||
<option value="username">{lang username}</option>
|
||||
<!--{if getglobal('setting/uidlogin')}-->
|
||||
<option value="uid">{lang uid}</option>
|
||||
<!--{/if}-->
|
||||
<option value="email">{lang email}</option>
|
||||
<!--{if getglobal('setting/secmobilelogin')}-->
|
||||
<option value="secmobile">{lang secmobile}</option>
|
||||
<!--{/if}-->
|
||||
</select>
|
||||
</span>
|
||||
<script type="text/javascript">simulateSelect('ls_fastloginfield')</script>
|
||||
</td>
|
||||
<td><input type="text" name="username" id="ls_username" autocomplete="off" class="px vm" /></td>
|
||||
<!--{else}-->
|
||||
<td><label for="ls_username">{lang account}</label></td>
|
||||
<td><input type="text" name="username" id="ls_username" class="px vm xg1" {if $_G['setting']['autoidselect']} value="{if getglobal('setting/uidlogin')}UID/{/if}{lang username}/Email" onfocus="if(this.value == '{if getglobal('setting/uidlogin')}UID/{/if}{if getglobal('setting/secmobilelogin')}{lang secmobile}/{/if}{lang username}/Email'){this.value = '';this.className = 'px vm';}" onblur="if(this.value == ''){this.value = '{if getglobal('setting/uidlogin')}UID/{/if}{if getglobal('setting/secmobilelogin')}{lang secmobile}/{/if}{lang username}/Email';this.className = 'px vm xg1';}"{/if} /></td>
|
||||
<!--{/if}-->
|
||||
<td class="fastlg_l"><label for="ls_cookietime"><input type="checkbox" name="cookietime" id="ls_cookietime" class="pc" value="2592000" />{lang login_permanent}</label></td>
|
||||
<td> <a href="javascript:;" onclick="showWindow('login', 'member.php?mod=logging&action=login&viewlostpw=1')">{lang forgotpw}</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="ls_password"{if !$_G['setting']['autoidselect']} class="z psw_w"{/if}>{lang password}</label></td>
|
||||
<td><input type="password" name="password" id="ls_password" class="px vm" autocomplete="off" /></td>
|
||||
<td class="fastlg_l"><button type="submit" class="pn vm" style="width: 75px;"><em>{lang login}</em></button></td>
|
||||
<td> <a href="member.php?mod={$_G[setting][regname]}" class="xi2 xw1">$_G['setting']['reglinkname']</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}" />
|
||||
<input type="hidden" name="quickforward" value="yes" />
|
||||
<input type="hidden" name="handlekey" value="ls" />
|
||||
</div>
|
||||
<!--{hook/global_login_extra}-->
|
||||
</div>
|
||||
</form>
|
||||
<!--{/if}-->
|
303
template/default/member/register.htm
Normal file
303
template/default/member/register.htm
Normal file
@@ -0,0 +1,303 @@
|
||||
<!--{template common/header}-->
|
||||
<script type="text/javascript">
|
||||
var strongpw = new Array();
|
||||
<!--{if $_G['setting']['strongpw']}-->
|
||||
<!--{loop $_G['setting']['strongpw'] $key $val}-->
|
||||
strongpw[$key] = $val;
|
||||
<!--{/loop}-->
|
||||
<!--{/if}-->
|
||||
var pwlength = <!--{if $_G['setting']['pwlength']}-->$_G['setting']['pwlength']<!--{else}-->0<!--{/if}-->;
|
||||
</script>
|
||||
|
||||
<script type="text/javascript" src="{$this->setting[jspath]}register.js?{VERHASH}"></script>
|
||||
|
||||
<div id="ct" class="ptm wp cl">
|
||||
<div class="nfl" id="main_succeed" style="display: none">
|
||||
<div class="f_c altw">
|
||||
<div class="alert_right">
|
||||
<p id="succeedmessage"></p>
|
||||
<p id="succeedlocation" class="alert_btnleft"></p>
|
||||
<p class="alert_btnleft"><a id="succeedmessage_href">{lang message_forward}</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mn">
|
||||
|
||||
<div class="bm" id="main_message">
|
||||
|
||||
<div class="bm_h bbs" id="main_hnav">
|
||||
<span class="y">
|
||||
<!--{hook/register_side_top}-->
|
||||
<!--{if $_GET[action] == 'activation'}-->
|
||||
{lang login_inactive}
|
||||
<!--{else}-->
|
||||
<a href="member.php?mod=logging&action=login&referer={echo rawurlencode($dreferer)}" onclick="showWindow('login', this.href);return false;" class="xi2">{lang login_now}</a>
|
||||
<!--{/if}-->
|
||||
</span>
|
||||
<h3 id="layer_reginfo_t" class="xs2">
|
||||
<!--{if $_GET[action] != 'activation'}-->$this->setting['reglinkname']<!--{else}-->{lang index_activation}<!--{/if}-->
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
<p id="returnmessage4"></p>
|
||||
|
||||
<!--{if $this->showregisterform}-->
|
||||
<form method="post" autocomplete="off" name="register" id="registerform" enctype="multipart/form-data" onsubmit="checksubmit();return false;" action="member.php?mod=$regname">
|
||||
<div id="layer_reg" class="bm_c">
|
||||
<input type="hidden" name="regsubmit" value="yes" />
|
||||
<input type="hidden" name="formhash" value="{FORMHASH}" />
|
||||
<input type="hidden" name="referer" value="$dreferer" />
|
||||
<input type="hidden" name="activationauth" value="{if $_GET[action] == 'activation'}$activationauth{/if}" />
|
||||
<!--{if $_G['setting']['sendregisterurl']}-->
|
||||
<input type="hidden" name="hash" value="$_GET[hash]" />
|
||||
<!--{/if}-->
|
||||
<div class="mtw">
|
||||
<div id="reginfo_a">
|
||||
<!--{hook/register_top}-->
|
||||
<!--{if $sendurl}-->
|
||||
<div class="rfm">
|
||||
<table>
|
||||
<tr>
|
||||
<th><span class="rq">*</span><label for="{$this->setting['reginput']['email']}">{lang email}:</label></th>
|
||||
<td>
|
||||
<input type="text" id="{$this->setting['reginput']['email']}" name="$this->setting['reginput']['email']" autocomplete="off" size="25" class="px" required /><br /><em id="emailmore"> </em>
|
||||
<input type="hidden" name="handlekey" value="sendregister"/>
|
||||
</td>
|
||||
<td class="tipcol"><i id="tip_{$this->setting['reginput']['email']}" class="p_tip">{lang register_email_tips}</i><kbd id="chk_{$this->setting['reginput']['email']}" class="p_chk"></kbd></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table>
|
||||
<tr>
|
||||
<th> </th>
|
||||
<td class="tipwide">
|
||||
{lang register_validate_email_tips}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<script type="text/javascript">
|
||||
function succeedhandle_sendregister(url, msg, values) {
|
||||
showDialog(msg, 'notice');
|
||||
}
|
||||
</script>
|
||||
</div>
|
||||
<!--{else}-->
|
||||
<!--{if $invite}-->
|
||||
<!--{if $invite['uid']}-->
|
||||
<div class="rfm">
|
||||
<table>
|
||||
<tr>
|
||||
<th>{lang register_from}:</th>
|
||||
<td><a href="home.php?mod=space&uid=$invite[uid]" target="_blank">$invite[username]</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!--{else}-->
|
||||
<div class="rfm">
|
||||
<table>
|
||||
<tr>
|
||||
<th><label for="invitecode">{lang invite_code}:</label></th>
|
||||
<td>$_GET[invitecode]<input type="hidden" id="invitecode" name="invitecode" value="$_GET[invitecode]" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!--{eval $invitecode = 1;}-->
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if empty($invite) && $this->setting['regstatus'] == 2 && !$invitestatus}-->
|
||||
<div class="rfm">
|
||||
<table>
|
||||
<tr>
|
||||
<th><span class="rq">*</span><label for="invitecode">{lang invite_code}:</label></th>
|
||||
<td><input type="text" id="invitecode" name="invitecode" autocomplete="off" size="25" onblur="checkinvite()" class="px" required /><!--{if $this->setting['inviteconfig']['buyinvitecode'] && $this->setting['inviteconfig']['invitecodeprice'] && payment::enable()}--><p><a href="misc.php?mod=buyinvitecode" onclick="showWindow('buyinvitecode', 'misc.php?mod=buyinvitecode');return false;" class="xi2">{lang register_buyinvitecode}</a></p><!--{/if}--></td>
|
||||
<td class="tipcol"><i id="tip_invitecode" class="p_tip"><!--{if $this->setting['inviteconfig']['invitecodeprompt']}-->$this->setting[inviteconfig][invitecodeprompt]<!--{/if}--></i><kbd id="chk_invitecode" class="p_chk"></kbd></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!--{eval $invitecode = 1;}-->
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if $_GET[action] != 'activation'}-->
|
||||
<div class="rfm">
|
||||
<table>
|
||||
<tr>
|
||||
<th><span class="rq">*</span><label for="{$this->setting['reginput']['username']}">{lang username}:</label></th>
|
||||
<td><input type="text" id="{$this->setting['reginput']['username']}" name="" class="px" value="{echo dhtmlspecialchars($_GET[defaultusername])}" autocomplete="off" size="25" maxlength="15" required /></td>
|
||||
<td class="tipcol"><i id="tip_{$this->setting['reginput']['username']}" class="p_tip">{lang register_username_tips}</i><kbd id="chk_{$this->setting['reginput']['username']}" class="p_chk"></kbd></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="rfm">
|
||||
<table>
|
||||
<tr>
|
||||
<th><span class="rq">*</span><label for="{$this->setting['reginput']['password']}">{lang password}:</label></th>
|
||||
<td><input type="password" id="{$this->setting['reginput']['password']}" name="" size="25" class="px" required /></td>
|
||||
<td class="tipcol"><i id="tip_{$this->setting['reginput']['password']}" class="p_tip">{lang register_password_tips}<!--{if $_G['setting']['pwlength']}-->, {lang register_password_length_tips1} $_G['setting']['pwlength'] {lang register_password_length_tips2}<!--{/if}--></i><kbd id="chk_{$this->setting['reginput']['password']}" class="p_chk"></kbd></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="rfm">
|
||||
<table>
|
||||
<tr>
|
||||
<th><span class="rq">*</span><label for="{$this->setting['reginput']['password2']}">{lang password_confirm}:</label></th>
|
||||
<td><input type="password" id="{$this->setting['reginput']['password2']}" name="" size="25" value="" class="px" required /></td>
|
||||
<td class="tipcol"><i id="tip_{$this->setting['reginput']['password2']}" class="p_tip">{lang register_repassword_tips}</i><kbd id="chk_{$this->setting['reginput']['password2']}" class="p_chk"></kbd></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="rfm">
|
||||
<table>
|
||||
<tr>
|
||||
<th><!--{if !$_G['setting']['forgeemail']}--><span class="rq">*</span><!--{/if}--><label for="{$this->setting['reginput']['email']}">{lang email}:</label></th>
|
||||
<td><input type="text" id="{$this->setting['reginput']['email']}" name="" autocomplete="off" size="25" class="px" value="$hash[0]" {if !$_G['setting']['forgeemail']}required{/if} /><br /><em id="emailmore"> </em></td>
|
||||
<td class="tipcol"><i id="tip_{$this->setting['reginput']['email']}" class="p_tip">{lang register_email_tips}</i><kbd id="chk_{$this->setting['reginput']['email']}" class="p_chk"></kbd></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if $_GET[action] == 'activation'}-->
|
||||
<div id="activation_user" class="rfm">
|
||||
<table>
|
||||
<tr>
|
||||
<th>{lang username}:</th>
|
||||
<td><strong>$username</strong></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if $this->setting['regverify'] == 2}-->
|
||||
<div class="rfm">
|
||||
<table>
|
||||
<tr>
|
||||
<th><span class="rq">*</span><label for="regmessage">{lang register_message}:</label></th>
|
||||
<td><input id="regmessage" name="regmessage" class="px" autocomplete="off" size="25" required /></td>
|
||||
<td class="tipcol"><i id="tip_regmessage" class="p_tip">{lang register_message1}</i></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if empty($invite) && $this->setting['regstatus'] == 3}-->
|
||||
<div class="rfm">
|
||||
<table>
|
||||
<tr>
|
||||
<th><label for="invitecode">{lang invite_code}:</label></th>
|
||||
<td><input type="text" name="invitecode" autocomplete="off" size="25" id="invitecode"{if $this->setting['regstatus'] == 2} onblur="checkinvite()"{/if} class="px" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!--{eval $invitecode = 1;}-->
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{loop $_G['cache']['fields_register'] $field}-->
|
||||
<!--{if $htmls[$field['fieldid']]}-->
|
||||
<div class="rfm">
|
||||
<table>
|
||||
<tr>
|
||||
<th><!--{if $field['required']}--><span class="rq">*</span><!--{/if}--><label for="$field['fieldid']">$field[title]:</label></th>
|
||||
<td>$htmls[$field['fieldid']]</td>
|
||||
<td class="tipcol"><i id="tip_$field['fieldid']" class="p_tip"><!--{if $field['description']}--><!--{echo dhtmlspecialchars($field[description])}--><!--{/if}--></i><kbd id="chk_$field['fieldid']" class="p_chk"></kbd></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
<!--{/loop}-->
|
||||
<!--{/if}-->
|
||||
<!--{hook/register_input}-->
|
||||
|
||||
<!--{if $secqaacheck || $seccodecheck}-->
|
||||
<!--{block sectpl}--><div class="rfm"><table><tr><th><span class="rq">*</span><sec>: </th><td><sec><br /><sec></td></tr></table></div><!--{/block}-->
|
||||
<!--{subtemplate common/seccheck}-->
|
||||
<!--{/if}-->
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div id="layer_reginfo_b">
|
||||
<div class="rfm mbw bw0">
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<th> </th>
|
||||
<td>
|
||||
<span id="reginfo_a_btn">
|
||||
<!--{if $_GET[action] != 'activation'}--><em> </em><!--{/if}-->
|
||||
<button class="pn pnc" id="registerformsubmit" type="submit" name="regsubmit" value="true"><strong><!--{if $_GET[action] == 'activation'}-->{lang activation}<!--{else}-->{lang submit}<!--{/if}--></strong></button>
|
||||
<!--{if $bbrules}-->
|
||||
<input type="checkbox" class="pc" name="agreebbrule" value="$bbrulehash" id="agreebbrule" checked="checked" /> <label for="agreebbrule">{lang agree}<a href="javascript:;" onclick="showBBRule()">{lang rulemessage}</a></label>
|
||||
<!--{/if}-->
|
||||
</span>
|
||||
</td>
|
||||
<td><!--{if $this->setting['sitemessage'][register]}--><a href="javascript:;" id="custominfo_register" class="y"><i class="fico-info fic4 fc-p" alt="{lang faq}"></i></a><!--{/if}--></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!--{if !empty($_G['setting']['pluginhooks']['register_logging_method'])}-->
|
||||
<div class="rfm bw0 {if empty($_GET['infloat'])} mbw{/if}">
|
||||
<hr class="l" />
|
||||
<table>
|
||||
<tr>
|
||||
<th>{lang login_method}:</th>
|
||||
<td><!--{hook/register_logging_method}--></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!--{/if}-->
|
||||
</div>
|
||||
</form>
|
||||
<!--{/if}-->
|
||||
<!--{hook/register_bottom}-->
|
||||
</div>
|
||||
<div id="layer_regmessage"class="f_c blr nfl" style="display: none">
|
||||
<div class="c"><div class="alert_right">
|
||||
<div id="messageleft1"></div>
|
||||
<p class="alert_btnleft" id="messageright1"></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="layer_bbrule" style="display: none">
|
||||
<div class="c" style="width:700px;height:350px;overflow:auto">$bbrulestxt</div>
|
||||
<p class="fsb pns cl hm">
|
||||
<button class="pn pnc" onclick="$('agreebbrule').checked = true;hideMenu('fwin_dialog', 'dialog');{if $this->setting['sitemessage'][register] && ($bbrules && $bbrulesforce)}showRegprompt();{/if}"><span>{lang agree}</span></button>
|
||||
<button class="pn" onclick="location.href='$_G[siteurl]'"><span>{lang disagree}</span></button>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
var ignoreEmail = <!--{if $_G['setting']['forgeemail']}-->true<!--{else}-->false<!--{/if}-->;
|
||||
<!--{if $bbrules && $bbrulesforce}-->
|
||||
showBBRule();
|
||||
<!--{/if}-->
|
||||
<!--{if $this->showregisterform}-->
|
||||
<!--{if $sendurl}-->
|
||||
addMailEvent($('{$this->setting['reginput']['email']}'));
|
||||
<!--{else}-->
|
||||
addFormEvent('registerform', <!--{if $_GET[action] != 'activation' && !($bbrules && $bbrulesforce) && !empty($invitecode)}-->1<!--{else}-->0<!--{/if}-->);
|
||||
<!--{/if}-->
|
||||
<!--{if $this->setting['sitemessage'][register]}-->
|
||||
function showRegprompt() {
|
||||
showPrompt('custominfo_register', 'mouseover', '<!--{echo trim($this->setting['sitemessage'][register][array_rand($this->setting['sitemessage'][register])])}-->', $this->setting['sitemessage'][time]);
|
||||
}
|
||||
<!--{if !($bbrules && $bbrulesforce)}-->
|
||||
showRegprompt();
|
||||
<!--{/if}-->
|
||||
<!--{/if}-->
|
||||
function showBBRule() {
|
||||
showDialog($('layer_bbrule').innerHTML, 'info', '<!--{echo addslashes($this->setting['bbname']);}--> {lang rulemessage}');
|
||||
$('fwin_dialog_close').style.display = 'none';
|
||||
}
|
||||
<!--{/if}-->
|
||||
</script>
|
||||
|
||||
</div></div>
|
||||
</div>
|
||||
|
||||
<!--{eval updatesession();}-->
|
||||
<!--{template common/footer}-->
|
Reference in New Issue
Block a user