<!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>
<title>QQ登陆-{config.sitename}</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="{config.templatetheme}/css/about.css" rel="stylesheet" type="text/css" />
<script language="JavaScript" src="{config.templatetheme}/js/jquery.js"></script>
<script type="text/javascript" src="{config.templatetheme}/js/jquery.validate.min.js"></script>
<script type="text/javascript" src="{config.templatetheme}/js/jquery.form.js"></script>
<script type="text/javascript">
//验证
$(document).ready(function () {
$("#form1").validate({
  success: function (label) {
	  label.text(" ").addClass("success")
  },

  rules: { txtloginusername: { required: true, minlength: 3, maxlength: 18 },
	  txtloginpassword: { required: true, minlength: 6, maxlength: 18 } 
  },
  messages: {

	  txtloginusername: { required: "请输入用户名", minlength: jQuery.format("不能小于3个字符"), maxlength: jQuery.format("不能大于18个字符") },
	  txtloginpassword: { required: "请输入密码", minlength: jQuery.format("不能小于6个字符"), maxlength: jQuery.format("不能大于18个字符") } 

  },
  errorPlacement: function (error, element) {
	  if (element.is(":radio")) error.appendTo(element.parent().next().next());
	  else if (element.is(":checkbox")) error.appendTo(element.next());
	  else error.appendTo(element.parent())
  }
})
});
</script>
</head>
<body>
<!--head-->
<%template src=/_head.html/%>
<div class="loginqq">
  <h3> <strong class="ft_16">加入{config.sitename}</strong> - <b style="color: #006600">找工作，招人才</b><br />
    我们致力于为企业招聘和个人求职提供高效的沟通和双向选择的平台！好工作就上{config.sitename}</h3>
  <div class="td1">
    <div class="hd">
      <ul id="selecttype">
        <li class="on"><b>我已有帐号</b> <font color="#999999">登录账号并绑定</font></li>
        <li><b>我还没有帐号</b> <font color="#999999">注册并绑定</font></li>
      </ul>
    </div>
    <form method="post" name="form1" id="form1">
      <div class="bd">
        <ul>
          <li><i>用户名：</i>
            <input type="text" id="txtloginusername" name="txtloginusername" class="input"
                            style="width: 220px">
          </li>
          <li><i>密  码：</i>
            <input type="password" id="txtloginpassword" name="txtloginpassword" class="input" style="width: 220px" />
          </li>
          <li style="margin-left: 142px; margin-top: 12px">
            <input type="submit" value="立即登陆" name="btnlogin" class="btn_green120" id="btnlogin">
          </li>
        </ul>
        <ul>
          请先注册个人或者企业账号后再进行绑定
        </ul>
      </div>
    </form>
  </div>
</div>
<%template src=/_foot.html/%>
<script type="text/javascript" src="{config.templatetheme}/js/jquery.SuperSlide.js"></script>
<script type="text/javascript">
$(function () {

	$("#selecttype li").click(function () {

		if ($(this).index() == 0)
		{
			$("#utype").val("1");
		}
		if ($(this).index() == $("#selecttype li").length - 1)
		{
			$("#utype").val("2");
		}
	});
});
jQuery(".loginqq").slide({ trigger: "click" });
</script>
</body>
</html>
