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

📄 index.php

📁 极限网络智能办公系统 Office Automation V3.0官方100%源代码.
💻 PHP
字号:
<?
include_once("inc/auth.php");
include_once("inc/utility_all.php");
$ARRAY_FIELD1=explode(",",$ARRAY_FIELD);
$lgraphValues1=explode(",",$graphValues1);
$lgraphValues2=explode(",",$graphValues2);
$lgraphValues3=explode(",",$graphValues3);
?>
<html>
<head>
<title>销售统计结果</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

</head>

<body topmargin="0">
<div align="center">
<TABLE border="0" cellspacing="1" width="70%" class="small" bgcolor="#000000" cellpadding="3">
  <tr class="TableControl">
   <td nowrap align="center" colspan=4><input type="radio" name='FLAG' id='FLAG1' value="a"  onclick="return chk(this,'graphValuesa');"><label for="FLAG1">销售总额</label>&nbsp;&nbsp;<input type="radio" name='FLAG' id='FLAG2' value="b"  onclick="return chk(this,'graphValuesb');"><label for="FLAG2">产品销售额</label> &nbsp;&nbsp;<input type="radio" name='FLAG' id='FLAG3' value="c"  onclick="return chk(this,'graphValuesc');"><label for="FLAG3">服务销售额</label></td>
   </tr>
   <tr class="TableHeader">
      <td nowrap align="center"><?=$showname?></td>
       <td nowrap align="center">销售总额</td>
      <td nowrap align="center">产品销售额</td>
      <td nowrap align="center">服务销售额</td>
   </tr>
<?

   $ARRAY_COUNT=sizeof($ARRAY_FIELD1);
     for($I=0;$I<$ARRAY_COUNT-1;$I++)
    {
    	 if(($I+1)%2==1)
       $TableLine="TableLine1";
       else
       $TableLine="TableLine2";
?>
     <tr class="<?=$TableLine?>">
      <td nowrap align="center"><?=$ARRAY_FIELD1[$I]?></td>
      <td nowrap align="center"><?=$lgraphValues1[$I]?></td>
      <td nowrap align="center"><?=$lgraphValues2[$I]?></td>
      <td nowrap align="center"><?=$lgraphValues3[$I]?></td>
    </tr>
	<div align="center">
<?
    }
    if($type=="1")
     {
?>
   	<img id="graphValuesa" src="staticspaint.php?ARRAY_FIELD1=<?=$ARRAY_FIELD?>&graphValues1=<?=$graphValues1?>&unit=<?=$unit?>">
    <img id="graphValuesb" style="display:none" src="staticspaint.php?ARRAY_FIELD1=<?=$ARRAY_FIELD?>&graphValues1=<?=$graphValues2?>&unit=<?=$unit?>">
    <img id="graphValuesc" style="display:none" src="staticspaint.php?ARRAY_FIELD1=<?=$ARRAY_FIELD?>&graphValues1=<?=$graphValues3?>&unit=<?=$unit?>">
<?
     }
     else
     {
?>
    <img id="graphValuesa" src="cakeimg.php?ARRAY_FIELD1=<?=$ARRAY_FIELD?>&graphValues1=<?=$graphValues1?>">
    <img id="graphValuesb" style="display:none" src="cakeimg.php?ARRAY_FIELD1=<?=$ARRAY_FIELD?>&graphValues1=<?=$graphValues2?>">
    <img id="graphValuesc" style="display:none" src="cakeimg.php?ARRAY_FIELD1=<?=$ARRAY_FIELD?>&graphValues1=<?=$graphValues3?>">
<?
     }
?>
  </div>
</TABLE>
</div>
</body>
</html>
<script Language="JavaScript">
function chk(input,strwher)
  {
      if(strwher=="graphValuesa")
      {document.all.graphValuesa.style.display='';
  	   document.all.graphValuesb.style.display='none';
  	   document.all.graphValuesc.style.display='none';
  	   }
  	  if(strwher=="graphValuesb")
      {
       document.all.graphValuesa.style.display='none';
  	   document.all.graphValuesb.style.display='';
  	   document.all.graphValuesc.style.display='none';
  	   }
  	    if(strwher=="graphValuesc")
      {
       document.all.graphValuesa.style.display='none';
  	   document.all.graphValuesb.style.display='none';
  	   document.all.graphValuesc.style.display='';
	   }
	}
</script>

⌨️ 快捷键说明

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