visitor map convert

Converted all mysql to mysqli