Пример #1
0
</strong><br />
				<small><?php 
post_author_title();
?>
</small>
			</p>
		</div>
		
		<div class="threadpost">
			<div class="post"><?php 
post_text();
?>
</div>
			<div class="poststuff"><?php 
printf(__('Posted %s ago'), bb_get_post_time());
?>
 <a href="<?php 
post_anchor_link();
?>
">#</a> <?php 
post_ip_link();
?>
 <?php 
post_edit_link();
?>
 <?php 
post_delete_link();
?>
</div>
		</div>
Пример #2
0
function mass_edit_list_posts()
{
    global $bb_posts, $bb_post;
    if ($bb_posts) {
        foreach ($bb_posts as $bb_post) {
            ?>
	<li<?php 
            alt_class('post');
            ?>
>
		<div class="threadauthor">
			<p><strong><?php 
            poster_id_link();
            ?>
</strong><br />
				<small><?php 
            poster_id_type();
            ?>
</small></p>
		</div>
		<div class="threadpost">
			<div class="post"><?php 
            post_text();
            ?>
</div>
			<div class="poststuff">
				<?php 
            printf(__('Posted: %1$s in <a href="%2$s">%3$s</a>'), bb_get_post_time(), get_topic_link($bb_post->topic_id), get_topic_title($bb_post->topic_id));
            ?>
 IP: <?php 
            post_ip_link();
            ?>
 <?php 
            post_edit_link();
            ?>
 <?php 
            post_delete_link();
            ?>
</div>
			</div>
	</li><?php 
        }
    }
}