📄 add.php
字号:
<?php
include_once( "inc/auth.php" );
include_once( "inc/utility_sms1.php" );
include_once( "inc/check_type.php" );
include_once( "inc/utility_all.php" );
echo "\r\n<html>\r\n<head>\r\n<title>保存快递</title>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n</head>\r\n\r\n<body class=\"bodycolor\" topmargin=\"5\">\r\n\r\n";
$SEND_TIME = date( "Y-m-d H:i:s", time( ) );
if ( $ORDER_ID == "" )
{
$query = "insert into DINING_ORDER(MENU_ID,COUNT,REMARK,SEND_TIME,USER_ID) values ('".$MENU_ID."','{$COUNT}','{$REMARK}','{$SEND_TIME}','{$LOGIN_USER_ID}')";
}
else
{
$query = "update DINING_ORDER set MENU_ID='".$MENU_ID."',REMARK='{$REMARK}',COUNT='{$COUNT}',SEND_TIME='{$SEND_TIME}' where ORDER_ID={$ORDER_ID}";
}
exequery( $connection, $query );
echo "\r\n<script>\r\nlocation=\"index.php\";\r\n</script>\r\n</body>\r\n</html>\r\n";
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -