--- trunk/admin/include/validate_mysql.php 2004/03/04 22:43:17 41 +++ trunk/admin/include/validate_mysql.php 2004/03/04 22:43:50 42 @@ -61,8 +61,8 @@ . "')"; // Fetch the results - $rs = mysql_query($sql, $con); - $row = mysql_fetch_array ($rs); + $rs = xx_query($sql, $con); + $row = xx_fetch_array ($rs); $last_login = Trim($row["last_login"]); $last_ip = Trim($row["last_ip"]); $access_id = (int) $row["access_id"]; @@ -70,7 +70,7 @@ $access = Trim($row["access"]); // If a 1+ rows are returned, user is validated - if (mysql_num_rows($rs) >= 1) { + if (xx_num_rows($rs) >= 1) { $validated = $access_id; $current_ip = $GLOBALS["REMOTE_ADDR"]; @@ -86,13 +86,13 @@ . "' WHERE staff.staff_account = '" . $user . "'"; - if (!mysql_query ($sql, $con)){ + if (!xx_query ($sql, $con)){ sql_err($sql); - mysql_query ("UNLOCK TABLES", $con); + xx_query ("UNLOCK TABLES", $con); bailout(); } else { - mysql_query ("UNLOCK TABLES", $con); + xx_query ("UNLOCK TABLES", $con); } }