<!--#include file="include/conns.asp"-->
<!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>欢迎登录</title>
<link href="login/css/style.css" rel="stylesheet" type="text/css" />
<script language="JavaScript" src="login/js/jquery.js"></script>
<script type="text/javascript" src="login/js/cloud.js"></script>
<script language="JavaScript" src="login/js/jquery-full.js"></script>
<script src="login/js/jquery-1.8.3.js" type="text/javascript"></script>
<script language="javascript">
	$(function(){
    $('.loginbox').css({'position':'absolute','left':($(window).width()-692)/2});
	$(window).resize(function(){  
    $('.loginbox').css({'position':'absolute','left':($(window).width()-692)/2});
    })  
});  
</script> 
<script>
$(document).ready(function(){
//	$("#code").bind("click",function(){$("#code").attr("src", "/ImageCode.asp?"+Math.random())});
	$("#sublogin").click(function(){
	  $.post("ajax.asp?action=login",
		{
		uuuu:$("#uuuu").val(),
		pppp:$("#pppp").val(),
		yyyy:$("#yyyy").val()
		},
		function(data){
		switch (data)
			{
			case "erruuuuno": 
				$("#messages").html(" * 用户名不能为空!");
				break;
			case "errppppno":
				$("#messages").html(" * 密码不能为空!");
				break;
			case "errpppp": 
				$("#messages").html(" * 对不起密码错误!");
				break;
			case "errnoyou": 
				$("#messages").html(" * 不存在该帐号!");
				break;
			case "loginok": 
				$("#messages").html(" * 登陆成功!");
				top.location.href="index.asp";
				break;
			}
		});
	});

});
</script>
</head>

<body style="background-color:#1c77ac; background-image:url(login/images/light.png); background-repeat:no-repeat; background-position:center top; overflow:hidden;">
    <div id="mainBody">
      <div id="cloud1" class="cloud"></div>
      <div id="cloud2" class="cloud"></div>
    </div>  
<div class="logintop">    
    <span>雨楠旅游网服务管理系统2016.9.28正式版（含手机站）</span>    
    <ul>
    <li><a href="#"></a></li>
    </ul>    
    </div>
    <div class="logintitle"></div>
    <div class="loginbody">
    <div class="loginbox">
    <ul><form name="myform" method=post action="">
    <li><input name="" type="text" class="loginuser" id="uuuu" name="uuuu" value="" onclick="JavaScript:this.value=''"/></li>
    <li><input name="" type="password" class="loginpwd" id="pppp" name="pppp" value="" onclick="JavaScript:this.value=''"/></li>
	<li><div style="float:left;"><input name="" type="button" class="loginbtn" value="登录"  id="sublogin"  /></div><span style="float:left;padding:10px" id="messages"></span></li>
	
    </ul></form>
    </div>
    </div>
    <div class="loginbm">Copyright &copy; All Rights Reserved. Powered by：<a href=http://www.nihao8.net/ target=_blank>小雨企业网站服务系统</a></div>
</body>
</html>
