
<%@ page autoeventwireup="false" inherits="WebExam.Web.myscore, App_Web_yngu4kvv" language="vb" masterpagefile="~/Page.master" title="我的成绩" %>

<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="mainCopy">
<script type="text/javascript">
function mypaper(examid,random){

   var userId=getCookie("user:id");
   if (userId==null)return;
   var url="../../../data/staticexam/"+examid;
   if(random=="0")
       url += "/testpaper.xml?ek=" + userId;
   else
     url+="/stukey/"+userId+".xml?ek="+userId;
   window.open(url,"paper","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes")

}
		  function scoreList(examid){
  
   var url="../../data/staticexam/"+encodeURIComponent(examid)+"/scoreList.xml";
   var win=window.open(url,"scoreListWindow");
   win.focus();

}
function jump(){
   if(document.getElementById("exam_class").selectedIndex==1) self.location ="scoresucure.aspx";

}
</script>

    <table align="center" border="0" style="width: 100%">
        <tr>
            <td align="center">
               我参加的考试</td>
        </tr>
        <tr>
            <td align="center">
                
                <asp:GridView ID="GridView1" runat="server" PageSize="15" AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" GridLines="None" EnableViewState="False">
                    <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                    <Columns>
                        <asp:BoundField DataField="examid" HeaderText="考试" />
                        <asp:BoundField DataField="random" HeaderText="卷类型" />
                        
                        <asp:BoundField DataField="examiner" HeaderText="主考" />
                        
                        <asp:BoundField DataField="enterTime" HeaderText="开考时间" ReadOnly="True" />
                        <asp:BoundField DataField="endTime" HeaderText="结束时间" ReadOnly="True" />
                        <asp:BoundField DataField="score" HeaderText="成绩" ReadOnly="True" />
                        <asp:BoundField DataField="static" HeaderText="状态" />
                        <asp:TemplateField>
                            <itemtemplate>
                                <asp:Label ID="Label1" runat="server" onclick="<%# &quot;javascript:scoreList('&quot;+DataBinder.Eval(Container, &quot;DataItem.examid&quot;)+&quot;')&quot; %>"
                                    Style="cursor: hand" Visible='<%# (DataBinder.Eval(Container, "DataItem.static")=true) and (DataBinder.Eval(Container, "DataItem.displayScore")=2) %>'>成绩单</asp:Label>
                            </itemtemplate>
                        </asp:TemplateField>
                        <asp:TemplateField>
                            <itemtemplate>
                                <asp:Label ID="Lbl_my" runat="server"></asp:Label>
                                
                            </itemtemplate>
                        </asp:TemplateField>
                    </Columns>
                    <RowStyle BackColor="#E3EAEB" HorizontalAlign="Left" />
                    <EditRowStyle BackColor="#7C6F57" />
                    <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
                    <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
                    <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                    <AlternatingRowStyle BackColor="White" />
                </asp:GridView>
            </td>
        </tr>
        
        <tr>
            <td>
               <pagers:PageNumbersPager ID="PageNumbersPager1" runat="server" />
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;&nbsp; 
                    <asp:Localize ID="Localize1" runat="server" Text="说明：动态考试是指考试数据有可能再次发生变化的考试，静态考试是指考试的一切数据都不再变化"></asp:Localize></td>
        </tr>
    </table>
</asp:Content>
	