{if not $isexpand and not $isread}
{/if} {foreach key=postkey item=post from=$posts name=postsloop} {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}
{else} {if $numimages > 0 && $isexpand && $.foreach.postsloop.first} {t}Expand all images{/t} {/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} {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 $modifier eq 'last50'} {$replycount-50} {if $replycount-50 eq 1} {t lower="yes"}Post{/t} {else} {t lower="yes"}Posts{/t} {/if} {t}omitted{/t}. {t}Last 50 shown{/t}. {/if} {if $numimages > 0} {t}Expand all images{/t} {/if} {else}
{/if} {/foreach} {if $modifier eq 'first100'} {$replycount-100} {if $replycount-100 eq 1} {t lower="yes"}Post{/t} {else} {t lower="yes"}Posts{/t} {/if} {t}omitted{/t}. {t}First 100 shown{/t}. {/if} {if not $isread} {if $replycount > 2} [{t}Return{/t}] {if %KU_FIRSTLAST && ( count($posts) > 50 || $replycount > 50)} [{t}Entire Thread{/t}] [{t}Last 50 posts{/t}] {if ( count($posts) > 100 || $replycount > 100) } [{t}First 100 posts{/t}] {/if} {/if} {/if}
{if not $isexpand}

{/if} {/if}