<?php 
session_start(); //开着身份验证，以
include("./sql/conn.php"); /////写
header("Content-type: text/html; charset=utf-8"); 
$llym = $_SERVER["HTTP_REFERER"];
?>


<!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>导入考生信息</title>
<link href="css/css.css" rel="stylesheet" type="text/css" />
</head>

<body>



<div id="head_k">
<div id="head_n" class="yy" >
<?php include("./zj/head.php"); /////写 ?>
</div>
</div>



<div id="all" class="yy">
<?php include("./zj/kg_dh.php"); /////写 ?>

<br />
<p align="center">考生信息录入</p>
<form action=./run/kg_drks.php?tjx=tjx method=post style="text-align:center">
<select name="nr" style="width:800px;  " ><option value=""></option>
<?php
$result = mysql_query("SELECT * FROM ".$b_qz."_ks_name ORDER BY id DESC " );/// DESC 
while($row = mysql_fetch_array($result))
{
echo "<option value=".$row['name']." >".$row['name']."</option>";
}
?>
</select><br />
<textarea name="ks" style="width:800px; height:185px; " ></textarea> <br />
<input name="submit" style="width:800px; " type=submit class="inp" onClick=return value=提交批量导入 confirm('确定！？') /></form>

<br />
　每行按“姓名,单位,身份证号,电话”示例进行输入!<br /> 
<br />



<form action=./run/kg_drks.php?tj=tj method=post style="text-align:center">
<center>
<table align="center" style="text-align:center">
  <tr>
    <td>考试</td>
    <td>姓名</td>
    <td>单位</td>
    <td>身份证号</td>
    <td>电话</td>
    <td>-</td>
  </tr>
  <tr>
    <td><select name="nr" style="width:158px;  " ><option value=""></option>
<?php
$result = mysql_query("SELECT * FROM ".$b_qz."_ks_name ORDER BY id DESC " );/// DESC 
while($row = mysql_fetch_array($result))
{
echo "<option value=".$row['name']." >".$row['name']."</option>";
}
?>
</select></td>
    <td><textarea name="a" style='width:138px; height:20px;'></textarea></td>
    <td><textarea name="b" style='width:138px; height:20px;'></textarea></td>
    <td><textarea name="c" style='width:138px; height:20px;'></textarea></td>
    <td><textarea name="d" style='width:138px; height:20px;'></textarea></td>
    <td><input type=submit value=单条增加  /></td>
  </tr>
</table>
</center>
</form>

</div>




<div id="foot_k">
<div id="foot_n" class="yy" >
<?php include("./zj/foot.php"); /////写 ?>
</div>
</div>





</body>
</html>



<?php include("./sql/close.php"); /////写?>