<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login1.aspx.cs" Inherits="Maticsoft.Web.Admin.login1" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<!-- saved from url=(0046)http://www.zubunet.com/site/magazineindex.html -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>

    <script language="javascript" type="text/javascript">
        //验证是否输入
        function IsNull_Info()
        {        
            //判断用户名是否输入
            if(document.getElementById("Txt_UserName").value.length==0)
            {
                alert('请输入用户名！');
                document.getElementById("Txt_UserName").focus();
                return false;
            }            
            //判断密码是否输入
            if(document.getElementById("Txt_UserPwd").value.length==0)
            {
                alert('请输入密码！');
                document.getElementById("Txt_UserPwd").focus();
                return false;
            }
            
        }  
      
    </script>

    <style type="text/css">
        /*全局样式*/body
        {
            margin: 0;
            padding: 0;
        }
        img, body, html
        {
            border: 0;
        }
        address, caption, cite, code, dfn, em, strong, th, var
        {
            font-style: normal;
            font-weight: normal;
        }
        ol, ul
        {
            list-style: none;
        }
        caption, th
        {
            text-align: left;
        }
        h1, h2, h3, h4, h5, h6
        {
            font-size: 100%;
        }
        /*边角样式(圆角)*/.x-box-tl
        {
            background: transparent url(../../images/corners.gif) no-repeat 0 0;
            zoom: 1;
        }
        .x-box-tc
        {
            height: 8px;
            background: transparent url(../../images/tb.gif) repeat-x 0 0;
            overflow: hidden;
        }
        .x-box-tr
        {
            background: transparent url(../../images/corners.gif) no-repeat right -8px;
        }
        .x-box-ml
        {
            background: transparent url(../../images/l.gif) repeat-y 0;
            padding-left: 4px;
            overflow: hidden;
            zoom: 1;
        }
        .x-box-mc
        {
            background: #eee url(../../images/tb.gif) repeat-x 0 -16px;
            padding: 4px 10px;
            font-family: "Myriad Pro" , "MyriadWeb" , "Tahoma" , "Helvetica" , "Arial" , sans-serif;
            color: #393939;
            font-size: 12px;
        }
        .x-box-mc h3
        {
            font-size: 14px;
            font-weight: bold;
            margin: 0 0 4px 0;
            zoom: 1;
        }
        .x-box-mr
        {
            background: transparent url(../../images/r.gif) repeat-y right;
            padding-right: 4px;
            overflow: hidden;
        }
        .x-box-bl
        {
            background: transparent url(../../images/corners.gif) no-repeat 0 -16px;
            zoom: 1;
        }
        .x-box-bc
        {
            background: transparent url(../../images/tb.gif) repeat-x 0 -8px;
            height: 8px;
            overflow: hidden;
        }
        .x-box-br
        {
            background: transparent url(../../images/corners.gif) no-repeat right -24px;
        }
        .x-box-tl, .x-box-bl
        {
            padding-left: 8px;
            overflow: hidden;
        }
        .x-box-tr, .x-box-br
        {
            padding-right: 8px;
            overflow: hidden;
        }
        /*表单样式*/.loginPanel
        {
            margin: -140px auto auto -180px;
            position: absolute;
            top: 50%;
            left: 50%;
            height: 400px;
            width: 347px;
        }
        .x-form-text
        {
            height: 16px;
            line-height: 16px;
            vertical-align: middle;
        }
        .x-form-text, textarea.x-form-field
        {
            background: #FFFFFF url(../../images/text-bg.gif) repeat-x scroll 0pt;
            border: 1px solid #B5B8C8;
            padding: 1px 1px;
        }
        /*版权信息*/.foot
        {
            font-family: "Myriad Pro" , "MyriadWeb" , "Tahoma" , "Helvetica" , "Arial" , sans-serif;
            color: #aaaaaa;
            font-size: 12px;
            text-align: center;
            padding-top: 2px;
        }
        #hpImg
        {
            background-image: url(../../images/hpBg.jpg);
            bottom: 0;
            height: 768px;
            position: absolute;
            right: 0;
            width: 1024px;
            z-index: -100;
        }
    </style>
</head>
<body>
    <div id="hpImg">
    </div>
    <form id="Form2" name="login" method="post" action="" runat="server">
    <div class="loginPanel">
        <div class="x-box-tl">
            <div class="x-box-tr">
                <div class="x-box-tc">
                </div>
            </div>
        </div>
        <div class="x-box-ml">
            <div class="x-box-mr">
                <div class="x-box-mc" style="height: 173px;">
                    <img id="j_id2:j_id4" src="../../images/register.png" />
                    <table id="j_id2:j_id5" cellspacing="3px" style="width: 100%">
                        <tr>
                            <td align="right" colspan="1" rowspan="1" style="padding-right: 3px;">
                                <label>
                                    用户名：</label>
                            </td>
                            <td colspan="2">
                                <label>
                                    <asp:TextBox ID="Txt_UserName" runat="server" CssClass="x-form-text" Style="width: 212px;"></asp:TextBox>
                                </label>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" colspan="1" rowspan="1" style="padding-right: 3px;">
                                <label>
                                    密码：</label>
                            </td>
                            <td colspan="2">
                                <label>
                                    <asp:TextBox ID="Txt_UserPwd" runat="server" TextMode="Password" CssClass="x-form-text"
                                        Style="width: 212px;"></asp:TextBox>
                                </label>
                            </td>
                        </tr>
                      <tr>
                            <td align="right" colspan="1" rowspan="1" style="padding-right: 3px;">
                                验证码：
                            </td>
                            <td>
                                <label>
                                    <asp:TextBox ID="Txt_Code" runat="server" CssClass="x-form-text"></asp:TextBox></label>
                            </td>
                            <td align="left">
                                <img id="yzm" name="yzm" src="Code.aspx" alt="" />
                            </td>
                        </tr>
                        <tr>
                            <td align="center" colspan="2">
                                <label>
                                    <asp:ImageButton ID="ImageButton1" runat="server" ImageAlign="AbsMiddle" ImageUrl="../../images/ZR05.gif"
                                        Width="45" Height="19" border="0" Style="padding-left: 42px;" OnClick="IBtn_Submit_Click"
                                        OnClientClick="return IsNull_Info()" />
                                </label>
                            </td>
                            <td style="padding-right: 20px;">
                                <label style="color: red">
                                </label>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
        <div class="x-box-bl">
            <div class="x-box-br">
                <div class="x-box-bc">
                </div>
            </div>
        </div>
        <%-- <div class="x-box-ml">
            <div class="x-box-mr">
                <div class="x-box-mc" style="height: 173px;">
                    <img id="j_id2:j_id4" src="images/register.png" />
                    <table id="j_id2:j_id5" cellspacing="3px" style="margin: 48px auto auto auto; width: 100%">
                        <tr>
                            <td align="right" colspan="1" rowspan="1">
                                用户名：
                            </td>
                            <td colspan="2" align="left">
                                <label>
                                    <asp:TextBox ID="Txt_UserName" runat="server" CssClass="x-form-text" Style="width: 212px;"></asp:TextBox>
                                </label>
                            </td>
                            <tr>
                                <td align="right" colspan="1" rowspan="1">
                                    密码：
                                </td>
                                <td colspan="2" align="left">
                                    <label>
                                        <asp:TextBox ID="Txt_UserPwd" runat="server" TextMode="Password" CssClass="x-form-text"
                                            Style="width: 212px;"></asp:TextBox>
                                    </label>
                                </td>
                                <tr>
                                    <td align="center" colspan="2">
                                        <label>
                                            <asp:ImageButton ID="IBtn_Submit" runat="server" ImageAlign="AbsMiddle" ImageUrl="images/ZR05.gif"
                                                Width="45" Height="19" border="0" Style="padding-left: 42px;" OnClick="IBtn_Submit_Click"
                                                OnClientClick="return IsNull_Info()" />
                                        </label>
                                    </td>
                                    <td style="padding-right: 20px;">
                                        <label style="color: red">
                                        </label>
                                    </td>
                    </table>
                </div>
            </div>
        </div>
        <div class="x-box-bl">
            <div class="x-box-br">
                <div class="x-box-bc">
                </div>
            </div>
        </div>
    </div>--%>
        <asp:Label ID="Label_Message" runat="server" ForeColor="Red"></asp:Label>
        <div id="hsortcopyright" runat="server" align="center" style="text-align: center;">
        </div>
    </div>
    <br />
    <br />
    <br />
    </form>
</body>
</html>
