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

📄 modifyinfo.jsp

📁 基于JAVA的学生就业信息网 实现对信息浏览 检索 审核 修改和删除
💻 JSP
字号:
<%@ page contentType="text/html;charset=GBK" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>北京科技大学就业信息网</title>
<link href="main.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.STYLE1 {
	color: #FFFFFF;
	font-size: 10pt;
}
-->
</style>
<STYLE type=text/css>
.menutitle {
PADDING-RIGHT: 2px; PADDING-LEFT: 2pt; FONT-WEIGHT: bold; MARGIN-BOTTOM: 5px; PADDING-BOTTOM: 2px; WIDTH: 194px; CURSOR: pointer; COLOR: #666666; PADDING-TOP: 2px; BACKGROUND-COLOR: #e1e1e1; TEXT-ALIGN: left}
.submenu {
	MARGIN-BOTTOM: 0.5em
}
.STYLE2 {color: #FF0000}
.STYLE4 {color: #FF6600}
</STYLE>
<SCRIPT language=javascript src="Jslib.js"></SCRIPT>
<script language="JavaScript">
function checkItem()
{
  var flag=true;
 	if (isEmpty(document.forms[0].dwzh.value))
  {
    alert("单位帐号不能为空!");
    document.forms[0].dwzh.focus();
    flag = false;
  }
  else if (isEmpty(document.forms[0].dwmm.value))
  {
    alert("单位密码不能为空!");
    document.forms[0].dwmm.focus();
    flag = false;
  }
  else if (isEmpty(document.forms[0].dwszd.value))
  {
    alert("单位所在地不能为空!");
    document.forms[0].dwszd.focus();
    flag = false;
  }
  else if (isEmpty(document.forms[0].dwyxq.value))
  {
    alert("单位有效期不能为空!");
    document.forms[0].dwyxq.focus();
    flag = false;
  }
  else if (isEmpty(document.forms[0].dwtop.value))
  {
    alert("信息发布人不能为空!");
    document.forms[0].dwtop.focus();
    flag = false;
  }
  else if (isEmpty(document.forms[0].dwmc.value))
  {
    alert("单位名称不能为空!");
    document.forms[0].dwmc.focus();
    flag = false;
  }
  else if (isEmpty(document.forms[0].dwhy.value))
  {
    alert("单位行业不能为空!");
    document.forms[0].dwhy.focus();
    flag = false;
  }
return flag;
}
</script>
<script language="JavaScript">
<!--
if (document.getElementById){ //DynamicDrive.com change
document.write('<style type="text/css">\n')
document.write('.submenu{display: none;}\n')
document.write('</style>\n')
}

function SwitchMenu(obj){
	if(document.getElementById){
	var el = document.getElementById(obj);
	var ar = document.getElementById("masterdiv").getElementsByTagName("span"); //DynamicDrive.com change
		if(el.style.display != "block"){ //DynamicDrive.com change
			for (var i=0; i<ar.length; i++){
				if (ar[i].className=="submenu") //DynamicDrive.com change
				ar[i].style.display = "none";
			}
			el.style.display = "block";
		}else{
			el.style.display = "none";
		}
	}
}
//-->
</script>
<SCRIPT language=javascript src="../css/Jslib.js"></SCRIPT>
<script language="JavaScript" src="mm_menu.js"></script>
<script language="JavaScript" src="date.js"></script>
</head>

<body topmargin="0">
<%@include file="indextop.jsp" %>
<table width="800" border="0" align="center" cellpadding="0"cellspacing="1" bgcolor="#e1e1e1"  style="border-top:2px solid white">
  <tr>
    <td width="200" height="230" bgcolor="#F9F9F9" valign="top"><%@include file="left.jsp" %></td>
    <td width="600" bgcolor="#FFFFFF" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">

      <tr>
	    <td height="29" bgcolor="#e11a13" style="padding-left:35px"><span class="body STYLE1"><SCRIPT language=javascript>CAL();</SCRIPT>&nbsp;&nbsp;&nbsp;&nbsp;您的位置:<a href="../index.html" class="menu1">首页</a> 〉企业登录:<c:out value="${dwinfo.dwmc}"/></span></td>
      </tr>
      <tr>
        <td>
		<table width="100%" cellspacing="0" cellpadding="0" style="border:10px solid white">
            <tr>
              <td><table width="99%" cellspacing="0" cellpadding="0" style="border:1px solid #e1e1e1">
                  <tr>
                    <td width="9" height="27" valign="bottom">&nbsp;</td>
                    <td width="506" valign="bottom"><img src="images/index-1_28.gif" width="21" height="20" /><img src="images/company1_03.gif" width="101" height="22" /></td>
                    <td width="50" valign="bottom">&nbsp;</td>
                    <td width="7" valign="bottom">&nbsp;</td>
                  </tr>
                  <tr height="2">
                    <td></td>
                    <td colspan="2" bgcolor="#E11A13"></td>
                    <td></td>
                  </tr>
                  <tr>
                    <td colspan="4">&nbsp;</td>
                  </tr>
                  <tr>
                    <td colspan="4" align="center"><form action="modifyinfo.do" method="post" enctype="multipart/form-data" id="FORM" onSubmit="return checkItem();"><table border="1" cellspacing="0" cellpadding="0" bordercolor="#e1e1e1" width="97%">
<tr><td colspan=2 class="nomal">注意:带<font color=red>*</font>号为必填项;若无相关信息,请填无!</td></tr>
<tr><td width="90" class="nomal">单位帐号:</td>
<td  class="nomal"><input name="dwzh" type="hidden" id="ggbt" value="<c:out value="${modifydwxx.dwzh}" ></c:out>">
<c:out value="${modifydwxx.dwzh}" ></c:out></td></tr>
<tr><td class="nomal"><input type="hidden" name="id" value="<c:out value="${modifydwxx.id}" ></c:out>"></td></tr>
<tr><td class="nomal">单位密码:</td><td><input name="dwmm" type="text" id="ggbt" value="<c:out value="${modifydwxx.dwmm}" ></c:out>">
<font color=red>*</font></td></tr>
<tr><td class="nomal">单位名称:</td><td><input name="dwmc" size="50" maxlength="50" type="text" id="ggbt" value="<c:out value="${modifydwxx.dwmc}" ></c:out>">
<font color=red>*</font></td></tr>
<tr><td class="nomal">单位所在地:</td><td> 
	<select name="dwszd">
      <c:forEach  var="province" items="${provincelist}">
		<option value="<c:out value="${province.id}"/>"
			<c:if test="${modifydwxx.dwszd==province.id}">
				selected
			</c:if>
		><c:out value="${province.name}"/></option>
      </c:forEach>
    </select><font color=red>*</font></td></tr>
<tr><td class="nomal">单位地址:</td><td><input name="dwdz" type="text" size="60" maxlength="60" id="ggbt" value="<c:out value="${modifydwxx.dwdz}" ></c:out>"></td></tr>
<tr><td class="nomal">单位邮政编码:</td><td><input name="dwyzbm" size="6" maxlength="6" type="text" id="ggbt" value="<c:out value="${modifydwxx.dwyzbm}"/>"></td></tr>
<tr><td class="nomal">单位电话:</td><td><input name="dwdh" type="text" size="50" maxlength="50" id="ggbt" value="<c:out value="${modifydwxx.dwdh}" ></c:out>"></td></tr>
<tr><td class="nomal">单位传真:</td><td><input name="dwcz" type="text" size="50" maxlength="50" id="ggbt" value="<c:out value="${modifydwxx.dwcz}" ></c:out>"></td></tr>
<tr><td class="nomal">单位联系人:</td><td><input name="dwlxr" type="text" size="20" maxlength="20" id="ggbt" value="<c:out value="${modifydwxx.dwlxr}" ></c:out>"></td></tr>
<tr><td class="nomal">单位电子邮箱:</td><td><input name="dwdzxx" type="text" size="50" maxlength="50" id="ggbt" value="<c:out value="${modifydwxx.dwdzxx}" ></c:out>"></td></tr>
<tr><td class="nomal">单位网址:</td><td><input name="dwlink" type="text" size="50" maxlength="50" id="ggbt" value="<c:out value="${modifydwxx.dwlink}" ></c:out>"></td></tr>
<tr><td class="nomal">单位有效期:</td><td><input name="dwyxq" type="text" id="ggbt" value="<c:out value="${modifydwxx.dwyxq}" ></c:out>"><font color=red>*</font></td></tr>
<tr><td class="nomal">单位状态:</td><td>
	<select name="dwstatus">			
			<option value=1
			<c:if test="${modifydwxx.dwstatus==1}">
				selected
			</c:if>
		>发布</option>		
		<option value=0
		<c:if test="${modifydwxx.dwstatus==0}">
				selected
			</c:if>
>不发布</option>
    </select><font color=red>*</font>
</td></tr>
<tr><td class="nomal">单位信息发布人:</td><td><c:out value="${modifydwxx.dwfbr}" ></c:out></td></tr>
<tr><td class="nomal"><input type="hidden" name="dwfbr" value="<c:out value="${modifydwxx.dwfbr}" ></c:out>"></td></tr>
<tr><td class="nomal">单位颜色:</td><td><input name="dwcolour" type="text" id="ggbt" value="<c:out value="${modifydwxx.dwcolour}" ></c:out>"></td></tr>
<tr><td class="nomal">单位序号:</td><td><input name="dwtop" size="20" maxlength="20" type="text" id="ggbt" value="<c:out value="${modifydwxx.dwtop}"> </c:out>"><font color=red>*</font></td></tr>
<tr><td class="nomal">单位分类:</td><td>
	<select name="dwfl">
		<option value="1" 
		<c:if test="${modifydwxx.dwfl==1}">
		selected
		</c:if>
		>
		公开</option>
		<option value="0"
			<c:if test="${modifydwxx.dwfl==0}">
		selected
		</c:if>
		>只对校内发布</option>
    </select><font color=red>*</font>
</td></tr>
<tr><td class="nomal">单位行业:</td><td><input name="dwhy" type="text" id="ggbt" size="40" maxlength="20" value="<c:out value="${modifydwxx.dwhy}" ></c:out>"><font color=red>*</font></td></tr>
<tr><td class="nomal">单位招聘说明:</td><td><input name="dwzpsm" type="text" id="ggbt" value="<c:out value="${modifydwxx.dwzpsm}" ></c:out>"></td></tr>
<tr><td height="40"  class="nomal">单位备注一:</td><td><textarea name="dwbz1" rows="5" cols="40"><c:out value="${modifydwxx.dwbz2}" ></c:out></textarea> </td></tr>
<tr><td class="nomal">单位备注二:</td><td><textarea name="dwbz2" rows="5" cols="40"><c:out value="${modifydwxx.dwbz2}" ></c:out></textarea> </td></tr>
<tr><td class="nomal">单位简介:</td><td><textarea name="dwjj" rows="5" cols="40"><c:out value="${modifydwxx.dwjj}" ></c:out></textarea> </td></tr>
<tr>
<td><input type="submit" name="b1" value="提交" onclick="return checkItem();"></td><td></td></tr>
</table>
                    </form></td>
                  </tr>
                  <tr>
                    <td colspan="4">&nbsp;</td>
                  </tr>
              </table></td>
            </tr>
          </table>
		<%@include file="link.jsp" %>
          </td>
      </tr>
      <tr>      </tr>
	  <tr>
          <td>&nbsp;</td>
      </tr>
      <tr>
        <td height="1" bgcolor="#e1e1e1"></td>
      </tr>
      <tr height="100">
        <td><iframe frameborder="0" width="599" height="100"src="../foot.html" scrolling="no"></iframe></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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