📄 index.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</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\t<tr><td>\r\n\t<img src=\"/images/menu/project.gif\" align=\"absmiddle\"/>\r\n\t<span class=\"big3\"> 项目审批记录</span>\r\n\t<td></tr>\r\n</table>\r\n";
$query = "select APPROVE_LOG FROM PROJ_PROJECT WHERE PROJ_ID='".$PROJ_ID."'";
$cursor = exequery( $connection, $query );
if ( $ROW = mysql_fetch_array( $cursor ) )
{
$APPROVE_LOG = $ROW['APPROVE_LOG'];
}
$APPROVE_LOG_ARR = explode( "|*|", $APPROVE_LOG );
$COUNT = 0;
foreach ( $APPROVE_LOG_ARR as $V )
{
if ( $V != "" )
{
if ( $COUNT == 0 )
{
echo "<table align=\"center\" style='border-collapse:collapse' border=1 cellspacing=0 cellpadding=3 bordercolor='#b8d1e2' width=\"90%\" class=\"small\" style=\"font-size:14px\">\r\n";
}
++$COUNT;
if ( $COUNT % 2 == 0 )
{
$TableLine = "TableLine1";
}
else
{
$TableLine = "TableLine2";
}
echo " <tr class=\"";
echo $TableLine;
echo "\">\r\n <td>";
echo $V;
echo "</td>\r\n </tr>\r\n";
}
}
if ( 0 < $COUNT )
{
echo "</table>";
}
else
{
message( "", "暂无审批记录!" );
}
echo "</body>\r\n</html>";
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -