?? jcy_ry_sczp1.jsp
字號:
<%@ page language="java" contentType="text/html;charset=GBK" %>
<%@page import="java.sql.*" %>
<%@page import="java.io.*"%>
<%@page import="java.util.*"%>
<%@page import="com.vstsoft.std.*"%>
<%
response.setHeader("Pragma","No-cache");
response.setHeader("Cache-Control","no-cache");
response.setDateHeader("Expires", 0);
%>
<jsp:useBean id="jcypurview" class="com.vstsoft.jcypurview" scope = "session" />
<%
String currusercode = jcypurview.getUsercode(); //取當前用戶usercode
String curruserid = jcypurview.getUserid(); //取當前用戶編號
String currusername = jcypurview.getUserName(); //取當前用戶名稱
String curruserszqx = jcypurview.getUserSzqx(); //取當前用戶所在區縣
String curruserszdw = jcypurview.getUserSzdw(); //取當前用戶所在單位
//檢測用戶是否登錄
if (jcypurview.checkLogin() == false)
{
%>
<Script Language=javascript>
alert("用戶已斷線或未正常登錄,請重新登錄!")
window.open("../index.htm","_top")
</Script>
<%
return;}
%>
<%
//檢測用戶是否有操作權限
if (!(jcypurview.purviewVerdict("B0500001") || jcypurview.purviewVerdict("B0500010")))
{
%>
<Script Language=javascript>
alert("您沒有操作此頁權限!")
history.go(-1);
</Script>
<% return;
}
%>
<%vststd std = new vststd();%>
<html>
<script language="JavaScript">
function f_sczperr(sczperr)
{
if (sczperr == "ok")
{
alert("公務員信息保存成功!");
return;
}
if (sczperr == "zpok")
{
alert("公務員照片上傳成功!");
return;
}
alert(sczperr);
}
</script>
<title>上傳照片</title>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<link rel="stylesheet" href="../style.css" type="text/css">
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
<%String uid = std.getValue(request,"uid");%>
<form name="uploadform" method="post" action="jcy_ry_sczp.jsp?uid=<%=uid%>" enctype="multipart/form-data" target="submitsc">
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#EEF9FF">
<tr>
<td width="55%" height="30" align="right"><b><font color="#105781">上傳照片</font><font color="#105781" size="-1">
</font></b></td>
<td width="30%" align="center"><input name="adsImage" type="file" size="20">
</td>
<td width="15%" align="center">
<input type="submit" name="sczp" value="上 傳" class="input"> </td>
</tr>
</table>
</form>
<iframe name="submitsc" width="1000" height="600" style="display:block"></iframe>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -