Пример #1
0
			<div class="threadauthor">
				<?php 
post_author_avatar_link();
?>
				<p>
					<strong><?php 
post_author_link();
?>
</strong><br />
					<small><?php 
post_author_title_link();
?>
</small>
				</p>
				<div class="author-badges"><?php 
show_badges();
?>
</div>
			</div>
			<div class="threadpost">
				<div class="post"><?php 
post_text();
?>
</div>
				<div class="poststuff"><?php 
printf(__('Posted %s ago'), bb_get_post_time());
?>
 <a class="post-perma-link" href="<?php 
post_anchor_link();
?>
">Permalink</a> <?php 
Пример #2
0
        BoincForumPrefs::lookup($user);
        $user = @get_other_projects($user);
        $community_links = get_community_links_object($user);
        $data = new StdClass();
        $data->user = $user;
        $data->clo = $community_links;
        set_cached_data(USER_PAGE_TTL, serialize($data), $cache_args);
    }
    if (!$user->id) {
        error_page("No such user");
    }
    $logged_in_user = get_logged_in_user(false);
    page_head($user->name);
    start_table();
    echo "<tr><td valign=top>";
    start_table();
    show_user_summary_public($user);
    end_table();
    project_user_summary($user);
    show_other_projects($user, false);
    echo "</td><td valign=top>";
    start_table();
    show_badges(true, $user);
    if (!DISABLE_PROFILES) {
        show_profile_link($user);
    }
    community_links($community_links, $logged_in_user);
    end_table();
    echo "</td></tr></table>";
    page_tail(true);
}