{foreach name=thread item=postsa from=$posts} {foreach key=postkey item=post from=$postsa} {if $post.parentid eq 0}
{if ($post.file neq '' || $post.file_type neq '' ) && (($post.videobox eq '' && $post.file neq '') && $post.file neq 'removed')} {if $post.file_type eq 'mp3'} {t}Audio{/t} {else} {t}File{/t} {/if} {if $post.file_type neq 'jpg' && $post.file_type neq 'gif' && $post.file_type neq 'png' && $post.videobox eq ''} {else} {/if} {if isset($post.id3.comments_html)} {if $post.id3.comments_html.artist.0 neq ''} {$post.id3.comments_html.artist.0} {if $post.id3.comments_html.title.0 neq ''} - {/if} {/if} {if $post.id3.comments_html.title.0 neq ''} {$post.id3.comments_html.title.0} {/if} {else} {$post.file}.{$post.file_type} {/if} - ({$post.file_size_formatted} {if $post.id3.comments_html.bitrate neq 0 || $post.id3.audio.sample_rate neq 0} {if $post.id3.audio.bitrate neq 0} - {round($post.id3.audio.bitrate / 1000)} kbps {if $post.id3.audio.sample_rate neq 0} - {/if} {/if} {if $post.id3.audio.sample_rate neq 0} {$post.id3.audio.sample_rate / 1000} kHz {/if} {/if} {if $post.image_w > 0 && $post.image_h > 0} , {$post.image_w}x{$post.image_h} {/if} {if $post.file_original neq '' && $post.file_original neq $post.file} , {$post.file_original}.{$post.file_type} {/if} ) {if $post.id3.playtime_string neq ''} {t}Length{/t}: {$post.id3.playtime_string} {/if} {if %KU_THUMBMSG} {if $post.file_type neq 'jpg' && $post.file_type neq 'gif' && $post.file_type neq 'png' && $post.videobox eq ''} {t}Extension icon displayed, click image to open file.{/t} {else} {t}Thumbnail displayed, click image for full size.{/t} {/if} {/if}
{/if} {if $post.videobox eq '' && $post.file neq '' && ( $post.file_type eq 'jpg' || $post.file_type eq 'gif' || $post.file_type eq 'png')} {if $post.file eq 'removed'}
{t}File
Removed{/t}
{else} {$post.id} {/if} {elseif $post.nonstandard_file neq ''} {if $post.file eq 'removed'}
{t}File
Removed{/t}
{else} {$post.id} {/if} {/if} {$post.reflink} {if $board.showid} ID: {$post.ipmd5|substr:0:6} {/if} {if $post.locked eq 1} {t}Locked{/t} {/if} {if $post.stickied eq 1} {t}Stickied{/t} {/if} hide {if %KU_WATCHTHREADS} watch {/if} {if %KU_EXPAND && $post.replies && ($post.replies + %KU_REPLIES) < 300} expand {/if} {if %KU_QUICKREPLY} quickreply {/if} [{t}Reply{/t}] {if %KU_FIRSTLAST && (($post.stickied eq 1 && $post.replies + %KU_REPLIESSTICKY > 50) || ($post.stickied eq 0 && $post.replies + %KU_REPLIES > 50))} {if (($post.stickied eq 1 && $post.replies + %KU_REPLIESSTICKY > 100) || ($post.stickied eq 0 && $post.replies + %KU_REPLIES > 100))} [{t}First 100 posts{/t}] {/if} [{t}Last 50 posts{/t}] {/if}
{else}
>> {$post.reflink} {if $board.showid} ID: {$post.ipmd5|substr:0:6} {/if} {if $post.locked eq 1} {t}Locked{/t} {/if} {if $post.stickied eq 1} {t}Stickied{/t} {/if} {if ($post.file neq '' || $post.file_type neq '' ) && (( $post.videobox eq '' && $post.file neq '') && $post.file neq 'removed')}
{if $post.file_type eq 'mp3'} {t}Audio{/t} {else} {t}File{/t} {/if} {if $post.file_type neq 'jpg' && $post.file_type neq 'gif' && $post.file_type neq 'png' && $post.videobox eq ''} {else} {/if} {if isset($post.id3.comments_html)} {if $post.id3.comments_html.artist.0 neq ''} {$post.id3.comments_html.artist.0} {if $post.id3.comments_html.title.0 neq ''} - {/if} {/if} {if $post.id3.comments_html.title.0 neq ''} {$post.id3.comments_html.title.0} {/if} {else} {$post.file}.{$post.file_type} {/if} - ({$post.file_size_formatted} {if $post.id3.comments_html.bitrate neq 0 || $post.id3.audio.sample_rate neq 0} {if $post.id3.audio.bitrate neq 0} - {round($post.id3.audio.bitrate / 1000)} kbps {if $post.id3.audio.sample_rate neq 0} - {/if} {/if} {if $post.id3.audio.sample_rate neq 0} {$post.id3.audio.sample_rate / 1000} kHz {/if} {/if} {if $post.image_w > 0 && $post.image_h > 0} , {$post.image_w}x{$post.image_h} {/if} {if $post.file_original neq '' && $post.file_original neq $post.file} , {$post.file_original}.{$post.file_type} {/if} ) {if $post.id3.playtime_string neq ''} {t}Length{/t}: {$post.id3.playtime_string} {/if} {if %KU_THUMBMSG} {if $post.file_type neq 'jpg' && $post.file_type neq 'gif' && $post.file_type neq 'png' && $post.videobox eq ''} {t}Extension icon displayed, click image to open file.{/t} {else} {t}Thumbnail displayed, click image for full size.{/t} {/if} {/if} {/if} {if $post.videobox eq '' && $post.file neq '' && ( $post.file_type eq 'jpg' || $post.file_type eq 'gif' || $post.file_type eq 'png')}
{if $post.file eq 'removed'}
{t}File
Removed{/t}
{else} {$post.id} {/if} {elseif $post.nonstandard_file neq ''}
{if $post.file eq 'removed'}
{t}File
Removed{/t}
{else} {$post.id} {/if} {/if} {/if} {if $post.file_type eq 'mp3'} {/if}
{if $post.videobox} {$post.videobox} {/if} {$post.message}
{if not $post.stickied && $post.parentid eq 0 && (($board.maxage > 0 && ($post.timestamp + ($board.maxage * 3600)) < (time() + 7200 ) ) || ($post.deleted_timestamp > 0 && $post.deleted_timestamp <= (time() + 7200)))} {t}Marked for deletion (old){/t}
{/if} {if $post.parentid eq 0}
{if $post.replies} {if $post.stickied eq 0} {$post.replies} {if $post.replies eq 1} {t lower="yes"}Post{/t} {else} {t lower="yes"}Posts{/t} {/if} {else} {$post.replies} {if $post.replies eq 1} {t lower="yes"}Post{/t} {else} {t lower="yes"}Posts{/t} {/if} {/if} {if $post.images > 0} {t}and{/t} {$post.images} {if $post.images eq 1} {t lower="yes"}Image{/t} {else} {t lower="yes"}Images{/t} {/if} {/if} {t}omitted{/t}. {t}Click Reply to view.{/t} {/if} {else}
{/if} {/foreach}


{/foreach}