?? insert_dd.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>物流配送信息網(wǎng)</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<table class="ziti" width="687" border="0" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF" bgcolor="#666666">
<tr>
<td align="center" bgcolor="#FFFFFF">
<iframe name="content" src="insert_dds.php?ljid=<?php echo $ljid;?>" frameborder="0" width="97%" height="252%"></iframe></td>
</tr>
<tr>
<td height="28" align="center" valign="top" bgcolor="#FFFFFF">
<script language="javascript">
function check_dd(){
if(content.form5.fahuo_id.value==""){
alert("請輸入訂單編號!");
content.form5.fahuo_id.focus();
return (false);
}
if(content.form5.fahuo_user.value==""){
alert("請輸入發(fā)貨人");
content.form5.fahuo_user.focus();
return (false);
}
if(content.form5.fahuo_content.value==""){
alert("請輸入貨物信息!");
content.form5.fahuo_content.focus();
return (false);
}
if(content.form5.fahuo_address.value==""){
alert("請輸入發(fā)貨地址!");
content.form5.fahuo_address.focus();
return (false);
}
if(content.form5.shouhuo_user.value==""){
alert("請輸入收貨人!");
content.form5.fahuo_user.focus();
return (false);
}
if(content.form5.shouhuo_address.value==""){
alert("請輸入收貨地址!");
content.form5.fahuo_address.focus();
return (false);
}
if(content.form5.car_log.value==""){
alert("請輸入車輛使用信息!");
content.form5.car_log.focus();
return (false);
}
content.form5.submit()
}
</script>
<input type="button" value="提交" onClick="check_dd()">
<input type="button" value="重置" onClick="content.form5.reset()">
<a href="#" onClick="parent.content.focus();window.print();"><img src="images/dl_033.gif" width="87" height="27" border="0"></a></td>
</tr>
</table>
</body>
</html>
<?php
}else{
echo "<script>alert('請您正確登錄!'); window.location.href='index.php';</script>";
}
?>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -