shijuan_detail.php

(开头部分) 4KB

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

<?php 

include_once 'conn.php';
$id=$_GET["id"];
session_start();
?>
<!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=gb2312" />
<title>单选题</title><link rel="stylesheet" href="css.css" type="text/css">
</head>

<body>
<?php





$sql="select * from shijuanshengcheng where id=".$id;
$query=mysql_query($sql);
$rowscount=mysql_num_rows($query);
if($rowscount>0)
{
?>
<p>试卷编号:<?php echo mysql_result($query,$i,bianhao)?>,科目类型:<?php echo mysql_result($query,$i,kemu)?></p>
<table bgcolor="#ffffff" border="0" cellspacing="0" 
                              height="203" width="100%">
  <tbody>
    <tr>
      <td><form action="" method="post" name="form1" id="form1">
        <table width="100%" height="103" border="1" cellpadding="1" cellspacing="0" bordercolor="#F8C878">
          <tr>
            <td height="33" colspan="3">单选题</td>
          </tr>
         <?php
$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++)
	 {
?>
          <tr>
            <td width="9%" height="33">试题:</td>
            <td colspan="2">题目:<?php echo mysql_result($query2,$i2,timu)?>
                  <input name="xztshitida<?php echo mysql_result($query2,$i2,id)?>" type="hidden" id="xztshitida<?php echo mysql_result($query2,$i2,id)?>" value="<?php echo mysql_result($query2,$i2,daan)?>" /></td>
          </tr>
          <tr>
            <td rowspan="2">选项</td>
            <td width="52%"><input type="radio" name="xztxxa<?php echo mysql_result($query2,$i2,id)?>" value="A" />
              选项A:<?php echo mysql_result($query2,$i2,xuanxiangA)?></td>
            <td width="39%"><input type="radio" name="xztxxa<?php echo mysql_result($query2,$i2,id)?>" value="B" />
              选项B:<?php echo mysql_result($query2,$i2,xuanxiangB)?></td>
          </tr>
          <tr>
            <td><input type="radio" name="xztxxa<?php echo mysql_result($query2,$i2,id)?>" value="C" />
              选项C:<?php echo mysql_result($query2,$i2,xuanxiangC)?></td>
后面还有 59 行代码,购买后查看完整代码

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

AI 解读 AI

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

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