<?php !defined('IN_REGINX') && die('Access Denied'); ?>
<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<link rel="stylesheet" type="text/css" href="{__CURTPL_URL__}images/mini.css" />
<script src="{__DATA_URL__}js/jquery-1.8.2.min.js"></script>
<script src="{__CTPL_URL__}js/user.js"></script>
<style>
.input{
    width:280px;
}
</style>
<script>
  var api = frameElement.api, W = api.opener;
  $(function(){
    api.size(336 , 360);
  });
</script>
</head>

<body>
    <div class="main" style="width:326px;position:relative;">
        <form action="{url:'login-bind-uid-%d' , $user['id']}" method="post" id="form1" class="form">
            <div class="title">帐号 (邮箱地址)</div>
            <input name="user[uname]"  class="input" id="uname" type="text"/>
            <div class="title">密码</div>
            <input name="user[passwd]" class="input" id="passwd" type="password"/>
            <div class="title">确认密码</div>
            <input name="user[passwd1]" class="input" id="passwd1" type="password"/>
            <div class="title">昵称</div>
            <input name="user[nick]"  class="input" id="nick" type="text"/>
            <div class="title">验证码</div>
            <input name="verify" id="verify" class="input" style="width:100px;"  type="text"/> 
            <img src="{url:('login-verify-|false')}" style="margin-top:1px\9" align="absmiddle" id="verify_img"/>
            <a href="javascript:void(0);" onclick="RGX.refverify('verify_img')" style="font-size:12px;">看不清?</a>
            <div class="title" style="margin:10px 0">
                <input type="button" id="regbtn" ajaxurl="{url:'reg-submit'}" loginurl='{url:'login'}'  class="button" value="确定"/>
                &nbsp;&nbsp;<span class="error" id="error_msg">{:(is_array($msg) ? array_pop($msg) : $msg)}</span>
            </div>
        </form>
    </div>
</body>
</html>