<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>合作网站登录 - {config.webname}</title>
<meta content="{config.webkeyword}" name="keywords">
<meta content="{config.webdescription}" name="description">
<link rel="stylesheet" href="{config.webpath}scripts/ui/skins/Aqua/css/ligerui-all.css" />
<link media="screen" type="text/css" href="{config.templateskin}/css/style.css" rel="stylesheet">
<link rel="stylesheet" href="{config.webpath}css/validate.css" />
<script type="text/javascript" src="{config.webpath}scripts/jquery/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="{config.webpath}scripts/jquery/jquery.form.js"></script>
<script type="text/javascript" src="{config.webpath}scripts/jquery/jquery.validate.min.js"></script>
<script type="text/javascript" src="{config.webpath}scripts/jquery/messages_cn.js"></script>
<script type="text/javascript" src="{config.webpath}scripts/ui/js/ligerBuild.min.js"></script>
<script type="text/javascript" src="{config.templateskin}/js/base.js"></script>
<script type="text/javascript">
	$(function(){
		tabs('#oauthTabs','click');
		//初始化表单1
		AjaxInitForm('bind_form', 'btnSubmit1', 0, 'turl');
		//初始化表单2
		AjaxInitForm('oauth_form', 'btnSubmit2', 0, 'turl');
	});
</script>
</head>

<body>
<!--Header-->
<%template src=/_header.html/%>
<!--/Header-->

<div class="boxwrap">
  <div class="main_box">
    <h1 class="main_tit">
      合作网站登录<strong>OAuth Login</strong>
    </h1>

    <div id="oauthTabs" class="oauth_box">
      <div id="tab_head">
        <ul class="tabs">
          <li><a class="current" href="javascript:;">绑定已有的账号</a></li>
          <li><a href="javascript:;">创建新的账号</a></li>
        </ul>
      </div>
      <div class="line10"></div>
      <div class="tab_inner entry" style="display:block;">
        <div class="form_box">
          <form name="bind_form" id="bind_form" url="{config.webpath}tools/submit_ajax.ashx?action=user_oauth_bind">
          <dl>
            <dt>用户名：</dt>
            <dd><input name="txtUserName" type="text" class="input txt wide required" maxlength="100" /></dd>
          </dl>
          <dl>
            <dt>密　码：</dt>
            <dd><input name="txtPassword" type="password" class="input txt wide required" minlength="6" maxlength="100" /></dd>
          </dl>
          <dl>
            <dt></dt>
            <dd><input id="btnSubmit1" name="btnSubmit1" type="submit" class="btn_submit" value="立即绑定" /></dd>
          </dl>
          </form>
        </div>
      </div>
      <div class="tab_inner">
        <div class="form_box">
          <form name="oauth_form" id="oauth_form" url="{config.webpath}tools/submit_ajax.ashx?action=user_oauth_register">
          <dl>
            <dt>电子邮箱：</dt>
            <dd><input name="txtEmail" type="text" class="input txt wide required email" maxlength="100" /></dd>
          </dl>
          <dl>
            <dt>登录密码：</dt>
            <dd><input name="txtPassword" type="password" class="input txt wide required" minlength="6" maxlength="100" /></dd>
          </dl>
          <dl>
            <dt></dt>
            <dd><input id="btnSubmit2" name="btnSubmit1" type="submit" class="btn_submit" value="创建新账户" /></dd>
          </dl>
          </form>
        </div>
        <input id="turl" name="turl" type="hidden" value="{turl}" />
      </div>
      
    </div>

    <div class="clear"></div>
  </div>
</div>

<div class="clear"></div>

<!--Footer-->
<%template src=/_footer.html/%>
<!--/Footer-->
</body>
</html>
