<th>
						Website:
					</th>
					<td>
						<?php 
echo empty($db_object->array['website']) ? 'None' : plain($db_object->array['website']);
?>
					</td>
				</tr>
				<tr>
					<td colspan="2" style="text-align: center;">
						<?php 
echo empty($db_object->array['bio']) ? '&nbsp;' : simple($db_object->array['bio']);
?>
					</tr>
				</tr>
			</table>
		</div>
		<div id="gravatar_div" class="span-4 last">
			<a href="http://en.gravatar.com/site/check/<?php 
echo $db_object->array['email'];
?>
" target="_blank">
				<img src="<?php 
echo BackendUser::getGravatar($db_object->array['email']);
?>
" alt="Gravatar" />
			</a>
		</div>
		<div class="clear">&nbsp;</div>
Пример #2
0
        if (!empty($comment['BackendUser']['website'])) {
            $posted_by = '<a href="http://' . $comment['BackendUser']['website'] . '">' . $posted_by . '</a>';
        }
    } else {
        $posted_by = $comment['BackendUser']['username'];
        if ($comment['BackendUser']['confirmed']) {
            $posted_by = '<a href="?q=backend_user/' . $comment['user_id'] . '">' . $posted_by . '</a>';
        }
    }
    ?>
	<div id="comment_<?php 
    echo $comment['id'];
    ?>
">
		<img src="<?php 
    echo BackendUser::getGravatar($comment['BackendUser']['email'], 30);
    ?>
" style="float: left; margin-right: 5px;" width="30px" height="30px">
		<p class="quiet">
			posted by <?php 
    echo $posted_by;
    ?>
 <span title="<?php 
    echo $comment['added'];
    ?>
"><?php 
    echo time_elapsed($comment['added']);
    ?>
</a>
		</p>
		<p>