You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
109 lines
3.3 KiB
109 lines
3.3 KiB
<%@page import="oracle.net.aso.r"%>
|
|
<%@page import="java.sql.ResultSet"%>
|
|
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
|
pageEncoding="UTF-8"%>
|
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
|
<%@ page import="com.dao.infomationDao"
|
|
import="com.bean.infomationBean,java.util.*"%>
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<link rel="stylesheet" type="text/css"
|
|
href="./static/css/semantic.min.css">
|
|
<link rel="stylesheet" href="./static/css/index.css">
|
|
<title>个人信息</title>
|
|
</head>
|
|
<body>
|
|
|
|
<!--导航-->
|
|
<nav class="ui inverted segment m-padded-tb-mini">
|
|
<div class="ui container">
|
|
<div class="ui inverted secondary stackable menu">
|
|
<h2 class="ui teal header item">Blog</h2>
|
|
<a href="index.jsp" class="m-item item m-mobile-hide">首页</a>
|
|
<a href="Blog.jsp" class="m-item item m-mobile-hide">博客</a>
|
|
<a href="types.jsp" class="m-item item m-mobile-hide">分类</a>
|
|
<a href="tags.jsp" class="m-item item m-mobile-hide">标签</a>
|
|
<!-- <a href="PersonalCenter.jsp" class="m-item item m-mobile-hide">归档</a> -->
|
|
<a href="MessageBoard.jsp" class="m-item item m-mobile-hide">留言板</a>
|
|
<a href="MyCenter.jsp" class="m-item item m-mobile-hide">我的</a>
|
|
<a href="PublishArticle.jsp" class="m-item item m-mobile-hide">发表博客</a>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<a href="#" class="ui menu toggle black icon button m-right-top m-mobile-show">
|
|
<i class="sidebar icon"></i>
|
|
</a>
|
|
|
|
</nav>
|
|
|
|
|
|
<div class="left image">
|
|
<form>
|
|
<p align="center">
|
|
<img src="./static/images/logion.jpg" class="logion image"
|
|
style="width: 1000px; height: 200px;">
|
|
</p>
|
|
</form>
|
|
</div>
|
|
|
|
<%
|
|
infomationDao infomationDao = new infomationDao();
|
|
int userID = (Integer)session.getAttribute("userId");
|
|
|
|
infomationBean inf = infomationDao.searchById(userID);
|
|
session.setAttribute("infomationResult", inf);
|
|
%>
|
|
|
|
<p class="ui teal header" align="center">个人信息</p>
|
|
<p align="center" style="height: 30px;">姓名:${infomationResult.name}</p>
|
|
<p align="center" style="height: 30px;">性别:${infomationResult.sex }</p>
|
|
<p align="center" style="height: 30px;">注册日期:${infomationResult.day}</p>
|
|
<p align="center" style="height: 30px;">当前所在地:${infomationResult.location}</p>
|
|
<p align="center" style="height: 30px;">手机:${infomationResult.telephone}</p>
|
|
<p align="center" style="height: 30px;">邮箱:${infomationResult.email}</p>
|
|
<p align="center" style="height: 30px;">个人简介:${infomationResult.personResume}</p>
|
|
<p>
|
|
<a href="infomationAddServlet">
|
|
<p align="center">
|
|
<input type="submit" value="添 加 个 人 信 息">
|
|
</p>
|
|
</a>
|
|
</p>
|
|
|
|
<p>
|
|
<a href="infomationUpdateServlet?Basicid=${infomationResult.basicid}">
|
|
<p align="center">
|
|
<input type="submit" value="更 新 个 人 信 息">
|
|
</p>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
<p>
|
|
<a href="index.jsp">
|
|
<p align="center">
|
|
<input type="submit" value="进 入 博 客 首 页">
|
|
</p>
|
|
</a>
|
|
</p>
|
|
|
|
<p>
|
|
<font color="red">${tip}</font>
|
|
</p>
|
|
|
|
|
|
|
|
<!--底部-->
|
|
<footer class="ui inverted vertical segment m-padded-tb-massive">
|
|
<div class="ui center aligned container">
|
|
|
|
<p class="m-text-thin m-text-spaced m-opacity-tiny">Copyright ©
|
|
IT博客欢迎您</p>
|
|
</div>
|
|
</footer>
|
|
</body>
|
|
</html> |