<%@ page language="C#" autoeventwireup="true" inherits="_Default, putonggan_deploy" %>
<!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 id="Head1" runat="server">
<title>网站管理员登陆</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #1D3647;
}
        .style6
        {
            width: 84px;
        }
        .style7
        {
            font-family: Arial, Helvetica, sans-serif;
            font-size: 12px;
            line-height: 25px;
            color: #333333;
            width: 84px;
        }
        .style12
        {
            height: 74px;
        width: 299px;
    }
        .style11
        {
            width: 103px;
        }
        .style13
    {
        width: 99%;
    }
    .style14
    {
        height: 63px;
    }
    .style15
    {
        width: 83%;
        height: 143px;
    }
    .style16
    {
        width: 97%;
    }
-->
</style>
<script language="JavaScript">
function correctPNG()
{
    var arVersion = navigator.appVersion.split("MSIE")
    var version = parseFloat(arVersion[1])
    if ((version >= 5.5) && (document.body.filters)) 
    {
       for(var j=0; j<document.images.length; j++)
       {
          var img = document.images[j]
          var imgName = img.src.toUpperCase()
          if (imgName.substring(imgName.length-3, imgName.length) == "PNG")
          {
             var imgID = (img.id) ? "id='" + img.id + "' " : ""
             var imgClass = (img.className) ? "class='" + img.className + "' " : ""
             var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' "
             var imgStyle = "display:inline-block;" + img.style.cssText 
             if (img.align == "left") imgStyle = "float:left;" + imgStyle
             if (img.align == "right") imgStyle = "float:right;" + imgStyle
             if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle
             var strNewHTML = "<span " + imgID + imgClass + imgTitle
             + " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"
             + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
             + "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>" 
             img.outerHTML = strNewHTML
             j = j-1
          }
       }
    }    
}
window.attachEvent("onload", correctPNG);
</script>
<script language="JavaScript">
    function SetFocus() {
        if (document.form.txtName.value == "")
            document.form.txtName.focus();
        else
            document.form.txtName.select();
    }
    function CheckBrowser() {
        var app = navigator.appName;
        var verStr = navigator.appVersion;
        if (app.indexOf('Netscape') != -1) {
            alert("新翔工作室友情提示：\n    你使用的非IE浏览器，可能会导致无法使用后台的部分功能。建议您使用 IE6.0 或以上版本。");
        }
        else if (app.indexOf('Microsoft') != -1) {
            if (verStr.indexOf("MSIE 3.0") != -1 || verStr.indexOf("MSIE 4.0") != -1 || verStr.indexOf("MSIE 5.0") != -1 || verStr.indexOf("MSIE 5.1") != -1)
                alert("新翔工作室友情提示：\n    您的浏览器版本太低，可能会导致无法使用后台的部分功能。建议您使用 IE6.0 或以上版本。");
        }
    }
    if (self != top) { top.location = self.location }
    //表单验证
    function CheckForm() {
        if (document.form.txtName.value == "") {
            alert("用户名不能为空！");
            document.form.txtName.focus();
            return false;
        }
        if (document.form.txtPwd.value == "") {
            alert("密码没有填写！");
            document.form.txtPwd.focus();
            return false;
        }
    }
    function openurl(bbsid) {
        var _R = showModalDialog('news/newsview.aspx?id=' + bbsid, 0, "dialogWidth:540px;dialogHeight:410px;status:no");
        //frm.elements[qF].focus();
    }
    CheckBrowser();
    //SetFocus(); 
</script>

<link href="css/skin.css" rel="stylesheet" type="text/css">
</head>
<body>
<table width="100%" height="166" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="42" valign="top"><table width="100%" height="42" border="0" cellpadding="0" cellspacing="0" class="login_top_bg">
      <tr>
        <td width="1%" height="21">&nbsp;</td>
        <td height="42">&nbsp;</td>
        <td width="17%">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td valign="top"><table width="100%" height="532" border="0" cellpadding="0" cellspacing="0" class="login_bg">
      <tr>
        <td width="49%" align="right"><table width="91%" height="532" border="0" cellpadding="0" cellspacing="0" class="login_bg2">
            <tr>
              <td height="138" valign="top"><table width="89%" height="427" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td height="149">&nbsp;</td>
                </tr>
                <tr>
                  <td height="80" align="right" valign="top"><img src="images/logo.png" width="279" height="68"></td>
                </tr>
                <tr>
                  <td height="198" align="right" valign="top"><table border="0" cellpadding="0" 
                          cellspacing="0" class="style16">
                    <tr>
                      <td width="35%">&nbsp;</td>
                      <td rowspan="4">
                          <table border="0" cellpadding="0" 
                          cellspacing="0" align="right" class="style13">
                    <tr>
                      <td colspan="2" align="left">
                            <marquee direction="up" scrollamount=1  behavior="scroll" scrolldelay=4 
            align="right" onMouseOver="this.stop()" onMouseOut="this.start()" class="style12"><table border="0">
                           <asp:Repeater ID="replist" runat="server"> 
                             <ItemTemplate> 
                             <tr><td>  
                             <ul><li>
                             <a href='javascript:openurl(<%#Eval("id") %>)'> <%#Eval("Title") %></a>  </li>                                    
                              </ul></td>                            
                                </tr>                        
                                </ItemTemplate>                    
                               </asp:Repeater>               
                             </table></marquee>              
                                </td>
                    </tr>
                    <tr>
                      <td align="left" class="style11"><img src="images/icon-demo.gif" width="16" height="16"><a href="http://cxwbux.com.cn" target="_blank" class="left_txt3"> 官方网站</a> </td>
                      <td width="35%"><img src="images/icon-login-seaver.gif" width="16" height="16"><a href="tencent://message/?uin=958756413"> 在线客服</a></td>
                    </tr>
                  </table></td>
                    </tr>
                    <tr>
                      <td>&nbsp;</td>
                    </tr>
                    <tr>
                      <td>&nbsp;</td>
                    </tr>
                    <tr>
                      <td>&nbsp;</td>
                    </tr>
                  </table></td>
                </tr>
              </table></td>
            </tr>
            
        </table></td>
        <td width="1%" >&nbsp;</td>
        <td width="50%" valign="bottom"><table width="100%" height="59" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td width="4%">&nbsp;</td>
              <td width="96%" height="38"><span class="login_txt_bt">新翔绩效考核<span lang="zh-cn">系统</span>管理登陆</span></td>
            </tr>
            <tr>
              <td>&nbsp;</td>
              <td height="21"><table cellSpacing="0" cellPadding="0" width="100%" border="0" id="table211" height="328">
                  <tr>
                    <td colspan="2" align="middle" class="style14">
                        <form id="form" runat="server">
                      <table cellSpacing="0" cellPadding="0" border="0" id="table212" class="style15">
                        <tr>
                          <td height="38" class="style6"><span class="login_txt"><span lang="zh-cn">用户名</span>：&nbsp;&nbsp; </span></td>
                          <td height="38" align="left">
                              <asp:TextBox ID="txtName" runat="server"></asp:TextBox>
                              <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                  ControlToValidate="txtName" ErrorMessage="用户名不能为空！"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                          <td height="35"<span class="style7"> 密&nbsp;&nbsp;码： &nbsp;&nbsp; </span></td>
                          <td height="35" align="left">
                              <asp:TextBox ID="txtPwd" runat="server" TextMode="Password"></asp:TextBox>
                              <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                                  ControlToValidate="txtPwd" ErrorMessage="密码不能为空！"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr id="yz" runat="server">
                          <td height="35" class="style6" ><span class="login_txt">验证码：</span></td>
                          <td height="35" class="top_hui_text" align="left">
                              <asp:TextBox ID="txtCode" runat="server" Width="56px"></asp:TextBox>
                              <asp:Image id="Image2" runat="server" ImageUrl="GetImageCode.aspx" 
                                  ImageAlign="AbsBottom"></asp:Image>
                            </td>
                        </tr>
                        <tr align="left">
                          <td height="35" class="Submit" colspan="2" >
                              <asp:Button ID="Button2" runat="server" CssClass="botton" Text="登  陆" 
                                  onclick="Button1_Click" />
                              <input id="Reset1" class="botton" type="reset" value="重  置" /><asp:HyperLink 
                                  ID="lnkZc" runat="server" NavigateUrl="~/user/regist.aspx" Target="_blank">用户注册</asp:HyperLink>
                              <span lang="zh-cn">&nbsp;&nbsp; </span>
                              <asp:HyperLink ID="lnkGetPwd" runat="server" NavigateUrl="~/user/getpwd.aspx" Target="_blank">找回密码</asp:HyperLink>
                            </td>
                        </tr>
                      </table>
                        <asp:Label ID="lblMsg" runat="server" Text=""></asp:Label>
                        <br>
                        </form>
                      </td>
                  </tr>
                  <tr>
                    <td width="433" height="164" align="right" valign="bottom"><img src="images/login-wel.gif" width="242" height="138"></td>
                    <td width="57" align="right" valign="bottom">&nbsp;</td>
                  </tr>
              </table></td>
            </tr>
          </table>
          </td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="20"><table width="100%" border="0" cellspacing="0" cellpadding="0" class="login-buttom-bg">
      <tr>
        <td align="center"><span class="login-buttom-txt">Copyright &copy; 2008- &nbsp;<asp:Label 
                ID="lblyear" runat="server" Text="Label"></asp:Label>
            &nbsp;地址：<asp:Label ID="lbldizhi"
                runat="server" Text="Label"></asp:Label>&nbsp;联系电话：<asp:Label ID="lbltel"
                runat="server" Text="Label"></asp:Label>&nbsp;联系邮箱：<asp:Label ID="lblemail"
                runat="server" Text="Label"></asp:Label>&nbsp;联系人：<asp:Label ID="lbladmin"
                runat="server" Text="Label"></asp:Label>&nbsp;网站访问：<asp:Label ID="lblcount" 
                runat="server" Text="Label"></asp:Label>
&nbsp;<span lang="zh-cn">当前IP：</span><asp:Label ID="lblIp" runat="server" 
                Text="Label"></asp:Label>
            </span></td>
      </tr>
    </table></td>
  </tr>
</table>
