ceshi.php
(开头部分) 6KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?php
session_start();
include_once 'conn.php';
$id=$_GET["id"];
$jj=$_POST["jj"];
if ($jj=="1" )
{
$cj=0;
$sql2="select * from danxuanti ORDER BY rand() limit 5 ";
$query2=mysql_query($sql2);
$rowscount2=mysql_num_rows($query2);
if($rowscount2>0)
{
for($i2=0;$i2<$rowscount2;$i2++)
{
//echo $_POST["xztxxa".$i2];
//echo "666";
//echo $_POST["xztshitida".$i2];
//echo "<br>";
if ($_POST["xztxxa".$i2]==$_POST["xztshitida".$i2])
{
//echo $cj;
$cj=$cj+20;
}
}
}
// $cj2=0;
// $sql2="select * from duoxuanti where id in (".mysql_result($query,$i,duoxuanti).")";
// $query2=mysql_query($sql2);
// $rowscount2=mysql_num_rows($query2);
// if($rowscount2>0)
// {
// for($i2=0;$i2<$rowscount2;$i2++)
// {
// //echo $_POST["xztxxa".$i2];
// //echo "666";
// //echo $_POST["xztshitida".$i2];
// //echo "<br>";
// if ($_POST["dxtxxa".$i2]==$_POST["dxtshitida".$i2])
// {
// //echo $cj;
// $cj2=$cj2+mysql_result($query,0,duoxuanfenzhi);
// }
// }
//
// }
$zf=$cj;
$sql="insert into chengji(yonghuming,zf) values('".$_SESSION["username"]."',".$zf.")";
mysql_query($sql);
echo "<script>javascript:alert('交卷成功!您本次成绩为:".$zf."分!');location.href='index.php';</script>";
}
?>
<html>
<head>
<title>大学生健康管理系统</title>
后面还有 105 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。