📄 apply_exempt.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</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/notify_new.gif\" HEIGHT=\"20\" align=\"absmiddle\"><span class=\"big3\"> 免修申请</span>\r\n </td>\r\n </tr>\r\n</table>\r\n<br>\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'];
}
echo "<table align=\"center\" class=\"TableBlock\" width=\"70%\">\r\n<form enctype=\"multipart/form-data\" action=\"submit_exempt.php\" method=\"post\" name=\"form1\">\r\n <tr>\r\n <td nowrap class=\"TableContent\" width=\"90\">培训课程编号:</td>\r\n <td class=\"TableData\" colspan=\"3\">\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\" colspan=\"3\">\r\n <input type=\"text\" name=\"COURSE_NAME\" size=\"40\" readonly maxlength=\"100\" class=\"BigStatic\" value=\"";
echo $COURSE_NAME;
echo "\">\r\n </td>\r\n </tr>\r\n <tr>\r\n <td nowrap class=\"TableContent\" width=\"90\"> 免修原因:</td>\r\n <td class=\"TableData\" colspan=\"3\">\r\n <textarea name=\"APPLY_REASON\" class=\"BigInput\" cols=\"50\" rows=\"5\">";
echo $APPLY_REASON;
echo "</textarea>\r\n </td>\r\n </tr>\r\n";
$query = "SELECT USER_NAME,APPLY_MANAGER from TRAIN_APPLY,USER where TRAIN_APPLY.APPLY_ID='".$APPLY_ID."'and USER.USER_ID=TRAIN_APPLY.APPLY_MANAGER";
$cursor = exequery( $connection, $query );
if ( $ROW = mysql_fetch_array( $cursor ) )
{
$USER_NAME = $ROW['USER_NAME'];
$APPLY_MANAGER = $ROW['APPLY_MANAGER'];
}
echo " \r\n <tr>\r\n <td nowrap class=\"TableContent\" width=\"70\">审批人</td>\r\n <td class=\"TableData\">\r\n <input type=\"text\" name=\"APPLY_MANAGER\" size=\"10\" readonly maxlength=\"100\" class=\"BigStatic\" value=\"";
echo $USER_NAME;
echo "\">\r\n </td>\r\n </tr>\r\n <tr>\r\n <td nowrap class=\"TableContent\" width=\"90\"> 提醒审批人:</td>\r\n <td class=\"TableData\" colspan=\"3\">\r\n";
echo sms_remind( 31 );
echo " <input type=\"checkbox\" name=\"MAIL_REMIND\" id=\"MAIL_REMIND\"><label for=\"MAIL_REMIND\">使用邮件</label>\r\n </td>\r\n </tr>\r\n <tr class=\"TableControl\">\r\n <td nowrap colspan=\"4\" align=\"center\"> \r\n <input type=\"hidden\" name=\"APPLY_ID\" value=\"";
echo $APPLY_ID;
echo "\"> \r\n <input type=\"hidden\" name=\"APPLY_TID\" value=\"";
echo $APPLY_TID;
echo "\"> \r\n <input type=\"hidden\" name=\"COURSE_NAME\" value=\"";
echo $COURSE_NAME;
echo "\"> \r\n <input type=\"hidden\" name=\"APPLY_MANAGER\" value=\"";
echo $APPLY_MANAGER;
echo "\"> \t\r\n <input type=\"submit\" value=\"确定\" class=\"BigButton\"> \r\n <input type=\"button\" class=\"BigButton\" value=\"关闭\" onClick=\"window.close();\" title=\"关闭窗口\">\r\n </td>\r\n </tr>\r\n </table>\r\n</form>\r\n</body>\r\n</html>";
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -