shijuan_detail2.php

(开头部分) 6KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<?php 
include_once 'conn.php';
session_start();


$id=$_GET["id"];
$jj=$_POST["jj"];

if($id==4){


$sql="select * from chengji where yonghuming='".$_SESSION["username"]."' and kemu='正式考试'";
$query=mysql_query($sql);
$rowscount=mysql_num_rows($query);
if($rowscount>1)
{
echo "<script>javascript:alert('你已经考过两次了!');location.href='shijuanshengcheng_list2.php';</script>";

}

}

if ($jj=="1" )
{
	
	$sql="select * from shijuanshengcheng where id=".$id;
	$query=mysql_query($sql);
	$rowscount=mysql_num_rows($query);
	$cj=0;
	 $sql2="select * from danxuanti where id in (".mysql_result($query,$i,danxuanti).")";
	$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+mysql_result($query,0,danxuanfenzhi);
		 }
	 }
	 
	 }
	 $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>";
后面还有 139 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。