📄 index.php
字号:
<?
include_once 'inc/auth.php';
echo '
<html>
<head>
<title>重命名子文件夹</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
';
echo '<s';
echo 'cript Language="JavaScript">
function CheckForm()
{
if(document.form1.SORT_NAME.value=="")
{ alert("文件夹名称不能为空!");
return (false);
}
return (true);
}
</script>
</head>
';
if (!stristr ($HTTP_REFERER, '/general/file_folder/folder.php'))
{
exit ();
}
$query = ((''.'SELECT SORT_NO,SORT_NAME from FILE_SORT where SORT_ID=').$SORT_ID);
$cursor = exequery ($connection, $query);
if ($ROW = mysql_fetch_array ($cursor))
{
$SORT_NO = $ROW['SORT_NO'];
$SORT_NAME = $ROW['SORT_NAME'];
}
echo '
<body class="bodycolor" topmargin="0" onload="document.form1.SORT_NAME.focus();">
<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
<tr>
<td class="Big"><img src="/images/edit.gif" WIDTH="22" HEIGHT="20" align="absmiddle"><b>';
echo '<s';
echo 'pan class="Big1"> 重命名子文件夹</span></b>
</td>
</tr>
</table>
<br>
<table border="0" width="450" cellpadding="2" cellspacing="1" align="center" bgcolor="#000000" class="small">
<form action="submit.php" method="post" name="form1" onsubmit="return CheckForm();">
<tr>
<td nowrap class="TableData"> 排序号:</td>
<td class="TableData">
<input type="text" name="SORT_';
echo 'NO" size="20" maxlength="20" class="BigInput" value="';
echo $SORT_NO;
echo '">
</td>
</tr>
<tr>
<td nowrap class="TableData"> 文件夹名称:</td>
<td class="TableData">
<input type="text" name="SORT_NAME" size="25" maxlength="100" class="BigInput" value="';
echo $SORT_NAME;
echo '">
</td>
</tr>
<tr align="center" class="TableControl">
<td colspan="2" nowrap>
<input type="hidden" name="FILE_SORT" value="';
echo $FILE_SORT;
echo '">
<input type="hidden" name="SORT_ID" value="';
echo $SORT_ID;
echo '">
<input type="submit" value="确定" class="BigButton">
<input type="button" value="返回" class="BigButton" onClick="history.back();">
</td>
</tr>
</table>
</form>
</body>
</html>';
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -