📄 delete.php
字号:
<?php
include_once( "inc/auth.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<body class=\"bodycolor\">\r\n";
$query = "delete from OFFICE_TRANSHISTORY where PRO_ID='".$PRO_ID."'";
exequery( $connection, $query );
$query = "delete from OFFICE_PRODUCTS where PRO_ID='".$PRO_ID."'";
exequery( $connection, $query );
message( "提示", "办公用品信息删除成功!" );
if ( $iExpand == 1 )
{
echo "\t<div align=\"center\">\r\n\t<input type=\"button\" value=\"返回\" class=\"BigButton\" onClick=\"location='index.php'\">\r\n</div>\r\n";
}
else
{
echo "<div align=\"center\">\r\n\t<input type=\"button\" value=\"返回\" class=\"BigButton\" onClick=\"location='new.php'\">\r\n</div>\r\n<script language=javascript>\r\n\tparent.PRO_LIST.xtree1.redrawNode(\"";
echo $CODE_ID;
echo "\",\"delete\",\"\");\r\n</script>\r\n";
}
echo "</body>\r\n</html>\r\n";
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -