📄 flow_report_view.php
字号:
<?php
include_once( "inc/auth.php" );
echo "<html>\r\n<head>\r\n<title>报表</title>\r\n<LINK href=\"/theme/1/style.css\" type=text/css rel=stylesheet>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n";
echo "<s";
echo "cript src=\"/inc/prototype.js\"></script>\r\n";
echo "<s";
echo "cript src=\"/inc/common.js\"></script>\r\n";
echo "<s";
echo "cript src=\"/inc/follow.js\"></script>\r\n</head>\r\n";
echo "<s";
echo "cript>\r\n\r\nfunction loadingCon(divid,url,par){\r\n\tvar formName = \"reportform\";\r\n\tvar objDivID = document.getElementById(divid);\r\n\tif(objDivID.style.display == ''){\r\n\t\tobjDivID.style.display = 'none';\r\n\t\treturn;\r\n\t}\r\n\t\r\n\tvar saveGimg = {\r\n\t\tonCreate: function(){\r\n\t\t\tElement.show('divsave');\r\n\t\t},\r\n\t\tonComplete: function() {\r\n\t\t\tif(Ajax.activeRequestCount == 0){\r\n\t\t\t\tElement.hide('divsave');\r\n\t\t\t}\r\n\t\t";
echo "}\r\n\t};\r\n\tAjax.Responders.register(saveGimg);\t\r\n\t\r\n\tqueryString = par;\r\n\tnew Ajax.Request\r\n\t(\r\n\t\turl,\r\n\t\t{\r\n\t\t\tmethod: \"post\",\t\r\n\t\t\tonSuccess : function(resp)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tobjDivID.style.display = '';\r\n\t\t\t\t\t\t\t\$(divid).innerHTML = resp.responseText;\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t},\r\n\t\t\tonFailure : function()\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\talert(url);\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t},\r\n\t\t\tparameters : queryString\r\n\t\t}\r\n\t);\r\n\r\n}\r\n\r\nfunctio";
echo "n loadingImg(divid,url,par){\r\n\tvar formName = \"reportform\";\r\n\tvar objDivID = document.getElementById(divid);\r\n\t\r\n\tvar saveGimg = {\r\n\t\tonCreate: function(){\r\n\t\t\tElement.show('divsave');\r\n\t\t},\r\n\t\tonComplete: function() {\r\n\t\t\tif(Ajax.activeRequestCount == 0){\r\n\t\t\t\tElement.hide('divsave');\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n\tAjax.Responders.register(saveGimg);\t\r\n\t\r\n\tqueryString = par;\r\n\tnew Ajax.Request\r\n\t(\r\n\t\turl,\r\n\t\t";
echo "{\r\n\t\t\tmethod: \"post\",\t\r\n\t\t\tonSuccess : function(resp)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tobjDivID.src = url;\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t},\r\n\t\t\tonFailure : function()\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\talert(url);\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t},\r\n\t\t\tparameters : queryString\r\n\t\t}\r\n\t);\r\n\r\n}\r\n\r\nfunction shdiv(tid){\r\n\tvar objTid = \$(tid);\r\n\tif (objTid.style.display == ''){\r\n\t\tobjTid.style.display = \"none\";\r\n\t}\r\n\telse{\r\n\t\tobjTid.style.display = \"\";\r\n\t}\r\n}\r\n\r\n\r\n</";
echo "script>\r\n";
echo "<s";
echo "tyle>\r\nbody{\r\n\tmargin-left: 0px;\r\n\tmargin-top: 0px;\r\n\tmargin-right: 0px;\r\n\tmargin-bottom: 0px;\r\n\tpadding-left:10px\r\n}\r\n\r\ntdl {\r\n padding-left:20px\r\n}\r\n</style>\r\n<BODY onload=\"setVariables(); checkLocation('divsave',120,20,1);\">\r\n\r\n<table border=\"0\" width=\"100%\" cellspacing=\"1\" cellpadding=\"0\" >\r\n <tr class=\"tablehead2\">\r\n <td >\r\n\t<BUTTON class=btn onclick=\"location='field_set.php?FLOW_ID=";
echo $_REQUEST['FLOW_ID'];
echo "&REPORT_ID=";
echo $_REQUEST['REPORT_ID'];
echo "'\"><table><tr valign=middle ><td><img src=\"/images/workflow/return.gif\" align=\"center\"></td> <td> 返 回</td></tr></table></BUTTON> \r\n </td>\r\n </td>\r\n </tr>\r\n</table>\r\n<br>\r\n以下数据随机生成\r\n<table border=\"0\" cellspacing=\"1\" width=\"100%\" class=\"\" cellpadding=\"5\">\r\n<form name=\"reportform\">\r\n\t<tr class=\"tableline1\">\r\n\t\t<td valign=\"top\">";
echo "<s";
echo "pan style=\"cursor:hand;color:blue;\" onclick=\"shdiv('imgalldiv')\">图形分析</span>\r\n\t\t</td>\r\n\t\t<td><div id=\"imgalldiv\">\r\n\t\t\t<table>\r\n\t\t\t <tr><td>\r\n\t\t\t\t<br> \r\n\t\t\t\t\t";
echo "<s";
echo "pan style=\"padding-left:20px\">年度数据分析</span>\r\n\t\t\t\t\t<br>\r\n\t\t\t\t\t\t";
echo "<s";
echo "pan style=\"padding-left:20px;cursor:hand;color:blue;\" onclick=\"loadingImg('imgyearline','flow_report_img_year.php?REPORT_ID=";
echo $_REQUEST['REPORT_ID'];
echo "','REPORT_ID=";
echo $_REQUEST['REPORT_ID'];
echo "')\">走势图</span> <img id=\"imgyearline\" src=\"/images/report/chart_curve.gif\" onclick=\"loadingImg('imgyearline','flow_report_img_year.php?REPORT_ID=";
echo $_REQUEST['REPORT_ID'];
echo "','REPORT_ID=";
echo $_REQUEST['REPORT_ID'];
echo "')\" style=\"cursor:hand\" title=\"显示随机数据分析图形\"><br>\r\n\t\t\t\t\t\t";
echo "<s";
echo "pan style=\"padding-left:20px;cursor:hand;color:blue;\" onclick=\"loadingImg('imgyearpie','flow_report_img_year_pie.php?REPORT_ID=";
echo $_REQUEST['REPORT_ID'];
echo "','REPORT_ID=";
echo $_REQUEST['REPORT_ID'];
echo "')\">比例图</span> <img id=\"imgyearpie\" src=\"/images/report/chart_pie.gif\" onclick=\"loadingImg('imgyearpie','flow_report_img_year_pie.php?REPORT_ID=";
echo $_REQUEST['REPORT_ID'];
echo "','REPORT_ID=";
echo $_REQUEST['REPORT_ID'];
echo "')\" style=\"cursor:hand\" title=\"显示随机数据分析图形\"><br>\r\n\t\t\t\t\t\t";
echo "<s";
echo "pan style=\"padding-left:20px;cursor:hand;color:blue;\" onclick=\"loadingImg('imgyearbar','flow_report_img_year_bar.php?REPORT_ID=";
echo $_REQUEST['REPORT_ID'];
echo "','REPORT_ID=";
echo $_REQUEST['REPORT_ID'];
echo "')\">柱状图</span> <img id=\"imgyearbar\" src=\"/images/report/chart_bar_down.gif\" onclick=\"loadingImg('imgyearbar','flow_report_img_year_bar.php?REPORT_ID=";
echo $_REQUEST['REPORT_ID'];
echo "','REPORT_ID=";
echo $_REQUEST['REPORT_ID'];
echo "')\" style=\"cursor:hand\" title=\"显示随机数据分析图形\"><br>\r\n\t\t\t\t\t<br>\r\n\t\t\t\t\t";
echo "<s";
echo "pan style=\"padding-left:20px\">月度数据分析</span><br> \r\n\t\t\t\t\t";
echo "<s";
echo "pan style=\"padding-left:20px;cursor:hand;color:blue;\" onclick=\"loadingImg('imgmonthline','flow_report_img_month.php?REPORT_ID=";
echo $_REQUEST['REPORT_ID'];
echo "','REPORT_ID=";
echo $_REQUEST['REPORT_ID'];
echo "')\">走势图</span><img id=\"imgmonthline\" src=\"/images/report/chart_curve.gif\" onclick=\"loadingImg('imgmonthline','flow_report_img_month.php?REPORT_ID=";
echo $_REQUEST['REPORT_ID'];
echo "','REPORT_ID=";
echo $_REQUEST['REPORT_ID'];
echo "')\" style=\"cursor:hand\" title=\"显示随机数据分析图形\">\r\n\t\t\t\t\t<br><br>\r\n\t\t\t\t\t";
echo "<s";
echo "pan style=\"padding-left:20px\">多流程数据分析</span><br>\r\n\t\t\t\t\t";
echo "<s";
echo "pan style=\"padding-left:20px;cursor:hand;color:blue;\" onclick=\"loadingImg('imgmorebar','flow_report_img_more.php?REPORT_ID=";
echo $_REQUEST['REPORT_ID'];
echo "','REPORT_ID=";
echo $_REQUEST['REPORT_ID'];
echo "')\">柱状图</span><img id=\"imgmorebar\" src=\"/images/report/chart_bar.gif\" onclick=\"loadingImg('imgmorebar','flow_report_img_more.php?REPORT_ID=";
echo $_REQUEST['REPORT_ID'];
echo "','REPORT_ID=";
echo $_REQUEST['REPORT_ID'];
echo "')\" style=\"cursor:hand\" title=\"显示随机数据分析图形\">\r\n\t\t\t\t\t<br><br>\r\n\r\n\t\t\t\t</td>\r\n\t\t\t\t</tr>\r\n\t\t\t\t<tr>\r\n\t\t\t\t\t<td>\r\n\t\t\t\t\t<div id=\"yearrepotdiv\"><div>\r\n\t\t\t\t\t</td>\r\n\t\t\t\t</tr>\r\n\t\t\t</table>\t\t\r\n\t\t\r\n\r\n\t\t<div>\r\n\t\t</td>\r\n\t</tr>\r\n\r\n</form>\r\n</table>\r\n\r\n</body>\r\n</html>\r\n";
echo "<s";
echo "cript>\r\n//loadingCon('divreportlist','report_view_data_list.php','FLOW_ID=";
echo $_REQUEST['FLOW_ID'];
echo "&REPORT_ID=";
echo $_REQUEST['REPORT_ID'];
echo "');\r\n</script>\r\n";
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -