【php开源代码栏目提醒】:文章导读:在新的一年中,各位网友都进入紧张的学习或是工作阶段。网学会员整理了php开源代码-select_dhd.php的相关内容供大家参考,祝大家在新的一年里工作和学习顺利!
<?php session_start(); include("conn/conn.php");
if($_SESSION[admin_user]==true){
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>物流配送信息网</title>
</head>
<body>
<table class="ziti" width="685" border="1" cellpadding="1" cellspacing="1" bordercolor="#FFFFFF" bgcolor="#666666">
<tr><form name="form1" method="post" action="indexs.php?lmbs=回执发货单确认">
<td width="195" height="26" bgcolor="#FFFFFF"> </td>
<td width="75" bgcolor="#FFFFFF">发货单编号</td>
<td width="168" bgcolor="#FFFFFF"><input name="select" type="text" id="select" size="15"></td>
<td width="284" bgcolor="#FFFFFF"><input type="submit" name="Submit" value="提交"></td> </form>
</tr>
</table>
<?php
if($Submit==true){
$query="select * from tb_shopping where fahuo_id='$select'";
$result=mysql_query($query);
if(mysql_num_rows($result)<1){
echo "您查找的发货单编号不存在!";
}else{
$myrow=
mysql_fetch_array($result);
?>
<table class="ziti" width="685" border="1" cellpadding="1" cellspacing="1" bordercolor="#FFFFFF" bgcolor="#666666">
<tr>
<td colspan="5" bgcolor="#FFFFFF"> </td>
</tr>
<tr>
<td width="83" align="center" bgcolor="#FFFFFF">发货单编号:</td>
<td width="144" bgcolor="#FFFFFF"><?php echo $myrow[fahuo_id];?></td>
<td width="71" bgcolor="#FFFFFF">车牌号码:</td>
<td width="146" bgcolor="#FFFFFF"><input name="car_number" type="text" size="18" value="<?php echo $myrow[car_number];?>"/></td>
<td width="213" bgcolor="#FFFFFF">联系电话:
<input name="car_tel" type="text" size="18" value="<?php echo $myrow[car_tel];?>"/></td>
</tr>
<tr>
<td align="center" bgcolor="#FFFFFF">发货人:</td>
<td bgcolor="#FFFFFF"><input name="fahuo_user" type="text" size="18" value="<?php echo $myrow[fahuo_user];?>" /></td>
<td bgcolor="#FFFFFF">电话:</td>
<td bgcolor="#FFFFFF"><input name="fahuo_tel" type="text" size="18" value="<?php echo $myrow[fahuo_tel];?>"/></td>
<td bgcolor="#FFFFFF">付款方式:
<select name="fahuo_fk">
<option value="<?php echo $myrow[fahuo_fk];?>"><?php echo $myrow[fahuo_fk];?></option>
</select> </td>
</tr>
<tr>
<td align="center" bgcolor="#FFFFFF">货物描述:</td>
<td colspan="4" bgcolor="#FFFFFF"><textarea name="fahuo_content"><?php echo $myrow[fahuo_content];?></textarea></td>
</tr>
<tr>
<td align="center" bgcolor="#FFFFFF">发货地址</td>
<td colspan="4" bgcolor="#FFFFFF"><textarea name="fahuo_address"><?php echo $myrow[fahuo_address];?></textarea></td>
</tr>
<tr>
<td align="center" bgcolor="#FFFFFF">收货人:</td>
<td bgcolor="#FFFFFF"><input name="shouhuo_user" type="text" size="18" value="<?php echo $myrow[shouhuo_user];?>"/></td>
<td bgcolor="#FFFFFF"> </td>
<td colspan="2" bgcolor="#FFFFFF">收货人电话:
<input name="shouhuo_tel" type="text" size="18" value="<?php echo $myrow[shouhuo_tel];?>" /></td>
</tr>
<tr>
<td align="center" bgcolor="#FFFFFF">收货地址:</td>
<td colspan="4" bgcolor="#FFFFFF"><textarea name="shouhuo_address"><?php echo $myrow[shouhuo_address];?></textarea></td>
</tr>
<tr>
<td align="center" bgcolor="#FFFFFF">发货单处理:</td>
<td colspan="4" bgcolor="#FFFFFF"><?php echo $myrow[fahuo_ys];?></td>
</tr>
<tr>
<td align="center" bgcolor="#FFFFFF">说明:</td>
<td colspan="4" bgcolor="#FFFFFF"><textarea name="car_log">
<?php
$querys="select * from tb_car_log where fahuo_id='$myrow[fahuo_id]'";
$results=my
sql_query($querys);
$myrows=mysql_fetch_array($results);
echo $myrows[car_log];
?>
</textarea></td>
</tr>
<tr>
<td height="26" bgcolor="#FFFFFF"> </td>
<td bgcolor="#FFFFFF"><a href="fhd_qr.php?fahuo_id=<?php echo $myrow[fahuo_id];?>">发货订单回执确认</a></td>
<td bgcolor="#FFFFFF"> </td>
<td bgcolor="#FFFFFF"> </td>
<td bgcolor="#FFFFFF"> </td>
</tr>
</table>
<?php }}?>
</body>
</html>
<?php
}else{
echo "<script>alert('请您正确登录!'); window.location.href='index.php';</script>";
}
?>