db->query("SELECT * FROM " . DB_PREFIX . "customer WHERE LOWER(email) = '" . $this->db->escape(utf8_strtolower($email)) . "' AND (password = SHA1(CONCAT(salt, SHA1(CONCAT(salt, SHA1('" . $this->db->escape($password) . "'))))) OR password = '" . $this->db->escape(md5($password)) . "' OR password = CONVERT((md5(concat(isc_salt,sha1(concat(isc_salt,'" . $this->db->escape($password) . "'))))) USING utf8)) AND status = '1' AND approved = '1'");]]> db->query("SELECT * FROM " . DB_PREFIX . "customer WHERE LOWER(email) = '" . $this->db->escape(utf8_strtolower($email)) . "' AND (password = SHA1(CONCAT(salt, SHA1(CONCAT(salt, SHA1('" . $this->db->escape($password) . "'))))) OR password = '" . $this->db->escape(md5($password)) . "' OR password = CONVERT((md5(concat(isc_salt,sha1(concat(isc_salt,'" . $this->db->escape($password) . "'))))) USING utf8)) AND status = '1' AND approved = '1'");]]>