<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Defult.Master" AutoEventWireup="true" CodeBehind="returnprojectEdit.aspx.cs" Inherits="Maticsoft.Web.Admin.returnprojectEdit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <link rel="stylesheet" href="../kindeditor-4.1.7/themes/default/default.css" />
    <link rel="stylesheet" href="../kindeditor-4.1.7/plugins/code/prettify.css" />
    <script charset="utf-8" src="../kindeditor-4.1.7/kindeditor.js"></script>
    <script charset="utf-8" src="../kindeditor-4.1.7/lang/zh_CN.js"></script>
    <script charset="utf-8" src="../kindeditor-4.1.7/plugins/code/prettify.js"></script>
    <script src="../Scripts/My97Date/WdatePicker.js" type="text/javascript"></script>
    <script type="text/javascript">
        KindEditor.ready(function (K) {
            var editor1 = K.create('#ctl00_ContentPlaceHolder1_jianjieText', {
                width: "90%",
                height: "800px",
                cssPath: '../kindeditor-4.1.7/plugins/code/prettify.css',
                uploadJson: '../kindeditor-4.1.7/asp.net/upload_json.ashx',
                fileManagerJson: '../kindeditor-4.1.7/asp.net/file_manager_json.ashx',
                allowFileManager: true,
                //下面这行代码就是关键的所在，当失去焦点时执行 this.sync()，否则取不到值;
                afterBlur: function () { this.sync(); }
            });
        });
    </script>
    <div class="page-content">
        <div class="page-header">
            <h1>
                众筹项目修改
            </h1>
        </div>
        <div class="row">
            <div class="Content">
                <!-- PAGE CONTENT BEGINS -->
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">
                        回报价格：
                    </label>
                    <div class="col-sm-9">
                        <input type="text" id="money" maxlength="30" placeholder="title" class="col-xs-10 col-sm-5" runat="server" />
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">
                        回报天数<small>众筹完成多少天后发放回报</small>：</label>
                    <div class="col-sm-9">
                        <div class="clearfix">
                            <input class="col-xs-10 col-sm-5" type="text" id="returnday" placeholder="0" runat="server" />
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">
                        名额限制：</label>
                    <div class="col-sm-9">
                        <div class="clearfix">
                            <input class="col-xs-10 col-sm-5" type="text" id="CountLimit" placeholder="0" runat="server" />
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">
                        添加时间：</label>
                    <div class="col-sm-9">
                        <div class="clearfix">
                            <input class="col-xs-10 col-sm-5" type="text" id="addtime" placeholder="0" runat="server" onclick="WdatePicker()" />
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right" for="statuscheckbox">
                        发货方式：
                    </label>
                    <div class="col-sm-9">
                        <div class="control-group">
                            <label>
                                <input name="checkbox" type="radio" class="ace" value="发码" <%=model.need == "发码"?"checked":"" %>>
                                <span class="lbl">发码</span>
                            </label>
                            <label>
                                <input name="checkbox" type="radio" class="ace" value="邮寄" <%=model.need == "邮寄" ? "checked":"" %>>
                                <span class="lbl">邮寄</span>
                            </label>
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">
                        发货邮费：</label>
                    <div class="col-sm-9">
                        <div class="clearfix">
                            <input class="col-xs-10 col-sm-5" type="text" id="needMoney" placeholder="0" runat="server" />
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">
                        回报简介：</label>
                    <div class="col-sm-9">
                        <div class="clearfix">
                            <input class="col-xs-10 col-sm-5" type="text" id="jianjieText" placeholder="0" runat="server" />
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">
                        图片1：</label>
                    <div class="col-sm-9">
                        <div class="clearfix">
                            <input id="img1" runat="server" type="file" />
                            <% if (!string.IsNullOrEmpty(model.picList.Split(';')[0])) {%>
                            <img src="../user/Image/<%=model.picList.Split(';')[0] %>" />
                            <%} %>
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">
                        图片2：</label>
                    <div class="col-sm-9">
                        <div class="clearfix">
                            <input id="img2" type="file" runat="server" />
                            <% if (!string.IsNullOrEmpty(model.picList.Split(';')[1])) {%>
                            <img src="../user/Image/<%=model.picList.Split(';')[1] %>" />
                            <%} %>
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">
                        图片3：</label>
                    <div class="col-sm-9">
                        <div class="clearfix">
                            <input id="img3" type="file" runat="server" />
                            <% if (!string.IsNullOrEmpty(model.picList.Split(';')[2])) {%>
                            <img src="../user/Image/<%=model.picList.Split(';')[2] %>" />
                            <%} %>
                        </div>
                    </div>
                </div>
                <div style="clear: both">
                </div>
                <div class="clearfix form-actions">
                    <div class="col-md-offset-3 col-md-9">
                        <button class="btn btn-info" runat="server" id="submitButton" onserverclick="submitButton_Click">
                            <i class="icon-ok bigger-110"></i>提交
                        </button>
                        &nbsp; &nbsp; &nbsp;
                        <button class="btn" type="reset">
                            <i class="icon-undo bigger-110"></i>重置
                        </button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="otherjquery" runat="server">
</asp:Content>
