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

📄 flowmain.php

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

header( "Expires: Mon, 26 Jul 1997 05:00:00 GMT" );
header( "Cache-Control: no-cache, must-revalidate" );
header( "Pragma: no-cache" );
include_once( "inc/auth.php" );
echo "<html>\r\n<head>\r\n<title>流程设置</title>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n<link href=\"/images/workflow/system/main.css\" rel=\"stylesheet\" type=\"text/css\" />\r\n";
echo "<s";
echo "cript src=\"/inc/ajax_about.js\"></script>\r\n\r\n\r\n</head>\r\n\r\n";
if ( $_REQUEST['FLOW_ID'] != "" )
{
	$sql = "SELECT FLOW_NAME,FLOW_TYPE FROM flow_type WHERE FLOW_ID='".$_REQUEST['FLOW_ID']."'";
	$rs = exequery( $connection, $sql );
	$row = mysql_fetch_array( $rs );
	$flow_name = $row['FLOW_NAME'];
	$flow_type = $row['FLOW_TYPE'];
}
else
{
	$flow_name = "新建流程";
}
echo "<body>\r\n<table border=\"0\" width=\"100%\" cellspacing=\"1\" cellpadding=\"0\">\r\n  <tr class=\"tablehead2\">\r\n    <td><table><tr valign=middle ><td><img src=\"/images/workflow/flows.gif\" align=\"center\"></td> <td>";
echo "<s";
echo "pan id=\"showallid\">流程设置 - ";
echo $flow_name;
if ( $flow_type == 2 )
{
	echo "(自由流程)";
}
echo "</span></td></tr></table> </td>\r\n  </tr>\r\n</table>\r\n<div id=\"con\">\r\n  <ul id=\"tags\">\r\n  \t<li class=\"emptyTag\"></li>\r\n    <li class=\"normalTag\"><a href=\"javascript:void(0)\" onFocus=\"this.blur()\" onClick=\"switchTag('tagContent1',this)\" class=\"tagLink\"> <img src=\"/images/workflow/baseinfo.gif\" border=0>基本信息</a></li>\r\n";
if ( $flow_type == 2 || $_REQUEST['FLOW_ID'] == "" )
{
	echo "\t<li class=\"normalTag\"><a href=\"javascript:void(0)\" onFocus=\"this.blur()\"  class=\"notagLink\"><img src=\"/images/workflow/nodesetting.gif\" border=0 valign=\"bottom\" style=\"filter:gray()\">节点设置</a></li>\r\n";
}
else
{
	echo "\t<li class=\"normalTag\"><a href=\"javascript:void(0)\" onFocus=\"this.blur()\" onClick=\"switchTag('tagContent2',this)\" class=\"tagLink\"><img src=\"/images/workflow/nodesetting.gif\" border=0 valign=\"bottom\">节点设置</a></li>\r\n\r\n";
}
if ( $_REQUEST['FLOW_ID'] == "" )
{
	echo "\r\n\t<li class=\"normalTag\"><a href=\"javascript:void(0)\" onFocus=\"this.blur()\" class=\"notagLink\"><img src=\"/images/workflow/guardian.gif\" border=0 valign=\"bottom\" style=\"filter:gray()\"> 监控人员</a></li>\r\n";
}
else
{
	echo "\t<li class=\"normalTag\"><a href=\"javascript:void(0)\" onFocus=\"this.blur()\" onClick=\"switchTag('tagContent3',this)\" class=\"tagLink\"><img src=\"/images/workflow/guardian.gif\" border=0 valign=\"bottom\"> 监控人员</a></li>\r\n";
}
if ( $_REQUEST['FLOW_ID'] == "" )
{
	echo "\t<li class=\"normalTag\"><a href=\"javascript:void(0)\" onFocus=\"this.blur()\" class=\"notagLink\"><img src=\"/images/workflow/form.gif\" border=0 style=\"filter:gray()\">报表设置</a></li>\r\n";
}
else
{
	echo "\t<li class=\"normalTag\"><a href=\"javascript:void(0)\" onFocus=\"this.blur()\" onClick=\"switchTag('tagContent4',this)\" class=\"tagLink\"><img src=\"/images/workflow/form.gif\" border=0>报表设置</a></li>\r\n";
}
echo "\r\n";
if ( $_REQUEST['FLOW_ID'] == "" )
{
	echo "\t<li class=\"normalTag\"><a href=\"javascript:void(0)\" onFocus=\"this.blur()\"  class=\"notagLink\"><img src=\"/images/workflow/flowchar.gif\" border=0 style=\"filter:gray()\">其他设置</a></li>\r\n";
}
else
{
	echo "\t<li class=\"normalTag\"><a href=\"javascript:void(0)\" onFocus=\"this.blur()\" onClick=\"switchTag('tagContent5',this)\" class=\"tagLink\"><img src=\"/images/workflow/flowchar.gif\" border=0>其他设置</a></li>\r\n";
}
echo "<!--\r\n";
if ( $_REQUEST['FLOW_ID'] == "" )
{
	echo "\t<li class=\"normalTag\"><a href=\"javascript:void(0)\" onFocus=\"this.blur()\" class=\"notagLink\"><img src=\"/images/workflow/report.gif\" border=0 style=\"filter:gray()\">表单查看</a></li>\r\n";
}
else
{
	echo "\t<li class=\"normalTag\"><a href=\"javascript:void(0)\" onFocus=\"this.blur()\" onClick=\"switchTag('tagContent6',this)\" class=\"tagLink\"><img src=\"/images/workflow/report.gif\" border=0>表单查看</a></li>\r\n";
}
if ( $_REQUEST['FLOW_ID'] == "" )
{
	echo "\t<li class=\"normalTag\"><a href=\"javascript:void(0)\" onFocus=\"this.blur()\" class=\"notagLink\"><img src=\"/images/workflow/chart.gif\" border=0 style=\"filter:gray()\">流程图查看</a></li>\r\n";
}
else
{
	echo "\t<li class=\"normalTag\"><a href=\"javascript:void(0)\" onFocus=\"this.blur()\" onClick=\"switchTag('tagContent7',this)\" class=\"tagLink\"><img src=\"/images/workflow/chart.gif\" border=0>流程图查看</a></li>\r\n";
}
echo "-->\r\n  </ul>\r\n  <div id=\"tagContent\" class=\"tagContent\">\r\n  \t<div id=\"tagContent1\">基本信息</div>\r\n\t<div id=\"tagContent2\">节点设置</div>\r\n\t<div id=\"tagContent3\">监控人员</div>\r\n\t<div id=\"tagContent4\">报表设置</div>\r\n\t<div id=\"tagContent5\">流程图</div>\r\n\t<!--\r\n\t<div id=\"tagContent6\">报表设置\t</div>\r\n\t<div id=\"tagContent7\">分析图设置</div>\r\n\t-->\r\n\r\n  </div>\t\r\n</div>\r\n";
echo "<s";
echo "cript type=\"text/javascript\">\r\n\r\n// 2006-10-30 lxl\r\nvar tagContent = \"";
echo $_REQUEST['tagContent'];
echo "\"\r\nif (tagContent == ''){\r\n\ttagContent = \"tagContent1\"\t\r\n}\r\n\r\nvar tagli_n\r\ntagli_n = \"\"+tagContent.substr(10,1)+\"\"\r\nif (tagli_n == \"\" || tagli_n > 7){\r\n\ttagContent = \"tagContent1\"\r\n\ttagli_n = 1\t\r\n}\r\n\r\n\r\ndocument.getElementById(tagContent).style.display=\"block\";\r\ndocument.getElementById(\"tags\").getElementsByTagName(\"li\")[tagli_n].className=\"selectedTag\";\r\nvar curObject = document.getElementById(tag";
echo "Content);\r\ncreateHtmlForTagdiv(tagContent,curObject);\r\n\r\nfunction createHtmlForTagdiv(tagContent,curObject){\r\n\t\tswitch (tagContent){\r\n\t\tcase \"tagContent1\":\r\n\t\t\tcreatehtml_s(\"/general/system/workflow/flow_type/flow_path.php?FLOW_ID=";
echo $_REQUEST['FLOW_ID'];
echo "&tagContent=tagContent1\",curObject);\r\n\t\t\tbreak;\r\n\t\tcase \"tagContent2\":\r\n\t\t\tcreatehtml_s(\"/general/system/workflow/flow_type/flow_path.php?FLOW_ID=";
echo $_REQUEST['FLOW_ID'];
echo "&tagContent=tagContent2\",curObject);\r\n\t\t\tbreak;\r\n\t\tcase \"tagContent3\":\r\n\t\t\tcreatehtml_s(\"/general/system/workflow/flow_type/flow_path.php?FLOW_ID=";
echo $_REQUEST['FLOW_ID'];
echo "&tagContent=tagContent3\",curObject);\r\n\t\t\tbreak;\r\n\t\tcase \"tagContent4\":\r\n\t\t\tcreatehtml_s(\"/general/system/workflow/flow_type/flow_path.php?FLOW_ID=";
echo $_REQUEST['FLOW_ID'];
echo "&tagContent=tagContent4\",curObject);\r\n\t\t\tbreak;\r\n\t\tcase \"tagContent5\":\r\n\t\t\tcreatehtml_s(\"/general/system/workflow/flow_type/flow_path.php?FLOW_ID=";
echo $_REQUEST['FLOW_ID'];
echo "&tagContent=tagContent5\",curObject);\r\n\t\t\tbreak;\r\n\t\t\t/*\r\n\t\tcase \"tagContent6\":\r\n\t\t\tcreatehtml_s(\"/general/system/workflow/flow_type/flow_path.php?FLOW_ID=";
echo $_REQUEST['FLOW_ID'];
echo "&tagContent=tagContent6\",curObject);\r\n\t\t\tbreak;\r\n\t\tcase \"tagContent7\":\r\n\t\t\tcreatehtml_s(\"/general/system/workflow/flow_type/flow_report_img.php?FLOW_ID=";
echo $_REQUEST['FLOW_ID'];
echo "\",curObject);\r\n\t\t\tbreak;\r\n\t\t\t*/\r\n\t}\r\n}\r\n\r\n\r\n\r\nfunction switchTag(tagContent,obj){\r\n\r\n\tfor(var i=1; i<document.getElementById(\"tags\").getElementsByTagName(\"li\").length; i++){\r\n\t\tdocument.getElementById(\"tags\").getElementsByTagName(\"li\")[i].className=\"normalTag\";\r\n\t}\r\n\tobj.parentNode.className=\"selectedTag\";\r\n\t\r\n\tfor(var j=0; j<document.getElementById(\"tagContent\").getElementsByTagName(\"div\").length; ";
echo "j++){\r\n\t\tdocument.getElementById(\"tagContent\").getElementsByTagName(\"div\")[j].style.display=\"none\";\r\n\t}\r\n\tdocument.getElementById(tagContent).style.display=\"block\";\r\n\tvar curObject = document.getElementById(tagContent);\r\n\tcreateHtmlForTagdiv(tagContent,curObject);\r\n\t\r\n}\r\n\r\nfunction switchFile(tagContent){\r\n\tswitch (tagContent){\r\n\t\tcase \"tagContent1\":\r\n\t\t\tbreak;\r\n\t\tcase \"tagContent2\":\r\n\t\t\tbreak;\r\n\t";
echo "\tdefault:\r\n\t}\r\n}\r\n\r\n\r\n</script>\r\n</body>\r\n</html>";
?>

⌨️ 快捷键说明

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