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

📄 add_muster.php

📁 通达网络办公 - Office Anywhere 2008 增强版100%源码(3.4.081216) 内含 通达OA2008增強版接近完美破解补丁20081216集 及 最新通达OA2008ADV(
💻 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\"><script src=\"/inc/js/module.js\"></script>\r\n</head>\r\n";
$query = "SELECT * from TRAIN_NEWCOURSE where TRAINING_ID='".$APPLY_TID."'";
$cursor = exequery( $connection, $query );
if ( $ROW = mysql_fetch_array( $cursor ) )
{
	$TRAIN_ID = $ROW['TRAIN_ID'];
}
$query = "SELECT * from TRAIN_APPOINT_MUSTER where APPOINT_USER_ID='".$LOGIN_USER_ID."' and TRAINING_ID='{$APPLY_TID}'";
$cursor = exequery( $connection, $query );
if ( $ROW = mysql_fetch_array( $cursor ) )
{
	$APPOINT_MUSTER = $ROW['APPOINT_MUSTER'];
}
$TOK = strtok( $APPOINT_MUSTER, "," );
$USER_NAME = "";
while ( $TOK != "" )
{
	$query1 = "SELECT * from USER where USER_ID='".$TOK."'";
	$cursor1 = exequery( $connection, $query1 );
	if ( $ROW1 = mysql_fetch_array( $cursor1 ) )
	{
		$USER_NAME .= $ROW1['USER_NAME'].",";
	}
	$TOK = strtok( "," );
}
echo "\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/edit.gif\" WIDTH=\"22\" HEIGHT=\"20\" align=\"absmiddle\"><span class=\"big3\"> 添加必修人员名单</span>\r\n    </td>\r\n  </tr>\r\n</table>\r\n<br>\r\n<table class=\"TableBlock\" width=\"450\" align=\"center\" >\r\n  <form action=\"add_muster_submit.php\"  method=\"post\" name=\"form1\">  \r\n   <tr>\r\n    <td nowrap class=\"TableContent\" width=\"90\">培训课程编号:</td>\r\n    <td class=\"TableData\">\r\n      <input type=\"text\" name=\"TRAIN_ID\" size=\"10\" readonly maxlength=\"100\" class=\"BigStatic\" value=\"";
echo $TRAIN_ID;
echo "\">\r\n    </td>\r\n   </tr>\r\n   <tr>\r\n    <td nowrap class=\"TableContent\" width=\"90\">培训课程名称:</td>\r\n    <td class=\"TableData\">\r\n      <input type=\"text\" name=\"COURSE_NAME\" size=\"27\" readonly maxlength=\"100\" class=\"BigStatic\" value=\"";
echo $COURSE_NAME;
echo "\">\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=\"hidden\" name=\"COPY_TO_ID\" value=\"";
echo $APPOINT_MUSTER;
echo "\">\r\n        <textarea cols=\"30\" name=\"COPY_TO_NAME\" rows=\"5\" class=\"BigStatic\" wrap=\"yes\" readonly>";
echo $USER_NAME;
echo "</textarea>\r\n        <a href=\"javascript:;\" class=\"orgAdd\" onClick=\"SelectUser('','COPY_TO_ID', 'COPY_TO_NAME')\">添加</a>\r\n        <a href=\"javascript:;\" class=\"orgClear\" onClick=\"ClearUser('COPY_TO_ID', 'COPY_TO_NAME')\">清空</a>\r\n      </td>\r\n   </tr>\r\n    <tr>\r\n      <td nowrap class=\"TableData\"> 邮件内容:</td>\r\n      <td class=\"TableData\" colspan=\"1\">\r\n        <textarea name=\"EMAIL_CONTENT1\" class=\"BigInput\" cols=\"45\" rows=\"5\"></textarea>\r\n      </td>\r\n    </tr>  \r\n   <tr>\r\n     <td nowrap class=\"TableContent\" width=\"90\"> 提醒必修员工:</td>\r\n     <td class=\"TableData\">\r\n";
echo sms_remind( 30 );
echo "        <input type=\"checkbox\" name=\"MAIL_REMIND\" id=\"MAIL_REMIND\"><label for=\"MAIL_REMIND\">使用邮件</label>\r\n     </td>\r\n   </tr>\r\n   <tr>\r\n    <td nowrap  class=\"TableControl\" colspan=\"2\" align=\"center\">\r\n      <input type=\"hidden\" value=\"";
echo $APPLY_TID;
echo "\" name=\"APPLY_TID\">\r\n      <input type=\"submit\" value=\"确定\" class=\"BigButton\">&nbsp;&nbsp;\r\n      <input type=\"button\" class=\"BigButton\" value=\"关闭\" onClick=\"window.close();\" title=\"关闭窗口\">\r\n    </td>\r\n   </tr>\r\n  </form>\r\n</table>\r\n\r\n</body>\r\n</html>";
?>

⌨️ 快捷键说明

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