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

📄 flow_report.php

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

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";
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\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</style>\r\n</head>\r\n<body onload=\"setVariables(); checkLocation('divsave',120,20);\">\r\n<table border=\"0\" width=\"100%\" cellspacing=\"1\" cellpadding=\"0\">\r\n  <tr class=\"tablehead2\">\r\n    <td ><BUTTON class=btn onclick=\"location='report_edit.php?FLOW_ID=";
echo $FLOW_ID;
echo "&uback=img&tagContent=tagContent6'\"><table><tr valign=middle ><td><img src=\"/images/workflow/html_go.gif\" align=\"center\"></td> <td>新建报表</td></tr></table></BUTTON>\r\n\t</td>\r\n  </tr>\r\n</table>\r\n<hr width=\"95%\" height=\"1\" align=\"left\" color=\"#ffffff\">\r\n";
$sql = "SELECT COUNT(*) AS cnt FROM flow_report WHERE FLOW_ID=".$_REQUEST['FLOW_ID'];
$rs = exequery( $connection, $sql );
$row = mysql_fetch_array( $rs );
$cnt = $row['cnt'];
if ( 0 < $cnt )
{
	echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"5\" width=\"100%\">\r\n\t<tr class=\"TableHeader\">\r\n\t\t<td nowrap width=\"25%\">报表名称</td>\r\n\t\t<td>说明</td>\r\n\t\t<td nowrap width=\"20%\">操作</td>\r\n\t</tr>\r\n\t";
	$sql = "SELECT * FROM flow_report WHERE FLOW_ID=".$_REQUEST['FLOW_ID'];
	$rs = exequery( $connection, $sql );
	$cnt = 0;
	while ( $row = mysql_fetch_array( $rs ) )
	{
		$reportid = $row['REPORT_ID'];
		++$cnt;
		$reportname = $row['REPORT_NAME'];
		$reportnote = $row['REPORT_NOTE'];
		$classtd = "tableline1";
		if ( $cnt % 2 == 0 )
		{
			$classtd = "tableline2";
		}
		echo "\t<tr class=\"";
		echo $classtd;
		echo "\">\r\n\t\t<td>";
		echo $reportname;
		echo "</td>\r\n\t\t<td>";
		echo $reportnote;
		echo "</td>\r\n\t\t<td><a onclick=\"return window.confirm('确定删除吗?');\" href=\"report_do.php?REPORT_ID=";
		echo $reportid;
		echo "&FLOW_ID=";
		echo $_REQUEST['FLOW_ID'];
		echo "&f=delete\">删除</a> <a href=\"field_set.php?REPORT_ID=";
		echo $reportid;
		echo "&FLOW_ID=";
		echo $_REQUEST['FLOW_ID'];
		echo "&\">报表字段</a></td>\r\n\t</tr>\r\n\r\n\t\t";
	}
	echo "</table>\r\n\r\n";
}
else
{
	message( "", "尚未定义报表" );
}
echo "\r\n</body>\r\n</html>";
?>

⌨️ 快捷键说明

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