<%@ page import="java.util.List" %>
<%@ page import="pojo.User" %>
<%@ page import="pojo.ParkingSpot" %>
<%@ page import="pojo.ParkingRecord" %>
<%@ page import="pojo.Vehicle" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>管理员</title>
    <link rel="stylesheet" href="<%=request.getContextPath()%>/static/css/mainTemplate.css">
    <link rel="stylesheet" href="<%=request.getContextPath()%>/static/css/car-Info.css">

</head>
<%
    session=request.getSession();
    User user=(User)session.getAttribute("user");
    Vehicle car=(Vehicle) session.getAttribute("car");
   request.setCharacterEncoding("UTF-8");
%>
<body>
<div class="top-bar">
    <div class="top-bar-logo">
        <a  href="<%=request.getContextPath()%>/main/user/user-Info.jsp"><img id="logo" src="<%=request.getContextPath()%>/static/images/logo.jpg" alt="" ></a>
        <a id="logo-text" href="#">山东科技大学 作为小组停车场管理系统 <span></span></a>
    </div>
    <div class="top-bar-btn">
    </div>
    <div class="top-bar-right">
        <div class="drop-menu">
            <div class="top-bar-account">
                <span><%=user.getName()%></span>
                <div class="drop"><a href="<%=request.getContextPath()%>/account/exit">退出账户</a></div>
            </div>
        </div>
    </div>
</div>
<div class="container">
    <div class="side-bar">
        <a class="side-bar-button" href="<%=request.getContextPath()%>/main/get_user">用户信息</a>
        <a class="side-bar-button" href="<%=request.getContextPath()%>/main/get_spot">车位情况</a>
        <a class="side-bar-button" href="<%=request.getContextPath()%>/main/get_record">停车记录</a>
        <a class="side-bar-button" href="<%=request.getContextPath()%>/main/get_car_Info">车辆信息</a>
        <a class="side-bar-button" href="<%=request.getContextPath()%>/main/get_IC">IC卡信息</a>
    </div>
    <div class="tasks-content">

        <table>
            <tr>
                <th>车牌</th>
                <td><%=car.getCar_license()%></td>
            </tr>
            <tr>
                <th>车类别</th>
                <td>
                    <%=car.getBrand()%>
                </td>
            </tr>
            <tr>
                <th>车型</th>
                <td><%=car.getModel()%></td>
            </tr>
        </table>


    </div>
</div>
</body>
</html>
