<%@ page import="java.util.List" %>
<%@ page import="java.util.ArrayList" %>
<%@ page import="core.user.User" %>
<%@ page import="core.process.Condition" %>
<%@ page import="core.process.Process" %><%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2019/1/9
  Time: 20:32
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
    <title>毕业设计管理系统</title>
    <link type="text/css" rel="stylesheet" href="../cssFile/upload_style.css">
    <link type="text/css" rel="stylesheet" href="../cssFile/home.css">
    <link type="text/css" rel="stylesheet" href="../cssFile/personal.css">
    <link type="text/css" rel="stylesheet" href="../cssFile/select-style.css">
    <link type="text/css" rel="stylesheet" href="../cssFile/fill-style.css">
    <link type="text/css" rel="stylesheet" href="../cssFile/download_style.css">
    <link type="text/css" rel="stylesheet" href="../cssFile/blank-style.css">
    <script type="text/javascript" src="../jsFile/jquery-3.3.1.js"></script>
    <script type="text/javascript" src="../jsFile/homeActive.js"></script>
    <script type="text/javascript" src="../jsFile/home-update.js"></script>
    <script type="text/javascript" src="../jsFile/personal.js"></script>
    <script type="text/javascript" src="../jsFile/search.js"></script>
    <script type="text/javascript" src="../jsFile/fill-action.js"></script>
    <script type="text/javascript" src="../jsFile/upload_action.js"></script>
    <script type="text/javascript" src="../jsFile/sub-msg-input.js"></script>
</head>
<body>
<%
    User user=(User)session.getAttribute("user");
    String type=user.getType();
    pageContext.setAttribute("userType",type);
    Condition condition=user.getCondition();
    /*List<Process> pList=condition.getProcesses();*/
    int length=0;
    int index=0;
%>
<div class="main">
    <div class="top-bar">
        <div class="top-center-bar">
            <div class="back-home"><a href="home.jsp">首页</a></div>
            <div class="logo">GDMS</div>
            <div class="personal-opt">
                <div class="head-img">
                    <img src="">
                </div>
                <div class="opt">
                    <img class="img" src="../cssFile/images/opt.png">
                    <div class="opt-options">
                        <div class="opt-to-perm"><a class="update-to-perm" href="personal_setting.jsp">
                            个人信息</a></div>
                        <div class="to-logout"><a href="../login.jsp">退出登录</a></div>
                    </div>
                </div>
            </div>
        </div>

    </div>
    <div class="main2">
            <div class="nav-bar">
                <div class="point-bar"></div>
                <div class="a-process personal-msg">
                    <a href="personal_setting.jsp?001" class="link-point personal-msg-page">
                        <div class="a-process-decoration personal-set">
                            <img src="../cssFile/images/man.png">
                        </div>
                        <div class="nav-info">个人信息</div>
                    </a>
                </div>
                <div class="a-process aux-fun">
                    <a href="download.jsp?002" class="link-point aux-fun-page">
                        <div class="a-process-decoration download">
                            <img src="../cssFile/images/download.png">
                        </div>
                        <div class="nav-info">资料下载</div>
                    </a>
                </div>
                    <div class="a-process">
                        <a href="select.jsp" class="link-point data-download-page">
                            <div class="a-process-decoration select">
                                <img src="../cssFile/images/select.png">
                            </div>
                            <div class="nav-info">选择老师</div>
                        </a>
                    </div>
                    <div class="a-process">
                        <a href="fill_Information.jsp" class="link-point">
                            <div class="a-process-decoration">
                                <img src="../cssFile/images/fill.png">
                            </div>
                            <div class="nav-info">填写信息</div>
                        </a>
                    </div>
                    <div class="a-process">
                        <a href="upload_file.jsp" class="link-point">
                            <div class="a-process-decoration">
                                <img src="../cssFile/images/upload.png">
                            </div>
                            <div class="nav-info">上传文件</div>
                        </a>
                    </div>
                    <div class="a-process">
                        <a href="fillSbjMsg.jsp" class="link-point">
                            <div class="a-process-decoration">
                                <img src="../cssFile/images/filText.png">
                            </div>
                            <div class="nav-info">填写选题信息</div>
                        </a>
                    </div>
                <c:forEach items="${list}" var="value">
                    <div class="a-process">
                        <a href="fillSbjMsg.jsp?<%=index++%>" class="link-point">
                            <div class="a-process-decoration">
                                <img src="../cssFile/images/filText.png">
                            </div>
                            <div class="nav-info">填写选题信息</div>
                        </a>
                    </div>
                </c:forEach>
            </div>
            <div class="update-frame">
                <div class="small-ads">
                    <div class="sm-one"><div class="white-point"></div></div>
                    <div class="sm-one"><div class="white-point"></div></div>
                    <div class="sm-one"><div class="white-point"></div></div>
                </div>
                <div class="scroll-ads">
                    <ul class="scroll-ads-imgs" style="transform: translateX(0%)">
                        <li class="scroll-child">
                            <a>
                                <img src="../cssFile/images/change.jpg">
                                <div class="ads-text">hello</div>
                            </a>
                        </li>
                        <li class="scroll-child">
                            <a>
                                <img src="../cssFile/images/change2.jpg">
                                <div class="ads-text">hello</div>
                            </a>
                        </li>
                        <li class="scroll-child">
                            <a>
                                <img src="../cssFile/images/change3.jpg">
                                <div class="ads-text">hello</div>
                            </a>
                        </li>
                        <li class="scroll-child">
                            <a>
                                <img src="../cssFile/images/change.jpg">
                                <div class="ads-text">hello</div>
                            </a>
                        </li>
                    </ul>
                </div>
                <div class="notice-frame">
                    <div class="notice-frame-info">公告</div>
                    <div class="notice-cont bar-change">
                        <div class="notice-child">
                            <div class="notice-title"><div class="expend"></div>
                                <div class="title-text">欢迎使用</div></div>
                            <div class="notice-text">欢迎使用GDMS</div>
                        </div>
                        <div class="notice-child">
                            <div class="notice-title"><div class="expend"></div>
                                <div class="title-text">寒假通知</div></div>
                            <div class="notice-text">早点回去吧</div>
                        </div>
                        <div class="notice-child">
                            <div class="notice-title"><div class="expend"></div>
                                <div class="title-text">开题截至日期</div></div>
                            <div class="notice-text">开题截至日期一月七号</div>
                        </div>
                        <div class="notice-child">
                            <div class="notice-title"><div class="expend"></div>
                                <div class="title-text">评阅截至日期</div></div>
                            <div class="notice-text">评阅截至日期四月七号</div>
                        </div>
                    </div>
                </div>
                <div class="notice-choose">
                    <div class="notice-class">学校</div>
                    <div class="notice-class">老师</div>
                    <div class="notice-class">学院</div>
                </div>
            </div>
    </div>
    <div class="bottom-bar">
        <div class="big-logo">GDMS</div>
        <p>team bys</p>
    </div>
</div>
<script type="text/javascript" src="../jsFile/personal.js"></script>
</body>
</html>
