2 Star 1 Fork 0

bieber / JSASys

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
studentRegist.php 7.27 KB
一键复制 编辑 原始数据 按行查看 历史
bieber 提交于 2014-09-13 10:27 . first commit
<?php
include_once 'admin_core/services/XueYuanService.php';
include_once 'admin_core/utils/Function.php';
$xyService = new XueYuanService();
$xyList = $xyService->getAllList();
$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>作业提交审查管理系统注册 Powered By 江西理工大学 信息工程学院 软件081班</title>
<script src="js/CJL.0.1.min.js" charset="utf-8"></script>
<script src="js/ImagePreview.js" charset="utf-8"></script>
<script src="js/regist.js" charset="utf-8"></script>
</head>
<style type="text/css">
#main{
width:800px;
margin:auto;}
#blank{
width:800px;
}
#form
{
width:600px;
margin:auto;
height:auto;}
#head
{
background-image:url(images/login_12.gif);
background-repeat:repeat-x;
height:97px;
text-align:center;
color:#09F;
font-size:24px;
font-weight:bolder;
line-height:97px;
font-family:"宋体";
border-left:#CCC 1px solid;
border-right:#CCC 1px solid;
}
.label{
color:#09F;
font-size:14px;
font-family:"幼圆";
text-align:right;
}
table
{
width:90%;
margin:auto;}
.textFile{
width:200px;
height:20px;
border:1px solid #39F;
text-align:left;
margin-bottom:5px;
color:#39F;}
#top{
height:7px;}
#regist{
border-left:#CCC 1px solid;
border-right:#CCC 1px solid;
}
select{
font-size:12px;}
</style>
<script type="text/javascript">
function changeButton(obj,image)
{
obj.style.backgroundImage = image;
}
</script>
<script src="js/registAjax.js" type="text/javascript" charset="gbk"></script>
<script src="js/ajax.js" type="text/javascript" charset="utf-8"></script>
<body>
<div id="main">
<div id="blank">
<div style="height:50px;">
</div>
<div id="form">
<div id="top">
<img src="images/login_07.gif" width="600"/>
</div>
<div id="head">
学生注册
</div>
<div id="regist">
<form name="regist" action="admin_core/control.php?action=studentRegist" method="post" id="registForm" enctype="multipart/form-data">
<table>
<tr>
<td class="label">
登 录 名:
</td>
<td>
<input type="text" name="loginName" id="loginName" class="textFile" onmousemove="addBackGround(this)" onmouseout="removeBackGround(this)" onkeyup="checkValue(this)" onblur="checkValue(this)" onfocus="alertMessage(this)" />
<input type="hidden" id="namestate" value="0" />
</td>
</tr>
<tr>
<td class="label">登录密码:
</td>
<td>
<input type="password" name="pwd" id="pwd" class="textFile" onmousemove="addBackGround(this)" onkeyup="checkValue(this)" onblur="checkValue(this)" onmouseout="removeBackGround(this)" onfocus="alertMessage(this)" />
</td>
</tr>
<tr>
<td class="label">确认密码:
</td>
<td>
<input type="password" name="pwdAgain" id="pwdAgain" class="textFile" onmousemove="addBackGround(this)" onkeyup="checkValue(this)" onblur="checkValue(this)" onmouseout="removeBackGround(this)" onfocus="alertMessage(this)" />
</td>
</tr>
<tr>
<td class="label">
真实姓名:
</td>
<td>
<input type="text" name="rname" id="rname" class="textFile" onmousemove="addBackGround(this)" onkeyup="checkValue(this)" onblur="checkValue(this)" onmouseout="removeBackGround(this)" onfocus="alertMessage(this)" />
</td>
</tr>
<tr>
<td class="label">性别:
</td>
<td class="label" style=" text-align:left;">
<input type="radio" name="xb" id="xb" value="1" checked="checked"/><input type="radio" name="xb" value="2" />
</td>
</tr>
<tr>
<td class="label">
Email(邮箱):
</td>
<td>
<input type="text" name="email" id="email" class="textFile" onmousemove="addBackGround(this)" onkeyup="checkValue(this)" onblur="checkValue(this)" onmouseout="removeBackGround(this)" onfocus="alertMessage(this)" />
</td>
</tr>
<tr>
<td class="label">电话(手机):
</td>
<td>
<input type="text" name="tele" id="tele" class="textFile" onmousemove="addBackGround(this)" onkeyup="checkValue(this)" onblur="checkValue(this)" onmouseout="removeBackGround(this)" onfocus="alertMessage(this)" />
</td>
</tr>
<tr>
<td class="label">学院:
</td>
<td align="left">
<select class="textFile" name="xy" id="xy" style="text-align:center;" onchange="getZhy(this)">
<option value="none">=========请 选 择=========</option>
<?php
for($i = 0; $i<count($xyList); $i++)
{
?>
<option style=" text-align:center;" value="<?php echo $xyList[$i]->getXy_id();?>"><?php echo $xyList[$i]->getXy_name();?></option>
<?php
}
?>
</select>
</td>
</tr>
<tr>
<td class="label">专业:
</td>
<td align="left">
<span id="zhySpan">
<select class="textFile" name="zhy" id="zhy" style="text-align:center;" onchange="getBJ(this)" >
<option style=" text-align:center;" value="none">=========请 选 择=========</option>
</select>
</span>
</td>
</tr>
<tr>
<td class="label">班级:
</td>
<td align="left">
<span id="bjSpan">
<select class="textFile" name="bj" id="bj" style="text-align:center;" >
<option style=" text-align:center;" value="none">========请 选 择========</option>
</select>
</span>
</td>
</tr>
<tr>
<td colspan="2" align="center">
<span style="font-size:11px; color:#F00;" >(*在学号信息之前请正确的选择学院、专业、班级。否则无效!)</span>
</td>
</tr>
<tr>
<td class="label">学号:
</td>
<td>
<input type="text" name="xh" id="xh" class="textFile" onmousemove="addBackGround(this)" onkeyup="checkValue(this)" onblur="checkValue(this)" onmouseout="removeBackGround(this)" onfocus="alertMessage(this)" />
</td>
</tr>
<tr>
<td class="label">头像:
</td>
<td>
<img id="file" />
<input id="upload" name="tx" type="file" style="width:200px;height:20px;border:1px solid #39F;margin-bottom:5px;" onmousemove="addBackGround(this)" onmouseout="removeBackGround(this)" />
</td>
</tr>
<tr>
<td class="label">验证码:
</td>
<td>
<input type="text" name="validata" id="validata" class="textFile" style="width:100px;"onmousemove="addBackGround(this)" onmouseout="removeBackGround(this)" />&nbsp;<img src="admin_core/utils/validate_code.php" id="safecode" style="width:100px; cursor:pointer; height:20px;" onclick="javascript:changeimage();" title="点击换一张"/><span style="cursor:pointer; font-size:14px; color:#666;" onclick="javascript:changeimage();" >看不清!换一张</span>
</td>
</tr>
<tr>
<td align="right">
<input type="button" value=" 注 册 " name="rigist" id="submitid" onclick="submitForm()" onmousemove="changeButton(this,'url(images/61.gif)')" style="background-image:url(images/40.gif); width:65px; height:23px; border:0px;" onmouseout="changeButton(this,'url(images/40.gif)')" />
</td>
<td>
<input type="reset" value=" 重 置 " name="reset" onmousemove="changeButton(this,'url(images/61.gif)')" style="background-image:url(images/40.gif); width:65px; height:23px; border:0px;" onmouseout="changeButton(this,'url(images/40.gif)')" />
</td>
</tr>
</table>
<script>
var ip = new ImagePreview( $$("upload"), $$("file"), {
maxWidth:100 ,maxHeight:100
});
ip.img.src = ImagePreview.TRANSPARENT;
ip.file.onchange = function(){ ip.preview(); };
</script>
</form>
</div>
<div style=" height:5px;">
<img src="images/login_46.gif" width="600" />
</div>
</div>
</div>
</div>
</body>
</html>
PHP
1
https://gitee.com/bieber/JSASys.git
git@gitee.com:bieber/JSASys.git
bieber
JSASys
JSASys
master

搜索帮助