📄 index.php
字号:
<?php
include_once( "inc/auth.php" );
include_once( "inc/utility_all.php" );
$ARRAY_FIELD1 = explode( ",", $ARRAY_FIELD );
$graphValues1 = explode( ",", $graphValues );
echo "<html>\r\n<head>\r\n<title>客户统计结果</title>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n\r\n</head>\r\n\r\n<body topmargin=\"0\">\r\n<div align=\"left\">\r\n<TABLE>\r\n\t<tr align=\"center\">\r\n\t\t<td> </td>\r\n\t</tr>\r\n <TR align=\"center\">\r\n \t<TD align=\"center\" valign=\"top\">\r\n";
if ( $type == "1" )
{
echo " \t<img src=\"staticspaint.php?ARRAY_FIELD1=";
echo $ARRAY_FIELD;
echo "&graphValues1=";
echo $graphValues;
echo "&unit=";
echo $unit;
echo "\">\r\n";
}
else
{
echo " <img src=\"cakeimg.php?ARRAY_FIELD1=";
echo $ARRAY_FIELD;
echo "&graphValues1=";
echo $graphValues;
echo "\">\r\n";
}
echo " </TD>\r\n <td align=\"center\" valign=\"top\">\r\n <table border=\"0\" cellspacing=\"1\" width=\"95%\" class=\"small\" bgcolor=\"#000000\" cellpadding=\"3\">\r\n";
$ARRAY_COUNT = sizeof( $ARRAY_FIELD1 );
$I = 0;
for ( ; $I < $ARRAY_COUNT - 1; ++$I )
{
if ( ( $I + 1 ) % 2 == 1 )
{
$TableLine = "TableLine1";
}
else
{
$TableLine = "TableLine2";
}
echo " <tr class=\"";
echo $TableLine;
echo "\">\r\n <td nowrap align=\"center\" bgcolor=\"#D3E5FA\">";
echo $ARRAY_FIELD1[$I];
echo "</td>\r\n <td nowrap align=\"center\" width=\"50\">";
echo $graphValues1[$I];
echo "</td>\r\n </tr>\r\n";
}
echo " <tr>\r\n\t\t<td class=\"TableData\" align=\"center\" colspan=\"2\"><input type=\"button\" value=\"关闭\" class=\"SmallButton\" onclick=\"window.close()\"></td>\r\n\t</tr>\r\n </table>\r\n \r\n </td>\r\n <td>\r\n \t \r\n</td>\r\n </tr>\r\n</TABLE>\r\n</div>\r\n</body>\r\n</html>\r\n";
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -