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.
pyexr2f4a/WebContent/Electric.jsp

60 lines
2.1 KiB

<%@ page import="java.util.Date" %>
<%@ page import="java.text.SimpleDateFormat" %><%--
Created by IntelliJ IDEA.
User: Vie
Date: 2019/10/24
Time: 15:25
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<style>
body{
background-image: url("Images/12.png");
background-size: cover;
}
</style>
<html>
<head>
<title>电费使用情况</title>
</head>
<body>
<div align="right" style="color: lavender">欢迎你,<%=request.getParameter("Username")%></div>
<center>
<table width="900" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="60" bgcolor="#E6F5FF" style="color:#06F; font-size:19px; font-weight:bolder; padding-left:50px;">高校公寓管理系统</td>
</tr>
<tr>
<td height="30" background="Images/MenuBg.jpg">&nbsp;</td>
</tr>
<tr>
<td height="500" align="center" valign="top"><table width="900" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="191" height="500" align="center" valign="top" background="Images/leftbg.jpg">
<%@ include file="StudentLeft.jsp"%>
</td>
<td width="709" align="center" valign="top" bgcolor="#F6F9FE"><table width="709" border="0" cellspacing="0" cellpadding="0">
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<tr>
<td height="35" background="Images/bootBg.jpg">&nbsp;</td>
</tr>
</center>
<div align="center" style="width: 100%;position: fixed;bottom: 0;color:yellow">
<%!Date time= new Date();%>
<%
SimpleDateFormat sdf1 = new SimpleDateFormat("yyyy年MM月dd日 E HH时mm分ss秒");
%>
<h3><% out.println(sdf1.format(time)); %></h3>
</div>
</body>
</html>