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

📄 index.php

📁 极限网络智能办公系统 - Office Automation 2008 官方100% 源码
💻 PHP
字号:
<?php
 

include_once( "inc/auth.php" );
include_once( "inc/utility_all.php" );
echo "\r\n<html>\r\n<head>\r\n<title>登记图书 </title>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n<script>\r\nfunction LoadWindow2()\r\n{\r\n  URL=\"/general/book/borrow_manage/borrow/bookno_select\";\r\n  loc_x=document.body.scrollLeft+event.clientX-event.offsetX-100;\r\n  loc_y=document.body.scrollTop+event.clientY-event.offsetY+170;\r\n  window.showModalDialog(URL,self,\"edge:raised;scroll:0;status:0;help:0;resizable:1;dialogWidth:320px;dialogHeight:245px;dialogTop:\"+loc_y+\"px;dialogLeft:\"+loc_x+\"px\");\r\n}\r\n\r\n</script>\r\n</head>\r\n\r\n<body class=\"bodycolor\" topmargin=\"5\">\r\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"3\" class=\"small\">\r\n  <tr>\r\n    <td class=\"Big\"><img src=\"/images/notify_new.gif\" align=\"absmiddle\"><span class=\"big3\"> 登记图书 </span>&nbsp;&nbsp;<span class=small1>指定多关键词可用 '|' 分开</span><br>\r\n    </td>\r\n  </tr>\r\n</table>\r\n\r\n<div align=\"center\">\r\n<input type=\"button\"  value=\"登记图书\" class=\"BigButton\" onClick=\"location='new.php';\" title=\"添加新的图书\">\r\n</div>\r\n\r\n<br>\r\n\r\n<table width=\"95%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" height=\"3\">\r\n <tr>\r\n   <td background=\"/images/dian1.gif\" width=\"100%\"></td>\r\n </tr>\r\n</table>\r\n";
$query = "SELECT * from USER where USER_ID='".$LOGIN_USER_ID."'";
$cursor = exequery( $connection, $query );
if ( $ROW = mysql_fetch_array( $cursor ) )
{
	$POST_PRIV = $ROW['POST_PRIV'];
	$POST_DEPT = $ROW['POST_DEPT'];
}
echo "\r\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"3\" class=\"small\">\r\n  <tr>\r\n    <td class=\"Big\"><img src=\"/images/notify_open.gif\" align=\"absmiddle\"><span class=\"big3\"> 管理图书</span>\r\n    </td>\r\n  </tr>\r\n</table>\r\n<br>\r\n<div align=\"center\">\r\n\r\n<table border=\"0\" cellspacing=\"1\" width=\"450\" class=\"small\" bgcolor=\"#000000\" cellpadding=\"3\" align=\"center\" >\r\n  <form action=\"list.php\"  method=\"post\" name=\"form1\" >  \r\n   <tr>\r\n    <td nowrap class=\"TableData\">部门:</td>\r\n    <td nowrap class=\"TableData\">\r\n        <select name=\"DEPT_ID\" class=\"BigSelect\">\r\n";
if ( $POST_PRIV == "1" )
{
	echo "          <option value=\"all\">所有部门</option>\r\n";
}
echo my_dept_tree( 0, $LOGIN_DEPT_ID, 0 );
echo "        </select>\r\n    </td>\r\n   </tr>\r\n   <tr>\r\n    <td nowrap class=\"TableData\">图书类别:</td>\r\n    <td nowrap class=\"TableData\">\r\n        <select name=\"TYPE_ID\" class=\"BigSelect\">\r\n          <option value=\"all\">所有</option>\r\n";
echo my_booktype_tree( 0, 0 );
echo "        </select>\r\n    </td>\r\n   </tr>\r\n   <tr>\r\n    <td nowrap class=\"TableData\">书名: </td>\r\n    <td nowrap class=\"TableData\">\r\n        <input type=\"text\" name=\"BOOK_NAME\" class=\"BigInput\" size=\"33\" maxlength=\"100\">&nbsp;\r\n    </td>\r\n   </tr>\r\n   <tr>\r\n    <td nowrap class=\"TableData\">图书编号:</td>\r\n    <td class=\"TableData\">\r\n      <input type=\"text\" name=\"BOOK_NO\" class=\"BigStatic\" size=\"26\" maxlength=\"100\" readonly value=\"";
echo $BOOK_NO;
echo "\">&nbsp;\r\n      <input type=\"button\" value=\"选 择\" class=\"SmallButton\" onClick=\"LoadWindow2()\" title=\"选择图书编号\" name=\"button\">\r\n    </td> \r\n   </tr>\r\n   <tr>\r\n    <td nowrap class=\"TableData\">作者: </td>\r\n    <td nowrap class=\"TableData\">\r\n        <input type=\"text\" name=\"AUTHOR\" class=\"BigInput\" size=\"33\" maxlength=\"100\">&nbsp;\r\n    </td>\r\n   </tr>\r\n   <tr>\r\n    <td nowrap class=\"TableData\">ISBN号: </td>\r\n    <td nowrap class=\"TableData\">\r\n        <input type=\"text\" name=\"ISBN\" class=\"BigInput\" size=\"33\" maxlength=\"100\">&nbsp;\r\n    </td>\r\n   </tr>\r\n   <tr>\r\n    <td nowrap class=\"TableData\">出版社: </td>\r\n    <td nowrap class=\"TableData\">\r\n        <input type=\"text\" name=\"PUB_HOUSE\" class=\"BigInput\" size=\"33\" maxlength=\"100\">&nbsp;\r\n    </td>\r\n   </tr>\r\n   <tr>\r\n    <td nowrap class=\"TableData\">排序字段:</td>\r\n    <td nowrap class=\"TableData\">\r\n        <select name=\"ORDER_FIELD\" class=\"BigSelect\">\r\n          <option value=\"DEPT_ID\">部门 </option>\r\n          <option value=\"TYPE_ID\">类别 </option>\r\n          <option value=\"BOOK_NAME\">书名 </option>\r\n          <option value=\"AUTHOR\">作者 </option>\r\n          <option value=\"PUB_HOUSE\">出版社 </option>\r\n        </select>\r\n    </td>\r\n   </tr>\r\n   <tr>\r\n    <td nowrap  class=\"TableControl\" colspan=\"2\" align=\"center\">\r\n        <input type=\"submit\" value=\"查询\" class=\"BigButton\" title=\"模糊查询\" name=\"button\">\r\n    </td>\r\n   </tr>\r\n  </form>\r\n</table>\r\n\r\n</div>\r\n\r\n</body>\r\n</html>";
?>

⌨️ 快捷键说明

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