<%@ Page Language="C#" AutoEventWireup="true" Inherits="lookCheckinfo" Codebehind="lookCheckinfo.aspx.cs" %>
<%@ Import Namespace="System.Text" %>
<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="Kesion.Publics" %>
<%@ Import Namespace="Kesion.Cache" %>
<%@ Import Namespace="Kesion.BLL" %>
<%@ Import Namespace="Kesion.HtmlTags" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
     <link href="<%=Request.ApplicationPath=="/"?"":Request.ApplicationPath%>/admin/images/style.css" rel="stylesheet" type="text/css" />
    <script src="../../admin/images/pannel/tabpane.js" type="text/javascript"></script>
    <link href="<%=Request.ApplicationPath=="/"?"":Request.ApplicationPath%>/admin/images/pannel/tabpane.CSS" rel="stylesheet" type="text/css" />
    <script src="<%=ResolveUrl("~/KS_Inc/Jquery.js") %>" type="text/javascript"></script>
    <script src="<%=ResolveUrl("~/KS_Inc/Kesion.Common.js") %>" type="text/javascript"></script>
	<script src="/admin/include/comm.js"></script>
    <script src="<%=ResolveUrl("~/KS_Inc/DatePicker/WdatePicker.js") %>"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
         <div class="content-area">
             <div class="tabs_header">
                <ul class="tabs">
                    <li <%=KSCMS.S("type")==""||KSCMS.S("type")=="0"?" class='active'":string.Empty %>><a href="lookCheckinfo.aspx?type=0&packid=<%=KSCMS.S("packid") %>"><span>考核课程</span></a></li>
                    <li <%=KSCMS.S("type")=="1"?" class='active'":string.Empty %>><a href="lookCheckinfo.aspx?type=1&packid=<%=KSCMS.S("packid") %>"><span>考核试卷</span></a></li>
                </ul>
            </div>
             <table width="100%"border="0" cellpadding="1" cellspacing="1" class="CTable">
                 <tr class="CTitle">
                     <td>考核名称</td>
                     <td>类型</td>
                     <td>添加时间</td>
                     <td>价格</td>
                     <td>查看</td>
                 </tr>
                 <asp:Panel ID="CoursePanel" runat="server">
                     <asp:Repeater ID="courseRepeater" runat="server">
                         <ItemTemplate>
                             <tr>
                                 <td style="text-align:left"><%#Eval("packinfoname") %></td>
                                 <td style="text-align:center"><%#Utils.StrToInt(Eval("isorno"))==1?"必修":"选修" %></td>
                                 <td style="text-align:center"><%#Eval("addtime")%></td>
                                 <td style="text-align:center"><%=MyCache.GetCurrencySymbol %><%#Kesion.APPCode.Public.ReturnShopPrice(Eval("price")) %><%=MyCache.GetCurrencyUnit %></td>
                                 <td style="text-align:center"><a href="<%# BasicField.GetRewriteUrl("courseview",Utils.StrToInt(Eval("packinfoid"))) %>" target="_blank">查看课程</a></td>
                             </tr>
                         </ItemTemplate>
                     </asp:Repeater>
                 </asp:Panel>
                 <asp:Panel ID="SjPanel" runat="server" Visible="false">
                     <asp:Repeater ID="SjRepeater" runat="server">
                         <ItemTemplate>
                             <tr>
                                 <td style="text-align:left"><%#Eval("packinfoname") %></td>
                                 <td style="text-align:center"><%#Utils.StrToInt(Eval("isorno"))==1?"必修":"选修" %></td>
                                 <td style="text-align:center"><%#Eval("addtime") %></td>
                                 <td style="text-align:center"><%=MyCache.GetCurrencySymbol %><%#Kesion.APPCode.Public.ReturnShopPrice(Eval("price")) %><%=MyCache.GetCurrencyUnit %></td>
                                 <td style="text-align:center"><a href="<%# BasicField.GetRewriteUrl("examview",Utils.StrToInt(Eval("packinfoid"))) %>" target="_blank">查看试卷</a></td>
                             </tr>
                         </ItemTemplate>
                     </asp:Repeater>
                 </asp:Panel>
            </table>
         </div>
    </div>
    </form>
</body>
</html>
