Added styles for Ajax error messages.

Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
Formatted response of HAA_generateErrorMessage function.

Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
Fixed error message.

Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
Fixed full_name data type.

Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
Added redirect on success.

Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
Improved photo upload & moved some common functions to core.lib.php.

Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>