<%@ page language="C#" masterpagefile="AdminIndexMaster.master" autoeventwireup="true" validaterequest="false" title="更新任務" inherits="HL_Admin_Admin_UpdateWitkey, WebApp_deploy" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
   <link href="../HL_Admin/tpl/css/style.css" rel="stylesheet" type="text/css" />
    
    <div class="main">
        <div class="m_tit">
            <ul>
                <li class="m_tit_l"></li>
                <li class="font14" >编辑任务</li><li class="m_tit_r"></li>
            </ul>
        </div>
        <table width="96%" border="0" cellspacing="0" cellpadding="0" class="tab_m t_l">
            <tr>
                <td width="30%" class="bg1 t_r">
                    任务名</td>
                <td style="text-align:left;">
                    <asp:TextBox ID="TextBox_Title" runat="server" Width="200"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox_Title" ErrorMessage="任务名不能为空!"></asp:RequiredFieldValidator>
                    </td>
            </tr>
            <tr>
                <td width="30%" class="bg1 t_r">
                    任务类型</td>
                <td style="text-align:left;">
                    <asp:Label ID="Label_Type" runat="server" Text=""></asp:Label></td>
            </tr>
            <tr>
                <td width="30%" class="bg1 t_r">
                    任务状态</td>
                <td style="text-align:left;">
                   <asp:DropDownList ID="DropDownList_Statu" runat="server">
            <asp:ListItem Value="1" Text="未付款" />
            <asp:ListItem Value="2" Text="待审核" />
            <asp:ListItem Value="3" Text="审核失败" />
            <asp:ListItem Value="4" Text="进行中" />
            <asp:ListItem Value="5" Text="公示中" />
            <asp:ListItem Value="6" Text="投票中" />
            <asp:ListItem Value="7" Text="任务失败" />
            <asp:ListItem Value="8" Text="任务结束" />
            <asp:ListItem Value="9" Text="冻结" />
        </asp:DropDownList>
                   
                   </td>
            </tr>
            <tr>
                <td class="bg1 t_r">

                    行业</td> 
                    <td style="text-align:left;"> <asp:DropDownList ID="DropDownList_WitkeyTypeOne" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList_WitkeyTypeOne_SelectedIndexChanged">
                    <asp:ListItem Value="0">平面包装</asp:ListItem>
                    <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:ListItem Value="6">其它的</asp:ListItem>
                    </asp:DropDownList>>>
                    <asp:DropDownList ID="DropDownList_WitkeyTypeTwo" DataTextField="Type_Name" DataValueField="Type_Name" runat="server">
                    </asp:DropDownList>
                    </td>
            </tr>
            
            <tr>
                <td width="30%" class="bg1 t_r">
                    描述：</td>
                <td style="text-align:left;">
                    <asp:TextBox runat="server" ID="TextBox_Content" TextMode="MultiLine" Height="200" Width="700" />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="TextBox_Content" ErrorMessage="描述内容不能为空!"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td width="30%" class="bg1 t_r">
                    发布者：</td>
                <td style="text-align:left;">
                    <b><asp:Label ID="Label_UserName" runat="server" Text=""></asp:Label></b></td>
            </tr>
            <tr>
                <td width="30%" class="bg1 t_r">
                    发布时间：</td>
                <td style="text-align:left;">
                    <asp:TextBox ID="TextBox_StartDate" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox_StartDate" ErrorMessage="发布时间不能为空!"></asp:RequiredFieldValidator>
                    </td>
            </tr>
            <tr>
                <td width="30%" class="bg1 t_r">
                    到期时间：</td>
                <td style="text-align:left;">
                    <asp:TextBox ID="TextBox_EndDate" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TextBox_EndDate" ErrorMessage="到期时间不能为空!"></asp:RequiredFieldValidator>
                    </td>
            </tr>
            <tr>
                <td width="30%" class="bg1 t_r">
                    任务金额：</td>
                <td style="text-align:left;">
                    <asp:TextBox ID="TextBox_xsPrice" runat="server"></asp:TextBox>
                    <asp:DropDownList ID="DropDownList_zbPrice" runat="server">
                        <asp:ListItem Value="1">500元—1000元</asp:ListItem>
                        <asp:ListItem Value="2">1000元—2000元</asp:ListItem>
                        <asp:ListItem Value="3">2000元—5000元</asp:ListItem>
                        <asp:ListItem Value="4">5000元—10000元</asp:ListItem>
                        <asp:ListItem Value="5">10000元—20000元</asp:ListItem>
                        <asp:ListItem Value="6">20000元—30000元</asp:ListItem>
                        </asp:DropDownList>
                    </td>
            </tr>
            <tr>
                <td align="left" colspan="2">
                    <div style="padding-left: 300px;">
                        <asp:Button ID="Button_OK" runat="server" CssClass="input_but" Text="保存编辑" OnClick="Button_OK_Click" />

                        <input type="button" name="rst_edit" class="input_but" onclick="javascript:location.href='Admin_Witkey.aspx'" value="返回列表" />
                    </div>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>