×
用户登录
保持登录
忘记密码
注册帐号
登录
{:hook('SyncLogin')}
×
用户注册
if (D('Admin/Module')->where('name="User"')->find() && is_dir(APP_PATH . 'User/')) { $allow_reg_type = C('user_config.allow_reg_type'); $user_type_list = D('User/Type')->where('status = 1')->select(); } else { $allow_reg_type = array('username', 'email', 'mobile'); $user_type_list = array(); }
if(in_array('username', $allow_reg_type)):
if($allow_reg_type[0] === 'username') echo 'class="active"';>
用户名注册
endif;
if(in_array('email', $allow_reg_type)):
if($allow_reg_type[0] === 'email') echo 'class="active"';>
邮箱注册
endif;
if(in_array('mobile', $allow_reg_type)):
if($allow_reg_type[0] === 'mobile') echo 'class="active"';>
手机号注册
endif;
if(in_array('username', $allow_reg_type)):
">
{$utype.title}
点击下一步表示同意
用户协议
下 一 步
endif;
if(in_array('email', $allow_reg_type)):
">
{$utype.title}
发送邮件验证码
点击下一步表示同意
用户协议
下 一 步
endif;
if(in_array('mobile', $allow_reg_type)):
">
{$utype.title}
发送短信验证码
点击下一步表示同意
用户协议
下 一 步
endif;
×
用户协议
{:C('user_config.user_protocol')}