代码拉取完成,页面将自动刷新
<?php
include_once'admin_core/services/BanJiService.php';
include_once 'admin_core/utils/Function.php';
$bjId = $_GET["bjId"];
$bjService = new BanJiService();
$bj = $bjService->getBanJiById($bjId);
$fun = new fun();
$fun->closeDB();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题</title>
<style type="text/css">
<!--
body {
margin-left: 3px;
margin-top: 0px;
margin-right: 3px;
margin-bottom: 0px;
}
.STYLE1 {
color: #e1e2e3;
font-size: 12px;
}
.STYLE6 {color: #000000; font-size: 12; }
.STYLE10 {color: #000000; font-size: 12px; }
.STYLE19 {
color: #344b50;
font-size: 12px;
}
.STYLE21 {
font-size: 12px;
color: #3b6375;
}
.STYLE22 {
font-size: 12px;
color: #295568;
}
input{
color:#3CC;
width:200px;
height:20px;
}
-->
</style>
<script type="text/javascript" src="js/comment.js"></script>
<script type="text/javascript" src="js/ajax.js" charset="utf-8"></script>
<script type="text/javascript">
function submitForm()
{
if(document.getElementById("bjName").value=="")
{
alert("专业名不能为空!");
document.getElementById("bjName").focus();
}
else
{
document.getElementById("bjForm").submit();
}
}
</script>
</head>
<body style="text-align:center;">
<center>
<fieldset>
<legend><img src="images/311.gif"/> <span style="color:#333; font-size:15px; font-weight:bold;">修改班级信息</span></legend>
<form action="admin_core/control.php?action=updateBJ" method="post" id="bjForm">
<table width="100%">
<tr>
<td width="12%" style="text-align:right; font-size:14px; color:#09C;">所属学院名:</td>
<td align="left" width="88%">
<input name="xyName" id="xyName" type="text" value="<?php echo $bj->getZhy()->getXy()->getXy_name();?>" onfocus="lightBorder(this)" readonly="readonly"/>
</td>
</tr>
<tr>
<td width="12%" style="text-align:right; font-size:14px; color:#09C;">所属专业名:</td>
<td align="left" width="88%">
<input name="zhyName" id="zhyName" type="text" value="<?php echo $bj->getZhy()->getZhy_name();?>" onfocus="lightBorder(this)" readonly="readonly"/>
<input name="zhyId" id="zhyId" type="hidden" value="<?php echo $bj->getZhy()->getZhy_id();?>" />
</td>
</tr>
<tr>
<td width="12%" style="text-align:right; font-size:14px; color:#09C;">输入班级名:</td>
<td align="left" width="88%">
<input name="bjName" id="bjName" type="text" value="<?php echo $bj->getBj_name();?>" onfocus="lightBorder(this)" onblur="checkBJ(this)"/> <font color="#FFCC00" size="2">(格式如:2008级01班)</font>
<input name="bjId" type="hidden" value="<?php echo $bj->getBj_id();?>" />
<input name="oldName" id="oldName" type="hidden" value="<?php echo $bj->getBj_name();?>" />
</td>
</tr>
<tr>
<td width="12%" style="text-align:right; font-size:14px; color:#09C;">
</td>
<td align="left">
<input type="button" value=" 添 加 " id="submitid" onclick="submitForm()" onmousemove="changeButton(this,'url(images/61.gif)','#fff')" style="background-image:url(images/40.gif); width:65px; height:23px; border:0px;" onmouseout="changeButton(this,'url(images/40.gif)','#09C')" />
<input type="reset" value=" 重 置 " onmousemove="changeButton(this,'url(images/61.gif)','#fff')" style="background-image:url(images/40.gif); width:65px; height:23px; border:0px;" onmouseout="changeButton(this,'url(images/40.gif)','#09C')" />
</td>
</tr>
</table>
</form>
</fieldset>
</center>
</body>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。