Files
agtuser 16a3fd1e1b init
2024-11-11 17:56:00 +08:00

103 lines
2.8 KiB
PHP
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
/*********************************************************
程序说明:
功能说明:
调用关系:调用: header.inc
被调用:
变量说明:
作者:
修改注释:
NO.1
姓名:谢华
时间2003-04-09
修改说明用于OMC_V65
No.2
Name: Lilong
Date: Monday, April 05, 2004
Description: OMC V7.0
*********************************************************/
require("../../inc/header.inc");
$helpId = "3.1.1";
?>
<base target="main">
<body leftmargin="15" rightmargin="10" onload="javascript:adjust_frame('up');" onresize="javascript:adjust_frame('up');" style="overflow:hidden;overflow-x:hidden;overflow-y:hidden;">
<form method="POST" action="dailyReportDown.php" name="QueryForm" >
<?php
adjust_head_frame("up");
adjust_title_head_frame("up");
$today_date = date("Y-m-d");
echo "<table id=\"table_up\" border=\"0\" width=\"100%\">";
echo "<tr>";
echo "<td width=\"50%\">";
echo "$strTitlePerformance $strTitleSpace $strPPSDailyReport";
echo "</td>";
echo "<td width=\"50%\" align=\"right\">";
showHelp($helpId);
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td align=\"left\">";
$newyear =date("Y",mktime(0,0,0,date("m"),date("d")-1,date("Y")));
$newmon =date("m",mktime(0,0,0,date("m"),date("d")-1,date("Y")));
$newday =date("d",mktime(0,0,0,date("m"),date("d")-1,date("Y")));
$oldyear =date("Y",mktime(0,0,0,date("m"),date("d")-1,date("Y")-1));
//--年--
echo "<select size=\"1\" name=\"query_year\">";
echo "<option value=\"$newyear\">$newyear</option>";
echo "<option value=\"$oldyear\" >$oldyear</option>";
echo "</select>$strYear&nbsp&nbsp";
//--月--
echo "<select size=\"1\" name=\"query_month\">";
for($i=1;$i<13;$i++){
$m=($i<10?"0":"").$i;
if($i!=$newmon){
echo "<option value=\"$m\">$m</option>";
}else{
echo "<option value=\"$m\" selected>$m</option>";
}
}
echo "</select>$strMonth&nbsp;&nbsp;";
//--日--
echo "<select size=\"1\" name=\"query_day\">";
for($j=1;$j<=31;$j++){
$d=($j<10?"0":"").$j;
if($j!=$newday){
echo "<option value=\"$d\">$d</option>";
}else{
echo "<option value=\"$d\" selected>$d</option>";
}
}
echo "</select>$strDay&nbsp;&nbsp;";
?>
<span onClick="javascript:document.QueryForm.submit();" style="cursor:hand">
<IMG align=absBottom border=0 src="../../images/search.gif" ><?php echo "$strSearch"; ?>
</span>
<?php
echo "</td>";
echo "<td align=\"right\">";
echo "&nbsp;";
echo "</td>";
echo "</tr>";
echo "</table>";
echo "</form>";
adjust_title_tail_frame("up");
adjust_content_head_frame("up");
adjust_content_tail_frame("up");
?>
</body>
</html>