<%@ Page AutoEventWireup="true"  CodeBehind="Logs_Operate.aspx.cs"   Inherits="Web25175_Hotel2.Web._Logs_Operate" 
    Language="C#" %>

<!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>
    <script language="javascript" src="js/Web25175_Hotel2.v1.1.js" type="text/javascript"></script>
    <script language="javascript" src="js/Web25175_Hotel2.calendar.js" type="text/javascript"></script>
    <script language="javascript" src="ck/ckeditor/ckeditor.js" type="text/javascript"></script>
    <link href="css/main.css" rel="stylesheet" type="text/css" />
    
</head>
<body>
    <form id="form1" runat="server" autocomplete="off">
        <asp:HiddenField ID="HFLogId" runat="server" />
        <div class="OperateTitle">
            <div>
                <asp:Label ID="lblInsert" runat="server" Text="添加"></asp:Label>
                <asp:Label ID="lblUpdate" runat="server" Text="修改"></asp:Label>
            </div>
        </div>
        <table class="OperateTable">
            <tr class="FFtr">
                <td style="width: 120px; height: 25px; text-align: right; vertical-align:middle">
                    类型：</td>
                <td style="width: auto; text-align: left; color: red; vertical-align:middle">
                   <asp:DropDownList ID="txtLogType" runat="server" CssClass="dropdownlist">
                            <asp:ListItem Value="1">添加</asp:ListItem>
                            <asp:ListItem Value="2">修改</asp:ListItem>
                            <asp:ListItem Value="3">删除</asp:ListItem>
                            <asp:ListItem Value="4">登录</asp:ListItem>
                            <asp:ListItem Value="5">离开</asp:ListItem>
                   </asp:DropDownList>
                   <font color=red>*</font>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidatorLogType1" runat="server" ControlToValidate="txtLogType" ErrorMessage="请选择：类型" Display="None"></asp:RequiredFieldValidator>


                </td>

            </tr>
            <tr class="F7tr">
                <td style="width: 120px; height: 25px; text-align: right; vertical-align:middle">
                    操作内容：</td>
                <td style="width: auto; text-align: left; color: red; vertical-align:middle">
                   <asp:TextBox ID="txtLogContent" runat="server" Height="80px" TextMode="MultiLine" Width="350px"  CssClass="textbox"></asp:TextBox>
                   
                </td>
            </tr>
            <tr class="FFtr">
                <td style="width: 120px; height: 25px; text-align: right; vertical-align:middle">
                    操作人：</td>
                <td style="width: auto; text-align: left; color: red; vertical-align:middle">
                   <asp:TextBox ID="txtLogUser" runat="server" CssClass="textbox"></asp:TextBox>
                   
                </td>
            </tr>
            <tr class="F7tr">
                <td style="width: 120px; height: 25px; text-align: right; vertical-align:middle">
                    操作日期：</td>
                <td style="width: auto; text-align: left; color: red; vertical-align:middle">
                   <asp:TextBox ID="txtLogAddDate" runat="server" CssClass="textbox"></asp:TextBox>
                   <font color=red>*</font>
                   <asp:RequiredFieldValidator ID="RequiredFieldValidatorLogAddDate1" runat="server" ControlToValidate="txtLogAddDate" ErrorMessage="请填写：操作日期" Display="None"></asp:RequiredFieldValidator>


                </td>
            </tr>
        </table>
        <table id="OperateButton" runat="server" cellpadding="0" cellspacing="0" style="width: 100%;
            border: 0px; text-align: center;">
            <tr>
                <td style="width: 120px; height: 25px; text-align: right">
                    </td>
                <td style="width: auto; text-align: left; color: red">
                    <asp:Button ID="btnInsert" runat="server" OnClick="btnInsert_Click" Text="添加" CssClass="btn" />
                    <asp:Button ID="btnUpdate" runat="server" OnClick="btnUpdate_Click" Text="修改" CssClass="btn" />
                    <asp:Button ID="btnClose" runat="server" OnClick="btnClose_Click" Text="关闭" CssClass="btn" ValidationGroup="B" /></td>
            </tr>
        </table>
        <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True" ShowSummary="False" />
    </form>
    <script type="text/javascript">
    uiReady(function() {
        uiCalendar_Setup("txtLogAddDate","yyyy-MM-dd");

    })
    </script>
</body>
</html>
