📄 submit.php
字号:
<?php
include_once( "inc/auth.php" );
ob_start( );
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";
if ( !stristr( $HTTP_REFERER, "/general/file_folder/folder_byname/" ) )
{
exit( );
}
$query = "SELECT count(*) from FILE_SORT_BYNAME where SORT_ID=".$SORT_ID." and USER_ID='{$LOGIN_USER_ID}'";
$cursor = exequery( $connection, $query );
if ( $ROW = mysql_fetch_array( $cursor ) )
{
$COUNT = $ROW['0'];
}
if ( 0 < $COUNT )
{
$query = "update FILE_SORT_BYNAME set BYNAME_NO='".$BYNAME_NO."',BYNAME_NAME='{$BYNAME_NAME}' where SORT_ID={$SORT_ID} and USER_ID='{$LOGIN_USER_ID}'";
}
else
{
$query = "insert into FILE_SORT_BYNAME (BYNAME_NO,BYNAME_NAME,SORT_ID,USER_ID) values('".$BYNAME_NO."','{$BYNAME_NAME}','{$SORT_ID}','{$LOGIN_USER_ID}')";
}
exequery( $connection, $query );
header( "location: ../folder.php?FILE_SORT=".$FILE_SORT."&SORT_ID={$SORT_ID}&RELOAD_TREE=1" );
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -