<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Mall_ADForm.aspx.cs" Inherits="RM.Web.Mall.AD.Mall_ADForm" %>

<!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 runat="server">
    <title><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Mall_imgInfo")%></title>
     <link href="/Themes/Styles/Site.css" rel="stylesheet" type="text/css" />
    <script src="/Themes/Scripts/jquery-1.8.2.min.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/Validator/JValidator.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/artDialog/artDialog.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/artDialog/iframeTools.js" type="text/javascript"></script>


    <script src="/Themes/Scripts/FunctionJS.js" type="text/javascript"></script>
    <style type="text/css">
        .style1 { width: 577px; height: 194px; }
        
        .style4 { width: 130px; }
        .style5 { width: 42px; }
    </style>
    <script type="text/jscript">
        function CheckValid() {
            if (!CheckDataValid('#form1')) {
                return false;
            }
            if (!confirm('<%=RM.Common.DotNetConfig.LanguageHelper.GetKey("AllotAuthority_Form_save")%>')) {
                return false;
            } 
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div style="margin-left: 5%;">
        <table border="0" cellpadding="0" cellspacing="0" class="style1">
            <tr>
                <th>
                    <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Mall_imgSize")%>:
                </th>
                <td class="style4">
                    <input type="hidden" id="AD_ID"  />
                    <input id="AD_Size" runat="server" type="text" class="txt" datacol="yes" err="图片尺寸"
                        checkexpession="NotNull" style="width: 200px" /> 
                        <div style="float:left">如:800*400</div>
                </td>
                <td rowspan="5" class="style5">
                    <img src="<%=photopath %>" id="photo" width="200px" height="250px" />
                </td>
            </tr>
            <tr>
                <th>                    
                    <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Mall_gqdata")%>
                </th>
                <td class="style4">
                    <input id="AD_EndTime" type="text"  runat="server" onclick="WdatePicker()" />
                </td>
            </tr>
            <tr>
                <th>
                    <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Button_Form_shunxu")%>
                </th>
                <td class="style4">
                    <input id="AD_Order" runat="server" type="text" class="txt" datacol="yes" err="显示顺序"
                        checkexpession="NotNull" style="width: 200px" />
                </td>
            </tr>
            <tr>
                <th>
                    <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Ranking_Form_pic")%>
                </th>
                <td class="style4">
                    <asp:FileUpload ID="FileUpload1" runat="server" Style="width: 200px;" />
                    &nbsp;
                </td>
            </tr>
            <tr>
            <th>
            <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Mall_lianjiedizhi")%>(baidu.com)
            </th>
            <td> 
               <input id="AD_Href" runat="server" type="text" value="0" class="txt" datacol="yes" err="显示顺序"
                        checkexpession="Num" style="width: 200px" />
            </td>
            </tr>
            <tr>
                <th>
                   <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Explain")%>:
                </th>
                <td class="style4">
                    <textarea id="AD_Explain" class="txtRemark" runat="server" style="width: 250px; height: 83px;"
                        cols="20" name="S1" rows="1"></textarea>
                    &nbsp;
                </td>
        </table>
    </div>
    <div class="frmbottom">
        <asp:LinkButton ID="Save" runat="server" class="l-btn" OnClientClick="return CheckValid();"
            OnClick="Save_Click"><span class="l-btn-left">
            <img src="/Themes/Images/disk.png" alt="" /><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Save")%></span></asp:LinkButton>
        <a class="l-btn" href="javascript:void(0)" onclick="OpenClose();"><span class="l-btn-left">
            <img src="/Themes/Images/cancel.png" alt="" /><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Close")%></span></a>
    </div>
    </form>
</body>
</html>
