Example #1
0
} else {
    ?>
									<a href="<?php 
    echo System::ExpandRelativePath("~/community/members/" . $id . "/inventory/wishlist");
    ?>
">Wish List</a>
									<?php 
}
?>
								</div>
							</td>
							<td style="vertical-align: top;">
								<?php 
$items = array();
if (count($path) < 3 || $path[3] == "") {
    $items = Item::GetByUser($thisuser);
} else {
    switch ($path[3]) {
        case "equipped":
            $items = Item::GetEquippedByUser($thisuser);
            break;
    }
}
if (count($items) > 0) {
    ?>
									<div class="ButtonGroup ButtonGroupHorizontal" style="min-height: 304px;">
									<?php 
    foreach ($items as $item) {
        ?>
										<a class="ButtonGroupButton" href="/community/members/<?php 
        echo $thisuser->ShortName;