init web ems all

This commit is contained in:
agtuser
2024-09-27 17:13:36 +08:00
parent 81c97acbe9
commit 5cc56f8078
4263 changed files with 798779 additions and 0 deletions

View File

@@ -0,0 +1,100 @@
<?php
/*********************************************************
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5><EFBFBD><EFBFBD>
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5><EFBFBD><EFBFBD>
<20><><EFBFBD>ù<EFBFBD>ϵ<EFBFBD><CFB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: header.inc
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:
<20><><EFBFBD><EFBFBD>˵<EFBFBD><CBB5><EFBFBD><EFBFBD>
<20><><EFBFBD>ߣ<EFBFBD>
<EFBFBD>޸<EFBFBD>ע<EFBFBD>ͣ<EFBFBD>
NO.1
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>л<EFBFBD><EFBFBD>
ʱ<EFBFBD>䣺2003-04-09
<EFBFBD>޸<EFBFBD>˵<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>OMC_V65
*********************************************************/
require("../../inc/header.inc");
$DEBUG=0;
$helpId = "3.1.2";
?>
<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="weeklyReportDown.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 PPS report > Weekly report";
echo "</td>";
echo "<td width=\"50%\" align=\"right\" title=\"Help\">";
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));
/*
$year=date("Y")."-".date("m")."-".date("d");
if($DEBUG) echo "$year<br>";
$thisFebDays=date("t",mktime(0,0,0,2,1,date("Y")));
if ($thisFebDays == 28)
$thisYearDays = 365;
else
$thisYearDays = 366;
if($DEBUG) echo "thisYearDays=$thisYearDays,thisFebDays=$thisFebDays<br>";
*/
$firstw =date("w",mktime(0,1,0,1,1,date("Y")));
$lastDayNumber = date("z",mktime(0,0,0,date("m"),date("d")-1,date("Y")))+1;
$lastWeekNumber = floor(($lastDayNumber-(7-$firstw)) / 7)+1;
if ($DEBUG) echo "firstw = $firstw,";
if ($DEBUG) echo "lastDayNumber=$lastDayNumber,";
if ($DEBUG) echo "lastWeekNumber=$lastWeekNumber<br>";
//--Year--
echo "<select size=\"1\" name=\"query_year\">";
echo "<option value=\"$newyear\">$newyear</option>";
echo "<option value=\"$oldyear\" >$oldyear</option>";
echo "</select>$strYear&nbsp&nbsp";
//--Week--
echo "<select size=\"1\" name=\"query_week\">";
for($i=1;$i<53;$i++){
$m=($i<10?"0":"").$i;
if($i!=$lastWeekNumber){
echo "<option value=\"$m\">$m</option>";
}else{
echo "<option value=\"$m\" selected>$m</option>";
}
}
echo "</select>$strWeek&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\">&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>