📄 change_sort.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\r\n<body class=\"bodycolor\" topmargin=\"5\" onload=\"\">\r\n\r\n";
$connection = openconnection( );
if ( $SORT == 0 )
{
$TOK = strtok( $FILE_STR, "," );
while ( $TOK != "" )
{
$query = "update FILE_CONTENT set SORT_ID={$SORT_PARENT} where CONTENT_ID={$TOK}";
exequery( $connection, $query );
$TOK = strtok( "," );
}
}
else if ( $SORT == 1 )
{
if ( $FILE_SORT == 2 && $SORT_PARENT == 0 )
{
$SET_STR = ",SORT_TYPE=4,USER_ID='{$LOGIN_USER_ID}'";
}
$query = "update FILE_SORT set SORT_PARENT={$SORT_PARENT}".$SET_STR." where SORT_ID={$SORT_ID}";
exequery( $connection, $query );
}
echo "<s";
echo "cript Language=\"JavaScript\">\r\n";
if ( $SORT == 1 )
{
echo " parent.file_tree.location.reload();\r\n";
}
echo " window.location=\"folder.php?SORT_ID=";
echo $SORT_ID;
echo "&FILE_SORT=";
echo $FILE_SORT;
echo "&PAGE_START=";
echo $PAGE_START;
echo "\";\r\n</script>\r\n\r\n</body>\r\n</html>\r\n";
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -