📄 move.php
字号:
<?
include_once("inc/auth.php");
if(isset($Submit))
{
$query = "update BBS_COMMENT set BOARD_ID='$TO_ID' where COMMENT_ID=$COMMENT_ID or PARENT=$COMMENT_ID";
exequery($connection,$query);
?>
<script>
opener.location.reload();
window.close();
</script>
<?
}
?>
<html>
<head>
<title>帖子转移</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body class="bodycolor" topmargin="5">
<table border="0" width="100%" cellspacing="0" cellpadding="1" class="small">
<tr>
<td class="Big"><img src="/images/menu/bbs.gif" width="17" height="17"><span class="big3"> 帖子转移</span><br>
</td>
</tr>
</table>
<br>
<form enctype="multipart/form-data" action="move.php" method="post" name="form1">
<table border="0" width="90%" cellpadding="2" cellspacing="1" align="center" bgcolor="#000000" class="small">
<tr class="TableHeader" align="center">
<td width="70">转移至 </td>
<td>
<select name="TO_ID" class="BigSelect">
<?
$query = "SELECT * from BBS_BOARD where BOARD_ID!=$BOARD_ID";
$cursor= exequery($connection,$query);
while($ROW=mysql_fetch_array($cursor))
{
$BOARD_ID=$ROW["BOARD_ID"];
$BOARD_NAME=$ROW["BOARD_NAME"];
?>
<option value="<?=$BOARD_ID?>" <? if($TO_ID==$BOARD_ID) echo "selected";?>><?=$BOARD_NAME?></option>
<?
}
?>
</select>
</td>
</tr>
</table>
<br><br>
<center>
<input type="hidden" value="<?=$COMMENT_ID?>" name="COMMENT_ID">
<input type="hidden" value="<?=$BOARD_ID?>" name="BOARD_ID">
<input type="submit" value="确定" name="Submit" class="BigButton">
<input type="button" value="取消" class="BigButton" onclick="window.close()">
</center>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -