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

📄 query.php

📁 通达网络办公 - Office Anywhere 2008 增强版100%源码(3.4.081216) 内含 通达OA2008增強版接近完美破解补丁20081216集 及 最新通达OA2008ADV(
💻 PHP
字号:
<?php

include_once( "inc/auth.php" );
echo "\r\n<html>\r\n<head>\r\n<title>讲师查询</title>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\"><script src=\"/inc/js/module.js\"></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\" align=\"center\">\r\n<tr>\r\n  <td class=\"Big\"><img src=\"/images/menu/hrms.gif\" align=\"absmiddle\" width=\"22\" height=\"18\"><span class=\"big3\"> 讲师查询</span></td>\r\n</tr>\r\n</table><br>\r\n<table class=\"TableBlock\" width=\"400\"  align=\"center\">\r\n<form enctype=\"multipart/form-data\" action=\"search.php\"  method=\"post\" name=\"form1\">\r\n    <tr>\r\n      <td nowrap class=\"TableContent\" width=\"80\"> 讲师编号:</td>\r\n      <td class=\"TableData\">\r\n        <input type=\"text\" name=\"TEACHER_NO\" size=\"14\" maxlength=\"100\" class=\"BigInput\" value=\"";
echo $TEACHER_NO;
echo "\">\r\n      </td>\r\n    </tr>\r\n    <tr>\r\n      <td nowrap class=\"TableContent\">  讲师姓名:</td>\r\n      <td class=\"TableData\">\r\n        <input type=\"text\" name=\"TEACHER_NAME\" size=\"14\" maxlength=\"100\" class=\"BigInput\" value=\"";
echo $TEACHER_NAME;
echo "\">\r\n      </td>\r\n    </tr>\r\n    <tr>\r\n      <td nowrap class=\"TableContent\"> 讲授课程:</td>\r\n      <td class=\"TableData\">\r\n   \t    <select name=\"TCOURSE_ID\" class=\"BigSelect\">\r\n   \t    \t <option value=\"\" ";
if ( $TCOURSE_ID == "" )
{
	echo "selected";
}
echo ">请选择</option>\r\n";
$query = "SELECT * from TRAIN_COURSES";
$cursor = exequery( $connection, $query );
while ( $ROW = mysql_fetch_array( $cursor ) )
{
	$COURSE_ID = $ROW['COURSE_ID'];
	$COURSE_NAME = $ROW['COURSE_NAME'];
	echo "           <option value=\"";
	echo $COURSE_ID;
	echo "\" ";
	if ( $TCOURSE_ID == $COURSE_ID )
	{
		echo "selected";
	}
	echo ">";
	echo $COURSE_NAME;
	echo "</option>\r\n";
}
echo "       </select>\r\n      </td>\r\n    </tr>\r\n <tr class=\"TableControl\">\r\n  <td colspan=\"9\" align=\"center\">\r\n   <input type=\"submit\" value=\"查询\" class=\"BigButton\">&nbsp;&nbsp;\r\n  </td>\r\n </tr>\r\n</form>\r\n</table>\r\n</body>\r\n</html>";
?>

⌨️ 快捷键说明

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