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

📄 index.php

📁 泛微协同办公系统标准版E-office V5.5的源代码内含泛微办公系统V5.5自动注册文件。
💻 PHP
字号:
<?php

include_once( "inc/auth.php" );
include_once( "inc/utility_all.php" );
include_once( "inc/common.inc" );
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\r\n</head>\r\n\r\n<body class=\"bodycolor\" topmargin=\"5\">\r\n<form action=\"list.php\"  method=\"post\" name=\"form2\" >  \r\n<table border=\"0\" width=\"100%\" cellspacing=\"1\" cellpadding=\"0\" class=\"small\">\r\n  <tr class=\"tablehead1\">\r\n    <td><img src=\"/images/manage/asset.gif\" align=\"absmiddle\">新建图书\r\n    </td>\r\n";
echo "  </tr>\r\n  <tr class=\"tablehead2\">\r\n  <td>\r\n  <input type=\"image\" src=\"/images/button/search.gif\" title=\"模糊查询\">\r\n  <a href=\"new.php\"><img src=\"/images/button/addbook.gif\" border=\"0\"></a>\r\n    </td>\r\n  </tr>\r\n</table>\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";
$connection = openconnection( );
$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 "<table border=\"0\" cellspacing=\"1\" width=\"100%\" class=\"small\" cellpadding=\"5\">\r\n<tr>\r\n    <td nowrap class=\"TableLine2\">部门:</td>\r\n    <td nowrap class=\"TableLine1\">\r\n        ";
echo "<s";
echo "elect 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=\"TableLine2\">图书类别:</td>\r\n    <td nowrap class=\"TableLine1\">\r\n        ";
echo "<s";
echo "elect name=\"TYPE_ID\" class=\"BigSelect\">\r\n        <option value=\"all\">所有</option>\r\n";
$query = "SELECT * from BOOK_TYPE order by TYPE_ID";
$cursor = exequery( $connection, $query );
while ( $ROW = mysql_fetch_array( $cursor ) )
{
	$TYPE_ID2 = $ROW['TYPE_ID'];
	$TYPE_NAME = $ROW['TYPE_NAME'];
	echo "          <option value=\"";
	echo $TYPE_ID2;
	echo "\" ";
	if ( $TYPE_ID2 == $TYPE_ID1 )
	{
		echo "selected";
	}
	echo ">";
	echo $TYPE_NAME;
	echo "</option>\r\n";
}
echo "        </select>\r\n    </td>\r\n   </tr>\r\n   <tr>\r\n    <td nowrap class=\"TableLine2\">书名: </td>\r\n    <td nowrap class=\"TableLine1\">\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=\"TableLine2\">作者: </td>\r\n    <td nowrap class=\"TableLine1\">\r\n        <input type=\"text\" name=\"AUTHOR\" class=\"BigInput\" size=\"33\" maxle";
echo "ngth=\"100\">&nbsp;\r\n    </td>\r\n   </tr>\r\n   <tr>\r\n    <td nowrap class=\"TableLine2\">ISBN号: </td>\r\n    <td nowrap class=\"TableLine1\">\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=\"TableLine2\">出版社: </td>\r\n    <td nowrap class=\"TableLine1\">\r\n        <input type=\"text\" name=\"PUB_HOUSE\" class=\"BigInput\" size=\"33\" ma";
echo "xlength=\"100\">&nbsp;\r\n    </td>\r\n   </tr>\r\n   <tr>\r\n    <td nowrap class=\"TableLine2\">存放地点: </td>\r\n    <td nowrap class=\"TableLine1\">\r\n        <input type=\"text\" name=\"AREA\" class=\"BigInput\" size=\"33\" maxlength=\"100\">&nbsp;\r\n    </td>\r\n   </tr>\r\n   <tr>\r\n    <td nowrap class=\"TableLine2\">排序字段:</td>\r\n    <td nowrap class=\"TableLine1\">\r\n        ";
echo "<s";
echo "elect 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   \r\n  \r\n  \r\n</table>\r\n</form>\r\n\r\n\r\n</body>\r\n</html>";
?>

⌨️ 快捷键说明

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