<%@ Page Language="C#" Debug="true" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="True" Inherits="Kesion.NET.WebSite.Course.Admin_Course_CsShowPJ" Codebehind="KS.CsShowPJ.aspx.cs" %>
<%@ Import Namespace="Kesion.Publics" %>
<%@ Import Namespace="Kesion.Cache" %>
<%@ Import Namespace="Kesion.BLL" %>

<asp:Content ID="Content1" ContentPlaceHolderID="KSContent" Runat="Server">

<asp:Panel ID="ListPanel" runat="server">
 
<table id="tbs0" width="99%" border="0" cellpadding="1" cellspacing="1" class="CTable"> 
          <tr>
            <td class="lefttd" height="30" align="right" style="width: 155px"><b>试卷名称：</b></td>
            <td class="righttd">
            <%=dr["name"].ToString()%>
             </td>
          </tr>
    <tr>
        <td align="right" class="lefttd" height="30" style="width: 155px">
            <strong>课程平均分：</strong>
        </td>
            <td class="righttd">
         <%=dr["coursepf"].ToString()%>(分)
           </td>

    </tr>
   
</table>
</asp:Panel>

<br />
<asp:Repeater ID="Repeater1" runat="server" >
          <HeaderTemplate>
          <table width="99%" border="0" cellpadding="1" cellspacing="1" class="CTable">
              <tr class="CTitle">
               <td height="25" width="48" align="center"><b>序号</b></td>
               <td height="25" width="48" align="center"><b>状态</b></td>
               <td style="width:100px;text-align:center"><b>评价人</b></td>
               <td style="width:70px;text-align:center"><b>评价分数</b></td>
               <td align="center"><b>评价内容</b></td>
             
               <td width="70" align="center"><b>操作</b></td>
              </tr>
          </HeaderTemplate>
         <ItemTemplate>
              <tr class="tdbg">
               <td height="25" width="48" align="center"><%#(Repeater1.Items.Count + 1)%></td>

                 <td class="Ctd" style="text-align:center">
                        <a href="?action=verify&PJID=<%#Eval("PJID")%>" <%# Convert.ToString(Eval("status"))=="0"?"class='no' title='未审核'":"class='ok' title='已审核'" %>></a>
                 </td>
               <td style="text-align:center"><%# Eval("username") %> </td>
               <td style="text-align:center"><%# Eval("Cosnumber")%>分 </td>
               <td><%# Eval("CosContent")%></td>
              
               <td width="70" align="center" class="Ctd">
               <a href="javascript:;" onclick="KesionJS.Confirm('确定删除吗？','location.href=\'KS.CsShowPJ.aspx?action=del&pjid=<%# Eval("pjid") %>\';','')" Class="delete">删除</a>
               
               </td>
              </tr>
         </ItemTemplate>
          <FooterTemplate>
           <tr class="tdbg" style="display:<%# bool.Parse((Repeater1.Items.Count==0).ToString())?"":"none"%>">
                <td class="Ctd" style="text-align:center" colspan="6">
                  没有回复记录!
                </td>
               </tr> 
           </table>
          </FooterTemplate>
        </asp:Repeater>
   <br />
    
     <KS:Page ID="Page1" runat="server" />


<div style="margin:8px;text-align:center">
  <input type="button" value="浏览课程(V)" class="button" onclick="window.open('../../course/view.aspx?ID=<%= dr["CourseID"].ToString() %> ');" />&nbsp;
   &nbsp;<input type="button" value="关闭窗口(C)" onclick="parent.box.close();" class="button" accesskey="C" /></div>
</asp:Content>
