Update function.php

The important functions are here.
storeUser($name, $email, $gcm_regid,$imei,$ph_num)
getUserByEmail($email)
getAllUsers()
getIMEIUser($imei)
getRegIDUser($regID)
getPhNumUser($ph_num)
getIMEIUserName($imei)
isUserExisted($email,$gcmRegID)
send_push_notification($registatoin_ids, $message)
stripUnwantedTags($str)
escapeStr($str)
escapeStrMysql($str)
stripHtmlTags($str)
stripUnwantedHtmlEscape($str)