<?php /* Smarty version Smarty-3.0.6, created on 2012-04-26 23:12:41
         compiled from "C:\wamp\www\yun3/tpl\oauth/login.html" */ ?>
<?php /*%%SmartyHeaderCode:181564f9965e9826240-52890817%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '1c2506c829bb8316e12cb1a623bf159953ce1844' => 
    array (
      0 => 'C:\\wamp\\www\\yun3/tpl\\oauth/login.html',
      1 => 1335453151,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '181564f9965e9826240-52890817',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<!doctype html>
<html lang="zh-cn" class="no-js">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $_smarty_tpl->getVariable('yb')->value['site_title'];?>
 - 连接<?php echo $_smarty_tpl->getVariable('app')->value;?>
</title>
<link rel="stylesheet" type="text/css" media="screen" href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/tpl/image/css/ajaxfrom.css" />
<link href="../image/css/ajaxfrom.css" rel="stylesheet" type="text/css">
 
<script>
function dosubmit()
{
	document.getElementById('submit_button').style.display = 'none';
	document.getElementById('submit_tip').style.display = 'inline';
}


</script>
 
</head>

<body>
<form action="" method="post">
   
    <fieldset>
     <h3><?php echo $_smarty_tpl->getVariable('quser')->value['nickname'];?>
您在使用<?php echo $_smarty_tpl->getVariable('app')->value;?>
账号登陆</h3>
     <?php if ($_smarty_tpl->getVariable('type')->value!='login'){?>
     
         <div class="linkselect"><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'openconnect','a'=>$_smarty_tpl->getVariable('app')->value,'login'=>'yes','type'=>'login'),$_smarty_tpl);?>
" >我已经有<?php echo $_smarty_tpl->getVariable('yb')->value['site_title'];?>
账号,直接绑定</a> | 我还没有,帮我注册一个吧</div>
        <div>
          <label for="email">邮箱</label>
          <input name="email" type="text" id="email" size="25" maxlength="50" value="<?php if ($_POST['email']){?><?php echo $_POST['email'];?>
<?php }else{ ?><?php echo $_smarty_tpl->getVariable('email')->value;?>
<?php }?>" class="ipt" tabindex="1" />
          <?php echo verifierMsg(array('set'=>$_smarty_tpl->getVariable('errmsg_arr')->value,'in'=>'email','msg'=>'最多30字符'),$_smarty_tpl);?>
 </div>
           <div class="filed" style="margin-bottom:0px"><label class="nocontent">昵称</label>
              <input type="text"  name="username"  size="25"  class="ipt" tabindex="4" value="<?php echo $_smarty_tpl->getVariable('user')->value['nickname'];?>
" title="请输入昵称">
             <?php echo verifierMsg(array('set'=>$_smarty_tpl->getVariable('errmsg_arr')->value,'in'=>'username','msg'=>'请输入昵称'),$_smarty_tpl);?>
</div></div>
          
          
         <div>
          <label for="password">密码</label>
          <input name="password" type="password" id="password" size="25" value="<?php echo $_POST['password'];?>
" class="ipt"  tabindex="2"/>
          <?php echo verifierMsg(array('set'=>$_smarty_tpl->getVariable('errmsg_arr')->value,'in'=>'password','msg'=>'输入您的密码'),$_smarty_tpl);?>
 </div>
          
          <div>
          <label for="password">重复密码</label>
          <input name="password2" type="password" id="password2" size="25" value="<?php echo $_POST['password'];?>
" class="ipt"  tabindex="3"/>
          <?php echo verifierMsg(array('set'=>$_smarty_tpl->getVariable('errmsg_arr')->value,'in'=>'password2','msg'=>'请重复密码'),$_smarty_tpl);?>
 </div>
           <div style="height:15px">使用<?php echo $_smarty_tpl->getVariable('app')->value;?>
头像作为我的默认头像 <input name="face" type="checkbox" value="1" checked="checked" /></div>
	<?php }else{ ?>
         <div class="linkselect">我已经有<?php echo $_smarty_tpl->getVariable('yb')->value['site_title'];?>
账号,直接绑定 | <a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'openconnect','a'=>$_smarty_tpl->getVariable('app')->value,'login'=>'yes'),$_smarty_tpl);?>
"> 我还没有,帮我注册一个吧</a></div>
        	<div>
          <label for="email">邮箱</label>
          <input name="email" type="text" id="email" size="25" maxlength="50" value="<?php if ($_POST['email']){?><?php echo $_POST['email'];?>
<?php }else{ ?><?php echo $_smarty_tpl->getVariable('email')->value;?>
<?php }?>" class="ipt" tabindex="1" />
          <?php echo verifierMsg(array('set'=>$_smarty_tpl->getVariable('errmsg_arr')->value,'in'=>'email','msg'=>'最多30字符'),$_smarty_tpl);?>
 </div>

          <div>
          <label for="password">密码</label>
          <input name="password" type="password" id="password" size="25" value="<?php echo $_POST['password'];?>
" class="ipt"  tabindex="2"/>
          <?php echo verifierMsg(array('set'=>$_smarty_tpl->getVariable('errmsg_arr')->value,'in'=>'password','msg'=>'请输入密码'),$_smarty_tpl);?>
 </div>
            <div style="height:15px">使用<?php echo $_smarty_tpl->getVariable('app')->value;?>
头像作为我的默认头像 <input name="face" type="checkbox" value="1" /></div>
          
      <?php }?>
      
        <div class="button">
            <span id="submit_tip">正在登录...</span>
     		 <input name="linkSubmit" type="submit" id="submit_button" class="blue-button submit"  value="好了" onClick="dosubmit('submit');" tabindex="4"/>
        </div>
    
    </fieldset>
</form>
</body>
</html>
