<%@ control language="C#" autoeventwireup="true" inherits="disk_Admin_config_Header, n25175_disk" %>

    	<link rel="stylesheet" type="text/css" href="<%=ResolveUrl("~/disk/control/easy_ui/themes/gray/easyui.css?v=1.0")%>" />   
        <link rel="stylesheet" type="text/css" href="<%=ResolveUrl("~/disk/control/easy_ui/themes/icon.css?v=1.0")%>" />
            
			<nav class="top-nav" style="position:fixed;">
				<div class="nav-header">
					<!--nav 左侧菜单按钮-->
					<div class="sidebarLeft-toggle pull-left">
						<a href="#"><i class="ion-navicon"></i></a>
					</div>
					<!--nav-mobile-右侧按钮-->
					<ul class="nav-right-btn pull-right">
						<li>
							<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="glyphicon glyphicon-user"></i></a>
							<ul class="dropdown-menu dropdown-sm pull-right user-dropdown">
								<li class="user-avatar clearfix">
									<!--<img src="images/profile.jpg" alt="" class="img-circle">-->
									<div class="user-content">
										<h5 class="no-m-bottom">Admin</h5>
									</div>
								</li>
								<li class="divider"></li>
								<li>
									<a href="../web/passEdit.aspx">修改密码</a>
								</li>
								<li>
									<a href="../Exit.aspx">退出登录</a>
								</li>
								<li class="divider"></li>
                                <li><a href="../web/index.aspx">首页</a></li>
								<li>
									<a href="http://www.25175.net/" target="_Blank">技术支持</a>
								</li>
							</ul>
						</li>
					</ul>
					<!--logo-->
					<a href="../web/index.aspx" class="brand">
						<img src="../css/logo.png" />
					</a>
				</div>
				<div class="nav-container">

					<ul class="navbar-right">
						<li class="user-block dropdown">
						<%--	<a href="#"  class="dropdown-toggle" data-toggle="dropdown">
								<!--<img src="images/profile.jpg" alt="" class="inline-block user-profile-pic img-circle">-->
								<div class="user-detail inline-block">
									<asp:Label ID="labName" runat="server"></asp:Label>
								</div> 
							</a>
                           	<a href="../web/passEdit.aspx"  class="leftheada" >
                                <div class="user-detail inline-block">
							  修改密码
						    </div>
                            </a>
							<a href="../Exit.aspx"  class="leftheada" >
                                 <div class="user-detail inline-block">
									退出登录
								</div>
                             </a>
	                        <a href="../web/index.aspx"  class="leftheada" >
                                 <div class="user-detail inline-block">
									首页
								</div>
							</a>
                             <a href="http://www.25175.net/" target="_Blank" class="leftheada" >
                                  <div class="user-detail inline-block">
									技术支持
								</div>
							</a>--%>
                            <a href="#"  class="dropdown-toggle" data-toggle="dropdown">
								<!--<img src="images/profile.jpg" alt="" class="inline-block user-profile-pic img-circle">-->
								<div class="user-detail inline-block">
								<asp:Label ID="labName" runat="server"></asp:Label>
									<i class="ion-ios7-arrow-down"></i>
								</div>
							</a>
							<ul class="dropdown-menu pull-right" role="menu">
                                <li>
									<a href="../web/passEdit.aspx">修改密码</a>
								</li>
								<li>
									<a href="../Exit.aspx">退出登录</a>
								</li>
								<li class="divider"></li>
                                <li><a href="../web/index.aspx">首页</a></li>
								<li>
									<a href="http://www.25175.net/" target="_Blank">技术支持</a>
								</li>
							</ul>
						</li>
                        <li class="user-block dropdown">
                           <a href="#" data-toggle="dropdown" class="dropdown-toggle">
                               <div class="user-detail inline-block">
                                <i class="glyphicon glyphicon-link   m-right-xs"></i>
                                相关产品
                              <i class="ion-ios7-arrow-down"></i>
                              </div>
                            </a>
                            <ul id="pList1" style="width: 250px;" class="dropdown-menu dropdown-3  pull-right product-link">
                            </ul>
						</li>
					</ul>
				</div>
			</nav><!--/头部导航-->
            <script>
                $(function () {
                    var pl = getCookie("plist");
                    if (pl == "") {
                        $.ajax({
                            type: "POST",
                            contentType: "application/json",
                            url: 'http://reg.25175.com/systype.ashx',
                            dataType: "JSONP",
                            jsonp: "callback",
                            success: function (data) {
                                var list = data.data;
                                var p = "";
                                for (var i = 0; i < list.length; i++) {
                                    var pitem = list[i];
                                    p += "<li><a style='float:left;width:180px' target='_blank' href=\"" + pitem.SysLink + "\">" + pitem.SysTypeName + "</a> <button onclick=\"location.href='http://reg.25175.com/Admin/DownLoad.ashx?SysID=" + pitem.ID + "'\" style='float:left;width:40px;margin-top:8px;' class=' btn btn-info btn-xs'>下载</button></li>";

                                }
                                $("#pList1").html(p);
                            }
                        })
                    } else {

                    }
                })
                function setCookie(c_name, value, expiredays) {
                    var exdate = new Date()
                    exdate.setDate(exdate.getDate() + expiredays)
                    document.cookie = c_name + "=" + escape(value) +
                    ((expiredays == null) ? "" : ";expires=" + exdate.toGMTString())
                }
                function getCookie(c_name) {
                    if (document.cookie.length > 0) {
                        c_start = document.cookie.indexOf(c_name + "=")
                        if (c_start != -1) {
                            c_start = c_start + c_name.length + 1
                            c_end = document.cookie.indexOf(";", c_start)
                            if (c_end == -1) c_end = document.cookie.length
                            return unescape(document.cookie.substring(c_start, c_end))
                        }
                    }
                    return ""
                }
            </script>
			<div class="sidebar">
				<ul class="sidebar-nav">
                       <li class="navItem">
						<a href="../web/index.aspx">
						    <span class="icon-home" style="padding-left:20px;">首页</span>
						</a>
					</li> <asp:Literal ID="litCatalog" runat="server" Visible="false">

                    <li class="navItem" >
                        
						<a href="../Catalog/disk_Catalog_List.aspx">
                         <span class="icon-book" style="padding-left:20px;">科目设置</span>
						</a>
					</li></asp:Literal>
                      <asp:Literal ID="litResourceFileInsert" runat="server" Visible="false">
                     <li class="navItem" >
                        
						<a href="../ResourceFile/disk_recourceFile_Insert.aspx">
							<span class="l-btn-text icon-import" style="padding-left: 20px;">新增资源</span>
						</a>
                            
					</li>  </asp:Literal>
                     <asp:Literal ID="litResourceFile" runat="server" Visible="false">
                     <li class="navItem" >
                         
						<a href="../ResourceFile/disk_recourceFile_List.aspx">
						  <span class="l-btn-text icon-subject" style="padding-left: 20px;">资源列表</span>
						</a>
					</li></asp:Literal>
                     <asp:Literal ID="litResourceScore" runat="server" Visible="false">
					<li class="navItem" >
                        
						<a href="../ResourceScore/disk_rescourceScore_List.aspx">
							<span class="l-btn-text icon-ok" style="padding-left: 20px;">资源评分</span>
						</a>
					</li></asp:Literal>
                     <asp:Literal ID="litResourceComment" runat="server" Visible="false">
                    <li class="navItem" >
                         
						<a href="../ResourceComment/disk_resourceComment_List.aspx">
							<span class="l-btn-text icon-course" style="padding-left: 20px;">资源评价</span>
						</a>
					</li></asp:Literal>
                       <asp:Literal ID="litNotice" runat="server" Visible="false">
                     <li class="navItem" >
                      
						<a href="../notice/disk_notice_List.aspx">
							<span class="l-btn-text icon-message" style="padding-left: 20px;">通知公告</span>
						</a>
					</li></asp:Literal>
                     <asp:Literal ID="litAuthoritySet" runat="server" Visible="false">
					<li class="navItem">
                       
						<a href="../AuthoritySet/disk_AuthorirtySet_List.aspx">
							<span class="l-btn-text icon-boss" style="padding-left: 20px;">角色权限</span>
						</a>
					</li>
                    </asp:Literal>
                     <asp:Literal ID="litUser" runat="server" Visible="false">
                     <li class="navItem" >
                           
						<a href="../user/disk_user_List.aspx">
							<span class="l-btn-text icon-user" style="padding-left: 20px;">教师用户</span>
						</a>
					</li>
				    </asp:Literal>
                       <asp:Literal ID="litBackUp" runat="server" Visible="false">
                  <li class="navItem" >
                      
						<a href="../web/backup.aspx">
							<span class="l-btn-text icon-save" style="padding-left: 20px;">数据备份</span>
						</a>
                           
					</li>  </asp:Literal>
                    <%--  <asp:Literal ID="litConfig" runat="server" Visible="false">
				 <li class="navItem" >
                    
						<a href="../message/message_List.aspx">
							<span class="l-btn-text icon-cut" style="padding-left: 20px;">系统设置</span>
						</a>
                          
					</li></asp:Literal>--%>
				</ul>
			</div>
