Пример #1
0
    $failed = true;
}
?>
<div class="maincontainer">
<?php 
/*Ideas:
		- select avatar from some predetermined list
		- custom description
		- friends list
		- linking to steam
	*/
if ($failed) {
    echo "<h3>Uh-Oh</h3>";
    echo "<p>Whoever you're looking for either never existed or deleted their account.</p>";
} else {
    $history = UserLog::getHistory($userObject->getBLID());
    echo "<h3>" . htmlspecialchars($userObject->getName()) . "</h3>";
    echo "<p><b>Last Seen:</b> " . $history[0]->lastseen;
    echo "<br /><b>BL_ID:</b> " . $userObject->getBLID();
    echo "</p><hr />";
    echo "<a href=\"/addons/search.php?blid=" . htmlspecialchars($userObject->getBLID()) . "\"><b>Find Add-Ons by this user</b></a>";
    ?>
		<hr />
		<table style="width: 100%">
			<thead>
				<tr>
					<th style="width: 33%">Username</th><th>Last Seen</th><th>First Seen</th>
				</tr>
			</thead>
			<tbody>
				<?php