⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 birthday_set.jsp

📁 tomcat最新安装程序
💻 JSP
字号:
<%@ page contentType="text/html;charset=GB2312" %>
<%@ page import="java.util.Date,java.io.*,java.sql.*"%> 
<%@ page import="cn.com.aheadsoft.util.TheProperties"%>  
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="/krm/jsp/css/css.css">
<title>无标题文档</title>
<style type="text/css">
<!--

body {
	font-family: "宋体";
	font-size: 12px;
	text-decoration: none;

}
table {
	font-family: "宋体";
	font-size: 12px;
}
a {
	text-decoration: none;
}
-->
</style>
</head>
<script language="JavaScript">
<!--
 function b1_onclick()
 {
  var ext0;
  ext0=document.form1.uploadpath.value;
  ext1=ext0.substring(ext0.length-4,ext0.length);
  if(ext1!=".gif" && ext1!=".jpg" && ext1!=".GIF" && ext1!=".JPG")
  {
    alert("附件必须为 gif或jpg 格式!");
    return false;
  }
  else
 document.form1.submit();
  return true;
 
 }
-->
</script>
<%
       String userID=request.getParameter("userID");
       String username = request.getParameter("username");
       String birthday=request.getParameter("birthday");
  %>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr height="8">   
	<td>
	</td>
  </tr>
  <tr class="trA">
      <td >&nbsp;您的位置:人事管理 >> 生日管理 >> <font class="fontcolor">添加照片</font></td>
  </tr>
  <tr height="8">   
	<td >
	</td>
  </tr>
  
  <tr>
    <td align="center">      
       <table border="0" width="98%" align="center" height="30%"  class="collapse">
  <form name="form1" method="post" action="/krm/servlet/PersonImageServlet" ENCTYPE="multipart/form-data">
    <tr> 
		 <td class="tdA" colspan="9" align="center"><div align="left">编辑照片</div></td>  			  
          </tr>  
    <tr > 
      <td class="common bgcolor">姓名</td>
      <td width="205" class="common"><%	 	
	if(!TheProperties.ENCODE.equalsIgnoreCase("iso8859_1")){
	  username=new String(username.getBytes("iso8859_1"), "GB2312");
	}
    out.println(username);
	%></td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td class="common bgcolor">生日</td>
      <td class="common"><input type="text" name="birthday" value='<%=birthday%>' disabled> 
      </td>
    </tr>
    <tr> 
      <td class="common bgcolor">个人图片</td>
      <td class="common"><input name="uploadpath" type="file" size="28" class='textbox'>
            </td>
    </tr>
    <tr> 
      <td class="tdC" colspan="2"><div align="center"> 
          <input type="hidden" name="username" value="<%=username%>">
          <input type="hidden" name="userID" value="<%=userID%>">
          <input type="submit" name="Submit" onmouseover="this.className='button2'" onmouseout="this.className='button1'" class="button1" value="确 定" onclick=" return b1_onclick()">
          <input type="button" name="button" onmouseover="this.className='button2'" onmouseout="this.className='button1'" class="button1" value="返 回" onclick="history.back(-1)">
        </div></td> 
		</tr>
		<tr align="center"><td colspan="2" bgcolor="F1F7F9">
		  图片类型:jpg或gif格式,图片大小建议&lt;200kb如果你传送任意大小的照片,可能会造成<br>
        照片的变形, 不能显示照片的最佳效果, 建议传送的照片大小宽度为:120 高度为:160
       </td></tr>
  </form>
</table>
   </td>
  </tr>	 
</table>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -