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

📄 statics.php

📁 极限网络智能办公系统 Office Automation V3.0官方100%源代码.
💻 PHP
字号:
<?
include_once("inc/auth.php");
 $query = "SELECT * from SCORE_ITEM where GROUP_ID='$GROUP_ID'";
 $cursor= exequery($connection,$query);
 $VOTE_COUNT=0;
 $TOTAL_SAM=0;
 while($ROW=mysql_fetch_array($cursor))
 {
     $ITEM_NAME[$VOTE_COUNT]=$ROW["ITEM_NAME"];
     $TOTAL_SAM=$TOTAL_SAM+$ROW["MAX"];
     $VOTE_COUNT++;
 }


?>
<html>
<head>
<title>分值统计</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<script Language="JavaScript">
function CheckForm()
{
   if(document.form1.STATICS.value=="")
   { alert("请输入要统计的分值段!!!");
     return (false);
   }
   return (true);
}
</script>
</head>

 <table border="0" width="450" cellpadding="2" cellspacing="1" align="center" bgcolor="#000000" class="small">
  <form action="result.php?GROUP_ID=<?=$GROUP_ID?>&FLOW_ID=<?=$FLOW_ID?>"  method="post" name="form1" onsubmit="return CheckForm();">
    <tr>
      <td nowrap class="TableData">请输入要统计的分值段:</td>
    </tr>
    <tr><td class="TableData">
        <textarea name="STATICS" cols="45" rows="5" class="BigInput"></textarea>
        </td>
    </tr>
    <tr>
    	<td nowrap class="TableData">该考核指标集的总分:<?=$TOTAL_SAM?></td>
    </tr>
    <tr align="center" class="TableControl">
      <td colspan="2" nowrap>
        <input type="submit" value="确定" class="SmallButton">&nbsp;&nbsp;
        <input type="button"  value="关闭" class="SmallButton" onclick="window.close();">
      </td>
    </tr>
  </table>
</form>

<div align=left>

 <table border="0" width="450" cellpadding="2" cellspacing="0"  bgcolor="#000000" class="small">
    <tr>
      <td nowrap class="TableData">说明:统计特定分数段的人数,例如输入(100,90,89,80,79,70,69,60,59)统计的分数段为(100-90,89-80,79-70,69-60,59-0)</td>
    </tr>
</div>

</body>
</html>

⌨️ 快捷键说明

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