<%@ Control Language="C#" AutoEventWireup="true" CodeFile="PlanView.ascx.cs" Inherits="TaskList" %>
    <script language="javascript" src="../../../js/TOPproduct.js"></script>
<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>
            &nbsp; &nbsp;
            <asp:HyperLink ID="RETaskViewKey" runat="server">任务详细</asp:HyperLink>
            <asp:Label ID="TaskID" runat="server" Font-Bold="True" ForeColor="Black" Text="Label"
                Visible="False"></asp:Label>
            <asp:Label ID="PlanID" runat="server" Font-Bold="True" ForeColor="Black" Text="Label"
                Visible="False"></asp:Label></td>
    </tr>
</table>
<table width="100%" cellpadding="3" cellspacing="0">
    <tr>
        <td style="width: 42%; background-color: whitesmoke; height: 292px;" align="left">
            <div class="tasks_page_left">
                <p class="tasks_page_left_p1">
                    <asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
                                <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                                    <Triggers>
                                        <asp:AsyncPostBackTrigger ControlID="PlanViewDataList1" EventName="ItemCommand" />
                                    </Triggers>
                                    <ContentTemplate>
                    <table>
                        <tr>
                            <td align="center" style="width: 188px; height: 5px" valign="top">
                                作品截图</td>
                            <td style="width: 173px; height: 5px">
                            </td>
                        </tr>
                        <tr>
                            <td align="center" style="width: 188px; height: 302px" valign="top">
                                <asp:DataList ID="PlanViewDataList1" runat="server" OnItemCommand="PlanViewDataList1_ItemCommand" RepeatColumns="2" ShowFooter="False" ShowHeader="False">
                                    <SelectedItemStyle BackColor="#E0E0E0" />
                                    <ItemTemplate>
                                        &nbsp;
                                        <table cellpadding="3" cellspacing="3" style="background-color: white">
                                            <tr>
                                                <td style="width: 51px; height: 21px; background-color: black">
                                                    <asp:ImageButton ID="ImageButton2" runat="server" CommandName="select" Height="60px"
                                            Width="80px" ImageUrl='<%# VIEWIMG(Eval("filename").ToString()) %>' /></td>
                                            </tr>
                                        </table>
                                        <asp:Label ID="IMGFILE" runat="server" Text='<%# VIEWIMG(Eval("filename").ToString()) %>' Visible="False"></asp:Label>
                                        <asp:LinkButton ID="LinkButton3" runat="server" CommandArgument='<%# Bind("id") %>'
                                            CommandName="Del" Visible='<%# ISUSER(Eval("userid").ToString()) %>'>删除</asp:LinkButton>
                                    </ItemTemplate>
                                </asp:DataList></td>
                            <td style="width: 173px; height: 302px" valign="top">
                                        <table cellpadding="6" cellspacing="6" style="background-color: white">
                                            <tr>
                                                <td style="width: 188px; height: 21px; background-color: black">
                                        <asp:Image ID="PlanViewImage2" runat="server" Height="300px" Width="400px" /></td>
                                            </tr>
                                        </table></td>
                        </tr>
                    </table>
                                    </ContentTemplate>
                                </asp:UpdatePanel>
                        <asp:Panel ID="PlanViewEditFilePanel" runat="server" Height="50px" Width="100%" Visible="False">
                            <br />
                            上传文件
                            <asp:FileUpload ID="TaksFileUpload1" runat="server" />&nbsp;
                            <asp:LinkButton ID="LinkButton2" runat="server" CssClass="TaskAddButton" Height="23px"
                                OnClick="LinkButton2_Click" Width="70px">上传文件</asp:LinkButton><br />
                            <asp:Label ID="UploadMaxFileText" runat="server"></asp:Label>
                            <asp:Label ID="UploadTaksAccMessage" runat="server"></asp:Label></asp:Panel>
                    &nbsp;
                    &nbsp;&nbsp;
                </p>
                <p class="tasks_page_left_p1">
                    <strong><span style="color: #990000">&nbsp;<br />
                        评论／投诉</span></strong><asp:DataList ID="pl" runat="server" Width="99%">
        <ItemTemplate>
            <table border="0" cellpadding="0" cellspacing="0" class="Cbian" width="100%">
                <tr>
                    <td style="height: 17px">
                        <span class="Cvip">
                            <%# DataBinder.Eval(Container.DataItem, "username")%>
                            ：</span>发表于<%# DataBinder.Eval(Container.DataItem, "FBdate")%></td>
                </tr>
                <tr>
                    <td style="height: 2px">
                        <span class="Ctxt">
                            <%# DataBinder.Eval(Container.DataItem, "Content")%>
                        </span>
                    </td>
                </tr>
                <tr>
                    <td>
                        <span class="Cmag">
                            <%# DataBinder.Eval(Container.DataItem, "shefen")%>
                            ：</span>发表于<%# Convert.ToDateTime(DataBinder.Eval(Container.DataItem, "FBdate")).AddDays(1)%></td>
                </tr>
                <tr>
                    <td style="height: 2px">
                        <span class="Ctxt">
                            <%# DataBinder.Eval(Container.DataItem, "reContent")%>
                        </span>
                    </td>
                </tr>
            </table>
        </ItemTemplate>
    </asp:DataList>
                </p>
    <div id="Div1">
        <asp:Table ID="Table1" runat="server" HorizontalAlign="Right">
        </asp:Table>
    </div><p class="tasks_page_left_p1">
    <table align="center" border="0" cellpadding="0" cellspacing="0" height="163" width="616">
        <tr>
            <td width="69">
                会 员 名：</td>
            <td style="width: 547px">
                <input id="username" style="width: 221px" type="text" />
                &nbsp;
                <input id="isuser" name="isuser" type="checkbox" value="n" />
                匿名&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;  <a href="javascript:void(0)" onclick="xmlhttp()"> <img src="../../../images/procectpl.gif" align="middle" border=0 id="IMG2" onclick="return IMG2_onclick()"/></a>
            </td>
        </tr>
        <tr>
            <td style="height: 20px" width="69">
                评级：</td>
            <td style="width: 547px; height: 20px">
                <input id="a1" checked="checked" name="pj" type="radio" value="1" />
                <img src="../../../images/1.gif" />
                <input id="a2" name="pj" type="radio" value="2" />
                <img src="../../../images/2.gif" />
                <input id="a3" name="pj" type="radio" value="3" />
                <img src="../../../images/3.gif" />
                <input id="a4" name="pj" type="radio" value="4" />
                <img src="../../../images/4.gif" />
                <input id="a5" name="pj" type="radio" value="5" />
                <img src="../../../images/5.gif" /></td>
        </tr>
        <tr>
            <td height="137" valign="top">
                留言内容：(限字120)</td>
            <td style="width: 547px" valign="top">
                <textarea id="countnet" cols="60" name="textarea" onfocus="textCounter(this,'progressbar1',400)"
                    onkeydown="textCounter(this,'progressbar1',400)" onkeyup="textCounter(this,'progressbar1',400)"
                    onpaste="textCounter(this,'progressbar1',400)" rows="10"></textarea>
                <div id="progressbar1" class="progress">
                </div>

                <script>textCounter(document.getElementById("countnet"),"progressbar1",400)</script>

            </td>
        </tr>
    </table>
                    &nbsp;&nbsp;
                    </p>
            </div>
        </td>
        <td align="center" style="width: 20%; background-color: lemonchiffon; height: 292px;" valign="top">
            <p>
                <asp:Image ID="SelectOKImage1" runat="server" AlternateText="中标作品" ImageUrl="~/images/task/SelectOK.gif"
                    Visible="False" />
                <asp:LinkButton ID="SelectOKButton" runat="server" CssClass="TaskAddButton02" Height="26px"
                    OnClick="SelectOKButton_Click" Visible="False" Width="156px">确认此作品中标</asp:LinkButton>
                <table>
                    <tr>
                        <td align="right" style="width: 54px">
                            编号：</td>
                        <td align="left" style="width: 188px">
                            <asp:Label ID="NO" runat="server" Text="Label"></asp:Label></td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 54px; height: 21px">
                            作者：</td>
                        <td align="left" style="width: 188px; height: 21px">
                            <asp:Label ID="User" runat="server" Text="Label"></asp:Label></td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 54px; height: 21px">
                            级别：</td>
                        <td align="left" style="width: 188px; height: 21px">
                            <asp:Label ID="Lay" runat="server" Text="Label"></asp:Label></td>
                    </tr>
                </table>
            </p>
            <p>
                <table id="TABLE2" runat="server" visible="false">
                    <tr>
                        <td align="right" style="width: 54px; height: 20px;">
                            电话：</td>
                        <td align="left" style="width: 188px; height: 20px;">
                            <asp:Label ID="tel" runat="server" Text="暂无"></asp:Label></td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 54px; height: 21px">
                            手机：</td>
                        <td align="left" style="width: 188px; height: 21px">
                            <asp:Label ID="mob" runat="server" Text="暂无"></asp:Label></td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 54px; height: 19px">
                            邮箱：</td>
                        <td align="left" style="width: 188px; height: 19px">
                            <asp:Label ID="email" runat="server" Text="暂无"></asp:Label></td>
                    </tr>
                </table>
            </p>
            <asp:TextBox ID="INFO" runat="server" Height="303px" TextMode="MultiLine" Width="264px" ReadOnly="True"></asp:TextBox>
            <asp:Panel ID="PlanViewEditPanel" runat="server" Height="50px" Width="100%" Visible="False">
                <br />
                <asp:LinkButton ID="LinkButton1" runat="server" CssClass="TaskAddButton02" Height="22px"
                    OnClick="LinkButton1_Click" Width="151px">确定修改</asp:LinkButton></asp:Panel>
        </td>
    </tr>
</table>
<div id="bk2" class="hidden subDiv">
    <br /><div id="tnt_pagination">
    </div>
    &nbsp;
</div>
