forked from maxliaops/Java_Web_Examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathup_head.jsp
More file actions
29 lines (29 loc) · 1.02 KB
/
up_head.jsp
File metadata and controls
29 lines (29 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<%@ page contentType="text/html; charset=GBK" %>
<%@ page import="com.core.*" %>
<%if (!Crazyadept.UserIsOK(session,FinalConstants.STATUS_ADMIN)) return;%>
<html>
<head>
<title>up_head</title>
</head>
<link href="../css/admin.css" rel="stylesheet" type="text/css">
<body >
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableNew" >
<tr align="center">
<td class="TableTitle1">上传用户头像</td>
</tr>
<form name="form1" enctype="multipart/form-data" method="post" action="upimg_head.jsp">
<tr align="center">
<td bgcolor="#FFFFFF"><img src="../images/ico/select.gif"></td>
</tr>
<tr align="center">
<td height="50" bgcolor="#FFFFFF" class="Redfont">注意:只能上传“*.gif”与“*.jpg”的头像,文件不能大于100KB</td>
</tr>
<tr align="center">
<td height="40" bgcolor="#FFFFFF"><input type="file" name="file">
<input name="Submit" type="submit" class="btn_grey" value="开始上传"></td>
</tr>
</form>
</table>
</body>
</html>