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

📄 index.php

📁 极限网络智能办公系统—MYOA26—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\r\n";
echo "<s";
echo "cript>\r\nfunction plan_detail(PLAN_ID)\r\n{\r\n URL=\"../show/plan_detail.php?PLAN_ID=\"+PLAN_ID;\r\n myleft=(screen.availWidth-500)/2;\r\n window.open(URL,\"read_work_plan\",\"height=400,width=500,status=1,toolbar=no,menubar=no,location=no,scrollbars=yes,top=150,left=\"+myleft+\",resizable=yes\");\r\n}\r\n\r\nfunction delete_work_plan(PLAN_ID)\r\n{\r\n msg='确认要删除该项工作计划么?';\r\n if(window.confirm(msg))\r\n {\r\n  URL=";
echo "\"delete.php?PLAN_ID=\" + PLAN_ID;\r\n  window.location=URL;\r\n }\r\n}\r\n\r\n\r\nfunction delete_all()\r\n{\r\n msg='确认要删除所有工作计划么?';\r\n if(window.confirm(msg))\r\n {\r\n  URL=\"delete_all.php\";\r\n  window.location=URL;\r\n }\r\n}\r\n\r\n</script>\r\n\r\n</head>\r\n<body class=\"bodycolor\" topmargin=\"5\">\r\n\r\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"3\" class=\"small\">\r\n  <tr>\r\n    <td class=\"Big\"><img src=\"/images";
echo "/work_plan_new.gif\" align=\"absmiddle\">";
echo "<s";
echo "pan class=\"big3\"> 新建工作计划</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';\" 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\r\n";
$connection = openconnection( );
if ( $LOGIN_USER_PRIV != "1" )
{
	$query = "SELECT count(*) from WORK_PLAN where CREATOR='{$LOGIN_USER_ID}'";
}
else
{
	$query = "SELECT count(*) from WORK_PLAN";
}
$cursor = exequery( $connection, $query );
$WORK_PLAN_COUNT = 0;
if ( $ROW = mysql_fetch_array( $cursor ) )
{
	$WORK_PLAN_COUNT = $ROW[0];
}
if ( $WORK_PLAN_COUNT == 0 )
{
	echo "<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"3\" class=\"small\">\r\n  <tr>\r\n    <td class=\"Big\"><img src=\"/images/work_plan_open.gif\" align=\"absmiddle\">";
	echo "<s";
	echo "pan class=\"big3\"> 管理工作计划</span><br>\r\n    </td>\r\n  </tr>\r\n</table>\r\n<br>\r\n\r\n";
	message( "", "无工作计划" );
	exit( );
}
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/menu/work_plan.gif\" height=\"22\" width=\"22\">";
echo "<s";
echo "pan class=\"big3\"> 管理工作计划</span><br>\r\n    </td>\r\n\r\n    <td valign=\"bottom\">共";
echo "<s";
echo "pan class=\"big4\">&nbsp;";
echo $WORK_PLAN_COUNT;
echo "</span>&nbsp;条工作计划\r\n    </td>\r\n    </tr>\r\n</table>\r\n\r\n<hr width=\"95%\" height=\"1\" align=\"left\" class=\"big1\">\r\n\r\n<table border=\"0\" cellspacing=\"1\" width=\"95%\" class=\"small\" bgcolor=\"#000000\" cellpadding=\"3\">\r\n  <tr class=\"TableHeader\">\r\n      <td nowrap align=\"center\">计划名称</td>\r\n      <td nowrap align=\"center\">开始时间</td>\r\n      <td nowrap align=\"center\">结束时间</td>\r\n      <td nowrap align=\"center\">

⌨️ 快捷键说明

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