.style1 {font-family: Arial;font-size: 16px;font-weight: bold;color: #000000;}
.style2 {font-family: Arial;font-size: 14px;font-weight: bold;color: #000000;}
.style3 {font-family: Arial;font-size: 13px;font-weight: bold;color: #000000;}
.style4 {font-family: Arial;font-size: 12px;font-weight: bold;color: #000000;}
.textfield01 {font-family: Arial;font-size: 12px;font-weight: bold;color: #000000;background-color: #FFFFFF;border: 1px solid #000000;height: 25px;}
.button01 {font-family: Arial;font-size: 14px;font-weight: bold;color: #000000;background-color: #FFFFFF;border: 1px solid #000000;height: 25px;}
-->
</style>
</head>

<body onload="placeFocus()">
<?php 
include "../../myDatabase2.php";
$cuz = new database2();
$username = $_GET['username'];
mysql_connect($cuz->myHost(), $cuz->getUser(), $cuz->getPass());
mysql_select_db($cuz->getDB());
$year = date("Y");
$month = date("m");
$day = date("d");
echo "\n<div align='center'><table width='550' border='1' cellspacing='0' cellpadding='0' bordercolor='#000000'>\n  <tr><form name='Submit' method='get' action='CollectionReport.php'>\n    <td><table width='550' border='0' cellspacing='0' cellpadding='0'>\n      <tr>\n        <td colspan='3' height='30'></td>\n      </tr>\n      <tr>\n        <td width='30'></td>\n        <td width='490'><table width='490' border='0' cellspacing='0' cellpadding='0'>\n          <tr>\n            <td width='100'><div align='left' class='style4'>Select Date</div></td>\n            <td width='390'><div align='left' class='style4'>\n              From&nbsp;\n              <select name='fm' class='textfield01'>\n";
if ($month == '01') {
    $fms01 = "selected='selected'";
    $fms02 = "";
    $fms03 = "";
    $fms04 = "";
    $fms05 = "";
    $fms06 = "";
    $fms07 = "";
    $fms08 = "";
    $fms09 = "";
.style1 {font-family: Arial;font-size: 16px;font-weight: bold;color: #000000;}
.style2 {font-family: Arial;font-size: 14px;font-weight: bold;color: #000000;}
.style3 {font-family: Arial;font-size: 13px;font-weight: bold;color: #000000;}
.style4 {font-family: Arial;font-size: 12px;font-weight: bold;color: #000000;}
.textfield01 {font-family: Arial;font-size: 12px;font-weight: bold;color: #000000;background-color: #FFFFFF;border: 1px solid #000000;}
.button01 {font-family: Arial;font-size: 12px;font-weight: bold;color: #000000;background-color: #FFFFFF;border: 1px solid #000000;}
tr:hover { background-color:yellow;color:black;}
-->
</style>
</head>

<body onload="placeFocus()">
<?php 
include "../../../myDatabase2.php";
$cuz = new database2();
$GLOBALS["___mysqli_ston"] = mysqli_connect($cuz->myHost(), $cuz->getUser(), $cuz->getPass());
(bool) mysqli_query($GLOBALS["___mysqli_ston"], "USE " . $cuz->getDB());
$username = $_GET['username'];
$fy = $_GET['fy'];
$fm = $_GET['fm'];
$fd = $_GET['fd'];
$ty = $_GET['ty'];
$tm = $_GET['tm'];
$td = $_GET['td'];
$fth = $_GET['fth'];
$ftm = $_GET['ftm'];
$fts = $_GET['fts'];
$tth = $_GET['tth'];
$ttm = $_GET['ttm'];
$tts = $_GET['tts'];
$fdate = $fy . "-" . $fm . "-" . $fd;
	font-family: Arial;
	font-size: 12px;
	font-weight: bold;
	color: #000000;
	background-color: #FFFFFF;
	border: 1px solid #000000;
}
-->
</style>
</head>

<body onload="placeFocus()">
<?php 
include "../myDatabase2.php";
$ro = new database2();
mysql_connect($ro->myHost(), $ro->getUser(), $ro->getPass());
mysql_select_db($ro->getDB());
$status = $_GET['status'];
$reportName = $_GET['reportName'];
$module = $_GET['module'];
$month = $_GET['month'];
$day = $_GET['day'];
$year = $_GET['year'];
$fromTime_hour = $_GET['fromTime_hour'];
$fromTime_minutes = $_GET['fromTime_minutes'];
$fromTime_seconds = $_GET['fromTime_seconds'];
$toTime_hour = $_GET['toTime_hour'];
$toTime_minutes = $_GET['toTime_minutes'];
$toTime_seconds = $_GET['toTime_seconds'];
$username = $_GET['username'];
$cutoff = $_GET['cutoff'];