--- branches/paul/admin/include/accessClass.php 2004/03/18 19:24:54 67 +++ branches/paul_xx/admin/include/accessClass.php 2004/03/18 20:01:09 69 @@ -34,9 +34,9 @@ function accessClass($sessionClass) { // Set the database connection variables - $this->con_ac = @mysql_connect ( $this->db_ac_srv, $this->db_ac_usr, $this->db_ac_pwd ) + $this->con_ac = @xx_connect ( $this->db_ac_srv, $this->db_ac_usr, $this->db_ac_pwd ) or die ( "ERROR: Could not connect to database server!" ); - $this->result_ac = mysql_select_db ( $this->db_ac, $this->con_ac ) + $this->result_ac = xx_select_db ( $this->db_ac, $this->con_ac ) or die ( "ERROR: Could not connect to database!" ); @@ -64,8 +64,8 @@ FROM staff s, access a WHERE s.access_id = a.access_id AND s.staff_account = '" . $staff_account . "'"; - $rs = mysql_query($sql, $this->con_ac); - $row = mysql_fetch_array ($rs); + $rs = xx_query($sql, $this->con_ac); + $row = xx_fetch_array ($rs); $access_level = $row["access_level"]; $access = $row["access"]; $first_name = $row["first_name"];