root/releases/0.1.1b/units/profile/profile_user_info.php
| Revision 2, 437 bytes (checked in by sven, 3 years ago) |
|---|
| Line | |
|---|---|
| 1 | <?php |
| 2 | |
| 3 | global $page_owner; |
| 4 | |
| 5 | // If this is someone else's portfolio, display the user's icon |
| 6 | $run_result .= "<div class=\"box_user\">"; |
| 7 | if ($page_owner != -1) { |
| 8 | if ($page_owner != $_SESSION['userid']) { |
| 9 | $run_result .= run("users:infobox", array("Profile Owner",array($page_owner))); |
| 10 | } else { |
| 11 | $run_result .= run("users:infobox", array("You",array($page_owner))); |
| 12 | } |
| 13 | } |
| 14 | $run_result .= "</div>"; |
| 15 | |
| 16 | ?> |
Note: See TracBrowser for help on using the browser.
