givebackok.php
来自「图书管理系统」· PHP 代码 · 共 42 行
PHP
42 行
<?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 + =
减小字号Ctrl + -
显示快捷键?