Converted all mysql_ calls to OO based mysqli calls.
Also removed the calls to the db closeConn calls in favor of destryong the connections on the class __destruct() 's.. Since firebird db had a closeConn as well, changed its __destruct to calls its own personal closeConn which otherwise left unmodified. Refs: 1722
Showing with 1130 additions and 1143 deletions