<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GiftAdd.aspx.cs" Inherits="LMN.Web.Admin.Promote.GiftAdd" %>
<%@ Import Namespace="LMN.Common" %>

<!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>
<link href="../css/admin.css" rel="stylesheet" type="text/css" />
<link href="../Scripts/wbox/wbox.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../Scripts/jquery-1.4.1.min.js"></script>
<script src="../Scripts/wbox.js" type="text/javascript"></script>
<script src="../../ckeditor/fckeditor.js" type="text/javascript"></script>
<script type="text/javascript" src="../Scripts/common.js"></script>
<script src="../Scripts/datepicker/WdatePicker.js" type="text/javascript"></script>
</head>
<body>
<form id="form1" runat="server" target="iframe">
    <div style="padding: 20px;">
        <h4 class="title">赠品信息</h4>
        <div class="division">
            <table width="100%">
                <tr>
                    <th class="w120">赠品名称：</th>
                    <td><input autocomplete="off" type="text" size="50" name="name" id="name" runat="server" /></td>
                </tr>
                <tr>
                    <th>封面图片：</th>
                    <td><input name="cover" type="text" size="40" readonly="readonly" autocomplete="off" runat="server" id="cover" /> <a href="javascript:;" onclick="imageSel(this)">选择</a></td>
                </tr>
                <tr>
                    <th>赠品设置：</th>
                    <td><input name="enable" type="checkbox" id="enable" value="1" runat="server" /><label for="enable">启用</label> 排序：<input name="sort" type="text" id="sort" style="width: 50px" value="9" size="5" autocomplete="off" runat="server" /></td>
                </tr>
                <%--<tr>
                    <th>兑换设置：</th>
                    <td>限兑数量：<input name="limit" type="text" id="limit" style="width: 20px" value="1" size="5" autocomplete="off" runat="server" />，兑换积分：<input autocomplete="off" type="text" style="width: 50px" name="score" id="score" runat="server" /></td>
                </tr>--%>
                <tr>
                    <th>赠送数量：</th>
                    <td><input name="num" type="text" id="num" style="width: 20px" value="1" size="5" autocomplete="off" runat="server" /> 库存：<input name="store" type="text" id="store" value="100" size="5" autocomplete="off" runat="server" /> 重量：<input name="weight" type="text" style="width: 30px" id="weight" runat="server" value="0" autocomplete="off" />(克)</td>
                </tr>
                <tr>
                    <th>赠品简介：</th>
                    <td>
                        <textarea autocomplete="off" name="remarks" id="remarks" runat="server" cols="1" rows="4" style="width: 80%;"></textarea></td>
                </tr>
                <tr>
                    <th>限时赠送：</th>
                    <td><input type="checkbox" name="istime" id="istime" value="1" runat="server" /> <input name="starttime" type="text" size="20" id="starttime" onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" runat="server" /> - <input name="endtime" type="text" id="endtime" size="20" onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" runat="server" /></td>
                </tr>
                <tr>
                    <th>&nbsp;</th>
                    <td>
                        <button type="submit">
                            <span><span>完成</span></span></button></td>
                </tr>
            </table>
        </div>
    </div>
</form>
<iframe id="iframe" name="iframe" src="about:blank" style="display: ;"></iframe>
<script type="text/javascript">
<!--
    var wBox;
    $(document).ready(function() {
        // ckeditor
        var oFcKeditor = new FCKeditor('remarks');
        oFcKeditor.Config['ToolbarStartExpanded'] = false;
        oFcKeditor.BasePath = "<%=Config.SitePath %>ckeditor/";
        oFcKeditor.Height = 80;
        oFcKeditor.ToolbarSet = 'Desc';
        oFcKeditor.ReplaceTextarea();
    });
    //-->
</script>
</body>
</html>
