📄 allow.php
字号:
<?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:m:s", time( ) );
$connection = openconnection( );
if ( $ALLOW == 3 )
{
$query_str = ",RETURN_TIME='".$CUR_TIME."',RETURN_USER='{$LOGIN_USER_ID}'";
}
else
{
$query_str = ",ALLOW_TIME='".$CUR_TIME."'";
}
if ( $ALLOW == 1 )
{
$query_str = ",ALLOW_USER='".$LOGIN_USER_ID."',ALLOW_TIME='{$CUR_TIME}'";
}
$query = "update RMS_LEND set ALLOW=".$ALLOW." {$query_str} where LEND_ID={$LEND_ID}";
exequery( $connection, $query );
if ( $OP == 1 )
{
header( "location: apply.php" );
}
else if ( $OP == 3 )
{
header( "location: confirm/search.php?TO_ID=".$TO_ID."&FILE_CODE={$FILE_CODE}&START_1={$START_1}&END_1={$END_1}&START_2={$START_2}&END_2={$END_2}&START_3={$START_3}&END_3={$END_3}&ALLOW={$ALLOW}" );
}
else
{
header( "location: confirm/confirm.php?ALLOW1=".$ALLOW );
}
echo "\r\n</body>\r\n</html>\r\n";
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -