the first error:
<br /><b>Notice</b>: Undefined index: checkuser in
is caused by this code in the login page:
<input name="username" type="text" class="style7" id="UserName" value="<?php echo $_SERVER['checkuser']; ?>" size="10" maxlength="30" />
you are using the variable $_SERVER['checkuser'] as the value, there is no such variable in the $_SERVER supper global.
you should set the value of the username element to be blank.
the second error is happening because code is out of order on the m_schedule.php page.
the following code block at lines 165 - 179:
$queryString_Recordsetsearchcustomers = "";
if (!empty($_SERVER['QUERY_STRING'])) {
$params = explode("&", $_SERVER['QUERY_STRING']);
$newParams = array();
foreach ($params as $param) {
if (stristr($param, "pageNum_Recordsetsearchcustomers") == false &&
stristr($param, "totalRows_Recordsetsearchcustomers") == false) {
array_push($newParams, $param);
}
}
if (count($newParams) != 0) {
$queryString_Recordsetsearchcustomers = "&" . htmlentities(implode("&", $newParams));
}
}
$queryString_Recordsetsearchcustomers = sprintf("&totalRows_Recordsetsearchcustomers=%d%s", $totalRows_Recordsetsearchcustomers, $queryString_Recordsetsearchcustomers);
needs to come after the following line at 216:
$totalRows_Recordsetsearchcustomers = mysql_num_rows($Recordsetsearchcustomers);