114 lines
4.6 KiB
PHP
114 lines
4.6 KiB
PHP
|
<?php require_once('Connections/jc.php'); ?>
|
|||
|
<?php
|
|||
|
mysql_select_db($database_jc, $jc);
|
|||
|
$query_Recordset1 = "SELECT * FROM jiaocai";
|
|||
|
$Recordset1 = mysql_query($query_Recordset1, $jc) or die(mysql_error());
|
|||
|
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
|
|||
|
$totalRows_Recordset1 = mysql_num_rows($Recordset1);
|
|||
|
|
|||
|
mysql_select_db($database_jc, $jc);
|
|||
|
$query_Recordset2 = "SELECT * FROM zhengding";
|
|||
|
$Recordset2 = mysql_query($query_Recordset2, $jc) or die(mysql_error());
|
|||
|
$row_Recordset2 = mysql_fetch_assoc($Recordset2);
|
|||
|
$totalRows_Recordset2 = mysql_num_rows($Recordset2);
|
|||
|
?><!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><EFBFBD>ޱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ĵ<EFBFBD></title>
|
|||
|
<style type="text/css">
|
|||
|
<!--
|
|||
|
.txt {font-size: 12px;
|
|||
|
color: #000000;
|
|||
|
}
|
|||
|
-->
|
|||
|
</style>
|
|||
|
</head>
|
|||
|
|
|||
|
<body topmargin="0" bottommargin="0" marginwidth="0" marginheight="0">
|
|||
|
<?php include("head.php");?>
|
|||
|
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="txt">
|
|||
|
<tr>
|
|||
|
<td align="center"><form id="form1" name="form1" method="POST">
|
|||
|
<label></label>
|
|||
|
<label></label>
|
|||
|
<table width="760" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC" class="txt">
|
|||
|
<tr>
|
|||
|
<td colspan="6" align="center" valign="bottom"><EFBFBD>̲<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td width="12%" align="center" valign="bottom"><EFBFBD>̲ı<EFBFBD><EFBFBD><EFBFBD></td>
|
|||
|
<td width="12%" align="center" valign="bottom"><EFBFBD>̲<EFBFBD><EFBFBD><EFBFBD></td>
|
|||
|
<td width="12%" align="center" valign="bottom"><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
|||
|
<td width="12%" align="center" valign="bottom"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
|||
|
<td width="12%" align="center" valign="bottom"><EFBFBD>汾<EFBFBD><EFBFBD></td>
|
|||
|
<td width="12%" align="center" valign="bottom"><EFBFBD>̲<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
|||
|
</tr>
|
|||
|
<%
|
|||
|
While ((Repeat1__numRows <> 0) AND (NOT Recordset2.EOF))
|
|||
|
%>
|
|||
|
<?php do { ?>
|
|||
|
<tr>
|
|||
|
<td align="center" valign="bottom"><?php echo $row_Recordset1['jcbianhao']; ?></td>
|
|||
|
<td align="center" valign="bottom"><?php echo $row_Recordset1['jcming']; ?></td>
|
|||
|
<td align="center" valign="bottom"><?php echo $row_Recordset1['zuozhe']; ?></td>
|
|||
|
<td align="center"><?php echo $row_Recordset1['cbshe']; ?></td>
|
|||
|
<td align="center" valign="bottom"><?php echo $row_Recordset1['banben']; ?></td>
|
|||
|
<td align="center" valign="bottom"><a href="zding.php?jcbianhao=<?php echo $row_Recordset1['jcbianhao']; ?>"><EFBFBD>̲<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a></td>
|
|||
|
</tr>
|
|||
|
<?php } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)); ?>
|
|||
|
<%
|
|||
|
Repeat1__index=Repeat1__index+1
|
|||
|
Repeat1__numRows=Repeat1__numRows-1
|
|||
|
Recordset2.MoveNext()
|
|||
|
Wend
|
|||
|
%>
|
|||
|
</table>
|
|||
|
<p>
|
|||
|
<table width="760" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC" class="txt">
|
|||
|
<tr>
|
|||
|
<td colspan="6" align="center" valign="bottom"><EFBFBD>̲<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td width="12%" align="center" valign="bottom"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
|||
|
<td width="12%" align="center" valign="bottom"><EFBFBD>̲<EFBFBD><EFBFBD><EFBFBD></td>
|
|||
|
<td width="12%" align="center" valign="bottom"><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
|||
|
<td width="12%" align="center" valign="bottom"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
|||
|
<td width="12%" align="center" valign="bottom"><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
|||
|
<td width="12%" align="center" valign="bottom">ɾ<EFBFBD><EFBFBD></td>
|
|||
|
</tr>
|
|||
|
<%
|
|||
|
While ((Repeat1__numRows <> 0) AND (NOT Recordset2.EOF))
|
|||
|
%>
|
|||
|
<?php do { ?>
|
|||
|
<tr>
|
|||
|
<td align="center" valign="bottom"><?php echo $row_Recordset2['dingdan']; ?></td>
|
|||
|
<td align="center" valign="bottom"><?php echo $row_Recordset2['jcming']; ?></td>
|
|||
|
<td align="center" valign="bottom"><?php echo $row_Recordset2['zuozhe']; ?></td>
|
|||
|
<td align="center"><?php echo $row_Recordset2['zdren']; ?></td>
|
|||
|
<td align="center" valign="bottom"><?php echo $row_Recordset2['zdshuliang']; ?></td>
|
|||
|
<td align="center" valign="bottom"><a href="zzdel.php?dingdan=<?php echo $row_Recordset2['dingdan']; ?>">ɾ<EFBFBD><EFBFBD></a></td>
|
|||
|
</tr>
|
|||
|
<?php } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)); ?>
|
|||
|
<%
|
|||
|
Repeat1__index=Repeat1__index+1
|
|||
|
Repeat1__numRows=Repeat1__numRows-1
|
|||
|
Recordset2.MoveNext()
|
|||
|
Wend
|
|||
|
%>
|
|||
|
</table>
|
|||
|
<p> </p>
|
|||
|
|
|||
|
|
|||
|
</form>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
<?php include("foot.php");?>
|
|||
|
</body>
|
|||
|
</html>
|
|||
|
<?php
|
|||
|
mysql_free_result($Recordset1);
|
|||
|
|
|||
|
mysql_free_result($Recordset2);
|
|||
|
?>
|