allow.php

来自「通达网络办公 - Office Anywhere 2008 增强版100%源码(」· PHP 代码 · 共 27 行

PHP
27
字号
<?php

include_once( "inc/auth.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";
$CUR_TIME = date( "Y-m-d H:i:s", time( ) );
if ( $ALLOW == 3 )
{
	$query_str = ",RETURN_TIME='".$CUR_TIME."'";
}
else
{
	$query_str = ",ALLOW_TIME='".$CUR_TIME."'";
}
$query = "update RMS_LEND set ALLOW='".$ALLOW."' {$query_str} where LEND_ID={$LEND_ID}";
exequery( $connection, $query );
if ( $ALLOW == 3 )
{
	header( "location: search.php" );
}
else
{
	header( "location: confirm.php" );
}
echo "\r\n</body>\r\n</html>\r\n";
?>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?