Example #1
0
    echo l("Not specified");
}
?>
			</td>
		</tr>
		<tr class="<?php 
echo toggleRowClass($rcol);
?>
">
			<th><?php 
echo l("E-mail Address");
?>
</th>
			<td>
			   <?php 
$email = getEmailLink($playerObj->getParam("email"));
if (!empty($email)) {
    echo $email;
} else {
    echo l("Unknown");
}
?>
			</td>
			<th><?php 
echo l("Facebook");
?>
</th>
			<td><?php 
$url = getLink($playerObj->getParam("facebook"));
if (!empty($url)) {
    echo $url;
					<td>Real Name:</td>
					<td>
						<?php 
if ($playerdata['fullName']) {
    echo '<b>' . htmlspecialchars($playerdata['fullName'], ENT_COMPAT) . '</b>';
} else {
    echo "(<a href=\"" . $g_options['scripturl'] . '?mode=help#set"><em>Not Specified</em></a>)';
}
?>
					</td>
				</tr>
				<tr class="bg2">
					<td>E-mail Address:</td>
					<td>
						<?php 
if ($email = getEmailLink($playerdata['email'])) {
    echo $email;
} else {
    echo "(<a href=\"" . $g_options['scripturl'] . '?mode=help#set"><em>Not Specified</em></a>)';
}
?>
					</td>
				</tr>
				<tr class="bg1">
					<td>Home Page:</td>
					<td>
						<?php 
if ($playerdata['homepage']) {
    echo getLink($playerdata['homepage']);
} else {
    echo "(<a href=\"" . $g_options['scripturl'] . '?mode=help#set"><em>Not Specified</em></a>)';