@@ 20-24 (lines=5) @@ | ||
17 | $obUser = new User(); |
|
18 | $row = $obUser->UserDetails($userId, True); |
|
19 | ||
20 | if($row != NULL) |
|
21 | { |
|
22 | $location = getenv('APP_URL') . "/account.php/". $row['username']; |
|
23 | header("Location:".$location); |
|
24 | } |
|
25 | } |
|
26 | elseif ($user != "account.php") |
|
27 | { |
|
@@ 33-36 (lines=4) @@ | ||
30 | if($row != NULL): |
|
31 | $userId = $row['login_id']; |
|
32 | $details = Profile::getProfile($userId); |
|
33 | if($details != NULL) |
|
34 | $row = array_merge($row, $details); |
|
35 | else |
|
36 | header("Location:".getenv('APP_URL')."/error.php"); |
|
37 | ?> |
|
38 | ||
39 | <!Doctype html> |