xueshengxinxiadd.php
(开头部分) 7KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?php
session_start();
//xuxyxaodenxglxxu
include_once 'conn.php';
$ndate =date("Y-m-d");
$addnew=$_POST["addnew"];
if ($addnew=="1" )
{
$xuehao=$_POST["xuehao"];
$mima=$_POST["mima"];
$xingming=$_POST["xingming"];
$zhaopian=$_POST["zhaopian"];
$xingbie=$_POST["xingbie"];
$shengao=$_POST["shengao"];
$tizhong=$_POST["tizhong"];
$jifen=$_POST["jifen"];
$beizhu=$_POST["beizhu"];
ischongfu("select id from xueshengxinxi where xuehao='$xuehao'");
$sql="insert into xueshengxinxi(xuehao,mima,xingming,zhaopian,xingbie,shengao,tizhong,jifen,beizhu) values('$xuehao','$mima','$xingming','$zhaopian','$xingbie','$shengao','$tizhong','$jifen','$beizhu') ";
mysql_query($sql);
echo "<script>javascript:alert('操作成功!');location.href='xueshengxinxiadd.php';</script>";
}
?>
<html>
<head>
<title>学生信息</title>
<LINK href="qtimages/style.css" type=text/css rel=stylesheet>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<script type="text/javascript" src="js/My97DatePicker/WdatePicker.js" charset="gb2312"></script>
<script language="javascript">
function OpenScript(url,width,height)
{
var win = window.open(url,"SelectToSort",'width=' + width + ',height=' + height + ',resizable=1,scrollbars=yes,menubar=no,status=yes' );
}
function OpenDialog(sURL, iWidth, iHeight)
{
var oDialog = window.open(sURL, "_EditorDialog", "width=" + iWidth.toString() + ",height=" + iHeight.toString() + ",resizable=no,left=0,top=0,scrollbars=no,status=no,titlebar=no,toolbar=no,menubar=no,location=no");
oDialog.focus();
}
function check()
{
if(document.form1.xuehao.value==""){alert("请输入学号");document.form1.xuehao.focus();return false;}
if(document.form1.mima.value==""){alert("请输入密码");document.form1.mima.focus();return false;}
if(document.form1.xingming.value==""){alert("请输入姓名");document.form1.xingming.focus();return false;}
if(document.form1.shengao.value==""){alert("请输入身高");document.form1.shengao.focus();return false;}
if((/^(\+|-)?(0|[1-9]\d*)(\.\d*[1-9])?$/.test(document.form1.shengao.value))){}else{alert("身高必需数字型");document.form1.shengao.focus();return false;}
if(document.form1.tizhong.value==""){alert("请输入体重");document.form1.tizhong.focus();return false;}
if((/^(\+|-)?(0|[1-9]\d*)(\.\d*[1-9])?$/.test(document.form1.tizhong.value))){}else{alert("体重必需数字型");document.form1.tizhong.focus();return false;}
if((/^(\+|-)?(0|[1-9]\d*)(\.\d*[1-9])?$/.test(document.form1.jifen.value))){}else{alert("积分必需数字型");document.form1.jifen.focus();return false;}
}
function gow()
{
后面还有 95 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。