<%@ page language="C#" autoeventwireup="true" inherits="Plan_PersonalActivity, App_Web_dy1ncacz" theme="Themes" stylesheettheme="Themes" %>

<!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 runat="server">
    <title></title>
</head>
 <script src="../js/artDialog3/artDialog.min.js"></script>
      <script>          (function($) { var d = $.dialog.defaults; d.skin = ['chrome']; })(art);</script>
<body>
    <form id="form1" runat="server">
    <table cellpadding="0" cellspacing="0" class="table_box">
        <tr>
            <td class="right_bg">
                <span class="right_title">
                    <img src="../Images/homen.gif" class="img_style" />
                    您的当前位置：我的培训计划详情</span>
            </td>
        </tr>
        <tr>
            <td>
                <table cellspacing="0" cellpadding="5" class="r_top_title_box">
                    <tr>
                        <td align="left" width="225px">
                            &nbsp;</td>
                        <td align="left">
                            &nbsp;</td>
                        <td align="right">
                                        <asp:Button ID="btnReturn" runat="server" Text="返回" OnClick="btnReturn_Click" />
                        </td>
                    </tr>
                </table></td>
        </tr>
        <tr>
            <td>
            <table border="0" cellpadding="0" cellspacing="1" width="100%" class="table_notitle">
            <tr>
                <td bgcolor="#ffffff" height="25" align="right" class="td01">
                    计划名称：
                </td>
                <td bgcolor="#ffffff" height="25" align="left">
                    <asp:Label ID="lblPlanName" runat="server"></asp:Label>
                </td>
                <td bgcolor="#ffffff" height="25" align="right" class="td01">
                    计划类型：
                </td>
                <td bgcolor="#ffffff" height="25" width="" align="left">
                    <asp:Label ID="lblPlanType" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td bgcolor="#ffffff" height="25" align="right" class="td01">
                    计划描述：
                </td>
                <td bgcolor="#ffffff" height="25" align="left" colspan="3">
                    <asp:Label ID="lblDescrip" runat="server" />
                </td>
            </tr>
            <tr>
                <td bgcolor="#ffffff" height="25" align="right" class="td01">
                    开始时间：
                </td>
                <td bgcolor="#ffffff" height="25" align="left">
                    <asp:Label ID="lblBeginTime" runat="server"></asp:Label>
                </td>
                <td bgcolor="#ffffff" height="25" align="right" class="td01">
                    结束时间：
                </td>
                <td bgcolor="#ffffff" height="25" width="" align="left">
                    <asp:Label ID="lblEndTime" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td bgcolor="#ffffff" height="25" align="right">
                    &nbsp;
                </td>
                <td bgcolor="#ffffff" height="25" align="left" colspan="3">
                    该培训计划内共&nbsp;<asp:Label ID="lblCourseCount" runat="server" Font-Bold="True" ForeColor="Maroon"></asp:Label>
                    门课程学习，<asp:Label ID="lblExamCount" runat="server" Font-Bold="True" ForeColor="Maroon"></asp:Label>
                    门考试，<asp:Label ID="lblHomeWorkCount" runat="server" Font-Bold="True" ForeColor="Maroon"></asp:Label><asp:Label
                        ID="lblHomeWork" runat="server" Text=" 门作业，"></asp:Label>
                    <asp:Label ID="lblOfflineCount" runat="server" Font-Bold="True" ForeColor="Maroon"></asp:Label>
                    个线下活动。
                </td>
            </tr>
        </table>
            </td>
        </tr>
        <tr>
            <td class="margintop5"><asp:GridView ID="gvActivitys" runat="server" AutoGenerateColumns="False" PageSize="10"
            Width="100%" DataKeyNames="ActivityID,Condition,ID" OnRowCommand="gvActivitys_RowCommand"
            OnRowDataBound="gvActivitys_RowDataBound">
            <PagerSettings Visible="False" />
            <Columns>
                <asp:TemplateField HeaderText="活动名称">
                    <ItemTemplate>
                        <asp:Label ID="lblName" runat="server" Text='<%#  Eval("Name") %>'></asp:Label>
                        <asp:Label ID="lblID" runat="server" Text='<%#  Eval("ID") %>' Visible="false"></asp:Label>
                        <asp:Label ID="lblActivityID" runat="server" Text='<%#  Eval("ActivityID") %>' Visible="false"></asp:Label>
                        <asp:Label ID="lblState" runat="server" Text='<%#  Eval("state") %>' Visible="false"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="Type" HeaderText="活动类型" />
                <asp:BoundField DataField="aName" HeaderText="活动对应的内容" />
                <asp:TemplateField HeaderText="学习进度或成绩">
                    <ItemTemplate>
                        <asp:Label ID="lblProgress" runat="server" ForeColor="OrangeRed"></asp:Label>
                        <asp:Label ID="lblResult" runat="server" Visible="false" Text='<%# Eval("result").ToString() %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="操作">
                    <ItemTemplate>
                        <asp:LinkButton ID="ibtnActivity" runat="server" CommandName="enter" CommandArgument='<%#  Eval("Type") %>' />
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <RowStyle Height="30px" />
            <EmptyDataTemplate>
                <asp:Label ID="lblEmpty" runat="server" Text="没有符合条件的数据！"></asp:Label>
            </EmptyDataTemplate>
        </asp:GridView></td>
        </tr>
        </table>
    </form>
</body>
</html>
