<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="MyCms.Manage.Login" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>绿叶博客-后台登陆</title>
    <link type="text/css" href="<%=ResolveUrl("~/Static/Style/reset.css") %>" rel="stylesheet" />
    <script type="text/javascript" src="http://libs.useso.com/js/jquery/1.7.1/jquery.min.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div style="width:380px;margin:80px auto;line-height:30px;">
        <fieldset>
            <legend>绿叶博客管理后台</legend>
            <table>
                <tr><td style="width:60px;">账户</td>
                    <td><asp:TextBox ID="TextBox1" runat="server"></asp:TextBox></td>
                </tr>
                <tr>
                    <td>密码</td>
                    <td><asp:TextBox ID="TextBox2" runat="server"></asp:TextBox></td>
                </tr>
                <tr>
                    <td>验证码</td>
                    <td>
                        <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox> <img onclick="changevcimg()" id="vcimg" height="22" style="vertical-align:middle;" src="<%=ResolveUrl("~/Handler/VerificationCode.ashx?rnd=")+DateTime.Now.Millisecond %>" /></td>
                </tr>
                <tr>
                    <td></td>
                    <td><asp:Button ID="Button1" runat="server" Text=" LOGIN " OnClick="Button1_Click" /> </td>
                </tr>
                <tr>
                    <td></td>
                    <td>
                        <asp:Label ID="Label1" runat="server" Text=""></asp:Label></td>
                </tr>
            </table>
            </fieldset>
        
    </div>
        <script>
            function changevcimg() {
                $('#vcimg').attr('src', '<%=ResolveUrl("~/Handler/VerificationCode.ashx")%>?rnd=' + Math.random());
            }
        </script>
        
    </form>
</body>
</html>
