⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 del1.php

📁 图书管理系统
💻 PHP
字号:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 3.0">
<title>删除内容</title>
<style type="text/css">
BODY {        color: #0000ff; FONT-FAMILY: "宋体"; FONT-SIZE: 12pt }
a:link {  color: #D033ff; FONT-FAMILY: "宋体"; FONT-SIZE: 9pt; text-decoration: none}
a:hover {  color: #0000ff; FONT-FAMILY: "宋体"; FONT-SIZE: 9pt; text-decoration: none}
a:visited {  color: #D033FF; FONT-FAMILY: "宋体"; FONT-SIZE: 9pt; text-decoration: none}
</style>
</head>
<body background="bg.gif">
<?
include("header.inc");
$query=mysql_query("select sm from wenxue1 where smxlh='$smxlh'");
$array=mysql_fetch_row($query);
echo '<h1 align="center"><font color="#8000FF">删除 <font color="#D03300">'.$array[0].'</font> 内容</font></h1>';
if ($submit)
{
mysql_query("delete from wenxue where smxlh='$smxlh' and time='$time' and date='$date'");
echo "<font color='Blue'>".$array[0]."删除成功</font>";
echo '<p align="center"><a href="javascript:window.close()">关闭窗口</a></p>';
} else {
$page1=$page-1;
$query=mysql_query("select bt,nr,date,time from wenxue where smxlh='$smxlh' order by date,time limit $page1,1");
$array=mysql_fetch_row($query);
echo '<form method="POST" action="del1.php?smxlh='.$smxlh.'&date='.$array[2].'&time='.$array[3].'">';
echo '<p>章节或标题:<input type="text" name="bt1" size="20" value='.$array[0].'><br>';
echo '  内容:<textarea rows="14" name="nr1" cols="80">'.$array[1].'</textarea><br>';
echo '<p>日期:<input type="text" name="date1" size="20" value='.$array[2].'><br>';
echo '<p>时间:<input type="text" name="time1" size="20" value='.$array[3].'><br>';
echo '<input type="submit" value="删除" name="submit"></p></form>';
}
?>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -