<%@ Control Language="C#" AutoEventWireup="true" CodeFile="TaskView.ascx.cs" Inherits="TaskList"  %>
<%@Register TagPrefix="dntb" Namespace="DotNetTextBox" Assembly="DotNetTextBox"%>
<link href="D:\david\web\web\Contract\ms_design-pk_dgasp_cn/./system_dntb/skin/xp/toolbar.css"
    rel="stylesheet" type="text/css" />
<link href="D:\david\web\web\Contract\ms_design-pk_dgasp_cn/./system_dntb/skin/xp/toolbar.css"
    rel="stylesheet" type="text/css" />
<link href="D:\david\web\web\Contract\ms_design-pk_dgasp_cn/./system_dntb/skin/xp/toolbar.css"
    rel="stylesheet" type="text/css" />
<table width="100%" cellpadding="3" cellspacing="0">
    <tr>
        <td align="left" colspan="2" style="background-image: url(../../images/task/TitleBK01.jpg); height: 25px;" valign="bottom">
    <asp:Label ID="TaskViewLabe1" runat="server" Font-Bold="True"
        Text="Label" ForeColor="Black"></asp:Label>
<asp:Label ID="Message" runat="server"></asp:Label></td>
    </tr>
</table>
<asp:Panel ID="TaskViewPanel1" runat="server" Height="100%" HorizontalAlign="Center"
    Width="100%">
<table width="100%" cellpadding="3" cellspacing="0">
    <tr>
        <td width="70%" align="left" style="width: 70%; background-color: whitesmoke;">
            <div class="tasks_page_left">
                <p class="tasks_page_left_p1">
                    任务类别:<asp:Label ID="TaskViewLabel2" runat="server" Text="Label"></asp:Label><br />
                    任务金额:<asp:Label ID="TaskViewLabe3" runat="server" Text="Label"></asp:Label>元<br />
                    <span>投稿时段:<asp:Label ID="TaskViewLabe4" runat="server" Text="Label"></asp:Label>
                        &nbsp;&nbsp; </span>进行状态:<asp:Label ID="TaskViewLabe5" runat="server" Text="Label"></asp:Label>
                    (剩余11天)<br />
                    <span>中标奖金:<asp:Label ID="TaskViewLabe6" runat="server" Text="Label"></asp:Label>元*80%=<asp:Label
                        ID="TaskViewLabe7" runat="server" Text="Label"></asp:Label>元<br />
                    </span>
                    浏览次数:<asp:Label ID="TaskViewLabe8" runat="server" Text="Label"></asp:Label><br />
                    提交作品:<asp:Label ID="TaskViewLabe9" runat="server" Text="Label"></asp:Label>&nbsp;
                    &nbsp;&nbsp; <a class="tasks_zuopin" href="" onclick="$('opuslist').scrollIntoView();return false;">
                        查看已投标作品</a><br />
                    <br />
                    &nbsp; &nbsp; &nbsp;
                    <asp:LinkButton ID="TaskViewLinkButton1" runat="server" OnClick="TaskViewLinkButton1_Click"
                        Width="137px" CssClass="TaskAddButton02">提交作品</asp:LinkButton></p>
            </div>
      </td>
        <td width="30%" align="left" valign="top" style="width: 30%; background-color: lemonchiffon;">
            <p style="margin:18px;">
                <font color="#FF9900"><b>温馨提示：</b></font><br />
&nbsp;&nbsp;&nbsp;&nbsp;
由于实际业务需要或其他原因，客户有可能于任务截止日期前确定中标方案，请您及时提交作品，另外若您未接到网站中标电话或邮件，而客户直接与您沟通要求修改方案，请您及时联系本站的工作人员进行确认，以免造成不必要的损失。            </p>
      </td>
    </tr>
</table>
    <table width="100%" cellpadding="3" cellspacing="0">
        <tr>
            <td style="height: 20px; background-image: url(../../images/task/TitleBK02.jpg);" align="left">
                <strong><span style="color: #ff6600">
                任务详细说明</span></strong></td>
        </tr>
        <tr>
            <td align="left" style="background-color: whitesmoke; height: 82px;">
                <asp:Label ID="TaskViewLabel9" runat="server" Text="Label"></asp:Label><br />
                <br />
                &nbsp; &nbsp;&nbsp;
                <asp:LinkButton ID="LinkButton1" runat="server" OnClick="TaskViewLinkButton1_Click"
                    Width="137px" CssClass="TaskAddButton02">提交作品</asp:LinkButton><br />
            </td>
        </tr>
    </table>
</asp:Panel>
<asp:Panel ID="TaskEditPanel1" runat="server" Height="100%" HorizontalAlign="Center"
    Visible="False" Width="100%">
    <table border="0" cellpadding="1" cellspacing="0" style="background-color: dimgray" width="100%">
        <tr>
            <td align="center" style="height: 16px">
                <table style="background-color: gainsboro" width="100%">
                    <tr>
                        <td align="right" style="width: 101px; height: 25px">
                        </td>
                        <td style="width: 320px; height: 25px" align="left">
                            <strong>修改任务</strong></td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 101px; height: 25px">
                            主题</td>
                        <td style="height: 25px" align="left">
                            <asp:TextBox ID="ESubject" runat="server" Width="413px">0</asp:TextBox>
                            <asp:TextBox ID="EID" runat="server" Visible="False" Width="43px">0</asp:TextBox>
                            <asp:TextBox ID="EUID" runat="server" ReadOnly="True" Visible="False" Width="43px">0</asp:TextBox></td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 101px; height: 25px">
                            &nbsp;类别名称</td>
                        <td style="height: 25px" align="left">
                            <asp:TextBox ID="ECategory" runat="server" ReadOnly="True"></asp:TextBox>
                            </td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 101px; height: 24px">
                            金额</td>
                        <td style="height: 24px" align="left">
                            <asp:TextBox ID="EMoney" runat="server" ReadOnly="True" Width="43px">0</asp:TextBox></td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 101px; height: 24px" valign="baseline">
                            附件</td>
                        <td style="height: 24px" align="left">
                            <asp:Panel ID="UploadFilePanel" runat="server" Height="30px" Width="100%">
                                &nbsp;<asp:FileUpload ID="TaksFileUpload1" runat="server" />
                                <asp:LinkButton ID="UploadFileKey" runat="server" CausesValidation="False" CssClass="TaskAddButton"
                                    OnClick="UploadFileKey_Click" Width="100px">文件上传</asp:LinkButton>
                                <asp:Label ID="UploadMaxFileText" runat="server" ForeColor="Gray" Text="Label"></asp:Label></asp:Panel>
                                    <asp:Label ID="UploadTaksAccMessage" runat="server" Visible="False"></asp:Label><asp:GridView ID="EGridView1" runat="server" AutoGenerateColumns="False" OnRowCreated="EGridView1_RowCreated"
                                        OnRowDeleting="EGridView1_RowDeleting" PageSize="2">
                                        <Columns>
                                            <asp:BoundField DataField="id">
                                                <ItemStyle Width="30px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="filename">
                                                <ItemStyle Width="100px" />
                                                <HeaderStyle HorizontalAlign="Center" />
                                            </asp:BoundField>
                                            <asp:TemplateField HeaderText="文件">
                                                <ItemStyle HorizontalAlign="Center" Width="300px" />
                                                <HeaderStyle HorizontalAlign="Center" />
                                                <ItemTemplate>
                                                    &nbsp;<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# FilePath(Eval("filename").ToString()) %>'
                                                        Target="_blank" Text='<%# Bind("filename") %>'></asp:HyperLink>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                            <asp:BoundField DataField="filesize" HeaderText="字节数">
                                                <ItemStyle HorizontalAlign="Center" Width="60px" />
                                                <HeaderStyle HorizontalAlign="Center" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="FileAtt" HeaderText="文件类型">
                                                <ItemStyle HorizontalAlign="Center" Width="64px" />
                                                <HeaderStyle HorizontalAlign="Center" />
                                            </asp:BoundField>
                                            <asp:CommandField ShowDeleteButton="True" />
                                        </Columns>
                                    </asp:GridView>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 101px; height: 7px">
                            结束日期</td>
                        <td style="height: 7px" align="left">
                            &nbsp;<asp:TextBox ID="EEDT" runat="server"></asp:TextBox>
                            <ajaxToolkit:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="EEDT">
                            </ajaxToolkit:CalendarExtender>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 101px; height: 153px">
                            任务说明</td>
                        <td style="height: 153px" align="left">
                            <dntb:webeditor id="Content" runat="server" skin="skin/xp/" systemfolder="./system_dntb/"
                                width="600px"></dntb:webeditor>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 101px; height: 25px">
                        </td>
                        <td style="width: 320px; height: 25px" align="left">
                            &nbsp;
                            <asp:LinkButton ID="EditCategoryKey" runat="server" CssClass="TaskAddButton02" Height="20px"
                                OnClick="EditCategoryKey_Click" Width="102px">确定修改</asp:LinkButton>
                            </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Panel>
    <table width="100%" cellpadding="0" cellspacing="0">
        <tr>
            <td style="background-image: url(../../images/task/TitleBK02.jpg); height: 30px" align="left">
                <strong><span style="color: #ff6600">&nbsp;作品展示<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
</span></strong></td>
        </tr>
        <tr>
            <td style="width: 159px; height: 203px;">
    <asp:DataList ID="TaskViewDataList1" runat="server"
        RepeatColumns="5" Width="100%">
        <ItemTemplate>
          <a href='<%# PlanViewOpen(Eval("id").ToString()) %>'><asp:Image ID="Image1" runat="server" Height="120px" BorderWidth="0" ImageUrl='<%# VIEWIMG(Eval("id").ToString()) %>'
                Width="180px" /></a><br />
            <asp:HyperLink ID="HyperLink3" runat="server" Font-Bold="False" NavigateUrl='<%# PlanViewOpen(Eval("id").ToString()) %>'
                Text='查看作品详细'></asp:HyperLink>
                    <asp:Label ID="Label1" runat="server" Text='<%# Bind("id") %>' Visible="False"></asp:Label>
            <asp:Label ID="SelectOKLabel2" runat="server" ForeColor="#C00000" Text='<%# SelectOKView(Eval("planSeledted").ToString()) %>'></asp:Label><br />
            作品编号:<asp:Label ID="TaskViewLabel101" runat="server" Text='<%# Bind("id") %>'></asp:Label><br />
            设计师:<asp:Label ID="TaskViewLabel102" runat="server" Text='<%# DESIGNER(Eval("userid").ToString()) %>'></asp:Label>
        </ItemTemplate>
        <ItemStyle HorizontalAlign="Center" />
    </asp:DataList></td>
        </tr>
    </table>
