<%@ Page Title="" Language="C#" MasterPageFile="~/Student/SiteStuMenu.Master" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="Project25175.StuIndex" %>
<asp:Content ID="Content1" ContentPlaceHolderID="StuContentPlace_Header" runat="server">
    <link rel="stylesheet" href="../assets/css/jquery-ui-1.10.3.full.min.css" />
    <script type="text/javascript">
        //后台调用,区分提示信息底色
        //Danger,Info
        function ChangeMsgClass(MsgType) {
            if (MsgType == "Danger") {
                DivMsg.className = 'alert alert-danger';
            }
            else {
                DivMsg.className = 'alert alert-info';
            }
        }
    </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="StuContentPlace" runat="server">
    
    <div class="breadcrumbs" id="breadcrumbs">
		<script type="text/javascript">
			try { ace.settings.check('breadcrumbs', 'fixed') } catch (e) { }
		</script>
		<ul class="breadcrumb">
			<li>
				<i class="icon-home home-icon"></i>
                数据统计
			</li>
		</ul>
	</div>

    <div class="page-content">
        <div class="row col-xs-12">
            <div id="DivMsg" class="alert alert-info hidden">
                <i class="icon-hand-right"></i>
                <asp:Label ID="LabMsg" runat="server" Text=" "></asp:Label>
			    <button class="close" data-dismiss="alert">
                <i class="icon-remove"></i>
                </button>
            </div>
        </div>

        <div class="row">
			<div class="col-xs-6">
                <%--<div class="profile-user-info profile-user-info-striped">--%>
				    <div class="profile-info-row">
					    <div class="profile-info-name"> 账号 </div>
					    <div class="profile-info-value">
                            <asp:Label runat="server" ID="LabUserID"></asp:Label>
                        </div>
				    </div>
				    <div class="profile-info-row">
					    <div class="profile-info-name"> 姓名 </div>
					    <div class="profile-info-value">
						    <asp:Label runat="server" ID="LabStuName"></asp:Label>
					    </div>
				    </div>
                    <div class="profile-info-row">
					    <div class="profile-info-name"> 性别 </div>
					    <div class="profile-info-value">
						    <asp:Label runat="server" ID="LabStuSex"></asp:Label>
					    </div>
				    </div>
				    <div class="profile-info-row">
					    <div class="profile-info-name"> 学号 </div>
					    <div class="profile-info-value">
						    <asp:Label runat="server" ID="LabStuNumber"></asp:Label>
					    </div>
				    </div>
				    <div class="profile-info-row">
					    <div class="profile-info-name"> 考号 </div>
					    <div class="profile-info-value">
						    <asp:Label runat="server" ID="LabStuExamNumber"></asp:Label>
					    </div>
				    </div>
				    <div class="profile-info-row">
					    <div class="profile-info-name"> 身份证号 </div>
					    <div class="profile-info-value">
						    <asp:Label runat="server" ID="LabIDCard"></asp:Label>
					    </div>
				    </div>
                    <div class="profile-info-row">
					    <div class="profile-info-name"> 会考证号 </div>
					    <div class="profile-info-value">
						    <asp:Label runat="server" ID="LabStuExamNo"></asp:Label>
					    </div>
				    </div>
			    <%--</div>--%>
            </div>

            <div class="col-xs-6">
                <%--<div class="profile-user-info profile-user-info-striped">--%>
				    
				    <div class="profile-info-row">
					    <div class="profile-info-name"> 校区 </div>
					    <div class="profile-info-value">
						    <asp:Label runat="server" ID="LabSchAreaName"></asp:Label>
					    </div>
				    </div>
				    <div class="profile-info-row">
					    <div class="profile-info-name"> 组/系 </div>
					    <div class="profile-info-value">
						    <asp:Label runat="server" ID="LabGroupName"></asp:Label>
					    </div>
				    </div>
				    <div class="profile-info-row">
					    <div class="profile-info-name"> 班级 </div>
					    <div class="profile-info-value">
						    <asp:Label runat="server" ID="LabClassName"></asp:Label>
					    </div>
				    </div>
				    <div class="profile-info-row">
					    <div class="profile-info-name"> 邮箱 </div>
					    <div class="profile-info-value">
						    <asp:Label runat="server" ID="LabStuEmail"></asp:Label>
					    </div>
				    </div>
				    <div class="profile-info-row">
					    <div class="profile-info-name"> 毕业学校 </div>
					    <div class="profile-info-value">
						    <asp:Label runat="server" ID="LabStuFinishSchool"></asp:Label>
					    </div>
				    </div>
				    <div class="profile-info-row">
					    <div class="profile-info-name"> 毕业时间 </div>
					    <div class="profile-info-value">
						    <asp:Label runat="server" ID="LabStuFinishDate"></asp:Label>
					    </div>
				    </div>
				    <div class="profile-info-row">
					    <div class="profile-info-name"> 兴趣爱好 </div>
					    <div class="profile-info-value">
						    <asp:Label runat="server" ID="LabStuHobby"></asp:Label>
					    </div>
				    </div>
			    <%--</div>--%>
            </div>

            <div class="col-xs-12">
                <%--<div class="profile-user-info profile-user-info-striped">--%>
				    
				    <div class="profile-info-row">
					    <div class="profile-info-name"> 备注 </div>
					    <div class="profile-info-value">
						    <asp:Label runat="server" ID="LabComment"></asp:Label>
					    </div>
				    </div>
			    </div>
            <%--</div>--%>
        </div>


        <div class="row">
			<div class="col-xs-12">
                <div class="widget-box">
				    <div class="widget-header widget-header-blue widget-header-flat">
					    <h4 class="lighter">数据</h4>
				    </div>
				    <div class="widget-body">
					    <div class="widget-main">
                            <div class="row">
                                <div class="profile-user-info profile-user-info-striped">
                                    <div class="row">
                                        <div class="col-xs-7">
                                            <div class="profile-info-row">
                                                <div class="profile-info-name"> 同班同学 </div>
					                            <div class="profile-info-value">
                                                    <asp:Label runat="server" ID="LabClassStatistics"></asp:Label>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-xs-5">
                                            <div class="profile-info-row">
                                                <div class="profile-info-name"> 班主任 </div>
					                            <div class="profile-info-value">
                                                    <asp:Label runat="server" ID="LabTeaName"></asp:Label>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>                                            
                            </div>

                             <div class="row">
                                <div class="profile-user-info profile-user-info-striped">
                                    <div class="row">
                                    <div class="col-xs-12">
                                        <div class="profile-info-row">
                                            <div class="profile-info-name"> 我的选课 </div>
                                            <asp:Label runat="server" ID="LabStuMapSub"></asp:Label>
                                        </div>
                                    </div>
                                    </div>
                                </div>
                            </div>
					    </div>
				    </div>
			    </div>

                <div class="widget-box">
				    <div class="widget-header widget-header-blue widget-header-flat">
					    <h4 class="lighter">公告</h4>
				    </div>
				    <div class="widget-body">
					    <div class="widget-main">
                            <asp:GridView ID="GridView1" runat="server" 
                                CssClass="table table-striped table-bordered table-hover" 
                                AutoGenerateColumns="False" DataKeyNames="ID" AllowPaging="True" 
                                OnPageIndexChanging="GridView1_PageIndexChanging" ShowHeader="False" >
                                <Columns>
                                    <asp:TemplateField HeaderText="标题">
                                        <ItemTemplate>
                                            <asp:HyperLink ID="HyperLink1" runat="server" Target="_blank"
                                                NavigateUrl='<%# Eval("ID", "../Public/ViewNotice.aspx?ID={0}") %>' 
                                                Text='<%# Eval("NoTitle") %>'></asp:HyperLink>
                                        </ItemTemplate>
                                    </asp:TemplateField>                        
                                    <asp:BoundField DataField="NoDate" HeaderText="发布时间" DataFormatString="{0:d}" />
                                    <asp:BoundField DataField="Hits" HeaderText="点击数" />
                                </Columns>
                                <PagerSettings Mode="NumericFirstLast" />
                            </asp:GridView>
					    </div> <!-- /widget-main -->
				    </div> <!-- /widget-body -->
			    </div>

            </div>
        </div>

    </div>
    
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="StuContentPlace_Footer" runat="server">

    <script type="text/javascript" src="../assets/js/jquery-2.0.3.min.js"></script>

	<script type="text/javascript">
		window.jQuery || document.write("<script src='../assets/js/jquery-2.0.3.min.js'>" + "<" + "/script>");
	</script>

	<script type="text/javascript">
		if ("ontouchend" in document) document.write("<script src='../assets/js/jquery.mobile.custom.min.js'>" + "<" + "/script>");
	</script>
	<script type="text/javascript" src="../assets/js/bootstrap.min.js"></script>
	<script type="text/javascript" src="../assets/js/typeahead-bs2.min.js"></script>

	<!-- page specific plugin scripts -->
	<!-- ace scripts -->

	<script type="text/javascript" src="../assets/js/ace-elements.min.js"></script>
	<script type="text/javascript" src="../assets/js/ace.min.js"></script>

</asp:Content>
