Skip to content

Instantly share code, notes, and snippets.

@meltingice
Created March 2, 2010 01:32
Show Gist options
  • Save meltingice/319028 to your computer and use it in GitHub Desktop.
Save meltingice/319028 to your computer and use it in GitHub Desktop.
<? get('data')->load_post_list(); ?>
<? get('theme')->include_header(); ?>
<div id="content">
<div class="thread_title">
<h1><? get('data')->thread_title(); ?></h1>
<h2><? get('data')->thread_description(); ?></h2>
</div>
<? if(get('data')->are_posts()): while(get('data')->has_posts()): ?>
<div class="thread_post">
<div class="thread_post_wrap">
<div class="thread_post_header">
<p><img src="<?=URL_THEME?>img/user_green.png" /> <? get('data')->the_post('poster_link'); ?></p>
</div>
<div class="thread_post_info">
<div class="thread_post_avatar"><img src="<? get('data')->the_avatar_url(); ?>" /></div>
<ul class="thread_user_info">
<li><span class="tui_l">Posts:</span> <span class="tui_r"><? get('data')->post_user('posts'); ?></span></li>
<li><span class="tui_l">Joined:</span> <span class="tui_r"><? get('data')->post_user('time_joined'); ?></span></li>
</ul>
</div>
<div id="<? get('data')->the_post_css_id() ?>" class="thread_post_content_wrap">
<div class="thread_post_content"><? get('data')->the_formatted_post(); ?></div>
</div>
</div>
<div class="thread_post_footer">
</div>
</div>
<? endwhile; endif; ?>
<? get('theme')->include_postbox(); ?>
</div>
<? get('theme')->include_footer(); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment