📄 givebackok.php
字号:
<?php
require "conn.php";
require "admin/adminfun.inc";
require "top.php"
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><?php echo $webname;?>_归还图书执行结果</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="default.css" rel="stylesheet" type="text/css" />
</head>
<body>
<center>
<?
//取得提交的借阅信息
$tuserid=trim($_POST['userid']);
$tbookid = "";
if($_POST['bookid'] != "")
{
$tbookid=trim($_POST['bookid']);
}
else
{
$tbookid=trim($_POST['bookid2']);
}
$tgivebackdate=trim($_POST['givebackdate']);
$tstate = trim($_POST['state']);
$tmemo=nl2br(htmlspecialchars($_POST['memo']));
$afun = new adminos();
$afun -> gbbook($tuserid,$tbookid,$tgivebackdate,$tstate,$tmemo,$loan);
?>
</center>
</body>
</html>
<center>
<?php
require "foot.php";
?>
</center>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -