Add new directory structure. Tags will contain current and past releases, and stable will contain any bug fixes to the current stable release so users won't have to get the potentially broken trunk build to fix a screwup in stable.
Trunk updated to 0.9 git-svn-id: http://kusabax.cultnet.net/svn/repo/stable@176 73d99b7e-4f53-4972-b7b7-2ecd3c4d89ee
This commit is contained in:
commit
88bacfad9c
316 files changed
+79806
No files matched your search
@@ -0,0 +1,70 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>{t}YOU ARE BANNED{/t}!</title>
|
||||
<link rel="stylesheet" type="text/css" href="{%KU_BOARDSPATH}/css/site_futaba.css" title="Futaba">
|
||||
<link rel="shortcut icon" href="{%KU_WEBPATH}/favicon.ico">
|
||||
</head>
|
||||
<h1>{%KU_NAME}</h1>
|
||||
<h3>{%KU_SLOGAN}</h3>
|
||||
<div style="margin: 3em;">
|
||||
<h2> {t}YOU ARE BANNED{/t}! :\</h2>
|
||||
<img src="{%KU_BOARDSPATH}/youarebanned.jpg" style="float: right;" alt=":'(">
|
||||
{foreach name=bans item=ban from=$bans}
|
||||
{if not $.foreach.bans.first}
|
||||
{t}Additionally{/t},
|
||||
{/if}
|
||||
{if $ban.expired eq 1}
|
||||
{t}You were banned from posting on{/t}
|
||||
{else}
|
||||
{t}You have been banned from posting on{/t}
|
||||
{/if}
|
||||
<strong>{if $ban.globalban eq 1}{t}All boards{/t}{else}/{implode('/</strong>, <strong>/', explode('|', $ban.boards))}/{/if}</strong> {t}for the following reason{/t}:<br /><br />
|
||||
<strong>{$ban.reason}</strong><br /><br />
|
||||
{t}Your ban was placed on{/t} <strong>{$ban.at|date_format:"%B %e, %Y, %I:%M %P %Z"}</strong>, {t}and{/t}
|
||||
{if $ban.expired eq 1}
|
||||
{t}expired on{/t} <strong>{$ban.until|date_format:"%B %e, %Y, %I:%M %P"}</strong><br />
|
||||
<strong>{t}This ban has already expired, this message is for your information only and will not be displayed again{/t}</strong>
|
||||
{else}
|
||||
{if $ban.until > 0}{t}will expire on{/t} <strong>{$ban.until|date_format:"%B %e, %Y, %I:%M %P"}</strong>{else}{t}will not expire{/t}</strong>{/if}
|
||||
{/if}
|
||||
<br /><br />
|
||||
{if %KU_APPEAL neq '' && $ban.expired eq 0}
|
||||
{if $ban.appealat eq 0}
|
||||
{t}You may <strong>not</strong> appeal this ban.{/t}
|
||||
{elseif $ban.appealat eq -1}
|
||||
{t}Your appeal is currently pending review.{/t}
|
||||
{t}For reference, your appeal message is{/t}:<br />
|
||||
<strong>{$ban.appeal}</strong>
|
||||
{elseif $ban.appealat eq -2}
|
||||
{t}Your appeal was reviewed and denied. You may <strong>not</strong> appeal this ban again.{/t}
|
||||
{t}For reference, your appeal message was{/t}:<br />
|
||||
<strong>{$ban.appeal}</strong>
|
||||
{else}
|
||||
{if $ban.appealat < $.now}
|
||||
{t}You may now appeal this ban.{/t}
|
||||
<br /><br />
|
||||
<form action="{%KU_BOARDSPATH}/banned.php" method="post">
|
||||
<input type="hidden" name="banid" value="{$ban.id}" />
|
||||
<label for="appealmessage">{t}Appeal Message{/t}:</label>
|
||||
<br />
|
||||
<textarea name="appealmessage" rows="10" cols="50"></textarea>
|
||||
<br /><input type="submit" value="{t}Send Appeal{/t}" />
|
||||
</form>
|
||||
{else}
|
||||
{t}You may appeal this ban in{/t} <strong>{$ban.appealin}</strong>.
|
||||
{/if}
|
||||
{/if}
|
||||
<br />
|
||||
{/if}
|
||||
{if $.foreach.bans.last}
|
||||
<br />{t}Your IP address is{/t} <strong>{$.server.REMOTE_ADDR}</strong>.<br /><br />
|
||||
{/if}
|
||||
{if count($bans) > 1 && not $.foreach.bans.last}
|
||||
<hr />
|
||||
{/if}
|
||||
|
||||
{/foreach}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,33 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>{%KU_NAME}</title>
|
||||
<link rel="shortcut icon" href="{%KU_WEBPATH}/favicon.ico" />
|
||||
<link rel="stylesheet" type="text/css" href="{%KU_BOARDSPATH}/css/menu_global.css" />
|
||||
{loop $styles}
|
||||
<link rel="{if $ neq %KU_DEFAULTMENUSTYLE}alternate {/if}stylesheet" type="text/css" href="{%KU_WEBFOLDER}css/site_{$}.css" title="{$|capitalize}" />
|
||||
<link rel="{if $ neq %KU_DEFAULTMENUSTYLE}alternate {/if}stylesheet" type="text/css" href="{%KU_WEBFOLDER}css/sitemenu_{$}.css" title="{$|capitalize}" />
|
||||
{/loop}
|
||||
|
||||
<style type="text/css">{literal}
|
||||
body {
|
||||
width: 100% !important;
|
||||
}
|
||||
{/literal}</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1 style="font-size: 3em;">{t}Error{/t}</h1>
|
||||
<br />
|
||||
<h2 style="font-size: 2em;font-weight: bold;text-align: center;">
|
||||
{$errormsg}
|
||||
</h2>
|
||||
{$errormsgext}
|
||||
<div style="text-align: center;width: 100%;position: absolute;bottom: 10px;">
|
||||
<br />
|
||||
<div class="footer" style="clear: both;">
|
||||
{* I'd really appreciate it if you left the link to kusabax.org in the footer, if you decide to modify this. That being said, you are not bound by license or any other terms to keep it there *}
|
||||
<div class="legal"> - <a href="http://www.kusabax.org/" target="_top">kusaba x {%KU_VERSION}</a> -
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,3 @@
|
||||
<a name="bottom"></a>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,13 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html{$htmloptions} xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>{$title}</title>
|
||||
<link rel="shortcut icon" href="{$cwebpath}/favicon.ico" />
|
||||
{if $locale != 'en'}
|
||||
<link rel="gettext" type="application/x-po" href="{$cwebpath}/inc/lang/{$locale}/LC_MESSAGES/kusaba.po" />
|
||||
{/if}
|
||||
<meta http-equiv="Pragma" content="no-cache" />
|
||||
<meta http-equiv="cache-control" content="no-cache" />
|
||||
<meta http-equiv="expires" content="Sat, 17 Mar 1990 00:00:01 GMT" />
|
||||
<meta http-equiv="Content-Type" content="text/html;charset={%KU_CHARSET}" />
|
||||
<script type="text/javascript" src="{$cwebpath}/lib/javascript/gettext.js"></script>
|
||||
@@ -0,0 +1,428 @@
|
||||
<form id="delform" action="{%KU_CGIPATH}/board.php" method="post">
|
||||
<input type="hidden" name="board" value="{$board.name}" />
|
||||
{foreach name=thread item=postsa from=$posts}
|
||||
{foreach key=postkey item=post from=$postsa}
|
||||
{if $post.parentid eq 0}
|
||||
<span id="unhidethread{$post.id}{$board.name}" style="display: none;">
|
||||
{t}Thread{/t} <a href="{%KU_BOARDSFOLDER}{$board.name}/res/{$post.id}.html">{$post.id}</a> {t}hidden.{/t}
|
||||
<a href="#" onclick="javascript:togglethread('{$post.id}{$board.name}');return false;" title="{t}Un-Hide Thread{/t}">
|
||||
<img src="{$cwebpath}css/icons/blank.gif" border="0" class="unhidethread" alt="{t}Un-Hide Thread{/t}" />
|
||||
</a>
|
||||
</span>
|
||||
<div id="thread{$post.id}{$board.name}">
|
||||
<script type="text/javascript"><!--
|
||||
if (hiddenthreads.toString().indexOf('{$post.id}{$board.name}')!==-1) {
|
||||
document.getElementById('unhidethread{$post.id}{$board.name}').style.display = 'block';
|
||||
document.getElementById('thread{$post.id}{$board.name}').style.display = 'none';
|
||||
}
|
||||
//--></script>
|
||||
<a name="s{$.foreach.thread.iteration}"></a>
|
||||
|
||||
{if ($post.file neq '' || $post.file_type neq '' ) && (($post.videobox eq '' && $post.file neq '') && $post.file neq 'removed')}
|
||||
<span class="filesize">
|
||||
{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 ''}
|
||||
<a
|
||||
{if %KU_NEWWINDOW}
|
||||
target="_blank"
|
||||
{/if}
|
||||
href="{$file_path}/src/{$post.file}.{$post.file_type}">
|
||||
{else}
|
||||
<a href="{$file_path}/src/{$post.file}.{$post.file_type}" onclick="javascript:expandimg('{$post.id}', '{$file_path}/src/{$post.file}.{$post.file_type}', '{$file_path}/thumb/{$post.file}s.{$post.file_type}', '{$post.image_w}', '{$post.image_h}', '{$post.thumb_w}', '{$post.thumb_h}');return false;">
|
||||
{/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}
|
||||
</a>
|
||||
{else}
|
||||
{$post.file}.{$post.file_type}</a>
|
||||
{/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}
|
||||
</span>
|
||||
{if %KU_THUMBMSG}
|
||||
<span class="thumbnailmsg">
|
||||
{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}
|
||||
</span>
|
||||
{/if}
|
||||
<br />
|
||||
{/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'}
|
||||
<div class="nothumb">
|
||||
{t}File<br />Removed{/t}
|
||||
</div>
|
||||
{else}
|
||||
<a
|
||||
{if %KU_NEWWINDOW}
|
||||
target="_blank"
|
||||
{/if}
|
||||
href="{$file_path}/src/{$post.file}.{$post.file_type}">
|
||||
<span id="thumb{$post.id}"><img src="{$file_path}/thumb/{$post.file}s.{$post.file_type}" alt="{$post.id}" class="thumb" height="{$post.thumb_h}" width="{$post.thumb_w}" /></span>
|
||||
</a>
|
||||
{/if}
|
||||
{elseif $post.nonstandard_file neq ''}
|
||||
{if $post.file eq 'removed'}
|
||||
<div class="nothumb">
|
||||
{t}File<br />Removed{/t}
|
||||
</div>
|
||||
{else}
|
||||
<a
|
||||
{if %KU_NEWWINDOW}
|
||||
target="_blank"
|
||||
{/if}
|
||||
href="{$file_path}/src/{$post.file}.{$post.file_type}">
|
||||
<span id="thumb{$post.id}"><img src="{$post.nonstandard_file}" alt="{$post.id}" class="thumb" height="{$post.thumb_h}" width="{$post.thumb_w}" /></span>
|
||||
</a>
|
||||
{/if}
|
||||
{/if}
|
||||
<a name="{$post.id}"></a>
|
||||
<label>
|
||||
<input type="checkbox" name="post[]" value="{$post.id}" />
|
||||
{if $post.subject neq ''}
|
||||
<span class="filetitle">
|
||||
{$post.subject}
|
||||
</span>
|
||||
{/if}
|
||||
{strip}
|
||||
<span class="postername">
|
||||
|
||||
{if $post.email && $board.anonymous}
|
||||
<a href="mailto:{$post.email}">
|
||||
{/if}
|
||||
{if $post.name eq '' && $post.tripcode eq ''}
|
||||
{$board.anonymous}
|
||||
{elseif $post.name eq '' && $post.tripcode neq ''}
|
||||
{else}
|
||||
{$post.name}
|
||||
{/if}
|
||||
{if $post.email neq '' && $board.anonymous neq ''}
|
||||
</a>
|
||||
{/if}
|
||||
|
||||
</span>
|
||||
|
||||
{if $post.tripcode neq ''}
|
||||
<span class="postertrip">!{$post.tripcode}</span>
|
||||
{/if}
|
||||
{/strip}
|
||||
{if $post.posterauthority eq 1}
|
||||
<span class="admin">
|
||||
## {t}Admin{/t} ##
|
||||
</span>
|
||||
{elseif $post.posterauthority eq 4}
|
||||
<span class="mod">
|
||||
## {t}Super Mod{/t} ##
|
||||
</span>
|
||||
{elseif $post.posterauthority eq 2}
|
||||
<span class="mod">
|
||||
## {t}Mod{/t} ##
|
||||
</span>
|
||||
{/if}
|
||||
{$post.timestamp_formatted}
|
||||
</label>
|
||||
<span class="reflink">
|
||||
{$post.reflink}
|
||||
</span>
|
||||
{if $board.showid}
|
||||
ID: {$post.ipmd5|substr:0:6}
|
||||
{/if}
|
||||
<span class="extrabtns">
|
||||
{if $post.locked eq 1}
|
||||
<img style="border: 0;" src="{$boardpath}css/locked.gif" alt="{t}Locked{/t}" />
|
||||
{/if}
|
||||
{if $post.stickied eq 1}
|
||||
<img style="border: 0;" src="{$boardpath}css/sticky.gif" alt="{t}Stickied{/t}" />
|
||||
{/if}
|
||||
<span id="hide{$post.id}"><a href="#" onclick="javascript:togglethread('{if $post.parentid eq 0}{$post.id}{else}{$post.parentid}{/if}{$board.name}');return false;" title="Hide Thread"><img src="{$boardpath}css/icons/blank.gif" border="0" class="hidethread" alt="hide" /></a></span>
|
||||
{if %KU_WATCHTHREADS}
|
||||
<a href="#" onclick="javascript:addtowatchedthreads('{if $post.parentid eq 0}{$post.id}{else}{$post.parentid}{/if}','{$board.name}');return false;" title="Watch Thread"><img src="{$boardpath}css/icons/blank.gif" border="0" class="watchthread" alt="watch" /></a>
|
||||
{/if}
|
||||
{if %KU_EXPAND && $post.replies && ($post.replies + %KU_REPLIES) < 300}
|
||||
<a href="#" onclick="javascript:expandthread('{if $post.parentid eq 0}{$post.id}{else}{$post.parentid}{/if}','{$board.name}');return false;" title="Expand Thread"><img src="{$boardpath}css/icons/blank.gif" border="0" class="expandthread" alt="expand" /></a>
|
||||
{/if}
|
||||
{if %KU_QUICKREPLY}
|
||||
<a href="#postbox" onclick="javascript:quickreply('{if $post.parentid eq 0}{$post.id}{else}{$post.parentid}{/if}');" title="{t}Quick Reply{/t}"><img src="{$boardpath}css/icons/blank.gif" border="0" class="quickreply" alt="quickreply" /></a>
|
||||
{/if}
|
||||
</span>
|
||||
<span id="dnb-{$board.name}-{$post.id}-y"></span>
|
||||
[<a href="{%KU_BOARDSFOLDER}{$board.name}/res/{if $post.parentid eq 0}{$post.id}{else}{$post.parentid}{/if}.html">{t}Reply{/t}</a>]
|
||||
{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))}
|
||||
[<a href="{%KU_BOARDSFOLDER}{$board.name}/res/{if $post.parentid eq 0}{$post.id}{else}{$post.parentid}{/if}-100.html">{t}First 100 posts{/t}</a>]
|
||||
{/if}
|
||||
[<a href="{%KU_BOARDSFOLDER}{$board.name}/res/{$post.id}+50.html">{t}Last 50 posts{/t}</a>]
|
||||
{/if}
|
||||
<br />
|
||||
{else}
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="doubledash">
|
||||
>>
|
||||
</td>
|
||||
<td class="reply" id="reply{$post.id}">
|
||||
<a name="{$post.id}"></a>
|
||||
<label>
|
||||
<input type="checkbox" name="post[]" value="{$post.id}" />
|
||||
|
||||
|
||||
{if $post.subject neq ''}
|
||||
<span class="filetitle">
|
||||
{$post.subject}
|
||||
</span>
|
||||
{/if}
|
||||
{strip}
|
||||
<span class="postername">
|
||||
|
||||
{if $post.email && $board.anonymous}
|
||||
<a href="mailto:{$post.email}">
|
||||
{/if}
|
||||
{if $post.name eq '' && $post.tripcode eq ''}
|
||||
{$board.anonymous}
|
||||
{elseif $post.name eq '' && $post.tripcode neq ''}
|
||||
{else}
|
||||
{$post.name}
|
||||
{/if}
|
||||
{if $post.email neq '' && $board.anonymous neq ''}
|
||||
</a>
|
||||
{/if}
|
||||
|
||||
</span>
|
||||
|
||||
{if $post.tripcode neq ''}
|
||||
<span class="postertrip">!{$post.tripcode}</span>
|
||||
{/if}
|
||||
{/strip}
|
||||
{if $post.posterauthority eq 1}
|
||||
<span class="admin">
|
||||
## {t}Admin{/t} ##
|
||||
</span>
|
||||
{elseif $post.posterauthority eq 4}
|
||||
<span class="mod">
|
||||
## {t}Super Mod{/t} ##
|
||||
</span>
|
||||
{elseif $post.posterauthority eq 2}
|
||||
<span class="mod">
|
||||
## {t}Mod{/t} ##
|
||||
</span>
|
||||
{/if}
|
||||
|
||||
{$post.timestamp_formatted}
|
||||
</label>
|
||||
|
||||
<span class="reflink">
|
||||
{$post.reflink}
|
||||
</span>
|
||||
{if $board.showid}
|
||||
ID: {$post.ipmd5|substr:0:6}
|
||||
{/if}
|
||||
<span class="extrabtns">
|
||||
{if $post.locked eq 1}
|
||||
<img style="border: 0;" src="{$boardpath}css/locked.gif" alt="{t}Locked{/t}" />
|
||||
{/if}
|
||||
{if $post.stickied eq 1}
|
||||
<img style="border: 0;" src="{$boardpath}css/sticky.gif" alt="{t}Stickied{/t}" />
|
||||
{/if}
|
||||
</span>
|
||||
<span id="dnb-{$board.name}-{$post.id}-n"></span>
|
||||
{if ($post.file neq '' || $post.file_type neq '' ) && (( $post.videobox eq '' && $post.file neq '') && $post.file neq 'removed')}
|
||||
<br /><span class="filesize">
|
||||
{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 ''}
|
||||
<a
|
||||
{if %KU_NEWWINDOW}
|
||||
target="_blank"
|
||||
{/if}
|
||||
href="{$file_path}/src/{$post.file}.{$post.file_type}">
|
||||
{else}
|
||||
<a href="{$file_path}/src/{$post.file}.{$post.file_type}" onclick="javascript:expandimg('{$post.id}', '{$file_path}/src/{$post.file}.{$post.file_type}', '{$file_path}/thumb/{$post.file}s.{$post.file_type}', '{$post.image_w}', '{$post.image_h}', '{$post.thumb_w}', '{$post.thumb_h}');return false;">
|
||||
{/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}
|
||||
</a>
|
||||
{else}
|
||||
{$post.file}.{$post.file_type}</a>
|
||||
{/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}
|
||||
</span>
|
||||
{if %KU_THUMBMSG}
|
||||
<span class="thumbnailmsg">
|
||||
{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}
|
||||
</span>
|
||||
{/if}
|
||||
|
||||
{/if}
|
||||
{if $post.videobox eq '' && $post.file neq '' && ( $post.file_type eq 'jpg' || $post.file_type eq 'gif' || $post.file_type eq 'png')}
|
||||
<br />
|
||||
{if $post.file eq 'removed'}
|
||||
<div class="nothumb">
|
||||
{t}File<br />Removed{/t}
|
||||
</div>
|
||||
{else}
|
||||
<a
|
||||
{if %KU_NEWWINDOW}
|
||||
target="_blank"
|
||||
{/if}
|
||||
href="{$file_path}/src/{$post.file}.{$post.file_type}">
|
||||
<span id="thumb{$post.id}"><img src="{$file_path}/thumb/{$post.file}s.{$post.file_type}" alt="{$post.id}" class="thumb" height="{$post.thumb_h}" width="{$post.thumb_w}" /></span>
|
||||
</a>
|
||||
{/if}
|
||||
{elseif $post.nonstandard_file neq ''}
|
||||
<br />
|
||||
{if $post.file eq 'removed'}
|
||||
<div class="nothumb">
|
||||
{t}File<br />Removed{/t}
|
||||
</div>
|
||||
{else}
|
||||
<a
|
||||
{if %KU_NEWWINDOW}
|
||||
target="_blank"
|
||||
{/if}
|
||||
href="{$file_path}/src/{$post.file}.{$post.file_type}">
|
||||
<span id="thumb{$post.id}"><img src="{$post.nonstandard_file}" alt="{$post.id}" class="thumb" height="{$post.thumb_h}" width="{$post.thumb_w}" /></span>
|
||||
</a>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
{/if}
|
||||
{if $post.file_type eq 'mp3'}
|
||||
<!--[if !IE]> -->
|
||||
<object type="application/x-shockwave-flash" data="{%KU_WEBPATH}/inc/player/player.swf?playerID={$post.id}&soundFile={$file_path}/src/{$post.file|utf8_encode|urlencode}.mp3{if $post.id3.comments_html.artist.0 neq ''}&artists={$post.id3.comments_html.artist.0}{/if}{if $post.id3.comments_html.title.0 neq ''}&titles={$post.id3.comments_html.title.0|html_entity_decode|utf8_encode|urlencode}{/if}&wmode=transparent" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,22,87" width="290" height="24">
|
||||
<param name="wmode" value="transparent" />
|
||||
<!-- <![endif]-->
|
||||
<!--[if IE]>
|
||||
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,22,87" width="290" height="24">
|
||||
<param name="movie" value="{%KU_WEBPATH}/inc/player/player.swf?playerID={$post.id}&soundFile={$file_path}/src/{$post.file|utf8_encode|urlencode}.mp3{if $post.id3.comments_html.artist.0 neq ''}&artists={$post.id3.comments_html.artist.0}{/if}{if $post.id3.comments_html.title.0 neq ''}&titles={$post.id3.comments_html.title.0|html_entity_decode|utf8_encode|urlencode}{/if}&wmode=transparent" />
|
||||
<param name="wmode" value="transparent" />
|
||||
<!-->
|
||||
</object>
|
||||
<!-- <![endif]-->
|
||||
{/if}
|
||||
<blockquote>
|
||||
{if $post.videobox}
|
||||
{$post.videobox}
|
||||
{/if}
|
||||
{$post.message}
|
||||
</blockquote>
|
||||
{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)))}
|
||||
<span class="oldpost">
|
||||
{t}Marked for deletion (old){/t}
|
||||
</span>
|
||||
<br />
|
||||
{/if}
|
||||
{if $post.parentid eq 0}
|
||||
<div id="replies{$post.id}{$board.name}">
|
||||
{if $post.replies}
|
||||
<span class="omittedposts">
|
||||
{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}
|
||||
</span>
|
||||
{/if}
|
||||
{else}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{/if}
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
<br clear="left" />
|
||||
<hr />
|
||||
{/foreach}
|
||||
@@ -0,0 +1,101 @@
|
||||
{if not $isread}
|
||||
<table class="userdelete">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
{t}Delete post{/t}
|
||||
[<input type="checkbox" name="fileonly" id="fileonly" value="on" /><label for="fileonly">{t}File Only{/t}</label>]<br />{t}Password{/t}
|
||||
<input type="password" name="postpassword" size="8" /> <input name="deletepost" value="{t}Delete{/t}" type="submit" />
|
||||
|
||||
{if $board.enablereporting eq 1}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{t}Report post{t}<br />
|
||||
{t}Reason{/t}
|
||||
<input type="text" name="reportreason" size="10" /> <input name="reportpost" value="{t}Report{/t}" type="submit" />
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
<script type="text/javascript"><!--
|
||||
set_delpass("delform");
|
||||
//--></script>
|
||||
{/if}
|
||||
{if $replythread eq 0}
|
||||
<table border="1">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
{if $thispage eq 0}
|
||||
{t}Previous{/t}
|
||||
{else}
|
||||
<form method="get" action="{%KU_BOARDSFOLDER}{$board.name}/{if ($thispage-1) neq 0}{$thispage-1}.html{/if}">
|
||||
<input value="{t}Previous{/t}" type="submit" /></form>
|
||||
{/if}
|
||||
</td>
|
||||
<td>
|
||||
[{if $thispage neq 0}<a href="{%KU_BOARDSPATH}/{$board.name}/">{/if}0{if $thispage neq 0}</a>{/if}]
|
||||
{section name=pages loop=$numpages}
|
||||
{strip}
|
||||
[
|
||||
{if $.section.pages.iteration neq $thispage}<a href="{%KU_BOARDSFOLDER}{$board.name}/{$.section.pages.iteration}.html">
|
||||
{/if}
|
||||
|
||||
{$.section.pages.iteration}
|
||||
|
||||
{if $.section.pages.iteration neq $thispage}
|
||||
</a>
|
||||
{/if}
|
||||
]
|
||||
{/strip}
|
||||
{/section}
|
||||
</td>
|
||||
<td>
|
||||
{if $thispage eq $numpages}
|
||||
{t}Next{/t}
|
||||
{else}
|
||||
<form method="get" action="{%KU_BOARDSPATH}/{$board.name}/{$thispage+1}.html"><input value="{t}Next{/t}" type="submit" /></form>
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
{/if}
|
||||
<br />
|
||||
{if $boardlist}
|
||||
<div class="navbar">
|
||||
{if %KU_GENERATEBOARDLIST}
|
||||
{foreach name=sections item=sect from=$boardlist}
|
||||
[
|
||||
{foreach name=brds item=brd from=$sect}
|
||||
<a title="{$brd.desc}" href="{%KU_BOARDSFOLDER}{$brd.name}/">{$brd.name}</a>{if $.foreach.brds.last}{else} / {/if}
|
||||
{/foreach}
|
||||
]
|
||||
{/foreach}
|
||||
{else}
|
||||
{if is_file($boardlist)}
|
||||
{include $boardlist}
|
||||
{/if}
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
<br />
|
||||
<div class="footer" style="clear: both;">
|
||||
{* I'd really appreciate it if you left the link to kusabax.org in the footer, if you decide to modify this. That being said, you are not bound by license or any other terms to keep it there *}
|
||||
- <a href="http://www.kusabax.org/" target="_top">kusaba x {%KU_VERSION}</a>
|
||||
{if $executiontime neq ''} + {t}Took{/t} {$executiontime}s -{/if}
|
||||
{if $botads neq ''}
|
||||
<div class="content ads">
|
||||
<center>
|
||||
{$botads}
|
||||
</center>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
@@ -0,0 +1,98 @@
|
||||
<script type="text/javascript" src="{$cwebpath}lib/javascript/protoaculous-compressed.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="{$cwebpath}css/img_global.css" />
|
||||
{loop $ku_styles}
|
||||
<link rel="{if $ neq $__.ku_defaultstyle}alternate {/if}stylesheet" type="text/css" href="{$__.cwebpath}css/{$}.css" title="{$|capitalize}" />
|
||||
{/loop}
|
||||
{if $locale eq 'ja'}
|
||||
{literal}
|
||||
<style type="text/css">
|
||||
*{
|
||||
font-family: IPAMonaPGothic, Mona, 'MS PGothic', YOzFontAA97 !important;
|
||||
font-size: 1em;
|
||||
}
|
||||
</style>
|
||||
{/literal}
|
||||
{/if}
|
||||
{if %KU_RSS neq ''}
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="{%KU_BOARDSPATH}/{$board.name}/rss.xml" />
|
||||
{/if}
|
||||
<script type="text/javascript"><!--
|
||||
var ku_boardspath = '{%KU_BOARDSPATH}';
|
||||
var ku_cgipath = '{%KU_CGIPATH}';
|
||||
var style_cookie = "kustyle";
|
||||
{if $replythread > 0}
|
||||
var ispage = false;
|
||||
{else}
|
||||
var ispage = true;
|
||||
{/if}
|
||||
//--></script>
|
||||
<script type="text/javascript" src="{%KU_WEBPATH}/lib/javascript/kusaba.js"></script>
|
||||
<script type="text/javascript"><!--
|
||||
var hiddenthreads = getCookie('hiddenthreads').split('!');
|
||||
//--></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="adminbar">
|
||||
{if %KU_STYLESWITCHER}
|
||||
{if %KU_DROPSWITCHER}
|
||||
<select onchange="javascript:if(selectedIndex != 0)set_stylesheet(options[selectedIndex].value);return false;">
|
||||
<option>Styles</option>
|
||||
{loop $ku_styles}
|
||||
<option value="{$|capitalize}">{$|capitalize}</option>;
|
||||
{/loop}
|
||||
</select>
|
||||
{else}
|
||||
{loop $ku_styles}
|
||||
[<a href="#" onclick="javascript:set_stylesheet('{$|capitalize}');return false;">{$|capitalize}</a>]
|
||||
{/loop}
|
||||
{/if}
|
||||
{if count($ku_styles) > 0}
|
||||
-
|
||||
{/if}
|
||||
{/if}
|
||||
{if %KU_WATCHTHREADS}
|
||||
[<a href="#" onclick="javascript:showwatchedthreads();return false" title="{t}Watched Threads{/t}">WT</a>]
|
||||
{/if}
|
||||
[<a href="{%KU_WEBPATH}" target="_top">{t}Home{/t}</a>] [<a href="{%KU_CGIPATH}/manage.php" target="_top">{t}Manage{/t}</a>]
|
||||
</div>
|
||||
<div class="navbar">
|
||||
{if %KU_GENERATEBOARDLIST}
|
||||
{foreach name=sections item=sect from=$boardlist}
|
||||
[
|
||||
{foreach name=brds item=brd from=$sect}
|
||||
<a title="{$brd.desc}" href="{%KU_BOARDSFOLDER}{$brd.name}/">{$brd.name}</a>{if $.foreach.brds.last}{else} / {/if}
|
||||
{/foreach}
|
||||
]
|
||||
{/foreach}
|
||||
{else}
|
||||
{if is_file($boardlist)}
|
||||
{include $boardlist}
|
||||
{/if}
|
||||
{/if}
|
||||
</div>
|
||||
{if %KU_WATCHTHREADS && not $isoekaki && not $hidewatchedthreads}
|
||||
<script type="text/javascript"><!--
|
||||
if (getCookie('showwatchedthreads') == '1') {
|
||||
document.write('<div id="watchedthreads" style="top: {$ad_top}px; left: 25px;" class="watchedthreads"><div class="postblock" id="watchedthreadsdraghandle" style="width: 100%;">{t}Watched Threads{/t}<\/div><span id="watchedthreadlist"><\/span><div id="watchedthreadsbuttons"><a href="#" onclick="javascript:hidewatchedthreads();return false;" title="{t}Hide the watched threads box{/t}"><img src="{$cwebpath}css/icons/blank.gif" border="0" class="hidewatchedthreads" alt="hide" /><\/a> <a href="#" onclick="javascript:getwatchedthreads(\'0\', \'{$board.name}\');return false;" title="{t}Refresh watched threads{/t}"><img src="{$cwebpath}css/icons/blank.gif" border="0" class="refreshwatchedthreads" alt="refresh" /><\/a><\/div><\/div>');
|
||||
watchedthreadselement = document.getElementById('watchedthreads');
|
||||
watchedthreadselement.style.top = getCookie('watchedthreadstop');
|
||||
watchedthreadselement.style.left = getCookie('watchedthreadsleft');
|
||||
watchedthreadselement.style.width = Math.max(250,getCookie('watchedthreadswidth')) + 'px';
|
||||
watchedthreadselement.style.height = Math.max(75,getCookie('watchedthreadsheight')) + 'px';
|
||||
getwatchedthreads('<!sm_threadid>', '{$board.name}');
|
||||
}
|
||||
//--></script>
|
||||
{/if}
|
||||
|
||||
<div class="logo">
|
||||
{if %KU_HEADERURL neq '' && $board.image eq ''}
|
||||
<img src="{%KU_HEADERURL}" alt="{t}Logo{/t}" /><br />
|
||||
{elseif $board.image neq '' && $board.image neq "none"}
|
||||
<img src="{$board.image}" alt="{t}Logo{/t}" /><br />
|
||||
{/if}
|
||||
{if %KU_DIRTITLE}
|
||||
/{$board.name}/ -
|
||||
{/if}
|
||||
{$board.desc}</div>
|
||||
{$board.includeheader}
|
||||
<hr />
|
||||
@@ -0,0 +1,160 @@
|
||||
<div class="postarea">
|
||||
<a id="postbox"></a>
|
||||
<form name="postform" id="postform" action="{%KU_CGIPATH}/board.php" method="post" enctype="multipart/form-data"
|
||||
{if $board.enablecaptcha eq 1}
|
||||
onsubmit="return checkcaptcha('postform');"
|
||||
{/if}
|
||||
>
|
||||
<input type="hidden" name="board" value="{$board.name}" />
|
||||
<input type="hidden" name="replythread" value="<!sm_threadid>" />
|
||||
{if $board.maximagesize > 0}
|
||||
<input type="hidden" name="MAX_FILE_SIZE" value="{$board.maximagesize}" />
|
||||
{/if}
|
||||
<input type="text" name="email" size="28" maxlength="75" value="" style="display: none;" />
|
||||
<table class="postform">
|
||||
<tbody>
|
||||
{if $board.forcedanon neq 1}
|
||||
<tr>
|
||||
<td class="postblock">
|
||||
{t}Name{/t}</td>
|
||||
<td>
|
||||
<input type="text" name="name" size="28" maxlength="75" accesskey="n" />
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td class="postblock">
|
||||
{t}Email{/t}</td>
|
||||
<td>
|
||||
<input type="text" name="em" size="28" maxlength="75" accesskey="e" />
|
||||
</td>
|
||||
</tr>
|
||||
{if $board.enablecaptcha eq 1}
|
||||
<tr>
|
||||
<td class="postblock'">
|
||||
<a href="#" onclick="javascript:document.getElementById('captchaimage').src = '{%KU_CGIPATH}/captcha.php?' + Math.random();return false;"><img id="captchaimage" src="{%KU_CGIPATH}/captcha.php" border="0" width="90" height="25" alt="Captcha image"></a>
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="captcha" size="28" maxlength="10" accesskey="c" />
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td class="postblock">
|
||||
{t}Subject{/t}</td>
|
||||
<td>
|
||||
{strip}<input type="text" name="subject" size="35" maxlength="75" accesskey="s" /> <input type="submit" value="
|
||||
{if %KU_QUICKREPLY && $replythread eq 0}
|
||||
{t}Submit{/t}" accesskey="z" /> (<span id="posttypeindicator">{t}new thread{/t}</span>)
|
||||
{elseif %KU_QUICKREPLY && $replythread neq 0}
|
||||
{t}Reply{/t}" accesskey="z" /> (<span id="posttypeindicator">{t}reply to{/t} <!sm_threadid></span>)
|
||||
{else}
|
||||
{t}Submit{/t}" accesskey="z" />
|
||||
{/if}{/strip}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="postblock">
|
||||
{t}Message{/t}
|
||||
</td>
|
||||
<td>
|
||||
<textarea name="message" cols="48" rows="4" accesskey="m"></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
{if $board.uploadtype eq 0 || $board.uploadtype eq 1}
|
||||
<tr>
|
||||
<td class="postblock">
|
||||
{t}File{/t}
|
||||
</td>
|
||||
<td>
|
||||
<input type="file" name="imagefile" size="35" accesskey="f" />
|
||||
{if $replythread eq 0 && $board.enablenofile eq 1 }
|
||||
[<input type="checkbox" name="nofile" id="nofile" accesskey="q" /><label for="nofile"> {t}No File{/t}</label>]
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{if ($board.uploadtype eq 1 || $board.uploadtype eq 2) && $board.embeds_allowed neq ''}
|
||||
<tr>
|
||||
<td class="postblock">
|
||||
{t}Embed{/t}
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="embed" size="28" maxlength="75" accesskey="e" /> <select name="embedtype">
|
||||
{foreach name=embed from=$embeds item=embed}
|
||||
{if in_array($embed.filetype,explode(',' $board.embeds_allowed))}
|
||||
<option value="{$embed.name|lower}">{$embed.name}</option>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</select>
|
||||
<a class="rules" href="#postbox" onclick="window.open('{%KU_WEBPATH}/embedhelp.php','embedhelp','toolbar=0,location=0,status=0,menubar=0,scrollbars=0,resizable=0,width=300,height=210');return false;">Help</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td class="postblock">
|
||||
{t}Password{/t}
|
||||
</td>
|
||||
<td>
|
||||
<input type="password" name="postpassword" size="8" accesskey="p" /> {t}(for post and file deletion){/t}
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="passwordbox"><td></td><td></td></tr>
|
||||
<tr>
|
||||
<td colspan="2" class="rules">
|
||||
<ul style="margin-left: 0; margin-top: 0; margin-bottom: 0; padding-left: 0;">
|
||||
<li>{t}Supported file types are{/t}:
|
||||
{if $board.filetypes_allowed neq ''}
|
||||
{foreach name=files item=filetype from=$board.filetypes_allowed}
|
||||
{$filetype.0|upper}{if $.foreach.files.last}{else}, {/if}
|
||||
{/foreach}
|
||||
{else}
|
||||
{t}None{/t}
|
||||
{/if}
|
||||
</li>
|
||||
<li>{t}Maximum file size allowed is{/t} {math "round(x/1024)" x=$board.maximagesize} KB.</li>
|
||||
<li>{t 1=%KU_THUMBWIDTH 2=%KU_THUMBHEIGHT}Images greater than %1x%2 pixels will be thumbnailed.{/t}</li>
|
||||
<li>{t 1=$board.uniqueposts}Currently %1 unique user posts.{/t}
|
||||
{if $board.enablecatalog eq 1}
|
||||
<a href="{%KU_BOARDSFOLDER}{$board.name}/catalog.html">{t}View catalog{/t}</a>
|
||||
{/if}
|
||||
</li>
|
||||
</ul>
|
||||
{if %KU_BLOTTER && $blotter}
|
||||
<br />
|
||||
<ul style="margin-left: 0; margin-top: 0; margin-bottom: 0; padding-left: 0;">
|
||||
<li style="position: relative;">
|
||||
<span style="color: red;">
|
||||
{t}Blotter updated{/t}: {$blotter_updated|date_format:"%Y-%m-%d"}
|
||||
</span>
|
||||
<span style="color: red;text-align: right;position: absolute;right: 0px;">
|
||||
<a href="#" onclick="javascript:toggleblotter(true);return false;">{t}Show/Hide{/t}</a> <a href="{%KU_WEBPATH}/blotter.php">{t}Show All{/t}</a>
|
||||
</span>
|
||||
</li>
|
||||
{$blotter}
|
||||
</ul>
|
||||
<script type="text/javascript"><!--
|
||||
if (getCookie('ku_showblotter') == '1') {
|
||||
toggleblotter(false);
|
||||
}
|
||||
--></script>
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
</form>
|
||||
<hr />
|
||||
{if $topads neq ''}
|
||||
<div class="content ads">
|
||||
<center>
|
||||
{$topads}
|
||||
</center>
|
||||
</div>
|
||||
<hr />
|
||||
{/if}
|
||||
</div>
|
||||
<script type="text/javascript"><!--
|
||||
set_inputs("postform");
|
||||
//--></script>
|
||||
@@ -0,0 +1,19 @@
|
||||
[<a href="{%KU_WEBFOLDER}{$board.name}/">{t}Return{/t}</a>]
|
||||
{if %KU_FIRSTLAST && ( count($posts) > 50 || $replycount > 50)}
|
||||
[<a href="{%KU_WEBFOLDER}{$board.name}/res/{$posts.0.id}.html">{t}Entire Thread{/t}</a>]
|
||||
[<a href="{%KU_WEBFOLDER}{$board.name}/res/{$posts.0.id}+50.html">{t}Last 50 posts{/t}</a>]
|
||||
{if ( count($posts) > 100 || $replycount > 100) }
|
||||
[<a href="{%KU_WEBFOLDER}{$board.name}/res/{$posts.0.id}-100.html">{t}First 100 posts{/t}</a>]
|
||||
{/if}
|
||||
{/if}
|
||||
{if not $isread}
|
||||
<div class="replymode">{t}Posting mode: Reply{/t}
|
||||
{if $modifier eq 'first100'}
|
||||
[{t}First 100 posts{/t}]
|
||||
{elseif $modifier eq 'last50'}
|
||||
[{t}Last 50 posts{/t}]
|
||||
{/if}
|
||||
{else}
|
||||
[<a href="{%KU_WEBFOLDER}{$board.name}/res/{$posts.0.id}.html">{t}Entire Thread{/t}</a>]
|
||||
{/if}
|
||||
</div>
|
||||
@@ -0,0 +1,419 @@
|
||||
{if not $isexpand and not $isread}
|
||||
<form id="delform" action="{%KU_CGIPATH}/board.php" method="post">
|
||||
<input type="hidden" name="board" value="{$board.name}" />
|
||||
{/if}
|
||||
{foreach key=postkey item=post from=$posts name=postsloop}
|
||||
|
||||
{if $post.parentid eq 0}
|
||||
<a name="s{$.foreach.thread.iteration}"></a>
|
||||
|
||||
{if ($post.file neq '' || $post.file_type neq '' ) && (( $post.videobox eq '' && $post.file neq '') && $post.file neq 'removed')}
|
||||
<span class="filesize">
|
||||
{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 ''}
|
||||
<a
|
||||
{if %KU_NEWWINDOW}
|
||||
target="_blank"
|
||||
{/if}
|
||||
href="{$file_path}/src/{$post.file}.{$post.file_type}">
|
||||
{else}
|
||||
<a href="{$file_path}/src/{$post.file}.{$post.file_type}" onclick="javascript:expandimg('{$post.id}', '{$file_path}/src/{$post.file}.{$post.file_type}', '{$file_path}/thumb/{$post.file}s.{$post.file_type}', '{$post.image_w}', '{$post.image_h}', '{$post.thumb_w}', '{$post.thumb_h}');return false;">
|
||||
{/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}
|
||||
</a>
|
||||
{else}
|
||||
{$post.file}.{$post.file_type}</a>
|
||||
{/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}
|
||||
</span>
|
||||
{if %KU_THUMBMSG}
|
||||
<span class="thumbnailmsg">
|
||||
{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}
|
||||
</span>
|
||||
{/if}
|
||||
<br />
|
||||
{/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'}
|
||||
<div class="nothumb">
|
||||
{t}File<br />Removed{/t}
|
||||
</div>
|
||||
{else}
|
||||
<a
|
||||
{if %KU_NEWWINDOW}
|
||||
target="_blank"
|
||||
{/if}
|
||||
href="{$file_path}/src/{$post.file}.{$post.file_type}">
|
||||
<span id="thumb{$post.id}"><img src="{$file_path}/thumb/{$post.file}s.{$post.file_type}" alt="{$post.id}" class="thumb" height="{$post.thumb_h}" width="{$post.thumb_w}" /></span>
|
||||
</a>
|
||||
{/if}
|
||||
{elseif $post.nonstandard_file neq ''}
|
||||
{if $post.file eq 'removed'}
|
||||
<div class="nothumb">
|
||||
{t}File<br />Removed{/t}
|
||||
</div>
|
||||
{else}
|
||||
<a
|
||||
{if %KU_NEWWINDOW}
|
||||
target="_blank"
|
||||
{/if}
|
||||
href="{$file_path}/src/{$post.file}.{$post.file_type}">
|
||||
<span id="thumb{$post.id}"><img src="{$post.nonstandard_file}" alt="{$post.id}" class="thumb" height="{$post.thumb_h}" width="{$post.thumb_w}" /></span>
|
||||
</a>
|
||||
{/if}
|
||||
{/if}
|
||||
<a name="{$post.id}"></a>
|
||||
<label>
|
||||
<input type="checkbox" name="post[]" value="{$post.id}" />
|
||||
{if $post.subject neq ''}
|
||||
<span class="filetitle">
|
||||
{$post.subject}
|
||||
</span>
|
||||
{/if}
|
||||
{strip}
|
||||
<span class="postername">
|
||||
{if $post.email && $board.anonymous}
|
||||
<a href="mailto:{$post.email}">
|
||||
{/if}
|
||||
{if $post.name eq '' && $post.tripcode eq ''}
|
||||
{$board.anonymous}
|
||||
{elseif $post.name eq '' && $post.tripcode neq ''}
|
||||
{else}
|
||||
{$post.name}
|
||||
{/if}
|
||||
{if $post.email neq '' && $board.anonymous neq ''}
|
||||
</a>
|
||||
{/if}
|
||||
|
||||
</span>
|
||||
|
||||
{if $post.tripcode neq ''}
|
||||
<span class="postertrip">!{$post.tripcode}</span>
|
||||
{/if}
|
||||
{/strip}
|
||||
{if $post.posterauthority eq 1}
|
||||
<span class="admin">
|
||||
## {t}Admin{/t} ##
|
||||
</span>
|
||||
{elseif $post.posterauthority eq 4}
|
||||
<span class="mod">
|
||||
## {t}Super Mod{/t} ##
|
||||
</span>
|
||||
{elseif $post.posterauthority eq 2}
|
||||
<span class="mod">
|
||||
## {t}Mod{/t} ##
|
||||
</span>
|
||||
{/if}
|
||||
{$post.timestamp_formatted}
|
||||
</label>
|
||||
<span class="reflink">
|
||||
{$post.reflink}
|
||||
</span>
|
||||
{if $board.showid}
|
||||
ID: {$post.ipmd5|substr:0:6}
|
||||
{/if}
|
||||
<span id="dnb-{$board.name}-{$post.id}-y"></span>
|
||||
<br />
|
||||
{else}
|
||||
{if $numimages > 0 && $isexpand && $.foreach.postsloop.first}
|
||||
<a href="#top" onclick="javascript:
|
||||
{foreach key=postkey2 item=post2 from=$posts}
|
||||
{if $post2.parentid neq 0}
|
||||
{if $post2.file_type eq 'jpg' || $post2.file_type eq 'gif' || $post2.file_type eq 'png'}
|
||||
expandimg('{$post2.id}', '{$file_path}/src/{$post2.file}.{$post2.file_type}', '{$file_path}/thumb/{$post2.file}s.{$post2.file_type}', '{$post2.image_w}', '{$post2.image_h}', '{$post2.thumb_w}', '{$post2.thumb_h}');
|
||||
{/if}
|
||||
{/if}
|
||||
{/foreach}
|
||||
return false;">{t}Expand all images{/t}</a>
|
||||
{/if}
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="doubledash">
|
||||
>>
|
||||
</td>
|
||||
<td class="reply" id="reply{$post.id}">
|
||||
<a name="{$post.id}"></a>
|
||||
<label>
|
||||
<input type="checkbox" name="post[]" value="{$post.id}" />
|
||||
|
||||
|
||||
{if $post.subject neq ''}
|
||||
<span class="filetitle">
|
||||
{$post.subject}
|
||||
</span>
|
||||
{/if}
|
||||
{strip}
|
||||
<span class="postername">
|
||||
|
||||
{if $post.email && $board.anonymous}
|
||||
<a href="mailto:{$post.email}">
|
||||
{/if}
|
||||
{if $post.name eq '' && $post.tripcode eq ''}
|
||||
{$board.anonymous}
|
||||
{elseif $post.name eq '' && $post.tripcode neq ''}
|
||||
{else}
|
||||
{$post.name}
|
||||
{/if}
|
||||
{if $post.email neq '' && $board.anonymous neq ''}
|
||||
</a>
|
||||
{/if}
|
||||
|
||||
</span>
|
||||
|
||||
{if $post.tripcode neq ''}
|
||||
<span class="postertrip">!{$post.tripcode}</span>
|
||||
{/if}
|
||||
{/strip}
|
||||
{if $post.posterauthority eq 1}
|
||||
<span class="admin">
|
||||
## {t}Admin{/t} ##
|
||||
</span>
|
||||
{elseif $post.posterauthority eq 4}
|
||||
<span class="mod">
|
||||
## {t}Super Mod{/t} ##
|
||||
</span>
|
||||
{elseif $post.posterauthority eq 2}
|
||||
<span class="mod">
|
||||
## {t}Mod{/t} ##
|
||||
</span>
|
||||
{/if}
|
||||
{$post.timestamp_formatted}
|
||||
</label>
|
||||
|
||||
<span class="reflink">
|
||||
{$post.reflink}
|
||||
</span>
|
||||
{if $board.showid}
|
||||
ID: {$post.ipmd5|substr:0:6}
|
||||
{/if}
|
||||
<span class="extrabtns">
|
||||
{if $post.locked eq 1}
|
||||
<img style="border: 0;" src="{$boardpath}css/locked.gif" alt="{t}Locked{/t}" />
|
||||
{/if}
|
||||
{if $post.stickied eq 1}
|
||||
<img style="border: 0;" src="{$boardpath}css/sticky.gif" alt="{t}Stickied{/t}" />
|
||||
{/if}
|
||||
</span>
|
||||
<span id="dnb-{$board.name}-{$post.id}-n"></span>
|
||||
{if ($post.file neq '' || $post.file_type neq '' ) && (( $post.videobox eq '' && $post.file neq '') && $post.file neq 'removed')}
|
||||
<br /><span class="filesize">
|
||||
{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 ''}
|
||||
<a
|
||||
{if %KU_NEWWINDOW}
|
||||
target="_blank"
|
||||
{/if}
|
||||
href="{$file_path}/src/{$post.file}.{$post.file_type}">
|
||||
{else}
|
||||
<a href="{$file_path}/src/{$post.file}.{$post.file_type}" onclick="javascript:expandimg('{$post.id}', '{$file_path}/src/{$post.file}.{$post.file_type}', '{$file_path}/thumb/{$post.file}s.{$post.file_type}', '{$post.image_w}', '{$post.image_h}', '{$post.thumb_w}', '{$post.thumb_h}');return false;">
|
||||
{/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}
|
||||
</a>
|
||||
{else}
|
||||
{$post.file}.{$post.file_type}</a>
|
||||
{/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}
|
||||
</span>
|
||||
{if %KU_THUMBMSG}
|
||||
<span class="thumbnailmsg">
|
||||
{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}
|
||||
</span>
|
||||
{/if}
|
||||
|
||||
{/if}
|
||||
{if $post.videobox eq '' && $post.file neq '' && ( $post.file_type eq 'jpg' || $post.file_type eq 'gif' || $post.file_type eq 'png')}
|
||||
<br />
|
||||
{if $post.file eq 'removed'}
|
||||
<div class="nothumb">
|
||||
{t}File<br />Removed{/t}
|
||||
</div>
|
||||
{else}
|
||||
<a
|
||||
{if %KU_NEWWINDOW}
|
||||
target="_blank"
|
||||
{/if}
|
||||
href="{$file_path}/src/{$post.file}.{$post.file_type}">
|
||||
<span id="thumb{$post.id}"><img src="{$file_path}/thumb/{$post.file}s.{$post.file_type}" alt="{$post.id}" class="thumb" height="{$post.thumb_h}" width="{$post.thumb_w}" /></span>
|
||||
</a>
|
||||
{/if}
|
||||
{elseif $post.nonstandard_file neq ''}
|
||||
<br />
|
||||
{if $post.file eq 'removed'}
|
||||
<div class="nothumb">
|
||||
{t}File<br />Removed{/t}
|
||||
</div>
|
||||
{else}
|
||||
<a
|
||||
{if %KU_NEWWINDOW}
|
||||
target="_blank"
|
||||
{/if}
|
||||
href="{$file_path}/src/{$post.file}.{$post.file_type}">
|
||||
<span id="thumb{$post.id}"><img src="{$post.nonstandard_file}" alt="{$post.id}" class="thumb" height="{$post.thumb_h}" width="{$post.thumb_w}" /></span>
|
||||
</a>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
{/if}
|
||||
{if $post.file_type eq 'mp3'}
|
||||
<!--[if !IE]> -->
|
||||
<object type="application/x-shockwave-flash" data="{%KU_WEBPATH}/inc/player/player.swf?playerID={$post.id}&soundFile={$file_path}/src/{$post.file|utf8_encode|urlencode}.mp3{if $post.id3.comments_html.artist.0 neq ''}&artists={$post.id3.comments_html.artist.0}{/if}{if $post.id3.comments_html.title.0 neq ''}&titles={$post.id3.comments_html.title.0|html_entity_decode|utf8_encode|urlencode}{/if}&wmode=transparent" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,22,87" width="290" height="24">
|
||||
<param name="wmode" value="transparent" />
|
||||
<!-- <![endif]-->
|
||||
<!--[if IE]>
|
||||
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,22,87" width="290" height="24">
|
||||
<param name="movie" value="{%KU_WEBPATH}/inc/player/player.swf?playerID={$post.id}&soundFile={$file_path}/src/{$post.file|utf8_encode|urlencode}.mp3{if $post.id3.comments_html.artist.0 neq ''}&artists={$post.id3.comments_html.artist.0}{/if}{if $post.id3.comments_html.title.0 neq ''}&titles={$post.id3.comments_html.title.0|html_entity_decode|utf8_encode|urlencode}{/if}&wmode=transparent" />
|
||||
<param name="wmode" value="transparent" />
|
||||
<!-->
|
||||
</object>
|
||||
<!-- <![endif]-->
|
||||
{/if}
|
||||
<blockquote>
|
||||
{if $post.videobox}
|
||||
{$post.videobox}
|
||||
{/if}
|
||||
{$post.message}
|
||||
</blockquote>
|
||||
{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)))}
|
||||
<span class="oldpost">
|
||||
{t}Marked for deletion (old){/t}
|
||||
</span>
|
||||
<br />
|
||||
{/if}
|
||||
{if $post.parentid eq 0}
|
||||
{if $modifier eq 'last50'}
|
||||
<span class="omittedposts">
|
||||
{$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}.
|
||||
</span>
|
||||
{/if}
|
||||
{if $numimages > 0}
|
||||
<a href="#top" onclick="javascript:
|
||||
{foreach key=postkey2 item=post2 from=$posts}
|
||||
{if $post2.parentid neq 0}
|
||||
{if $post2.file_type eq 'jpg' || $post2.file_type eq 'gif' || $post2.file_type eq 'png'}
|
||||
expandimg('{$post2.id}', '{$file_path}/src/{$post2.file}.{$post2.file_type}', '{$file_path}/thumb/{$post2.file}s.{$post2.file_type}', '{$post2.image_w}', '{$post2.image_h}', '{$post2.thumb_w}', '{$post2.thumb_h}');
|
||||
{/if}
|
||||
{/if}
|
||||
{/foreach}
|
||||
return false;">{t}Expand all images{/t}</a>
|
||||
{/if}
|
||||
{else}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
{/if}
|
||||
{/foreach}
|
||||
{if $modifier eq 'first100'}
|
||||
<span class="omittedposts" style="float: left">
|
||||
{$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}.
|
||||
</span>
|
||||
{/if}
|
||||
{if not $isread}
|
||||
{if $replycount > 2}
|
||||
<span style="float:right">
|
||||
[<a href="/{$board.name}/">{t}Return{/t}</a>]
|
||||
{if %KU_FIRSTLAST && ( count($posts) > 50 || $replycount > 50)}
|
||||
[<a href="/{$board.name}/res/{$posts.0.id}.html">{t}Entire Thread{/t}</a>]
|
||||
[<a href="/{$board.name}/res/{$posts.0.id}+50.html">{t}Last 50 posts{/t}</a>]
|
||||
{if ( count($posts) > 100 || $replycount > 100) }
|
||||
[<a href="/{$board.name}/res/{$posts.0.id}-100.html">{t}First 100 posts{/t}</a>]
|
||||
{/if}
|
||||
{/if}
|
||||
</span>
|
||||
{/if}
|
||||
</div>
|
||||
{if not $isexpand}
|
||||
<br clear="left" />
|
||||
<hr />
|
||||
{/if}
|
||||
{/if}
|
||||
@@ -0,0 +1,69 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>{t}Manage Boards{/t}</title>
|
||||
<!--<link rel="stylesheet" type="text/css" href="{$ku_boardspath}/css/manage.css" title="Manage">-->
|
||||
{loop $styles}
|
||||
<link rel="{if $ neq %KU_DEFAULTSTYLE}alternate {/if}stylesheet" type="text/css" href="{%KU_WEBPATH}/css/site_{$}.css" />
|
||||
{/loop}
|
||||
{literal}<style type="text/css">
|
||||
body, div, td, th, h2, h3, h4 { /* redundant rules for bad browsers */
|
||||
font-family: verdana,sans-serif;
|
||||
font-size: x-small;
|
||||
voice-family: "\"}\"";
|
||||
voice-family: inherit;
|
||||
font-size: small;
|
||||
}
|
||||
h1,h2 {
|
||||
font-family: trebuchet ms;
|
||||
font-weight: bold;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 180%;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 140%;
|
||||
padding-bottom: 2px;
|
||||
border-bottom: 1px solid #CCC;
|
||||
margin: 0;
|
||||
}
|
||||
br {
|
||||
clear: left;
|
||||
}
|
||||
|
||||
label,input {
|
||||
display: block;
|
||||
width: auto;
|
||||
float: left;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
label {
|
||||
font-size: 12px;
|
||||
text-align: right;
|
||||
width: 175px;
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
.desc {
|
||||
text-indent: 5px;
|
||||
font-size : 80%;
|
||||
/*white-space: nowrap;*/
|
||||
}
|
||||
</style>{/literal}
|
||||
<link rel="shortcut icon" href="{%KU_WEBPATH}/favicon.ico" />
|
||||
</head>
|
||||
<body style="min-width: 600px; padding: 1em 20px 3em 20px;">
|
||||
{$includeheader}
|
||||
<div id="main">
|
||||
<div id="contents">
|
||||
{$page}
|
||||
</div>
|
||||
</div>
|
||||
{$footer}
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,33 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>{t}Manage Boards{/t}</title>
|
||||
{loop $styles}
|
||||
<link rel="{if $ neq %KU_DEFAULTSTYLE}alternate {/if}stylesheet" type="text/css" href="{%KU_WEBPATH}/css/site_{$}.css" />
|
||||
<link rel="{if $ neq %KU_DEFAULTSTYLE}alternate {/if}stylesheet" type="text/css" href="{%KU_WEBPATH}/css/sitemenu_{$}.css" />
|
||||
{/loop}
|
||||
<link rel="shortcut icon" href="{%KU_WEBPATH}/favicon.ico" />
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
function toggle(button, area) {
|
||||
var tog=document.getElementById(area);
|
||||
if(tog.style.display) {
|
||||
tog.style.display="";
|
||||
} else {
|
||||
tog.style.display="none";
|
||||
}
|
||||
button.innerHTML=(tog.style.display)?'+':'−';
|
||||
createCookie('nav_show_'+area, tog.style.display?'0':'1', 365);
|
||||
}
|
||||
</script>
|
||||
{/literal}
|
||||
<base target="manage_main" />
|
||||
</head>
|
||||
<body>
|
||||
<h1>{t}Manage Boards{/t}</h1>
|
||||
<ul>
|
||||
{$links}
|
||||
</ul>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,160 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title>{%KU_NAME} Navigation</title>
|
||||
{if %KU_MENUTYPE eq 'normal'}
|
||||
<link rel="stylesheet" type="text/css" href="{$boardpath}css/menu_global.css" />
|
||||
{loop $styles}
|
||||
<link rel="{if $ neq %KU_DEFAULTMENUSTYLE}alternate {/if}stylesheet" type="text/css" href="{%KU_WEBFOLDER}css/site_{$}.css" title="{$|capitalize}" />
|
||||
<link rel="{if $ neq %KU_DEFAULTMENUSTYLE}alternate {/if}stylesheet" type="text/css" href="{%KU_WEBFOLDER}css/sitemenu_{$}.css" title="{$|capitalize}" />
|
||||
{/loop}
|
||||
{else}
|
||||
{literal}<style type="text/css">body { margin: 0px; } h1 { font-size: 1.25em; } h2 { font-size: 0.8em; font-weight: bold; color: #CC3300; } ul { list-style-type: none; padding: 0px; margin: 0px; } li { font-size: 0.8em; padding: 0px; margin: 0px; }</style>{/literal}
|
||||
{/if}
|
||||
|
||||
<script type="text/javascript"><!--
|
||||
var style_cookie_site = "kustyle_site";
|
||||
//--></script>
|
||||
<link rel="shortcut icon" href="{%KU_WEBFOLDER}favicon.ico" />
|
||||
<script type="text/javascript" src="{%KU_WEBFOLDER}lib/javascript/gettext.js"></script>
|
||||
<script type="text/javascript" src="{%KU_WEBFOLDER}lib/javascript/menu.js"></script>
|
||||
<script type="text/javascript" src="{%KU_WEBFOLDER}lib/javascript/kusaba.js"></script>
|
||||
<script type="text/javascript"><!--
|
||||
|
||||
{if $showdirs eq 0 && $files.0 neq $files.1 }
|
||||
if (getCookie(tcshowdirs) == yes) {
|
||||
window.location = '{%KU_BOARDSPATH}/{$files.1}';
|
||||
}
|
||||
{/if}
|
||||
|
||||
function showstyleswitcher() {
|
||||
var switcher = document.getElementById('sitestyles');
|
||||
switcher.innerHTML = '{strip}
|
||||
{if %KU_MENUSTYLESWITCHER && %KU_MENUTYPE eq 'normal'}
|
||||
{t}Styles{/t}:
|
||||
{loop $styles}
|
||||
[<a href="#" onclick="javascript:set_stylesheet(\'{$|capitalize}\', false, true);reloadmain();" style="display: inline;" target="_self">{$|substr:0:1|upper}</a>]{if !$dwoo.loop.default.last} {/if}
|
||||
{/loop}
|
||||
{/if}
|
||||
{/strip}';
|
||||
|
||||
}
|
||||
{literal}
|
||||
function toggle(button, area) {
|
||||
var tog=document.getElementById(area);
|
||||
if(tog.style.display) {
|
||||
tog.style.display="";
|
||||
} else {
|
||||
tog.style.display="none";
|
||||
}
|
||||
button.innerHTML=(tog.style.display)?'+':'−';
|
||||
set_cookie('nav_show_'+area, tog.style.display?'0':'1', 30);
|
||||
}
|
||||
|
||||
function removeframes() {
|
||||
var boardlinks = document.getElementsByTagName("a");
|
||||
for(var i=0;i<boardlinks.length;i++) if(boardlinks[i].className == "boardlink") boardlinks[i].target = "_top";
|
||||
|
||||
document.getElementById("removeframes").innerHTML = '{/literal}{t}Frames removed{/t}{literal}.';
|
||||
|
||||
return false;
|
||||
}
|
||||
function reloadmain() {
|
||||
if (parent.main) {
|
||||
parent.main.location.reload();
|
||||
}
|
||||
}
|
||||
{/literal}
|
||||
function hidedirs() {
|
||||
set_cookie('tcshowdirs', '', 30);
|
||||
{if $files.0 eq $files.1}
|
||||
location.reload(true)
|
||||
{else}
|
||||
window.location = '{%KU_WEBFOLDER}{$files.0}';
|
||||
{/if}
|
||||
}
|
||||
function showdirs() {
|
||||
set_cookie('tcshowdirs', 'yes', 30);
|
||||
{if $files.0 eq $files.1}
|
||||
location.reload(true)
|
||||
{else}
|
||||
window.location = '{%KU_WEBFOLDER}{$files.1}';
|
||||
{/if}
|
||||
}
|
||||
//--></script>
|
||||
<base target="main" />
|
||||
</head>
|
||||
<body>
|
||||
<h1>{%KU_NAME}</h1>
|
||||
<ul>
|
||||
<li><a href="{%KU_WEBFOLDER}" target="_top">{t}Front Page{/t}</a></li>
|
||||
{if %KU_MENUSTYLESWITCHER && %KU_MENUTYPE eq 'normal'}
|
||||
<li id="sitestyles"><a onclick="javascript:showstyleswitcher();" href="#" target="_self">[{t}Site Styles{/t}]</a></li>
|
||||
{/if}
|
||||
{if $showdirs eq 0}
|
||||
<li><a onclick="javascript:showdirs();" href="{$files.1}" target="_self">[{t}Show Directories{/t}]</a></li>
|
||||
{else}
|
||||
<li><a onclick="javascript:hidedirs();" href="{$files.0}" target="_self">[{t}Hide Directories{/t}]</a></li>
|
||||
{/if}
|
||||
{if %KU_MENUTYPE eq 'normal'}
|
||||
<li id="removeframes"><a href="#" onclick="javascript:return removeframes();" target="_self">[{t}Remove Frames{/t}]</a></li>
|
||||
{/if}
|
||||
</ul>
|
||||
{if empty($boards)}
|
||||
<ul>
|
||||
<li>{t}No visible boards{/t}</li>
|
||||
</ul>
|
||||
{else}
|
||||
|
||||
{foreach name=sections item=sect from=$boards}
|
||||
|
||||
{if %KU_MENUTYPE eq 'normal'}
|
||||
<h2>
|
||||
{else}
|
||||
<h2 style="display: inline;"><br />
|
||||
{/if}
|
||||
{if %KU_MENUTYPE eq 'normal'}
|
||||
<span class="plus" onclick="toggle(this, '{$sect.abbreviation}');" title="{t}Click to show/hide{/t}">{if $sect.hidden eq 1}+{else}−{/if}</span>
|
||||
{/if}
|
||||
{$sect.name}</h2>
|
||||
{if %KU_MENUTYPE eq 'normal'}
|
||||
<div id="{$sect.abbreviation}"{if $sect.hidden eq 1} style="display: none;"{/if}>
|
||||
{/if}
|
||||
<ul>
|
||||
{if count($sect.boards) > 0}
|
||||
{foreach name=brds item=brd from=$sect.boards}
|
||||
<li><a href="{%KU_BOARDSPATH}/{$brd.name}/" class="boardlink{if $brd.trial eq 1} trial{/if}{if $brd.popular eq 1} pop{/if}">
|
||||
{if $showdirs eq 1}
|
||||
/{$brd.name}/ -
|
||||
{/if}
|
||||
{$brd.desc}
|
||||
{if $brd.locked eq 1}
|
||||
<img src="{%KU_BOARDSPATH}/css/locked.gif" border="0" alt="{t}Locked{/t}">
|
||||
{/if}
|
||||
</a></li>
|
||||
{/foreach}
|
||||
{else}
|
||||
<li>{t}No visible boards{/t}</li>
|
||||
{/if}
|
||||
</ul>
|
||||
{if %KU_MENUTYPE eq 'normal'}
|
||||
</div>
|
||||
{/if}
|
||||
{/foreach}
|
||||
{/if}
|
||||
{if %KU_IRC}
|
||||
{if %KU_MENUTYPE eq 'normal'}
|
||||
<h2>
|
||||
{else}
|
||||
<h2 style="display: inline;"><br />
|
||||
{/if}
|
||||
IRC</h2>
|
||||
<ul>
|
||||
<li>{%KU_IRC}</li>
|
||||
</ul>
|
||||
{/if}
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>{$dwoo.const.KU_NAME}</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
|
||||
{for style $styles}
|
||||
<link rel="{if $styles[$style] neq $dwoo.const.KU_DEFAULTMENUSTYLE}alternate {/if}stylesheet" type="text/css" href="{$dwoo.const.KU_WEBFOLDER}css/site_{$styles[$style]}.css" title="{$styles[$style]|capitalize}" />
|
||||
{/for}
|
||||
<script type="text/javascript"><!--
|
||||
var style_cookie_site = "kustyle_site";
|
||||
//--></script>
|
||||
<link rel="shortcut icon" href="{$dwoo.const.KU_WEBFOLDER}favicon.ico" />
|
||||
<script type="text/javascript" src="{%KU_WEBFOLDER}lib/javascript/gettext.js"></script>
|
||||
<script type="text/javascript" src="{$dwoo.const.KU_WEBFOLDER}lib/javascript/kusaba.js"></script></head>
|
||||
<body>
|
||||
<h1>{$dwoo.const.KU_NAME}</h1>
|
||||
{if $dwoo.const.KU_SLOGAN neq ''}<h3>{$dwoo.const.KU_SLOGAN}</h3>{/if}
|
||||
|
||||
<div class="menu" id="topmenu">
|
||||
{$topads}
|
||||
{strip}<ul>
|
||||
<li class="{if $dwoo.get.p eq ''}current {else}tab {/if}first">{if $dwoo.get.p neq ''}<a href="{$ku_webpath}news.php">{/if}{t}News{/t}{if $dwoo.get.p neq ''}</a>{/if}</li>
|
||||
<li class="{if $dwoo.get.p eq 'faq'}current{else}tab{/if}">{if $dwoo.get.p neq 'faq'}<a href="{$ku_webpath}news.php?p=faq">{/if}{t}FAQ{/t}{if $dwoo.get.p neq 'faq'}</a>{/if}</li>
|
||||
<li class="{if $dwoo.get.p eq 'rules'}current{else}tab{/if}">{if $dwoo.get.p neq 'rules'}<a href="{$ku_webpath}news.php?p=rules">{/if}{t}Rules{/t}{if $dwoo.get.p neq 'rules'}</a>{/if}</li>
|
||||
</ul>{/strip}
|
||||
<br />
|
||||
</div>
|
||||
{foreach item=entry from=$entries}
|
||||
<div class="content">
|
||||
<h2><span class="newssub">{$entry.subject|stripslashes}{if $dwoo.get.p eq ''} by {if $entry.email neq ''}<a href="mailto:{$entry.email|stripslashes}">{/if}{$entry.poster|stripslashes}{if $entry.email neq ''}</a>{/if} - {$entry.timestamp|date_format:"%D @ %I:%M %p %Z"}{/if}</span>
|
||||
<span class="permalink"><a href="#{$entry.id}">#</a></span></h2>
|
||||
{$entry.message|stripslashes}
|
||||
</div><br />
|
||||
{/foreach}
|
||||
{$botads}
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,428 @@
|
||||
<form id="delform" action="{%KU_CGIPATH}/board.php" method="post">
|
||||
<input type="hidden" name="board" value="{$board.name}" />
|
||||
{foreach name=thread item=postsa from=$posts}
|
||||
{foreach key=postkey item=post from=$postsa}
|
||||
{if $post.parentid eq 0}
|
||||
<span id="unhidethread{$post.id}{$board.name}" style="display: none;">
|
||||
{t}Thread{/t} <a href="{%KU_BOARDSFOLDER}{$board.name}/res/{$post.id}.html">{$post.id}</a> {t}hidden.{/t}
|
||||
<a href="#" onclick="javascript:togglethread('{$post.id}{$board.name}');return false;" title="{t}Un-Hide Thread{/t}">
|
||||
<img src="{$cwebpath}css/icons/blank.gif" border="0" class="unhidethread" alt="{t}Un-Hide Thread{/t}" />
|
||||
</a>
|
||||
</span>
|
||||
<div id="thread{$post.id}{$board.name}">
|
||||
<script type="text/javascript"><!--
|
||||
if (hiddenthreads.toString().indexOf('{$post.id}{$board.name}')!==-1) {
|
||||
document.getElementById('unhidethread{$post.id}{$board.name}').style.display = 'block';
|
||||
document.getElementById('thread{$post.id}{$board.name}').style.display = 'none';
|
||||
}
|
||||
//--></script>
|
||||
<a name="s{$.foreach.thread.iteration}"></a>
|
||||
|
||||
{if ($post.file neq '' || $post.file_type neq '' ) && (($post.videobox eq '' && $post.file neq '') && $post.file neq 'removed')}
|
||||
<span class="filesize">
|
||||
{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 ''}
|
||||
<a
|
||||
{if %KU_NEWWINDOW}
|
||||
target="_blank"
|
||||
{/if}
|
||||
href="{$file_path}/src/{$post.file}.{$post.file_type}">
|
||||
{else}
|
||||
<a href="{$file_path}/src/{$post.file}.{$post.file_type}" onclick="javascript:expandimg('{$post.id}', '{$file_path}/src/{$post.file}.{$post.file_type}', '{$file_path}/thumb/{$post.file}s.{$post.file_type}', '{$post.image_w}', '{$post.image_h}', '{$post.thumb_w}', '{$post.thumb_h}');return false;">
|
||||
{/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}
|
||||
</a>
|
||||
{else}
|
||||
{$post.file}.{$post.file_type}</a>
|
||||
{/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}
|
||||
</span>
|
||||
{if %KU_THUMBMSG}
|
||||
<span class="thumbnailmsg">
|
||||
{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}
|
||||
</span>
|
||||
{/if}
|
||||
<br />
|
||||
{/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'}
|
||||
<div class="nothumb">
|
||||
{t}File<br />Removed{/t}
|
||||
</div>
|
||||
{else}
|
||||
<a
|
||||
{if %KU_NEWWINDOW}
|
||||
target="_blank"
|
||||
{/if}
|
||||
href="{$file_path}/src/{$post.file}.{$post.file_type}">
|
||||
<span id="thumb{$post.id}"><img src="{$file_path}/thumb/{$post.file}s.{$post.file_type}" alt="{$post.id}" class="thumb" height="{$post.thumb_h}" width="{$post.thumb_w}" /></span>
|
||||
</a>
|
||||
{/if}
|
||||
{elseif $post.nonstandard_file neq ''}
|
||||
{if $post.file eq 'removed'}
|
||||
<div class="nothumb">
|
||||
{t}File<br />Removed{/t}
|
||||
</div>
|
||||
{else}
|
||||
<a
|
||||
{if %KU_NEWWINDOW}
|
||||
target="_blank"
|
||||
{/if}
|
||||
href="{$file_path}/src/{$post.file}.{$post.file_type}">
|
||||
<span id="thumb{$post.id}"><img src="{$post.nonstandard_file}" alt="{$post.id}" class="thumb" height="{$post.thumb_h}" width="{$post.thumb_w}" /></span>
|
||||
</a>
|
||||
{/if}
|
||||
{/if}
|
||||
<a name="{$post.id}"></a>
|
||||
<label>
|
||||
<input type="checkbox" name="post[]" value="{$post.id}" />
|
||||
{if $post.subject neq ''}
|
||||
<span class="filetitle">
|
||||
{$post.subject}
|
||||
</span>
|
||||
{/if}
|
||||
{strip}
|
||||
<span class="postername">
|
||||
|
||||
{if $post.email && $board.anonymous}
|
||||
<a href="mailto:{$post.email}">
|
||||
{/if}
|
||||
{if $post.name eq '' && $post.tripcode eq ''}
|
||||
{$board.anonymous}
|
||||
{elseif $post.name eq '' && $post.tripcode neq ''}
|
||||
{else}
|
||||
{$post.name}
|
||||
{/if}
|
||||
{if $post.email neq '' && $board.anonymous neq ''}
|
||||
</a>
|
||||
{/if}
|
||||
|
||||
</span>
|
||||
|
||||
{if $post.tripcode neq ''}
|
||||
<span class="postertrip">!{$post.tripcode}</span>
|
||||
{/if}
|
||||
{/strip}
|
||||
{if $post.posterauthority eq 1}
|
||||
<span class="admin">
|
||||
## {t}Admin{/t} ##
|
||||
</span>
|
||||
{elseif $post.posterauthority eq 4}
|
||||
<span class="mod">
|
||||
## {t}Super Mod{/t} ##
|
||||
</span>
|
||||
{elseif $post.posterauthority eq 2}
|
||||
<span class="mod">
|
||||
## {t}Mod{/t} ##
|
||||
</span>
|
||||
{/if}
|
||||
{$post.timestamp_formatted}
|
||||
</label>
|
||||
<span class="reflink">
|
||||
{$post.reflink}
|
||||
</span>
|
||||
{if $board.showid}
|
||||
ID: {$post.ipmd5|substr:0:6}
|
||||
{/if}
|
||||
<span class="extrabtns">
|
||||
{if $post.locked eq 1}
|
||||
<img style="border: 0;" src="{$boardpath}css/locked.gif" alt="{t}Locked{/t}" />
|
||||
{/if}
|
||||
{if $post.stickied eq 1}
|
||||
<img style="border: 0;" src="{$boardpath}css/sticky.gif" alt="{t}Stickied{/t}" />
|
||||
{/if}
|
||||
<span id="hide{$post.id}"><a href="#" onclick="javascript:togglethread('{if $post.parentid eq 0}{$post.id}{else}{$post.parentid}{/if}{$board.name}');return false;" title="Hide Thread"><img src="{$boardpath}css/icons/blank.gif" border="0" class="hidethread" alt="hide" /></a></span>
|
||||
{if %KU_WATCHTHREADS}
|
||||
<a href="#" onclick="javascript:addtowatchedthreads('{if $post.parentid eq 0}{$post.id}{else}{$post.parentid}{/if}','{$board.name}');return false;" title="Watch Thread"><img src="{$boardpath}css/icons/blank.gif" border="0" class="watchthread" alt="watch" /></a>
|
||||
{/if}
|
||||
{if %KU_EXPAND && $post.replies && ($post.replies + %KU_REPLIES) < 300}
|
||||
<a href="#" onclick="javascript:expandthread('{if $post.parentid eq 0}{$post.id}{else}{$post.parentid}{/if}','{$board.name}');return false;" title="Expand Thread"><img src="{$boardpath}css/icons/blank.gif" border="0" class="expandthread" alt="expand" /></a>
|
||||
{/if}
|
||||
{if %KU_QUICKREPLY}
|
||||
<a href="#postbox" onclick="javascript:quickreply('{if $post.parentid eq 0}{$post.id}{else}{$post.parentid}{/if}');" title="{t}Quick Reply{/t}"><img src="{$boardpath}css/icons/blank.gif" border="0" class="quickreply" alt="quickreply" /></a>
|
||||
{/if}
|
||||
</span>
|
||||
<span id="dnb-{$board.name}-{$post.id}-y"></span>
|
||||
[<a href="{%KU_BOARDSFOLDER}{$board.name}/res/{if $post.parentid eq 0}{$post.id}{else}{$post.parentid}{/if}.html">{t}Reply{/t}</a>]
|
||||
{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))}
|
||||
[<a href="{%KU_BOARDSFOLDER}{$board.name}/res/{if $post.parentid eq 0}{$post.id}{else}{$post.parentid}{/if}-100.html">{t}First 100 posts{/t}</a>]
|
||||
{/if}
|
||||
[<a href="{%KU_BOARDSFOLDER}{$board.name}/res/{$post.id}+50.html">{t}Last 50 posts{/t}</a>]
|
||||
{/if}
|
||||
<br />
|
||||
{else}
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="doubledash">
|
||||
>>
|
||||
</td>
|
||||
<td class="reply" id="reply{$post.id}">
|
||||
<a name="{$post.id}"></a>
|
||||
<label>
|
||||
<input type="checkbox" name="post[]" value="{$post.id}" />
|
||||
|
||||
|
||||
{if $post.subject neq ''}
|
||||
<span class="filetitle">
|
||||
{$post.subject}
|
||||
</span>
|
||||
{/if}
|
||||
{strip}
|
||||
<span class="postername">
|
||||
|
||||
{if $post.email && $board.anonymous}
|
||||
<a href="mailto:{$post.email}">
|
||||
{/if}
|
||||
{if $post.name eq '' && $post.tripcode eq ''}
|
||||
{$board.anonymous}
|
||||
{elseif $post.name eq '' && $post.tripcode neq ''}
|
||||
{else}
|
||||
{$post.name}
|
||||
{/if}
|
||||
{if $post.email neq '' && $board.anonymous neq ''}
|
||||
</a>
|
||||
{/if}
|
||||
|
||||
</span>
|
||||
|
||||
{if $post.tripcode neq ''}
|
||||
<span class="postertrip">!{$post.tripcode}</span>
|
||||
{/if}
|
||||
{/strip}
|
||||
{if $post.posterauthority eq 1}
|
||||
<span class="admin">
|
||||
## {t}Admin{/t} ##
|
||||
</span>
|
||||
{elseif $post.posterauthority eq 4}
|
||||
<span class="mod">
|
||||
## {t}Super Mod{/t} ##
|
||||
</span>
|
||||
{elseif $post.posterauthority eq 2}
|
||||
<span class="mod">
|
||||
## {t}Mod{/t} ##
|
||||
</span>
|
||||
{/if}
|
||||
|
||||
{$post.timestamp_formatted}
|
||||
</label>
|
||||
|
||||
<span class="reflink">
|
||||
{$post.reflink}
|
||||
</span>
|
||||
{if $board.showid}
|
||||
ID: {$post.ipmd5|substr:0:6}
|
||||
{/if}
|
||||
<span class="extrabtns">
|
||||
{if $post.locked eq 1}
|
||||
<img style="border: 0;" src="{$boardpath}css/locked.gif" alt="{t}Locked{/t}" />
|
||||
{/if}
|
||||
{if $post.stickied eq 1}
|
||||
<img style="border: 0;" src="{$boardpath}css/sticky.gif" alt="{t}Stickied{/t}" />
|
||||
{/if}
|
||||
</span>
|
||||
<span id="dnb-{$board.name}-{$post.id}-n"></span>
|
||||
{if ($post.file neq '' || $post.file_type neq '' ) && (( $post.videobox eq '' && $post.file neq '') && $post.file neq 'removed')}
|
||||
<br /><span class="filesize">
|
||||
{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 ''}
|
||||
<a
|
||||
{if %KU_NEWWINDOW}
|
||||
target="_blank"
|
||||
{/if}
|
||||
href="{$file_path}/src/{$post.file}.{$post.file_type}">
|
||||
{else}
|
||||
<a href="{$file_path}/src/{$post.file}.{$post.file_type}" onclick="javascript:expandimg('{$post.id}', '{$file_path}/src/{$post.file}.{$post.file_type}', '{$file_path}/thumb/{$post.file}s.{$post.file_type}', '{$post.image_w}', '{$post.image_h}', '{$post.thumb_w}', '{$post.thumb_h}');return false;">
|
||||
{/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}
|
||||
</a>
|
||||
{else}
|
||||
{$post.file}.{$post.file_type}</a>
|
||||
{/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}
|
||||
</span>
|
||||
{if %KU_THUMBMSG}
|
||||
<span class="thumbnailmsg">
|
||||
{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}
|
||||
</span>
|
||||
{/if}
|
||||
|
||||
{/if}
|
||||
{if $post.videobox eq '' && $post.file neq '' && ( $post.file_type eq 'jpg' || $post.file_type eq 'gif' || $post.file_type eq 'png')}
|
||||
<br />
|
||||
{if $post.file eq 'removed'}
|
||||
<div class="nothumb">
|
||||
{t}File<br />Removed{/t}
|
||||
</div>
|
||||
{else}
|
||||
<a
|
||||
{if %KU_NEWWINDOW}
|
||||
target="_blank"
|
||||
{/if}
|
||||
href="{$file_path}/src/{$post.file}.{$post.file_type}">
|
||||
<span id="thumb{$post.id}"><img src="{$file_path}/thumb/{$post.file}s.{$post.file_type}" alt="{$post.id}" class="thumb" height="{$post.thumb_h}" width="{$post.thumb_w}" /></span>
|
||||
</a>
|
||||
{/if}
|
||||
{elseif $post.nonstandard_file neq ''}
|
||||
<br />
|
||||
{if $post.file eq 'removed'}
|
||||
<div class="nothumb">
|
||||
{t}File<br />Removed{/t}
|
||||
</div>
|
||||
{else}
|
||||
<a
|
||||
{if %KU_NEWWINDOW}
|
||||
target="_blank"
|
||||
{/if}
|
||||
href="{$file_path}/src/{$post.file}.{$post.file_type}">
|
||||
<span id="thumb{$post.id}"><img src="{$post.nonstandard_file}" alt="{$post.id}" class="thumb" height="{$post.thumb_h}" width="{$post.thumb_w}" /></span>
|
||||
</a>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
{/if}
|
||||
{if $post.file_type eq 'mp3'}
|
||||
<!--[if !IE]> -->
|
||||
<object type="application/x-shockwave-flash" data="{%KU_WEBPATH}/inc/player/player.swf?playerID={$post.id}&soundFile={$file_path}/src/{$post.file|utf8_encode|urlencode}.mp3{if $post.id3.comments_html.artist.0 neq ''}&artists={$post.id3.comments_html.artist.0}{/if}{if $post.id3.comments_html.title.0 neq ''}&titles={$post.id3.comments_html.title.0|html_entity_decode|utf8_encode|urlencode}{/if}&wmode=transparent" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,22,87" width="290" height="24">
|
||||
<param name="wmode" value="transparent" />
|
||||
<!-- <![endif]-->
|
||||
<!--[if IE]>
|
||||
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,22,87" width="290" height="24">
|
||||
<param name="movie" value="{%KU_WEBPATH}/inc/player/player.swf?playerID={$post.id}&soundFile={$file_path}/src/{$post.file|utf8_encode|urlencode}.mp3{if $post.id3.comments_html.artist.0 neq ''}&artists={$post.id3.comments_html.artist.0}{/if}{if $post.id3.comments_html.title.0 neq ''}&titles={$post.id3.comments_html.title.0|html_entity_decode|utf8_encode|urlencode}{/if}&wmode=transparent" />
|
||||
<param name="wmode" value="transparent" />
|
||||
<!-->
|
||||
</object>
|
||||
<!-- <![endif]-->
|
||||
{/if}
|
||||
<blockquote>
|
||||
{if $post.videobox}
|
||||
{$post.videobox}
|
||||
{/if}
|
||||
{$post.message}
|
||||
</blockquote>
|
||||
{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)))}
|
||||
<span class="oldpost">
|
||||
{t}Marked for deletion (old){/t}
|
||||
</span>
|
||||
<br />
|
||||
{/if}
|
||||
{if $post.parentid eq 0}
|
||||
<div id="replies{$post.id}{$board.name}">
|
||||
{if $post.replies}
|
||||
<span class="omittedposts">
|
||||
{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}
|
||||
</span>
|
||||
{/if}
|
||||
{else}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{/if}
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
<br clear="left" />
|
||||
<hr />
|
||||
{/foreach}
|
||||
@@ -0,0 +1,101 @@
|
||||
{if not $isread}
|
||||
<table class="userdelete">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
{t}Delete post{/t}
|
||||
[<input type="checkbox" name="fileonly" id="fileonly" value="on" /><label for="fileonly">{t}File Only{/t}</label>]<br />{t}Password{/t}
|
||||
<input type="password" name="postpassword" size="8" /> <input name="deletepost" value="{t}Delete{/t}" type="submit" />
|
||||
|
||||
{if $board.enablereporting eq 1}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{t}Report post{t}<br />
|
||||
{t}Reason{/t}
|
||||
<input type="text" name="reportreason" size="10" /> <input name="reportpost" value="{t}Report{/t}" type="submit" />
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
<script type="text/javascript"><!--
|
||||
set_delpass("delform");
|
||||
//--></script>
|
||||
{/if}
|
||||
{if $replythread eq 0}
|
||||
<table border="1">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
{if $thispage eq 0}
|
||||
{t}Previous{/t}
|
||||
{else}
|
||||
<form method="get" action="{%KU_BOARDSFOLDER}{$board.name}/{if ($thispage-1) neq 0}{$thispage-1}.html{/if}">
|
||||
<input value="{t}Previous{/t}" type="submit" /></form>
|
||||
{/if}
|
||||
</td>
|
||||
<td>
|
||||
[{if $thispage neq 0}<a href="{%KU_BOARDSPATH}/{$board.name}/">{/if}0{if $thispage neq 0}</a>{/if}]
|
||||
{section name=pages loop=$numpages}
|
||||
{strip}
|
||||
[
|
||||
{if $.section.pages.iteration neq $thispage}<a href="{%KU_BOARDSFOLDER}{$board.name}/{$.section.pages.iteration}.html">
|
||||
{/if}
|
||||
|
||||
{$.section.pages.iteration}
|
||||
|
||||
{if $.section.pages.iteration neq $thispage}
|
||||
</a>
|
||||
{/if}
|
||||
]
|
||||
{/strip}
|
||||
{/section}
|
||||
</td>
|
||||
<td>
|
||||
{if $thispage eq $numpages}
|
||||
{t}Next{/t}
|
||||
{else}
|
||||
<form method="get" action="{%KU_BOARDSPATH}/{$board.name}/{$thispage+1}.html"><input value="{t}Next{/t}" type="submit" /></form>
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
{/if}
|
||||
<br />
|
||||
{if $boardlist}
|
||||
<div class="navbar">
|
||||
{if %KU_GENERATEBOARDLIST}
|
||||
{foreach name=sections item=sect from=$boardlist}
|
||||
[
|
||||
{foreach name=brds item=brd from=$sect}
|
||||
<a title="{$brd.desc}" href="{%KU_BOARDSFOLDER}{$brd.name}/">{$brd.name}</a>{if $.foreach.brds.last}{else} / {/if}
|
||||
{/foreach}
|
||||
]
|
||||
{/foreach}
|
||||
{else}
|
||||
{if is_file($boardlist)}
|
||||
{include $boardlist}
|
||||
{/if}
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
<br />
|
||||
<div class="footer" style="clear: both;">
|
||||
{* I'd really appreciate it if you left the link to kusabax.org in the footer, if you decide to modify this. That being said, you are not bound by license or any other terms to keep it there *}
|
||||
- <a href="http://www.kusabax.org/" target="_top">kusaba x {%KU_VERSION}</a>
|
||||
{if $executiontime neq ''} + {t}Took{/t} {$executiontime}s -{/if}
|
||||
{if $botads neq ''}
|
||||
<div class="content ads">
|
||||
<center>
|
||||
{$botads}
|
||||
</center>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
@@ -0,0 +1,98 @@
|
||||
<script type="text/javascript" src="{$cwebpath}lib/javascript/protoaculous-compressed.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="{$cwebpath}css/img_global.css" />
|
||||
{loop $ku_styles}
|
||||
<link rel="{if $ neq $__.ku_defaultstyle}alternate {/if}stylesheet" type="text/css" href="{$__.cwebpath}css/{$}.css" title="{$|capitalize}" />
|
||||
{/loop}
|
||||
{if $locale eq 'ja'}
|
||||
{literal}
|
||||
<style type="text/css">
|
||||
*{
|
||||
font-family: IPAMonaPGothic, Mona, 'MS PGothic', YOzFontAA97 !important;
|
||||
font-size: 1em;
|
||||
}
|
||||
</style>
|
||||
{/literal}
|
||||
{/if}
|
||||
{if %KU_RSS neq ''}
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="{%KU_BOARDSPATH}/{$board.name}/rss.xml" />
|
||||
{/if}
|
||||
<script type="text/javascript"><!--
|
||||
var ku_boardspath = '{%KU_BOARDSPATH}';
|
||||
var ku_cgipath = '{%KU_CGIPATH}';
|
||||
var style_cookie = "kustyle";
|
||||
{if $replythread > 0}
|
||||
var ispage = false;
|
||||
{else}
|
||||
var ispage = true;
|
||||
{/if}
|
||||
//--></script>
|
||||
<script type="text/javascript" src="{%KU_WEBPATH}/lib/javascript/kusaba.js"></script>
|
||||
<script type="text/javascript"><!--
|
||||
var hiddenthreads = getCookie('hiddenthreads').split('!');
|
||||
//--></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="adminbar">
|
||||
{if %KU_STYLESWITCHER}
|
||||
{if %KU_DROPSWITCHER}
|
||||
<select onchange="javascript:if(selectedIndex != 0)set_stylesheet(options[selectedIndex].value);return false;">
|
||||
<option>Styles</option>
|
||||
{loop $ku_styles}
|
||||
<option value="{$|capitalize}">{$|capitalize}</option>;
|
||||
{/loop}
|
||||
</select>
|
||||
{else}
|
||||
{loop $ku_styles}
|
||||
[<a href="#" onclick="javascript:set_stylesheet('{$|capitalize}');return false;">{$|capitalize}</a>]
|
||||
{/loop}
|
||||
{/if}
|
||||
{if count($ku_styles) > 0}
|
||||
-
|
||||
{/if}
|
||||
{/if}
|
||||
{if %KU_WATCHTHREADS}
|
||||
[<a href="#" onclick="javascript:showwatchedthreads();return false" title="{t}Watched Threads{/t}">WT</a>]
|
||||
{/if}
|
||||
[<a href="{%KU_WEBPATH}" target="_top">{t}Home{/t}</a>] [<a href="{%KU_CGIPATH}/manage.php" target="_top">{t}Manage{/t}</a>]
|
||||
</div>
|
||||
<div class="navbar">
|
||||
{if %KU_GENERATEBOARDLIST}
|
||||
{foreach name=sections item=sect from=$boardlist}
|
||||
[
|
||||
{foreach name=brds item=brd from=$sect}
|
||||
<a title="{$brd.desc}" href="{%KU_BOARDSFOLDER}{$brd.name}/">{$brd.name}</a>{if $.foreach.brds.last}{else} / {/if}
|
||||
{/foreach}
|
||||
]
|
||||
{/foreach}
|
||||
{else}
|
||||
{if is_file($boardlist)}
|
||||
{include $boardlist}
|
||||
{/if}
|
||||
{/if}
|
||||
</div>
|
||||
{if %KU_WATCHTHREADS && not $isoekaki && not $hidewatchedthreads}
|
||||
<script type="text/javascript"><!--
|
||||
if (getCookie('showwatchedthreads') == '1') {
|
||||
document.write('<div id="watchedthreads" style="top: {$ad_top}px; left: 25px;" class="watchedthreads"><div class="postblock" id="watchedthreadsdraghandle" style="width: 100%;">{t}Watched Threads{/t}<\/div><span id="watchedthreadlist"><\/span><div id="watchedthreadsbuttons"><a href="#" onclick="javascript:hidewatchedthreads();return false;" title="{t}Hide the watched threads box{/t}"><img src="{$cwebpath}css/icons/blank.gif" border="0" class="hidewatchedthreads" alt="hide" /><\/a> <a href="#" onclick="javascript:getwatchedthreads(\'0\', \'{$board.name}\');return false;" title="{t}Refresh watched threads{/t}"><img src="{$cwebpath}css/icons/blank.gif" border="0" class="refreshwatchedthreads" alt="refresh" /><\/a><\/div><\/div>');
|
||||
watchedthreadselement = document.getElementById('watchedthreads');
|
||||
watchedthreadselement.style.top = getCookie('watchedthreadstop');
|
||||
watchedthreadselement.style.left = getCookie('watchedthreadsleft');
|
||||
watchedthreadselement.style.width = Math.max(250,getCookie('watchedthreadswidth')) + 'px';
|
||||
watchedthreadselement.style.height = Math.max(75,getCookie('watchedthreadsheight')) + 'px';
|
||||
getwatchedthreads('<!sm_threadid>', '{$board.name}');
|
||||
}
|
||||
//--></script>
|
||||
{/if}
|
||||
|
||||
<div class="logo">
|
||||
{if %KU_HEADERURL neq '' && $board.image eq ''}
|
||||
<img src="{%KU_HEADERURL}" alt="{t}Logo{/t}" /><br />
|
||||
{elseif $board.image neq '' && $board.image neq "none"}
|
||||
<img src="{$board.image}" alt="{t}Logo{/t}" /><br />
|
||||
{/if}
|
||||
{if %KU_DIRTITLE}
|
||||
/{$board.name}/ -
|
||||
{/if}
|
||||
{$board.desc}</div>
|
||||
{$board.includeheader}
|
||||
<hr />
|
||||
@@ -0,0 +1,177 @@
|
||||
<div class="postarea">
|
||||
<a id="postbox"></a>
|
||||
{if $.get.postoek eq ''}
|
||||
<form action="{%KU_CGIPATH}/paint.php" method="post">
|
||||
<input type="hidden" name="board" value="{$board.name}" />
|
||||
<input type="hidden" name="replyto" value="{$replythread}" />
|
||||
<label for="applet">{t}Paint with{/t}: </label>
|
||||
<select name="applet" id="applet">
|
||||
<option value="shipainter">Shi-Painter</option>
|
||||
<option value="shipainterpro">Shi-Painter Pro</option>
|
||||
<option value="shipainter_selfy">Shi-Painter+Selfy</option>
|
||||
<option value="shipainterpro_selfy">Shi-Painter Pro+Selfy</option>
|
||||
</select>
|
||||
<label for="width">{t}Width{/t}: </label><input type="text" name="width" id="width" size="3" value="300" />
|
||||
<label for="height">{t}Height{/t}: </label><input type="text" name="height" id="height" size="3" value="300" />
|
||||
<label for="useanim">{t}Use animation?{/t} </label><input type="checkbox" name="useanim" id="useanim" checked="checked" />
|
||||
{if $replythread neq 0}
|
||||
<label for="replyimage">{t}Source{/t}: </label><select name="replyimage" id="replyimage">
|
||||
<option value="0">{t}New image{/t}</option>
|
||||
{foreach name=oekpost item=post from=$oekposts}
|
||||
<option value="{$post.id}">{t}Modify{/t} {t}No.{/t}{$post.id}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
{/if}
|
||||
<input type="submit" value="{t}Paint!{/t}" /></form>
|
||||
<hr />
|
||||
{/if}
|
||||
{if $replythread neq 0 || $.get.postoek neq ''}
|
||||
|
||||
<form name="postform" id="postform" action="{%KU_CGIPATH}/board.php" method="post" enctype="multipart/form-data"
|
||||
{if $board.enablecaptcha eq 1}
|
||||
onsubmit="return checkcaptcha('postform');"
|
||||
{/if}
|
||||
>
|
||||
<input type="hidden" name="board" value="{$board.name}" />
|
||||
<input type="hidden" name="replythread" value="{$replythread}" />
|
||||
{if $board.maximagesize > 0}
|
||||
<input type="hidden" name="MAX_FILE_SIZE" value="{$board.maximagesize}" />
|
||||
{/if}
|
||||
<input type="text" name="email" size="28" maxlength="75" value="" style="display: none;" />
|
||||
<table class="postform">
|
||||
<tbody>
|
||||
{if $board.forcedanon neq 1}
|
||||
<tr>
|
||||
<td class="postblock">
|
||||
{t}Name{/t}</td>
|
||||
<td>
|
||||
<input type="text" name="name" size="28" maxlength="75" accesskey="n" />
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td class="postblock">
|
||||
{t}Email{/t}</td>
|
||||
<td>
|
||||
<input type="text" name="em" size="28" maxlength="75" accesskey="e" />
|
||||
</td>
|
||||
</tr>
|
||||
{if $board.enablecaptcha eq 1}
|
||||
<tr>
|
||||
<td class="postblock'">
|
||||
<a href="#" onclick="javascript:document.getElementById('captchaimage').src = '{%KU_CGIPATH}/captcha.php?' + Math.random();return false;"><img id="captchaimage" src="{%KU_CGIPATH}/captcha.php" border="0" width="90" height="25" alt="Captcha image"></a>
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="captcha" size="28" maxlength="10" accesskey="c" />
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td class="postblock">
|
||||
{t}Subject{/t}</td>
|
||||
<td>
|
||||
{strip}<input type="text" name="subject" size="35" maxlength="75" accesskey="s" /> <input type="submit" value="
|
||||
{if %KU_QUICKREPLY && $replythread eq 0}
|
||||
{t}Submit{/t}" accesskey="z" /> (<span id="posttypeindicator">{t}new thread{/t}</span>)
|
||||
{elseif %KU_QUICKREPLY && $replythread neq 0}
|
||||
{t}Reply{/t}" accesskey="z" /> (<span id="posttypeindicator">{t}reply to{/t} {$replythread}</span>)
|
||||
{else}
|
||||
{t}Submit{/t}" accesskey="z" />
|
||||
{/if}{/strip}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="postblock">
|
||||
{t}Message{/t}
|
||||
</td>
|
||||
<td>
|
||||
<textarea name="message" cols="48" rows="4" accesskey="m"></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
{if $board.uploadtype eq 0 || $board.uploadtype eq 1}
|
||||
<tr>
|
||||
<td class="postblock">
|
||||
{t}File{/t}
|
||||
</td>
|
||||
<td>
|
||||
{if $.get.postoek eq ''}
|
||||
<input type="file" name="imagefile" size="35" accesskey="f" />
|
||||
{else}
|
||||
{t}Shown Below{/t}<input type="hidden" name="oekaki" value="{$.get.postoek}" />
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td class="postblock">
|
||||
{t}Password{/t}
|
||||
</td>
|
||||
<td>
|
||||
<input type="password" name="postpassword" size="8" accesskey="p" /> {t}(for post and file deletion){/t}
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="passwordbox"><td></td><td></td></tr>
|
||||
<tr>
|
||||
<td colspan="2" class="rules">
|
||||
<ul style="margin-left: 0; margin-top: 0; margin-bottom: 0; padding-left: 0;">
|
||||
<li>{t}Supported file types are{/t}:
|
||||
{if $board.filetypes_allowed neq ''}
|
||||
{foreach name=files item=filetype from=$board.filetypes_allowed}
|
||||
{$filetype.0|upper}{if $.foreach.files.last}{else}, {/if}
|
||||
{/foreach}
|
||||
{else}
|
||||
{t}None{/t}
|
||||
{/if}
|
||||
</li>
|
||||
<li>{t}Maximum file size allowed is{/t} {math "round(x/1024)" x=$board.maximagesize} KB.</li>
|
||||
<li>{t 1=%KU_THUMBWIDTH 2=%KU_THUMBHEIGHT}Images greater than %1x%2 pixels will be thumbnailed.{/t}</li>
|
||||
<li>{t 1=$board.uniqueposts}Currently %1 unique user posts.{/t}
|
||||
{if $board.enablecatalog eq 1}
|
||||
<a href="{%KU_BOARDSFOLDER}{$board.name}/catalog.html">{t}View catalog{/t}</a>
|
||||
{/if}
|
||||
</li>
|
||||
</ul>
|
||||
{if %KU_BLOTTER && $blotter}
|
||||
<br />
|
||||
<ul style="margin-left: 0; margin-top: 0; margin-bottom: 0; padding-left: 0;">
|
||||
<li style="position: relative;">
|
||||
<span style="color: red;">
|
||||
{t}Blotter updated{/t}: {$blotter_updated|date_format:"%Y-%m-%d"}
|
||||
</span>
|
||||
<span style="color: red;text-align: right;position: absolute;right: 0px;">
|
||||
<a href="#" onclick="javascript:toggleblotter(true);return false;">{t}Show/Hide{/t}</a> <a href="%KU_WEBPATH/blotter.php">{t}Show All{/t}</a>
|
||||
</span>
|
||||
</li>
|
||||
{$blotter}
|
||||
</ul>
|
||||
<script type="text/javascript"><!--
|
||||
if (getCookie('ku_showblotter') == '1') {
|
||||
toggleblotter(false);
|
||||
}
|
||||
--></script>
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
<hr />
|
||||
{/if}
|
||||
{if $topads neq ''}
|
||||
<div class="content ads">
|
||||
<center>
|
||||
{$topads}
|
||||
</center>
|
||||
</div>
|
||||
<hr />
|
||||
{/if}
|
||||
</div>
|
||||
<script type="text/javascript"><!--
|
||||
set_inputs("postform");
|
||||
//--></script>
|
||||
{if $.get.postoek}
|
||||
<div style="text-align: center;">
|
||||
{t}Your image{/t}:<br />
|
||||
<img src="{%KU_CGIFOLDER}kusabaoek/{$.get.postoek}.png" />
|
||||
</div>
|
||||
{/if}
|
||||
@@ -0,0 +1,19 @@
|
||||
[<a href="{%KU_WEBFOLDER}{$board.name}/">{t}Return{/t}</a>]
|
||||
{if %KU_FIRSTLAST && ( count($posts) > 50 || $replycount > 50)}
|
||||
[<a href="{%KU_WEBFOLDER}{$board.name}/res/{$posts.0.id}.html">{t}Entire Thread{/t}</a>]
|
||||
[<a href="{%KU_WEBFOLDER}{$board.name}/res/{$posts.0.id}+50.html">{t}Last 50 posts{/t}</a>]
|
||||
{if ( count($posts) > 100 || $replycount > 100) }
|
||||
[<a href="{%KU_WEBFOLDER}{$board.name}/res/{$posts.0.id}-100.html">{t}First 100 posts{/t}</a>]
|
||||
{/if}
|
||||
{/if}
|
||||
{if not $isread}
|
||||
<div class="replymode">{t}Posting mode: Reply{/t}
|
||||
{if $modifier eq 'first100'}
|
||||
[{t}First 100 posts{/t}]
|
||||
{elseif $modifier eq 'last50'}
|
||||
[{t}Last 50 posts{/t}]
|
||||
{/if}
|
||||
{else}
|
||||
[<a href="{%KU_WEBFOLDER}{$board.name}/res/{$posts.0.id}.html">{t}Entire Thread{/t}</a>]
|
||||
{/if}
|
||||
</div>
|
||||
@@ -0,0 +1,419 @@
|
||||
{if not $isexpand and not $isread}
|
||||
<form id="delform" action="{%KU_CGIPATH}/board.php" method="post">
|
||||
<input type="hidden" name="board" value="{$board.name}" />
|
||||
{/if}
|
||||
{foreach key=postkey item=post from=$posts name=postsloop}
|
||||
|
||||
{if $post.parentid eq 0}
|
||||
<a name="s{$.foreach.thread.iteration}"></a>
|
||||
|
||||
{if ($post.file neq '' || $post.file_type neq '' ) && (( $post.videobox eq '' && $post.file neq '') && $post.file neq 'removed')}
|
||||
<span class="filesize">
|
||||
{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 ''}
|
||||
<a
|
||||
{if %KU_NEWWINDOW}
|
||||
target="_blank"
|
||||
{/if}
|
||||
href="{$file_path}/src/{$post.file}.{$post.file_type}">
|
||||
{else}
|
||||
<a href="{$file_path}/src/{$post.file}.{$post.file_type}" onclick="javascript:expandimg('{$post.id}', '{$file_path}/src/{$post.file}.{$post.file_type}', '{$file_path}/thumb/{$post.file}s.{$post.file_type}', '{$post.image_w}', '{$post.image_h}', '{$post.thumb_w}', '{$post.thumb_h}');return false;">
|
||||
{/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}
|
||||
</a>
|
||||
{else}
|
||||
{$post.file}.{$post.file_type}</a>
|
||||
{/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}
|
||||
</span>
|
||||
{if %KU_THUMBMSG}
|
||||
<span class="thumbnailmsg">
|
||||
{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}
|
||||
</span>
|
||||
{/if}
|
||||
<br />
|
||||
{/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'}
|
||||
<div class="nothumb">
|
||||
{t}File<br />Removed{/t}
|
||||
</div>
|
||||
{else}
|
||||
<a
|
||||
{if %KU_NEWWINDOW}
|
||||
target="_blank"
|
||||
{/if}
|
||||
href="{$file_path}/src/{$post.file}.{$post.file_type}">
|
||||
<span id="thumb{$post.id}"><img src="{$file_path}/thumb/{$post.file}s.{$post.file_type}" alt="{$post.id}" class="thumb" height="{$post.thumb_h}" width="{$post.thumb_w}" /></span>
|
||||
</a>
|
||||
{/if}
|
||||
{elseif $post.nonstandard_file neq ''}
|
||||
{if $post.file eq 'removed'}
|
||||
<div class="nothumb">
|
||||
{t}File<br />Removed{/t}
|
||||
</div>
|
||||
{else}
|
||||
<a
|
||||
{if %KU_NEWWINDOW}
|
||||
target="_blank"
|
||||
{/if}
|
||||
href="{$file_path}/src/{$post.file}.{$post.file_type}">
|
||||
<span id="thumb{$post.id}"><img src="{$post.nonstandard_file}" alt="{$post.id}" class="thumb" height="{$post.thumb_h}" width="{$post.thumb_w}" /></span>
|
||||
</a>
|
||||
{/if}
|
||||
{/if}
|
||||
<a name="{$post.id}"></a>
|
||||
<label>
|
||||
<input type="checkbox" name="post[]" value="{$post.id}" />
|
||||
{if $post.subject neq ''}
|
||||
<span class="filetitle">
|
||||
{$post.subject}
|
||||
</span>
|
||||
{/if}
|
||||
{strip}
|
||||
<span class="postername">
|
||||
{if $post.email && $board.anonymous}
|
||||
<a href="mailto:{$post.email}">
|
||||
{/if}
|
||||
{if $post.name eq '' && $post.tripcode eq ''}
|
||||
{$board.anonymous}
|
||||
{elseif $post.name eq '' && $post.tripcode neq ''}
|
||||
{else}
|
||||
{$post.name}
|
||||
{/if}
|
||||
{if $post.email neq '' && $board.anonymous neq ''}
|
||||
</a>
|
||||
{/if}
|
||||
|
||||
</span>
|
||||
|
||||
{if $post.tripcode neq ''}
|
||||
<span class="postertrip">!{$post.tripcode}</span>
|
||||
{/if}
|
||||
{/strip}
|
||||
{if $post.posterauthority eq 1}
|
||||
<span class="admin">
|
||||
## {t}Admin{/t} ##
|
||||
</span>
|
||||
{elseif $post.posterauthority eq 4}
|
||||
<span class="mod">
|
||||
## {t}Super Mod{/t} ##
|
||||
</span>
|
||||
{elseif $post.posterauthority eq 2}
|
||||
<span class="mod">
|
||||
## {t}Mod{/t} ##
|
||||
</span>
|
||||
{/if}
|
||||
{$post.timestamp_formatted}
|
||||
</label>
|
||||
<span class="reflink">
|
||||
{$post.reflink}
|
||||
</span>
|
||||
{if $board.showid}
|
||||
ID: {$post.ipmd5|substr:0:6}
|
||||
{/if}
|
||||
<span id="dnb-{$board.name}-{$post.id}-y"></span>
|
||||
<br />
|
||||
{else}
|
||||
{if $numimages > 0 && $isexpand && $.foreach.postsloop.first}
|
||||
<a href="#top" onclick="javascript:
|
||||
{foreach key=postkey2 item=post2 from=$posts}
|
||||
{if $post2.parentid neq 0}
|
||||
{if $post2.file_type eq 'jpg' || $post2.file_type eq 'gif' || $post2.file_type eq 'png'}
|
||||
expandimg('{$post2.id}', '{$file_path}/src/{$post2.file}.{$post2.file_type}', '{$file_path}/thumb/{$post2.file}s.{$post2.file_type}', '{$post2.image_w}', '{$post2.image_h}', '{$post2.thumb_w}', '{$post2.thumb_h}');
|
||||
{/if}
|
||||
{/if}
|
||||
{/foreach}
|
||||
return false;">{t}Expand all images{/t}</a>
|
||||
{/if}
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="doubledash">
|
||||
>>
|
||||
</td>
|
||||
<td class="reply" id="reply{$post.id}">
|
||||
<a name="{$post.id}"></a>
|
||||
<label>
|
||||
<input type="checkbox" name="post[]" value="{$post.id}" />
|
||||
|
||||
|
||||
{if $post.subject neq ''}
|
||||
<span class="filetitle">
|
||||
{$post.subject}
|
||||
</span>
|
||||
{/if}
|
||||
{strip}
|
||||
<span class="postername">
|
||||
|
||||
{if $post.email && $board.anonymous}
|
||||
<a href="mailto:{$post.email}">
|
||||
{/if}
|
||||
{if $post.name eq '' && $post.tripcode eq ''}
|
||||
{$board.anonymous}
|
||||
{elseif $post.name eq '' && $post.tripcode neq ''}
|
||||
{else}
|
||||
{$post.name}
|
||||
{/if}
|
||||
{if $post.email neq '' && $board.anonymous neq ''}
|
||||
</a>
|
||||
{/if}
|
||||
|
||||
</span>
|
||||
|
||||
{if $post.tripcode neq ''}
|
||||
<span class="postertrip">!{$post.tripcode}</span>
|
||||
{/if}
|
||||
{/strip}
|
||||
{if $post.posterauthority eq 1}
|
||||
<span class="admin">
|
||||
## {t}Admin{/t} ##
|
||||
</span>
|
||||
{elseif $post.posterauthority eq 4}
|
||||
<span class="mod">
|
||||
## {t}Super Mod{/t} ##
|
||||
</span>
|
||||
{elseif $post.posterauthority eq 2}
|
||||
<span class="mod">
|
||||
## {t}Mod{/t} ##
|
||||
</span>
|
||||
{/if}
|
||||
{$post.timestamp_formatted}
|
||||
</label>
|
||||
|
||||
<span class="reflink">
|
||||
{$post.reflink}
|
||||
</span>
|
||||
{if $board.showid}
|
||||
ID: {$post.ipmd5|substr:0:6}
|
||||
{/if}
|
||||
<span class="extrabtns">
|
||||
{if $post.locked eq 1}
|
||||
<img style="border: 0;" src="{$boardpath}css/locked.gif" alt="{t}Locked{/t}" />
|
||||
{/if}
|
||||
{if $post.stickied eq 1}
|
||||
<img style="border: 0;" src="{$boardpath}css/sticky.gif" alt="{t}Stickied{/t}" />
|
||||
{/if}
|
||||
</span>
|
||||
<span id="dnb-{$board.name}-{$post.id}-n"></span>
|
||||
{if ($post.file neq '' || $post.file_type neq '' ) && (( $post.videobox eq '' && $post.file neq '') && $post.file neq 'removed')}
|
||||
<br /><span class="filesize">
|
||||
{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 ''}
|
||||
<a
|
||||
{if %KU_NEWWINDOW}
|
||||
target="_blank"
|
||||
{/if}
|
||||
href="{$file_path}/src/{$post.file}.{$post.file_type}">
|
||||
{else}
|
||||
<a href="{$file_path}/src/{$post.file}.{$post.file_type}" onclick="javascript:expandimg('{$post.id}', '{$file_path}/src/{$post.file}.{$post.file_type}', '{$file_path}/thumb/{$post.file}s.{$post.file_type}', '{$post.image_w}', '{$post.image_h}', '{$post.thumb_w}', '{$post.thumb_h}');return false;">
|
||||
{/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}
|
||||
</a>
|
||||
{else}
|
||||
{$post.file}.{$post.file_type}</a>
|
||||
{/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}
|
||||
</span>
|
||||
{if %KU_THUMBMSG}
|
||||
<span class="thumbnailmsg">
|
||||
{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}
|
||||
</span>
|
||||
{/if}
|
||||
|
||||
{/if}
|
||||
{if $post.videobox eq '' && $post.file neq '' && ( $post.file_type eq 'jpg' || $post.file_type eq 'gif' || $post.file_type eq 'png')}
|
||||
<br />
|
||||
{if $post.file eq 'removed'}
|
||||
<div class="nothumb">
|
||||
{t}File<br />Removed{/t}
|
||||
</div>
|
||||
{else}
|
||||
<a
|
||||
{if %KU_NEWWINDOW}
|
||||
target="_blank"
|
||||
{/if}
|
||||
href="{$file_path}/src/{$post.file}.{$post.file_type}">
|
||||
<span id="thumb{$post.id}"><img src="{$file_path}/thumb/{$post.file}s.{$post.file_type}" alt="{$post.id}" class="thumb" height="{$post.thumb_h}" width="{$post.thumb_w}" /></span>
|
||||
</a>
|
||||
{/if}
|
||||
{elseif $post.nonstandard_file neq ''}
|
||||
<br />
|
||||
{if $post.file eq 'removed'}
|
||||
<div class="nothumb">
|
||||
{t}File<br />Removed{/t}
|
||||
</div>
|
||||
{else}
|
||||
<a
|
||||
{if %KU_NEWWINDOW}
|
||||
target="_blank"
|
||||
{/if}
|
||||
href="{$file_path}/src/{$post.file}.{$post.file_type}">
|
||||
<span id="thumb{$post.id}"><img src="{$post.nonstandard_file}" alt="{$post.id}" class="thumb" height="{$post.thumb_h}" width="{$post.thumb_w}" /></span>
|
||||
</a>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
{/if}
|
||||
{if $post.file_type eq 'mp3'}
|
||||
<!--[if !IE]> -->
|
||||
<object type="application/x-shockwave-flash" data="{%KU_WEBPATH}/inc/player/player.swf?playerID={$post.id}&soundFile={$file_path}/src/{$post.file|utf8_encode|urlencode}.mp3{if $post.id3.comments_html.artist.0 neq ''}&artists={$post.id3.comments_html.artist.0}{/if}{if $post.id3.comments_html.title.0 neq ''}&titles={$post.id3.comments_html.title.0|html_entity_decode|utf8_encode|urlencode}{/if}&wmode=transparent" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,22,87" width="290" height="24">
|
||||
<param name="wmode" value="transparent" />
|
||||
<!-- <![endif]-->
|
||||
<!--[if IE]>
|
||||
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,22,87" width="290" height="24">
|
||||
<param name="movie" value="{%KU_WEBPATH}/inc/player/player.swf?playerID={$post.id}&soundFile={$file_path}/src/{$post.file|utf8_encode|urlencode}.mp3{if $post.id3.comments_html.artist.0 neq ''}&artists={$post.id3.comments_html.artist.0}{/if}{if $post.id3.comments_html.title.0 neq ''}&titles={$post.id3.comments_html.title.0|html_entity_decode|utf8_encode|urlencode}{/if}&wmode=transparent" />
|
||||
<param name="wmode" value="transparent" />
|
||||
<!-->
|
||||
</object>
|
||||
<!-- <![endif]-->
|
||||
{/if}
|
||||
<blockquote>
|
||||
{if $post.videobox}
|
||||
{$post.videobox}
|
||||
{/if}
|
||||
{$post.message}
|
||||
</blockquote>
|
||||
{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)))}
|
||||
<span class="oldpost">
|
||||
{t}Marked for deletion (old){/t}
|
||||
</span>
|
||||
<br />
|
||||
{/if}
|
||||
{if $post.parentid eq 0}
|
||||
{if $modifier eq 'last50'}
|
||||
<span class="omittedposts">
|
||||
{$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}.
|
||||
</span>
|
||||
{/if}
|
||||
{if $numimages > 0}
|
||||
<a href="#top" onclick="javascript:
|
||||
{foreach key=postkey2 item=post2 from=$posts}
|
||||
{if $post2.parentid neq 0}
|
||||
{if $post2.file_type eq 'jpg' || $post2.file_type eq 'gif' || $post2.file_type eq 'png'}
|
||||
expandimg('{$post2.id}', '{$file_path}/src/{$post2.file}.{$post2.file_type}', '{$file_path}/thumb/{$post2.file}s.{$post2.file_type}', '{$post2.image_w}', '{$post2.image_h}', '{$post2.thumb_w}', '{$post2.thumb_h}');
|
||||
{/if}
|
||||
{/if}
|
||||
{/foreach}
|
||||
return false;">{t}Expand all images{/t}</a>
|
||||
{/if}
|
||||
{else}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
{/if}
|
||||
{/foreach}
|
||||
{if $modifier eq 'first100'}
|
||||
<span class="omittedposts" style="float: left">
|
||||
{$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}.
|
||||
</span>
|
||||
{/if}
|
||||
{if not $isread}
|
||||
{if $replycount > 2}
|
||||
<span style="float:right">
|
||||
[<a href="/{$board.name}/">{t}Return{/t}</a>]
|
||||
{if %KU_FIRSTLAST && ( count($posts) > 50 || $replycount > 50)}
|
||||
[<a href="/{$board.name}/res/{$posts.0.id}.html">{t}Entire Thread{/t}</a>]
|
||||
[<a href="/{$board.name}/res/{$posts.0.id}+50.html">{t}Last 50 posts{/t}</a>]
|
||||
{if ( count($posts) > 100 || $replycount > 100) }
|
||||
[<a href="/{$board.name}/res/{$posts.0.id}-100.html">{t}First 100 posts{/t}</a>]
|
||||
{/if}
|
||||
{/if}
|
||||
</span>
|
||||
{/if}
|
||||
</div>
|
||||
{if not $isexpand}
|
||||
<br clear="left" />
|
||||
<hr />
|
||||
{/if}
|
||||
{/if}
|
||||
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<rss version="2.0">
|
||||
<channel>
|
||||
<title>{%KU_NAME} - {$boardname}</title>
|
||||
<link>{%KU_BOARDSPATH}/{$boardname}</link>
|
||||
<description>Live RSS feed for {%KU_BOARDSPATH}/{$boardname}</description>
|
||||
<language>{%KU_LOCALE}</language>';
|
||||
{foreach name=rss from=$posts item=item}
|
||||
<item>
|
||||
<title>{$item.id}</title>
|
||||
<link>
|
||||
{if $item.parentid neq 0}
|
||||
{%KU_BOARDSPATH}/{$boardname}/res/{$item.parentid}.html#{$item.id}</link>
|
||||
{else}
|
||||
{%KU_BOARDSPATH}/{$boardname}/res/{$item.id}.html</link>
|
||||
{/if}
|
||||
<description><![CDATA[
|
||||
{if $item.file neq ''}
|
||||
{if $item.file_type eq 'jpg' || $item.file_type eq 'png' || $item.file_type eq 'gif'}
|
||||
<a href="{%KU_BOARDSPATH}/{$boardname}/src/{$item.file}.{$item.file_type}"><img src="{%KU_BOARDSPATH}/{$boardname}/thumb/{$item.file}s.{$item.file_type}" /></a><br /><br />
|
||||
{else}
|
||||
[{%KU_BOARDSPATH}/{$boardname}/src/{$item.file}.{$item.file_type}] <br /><br />
|
||||
{/if}
|
||||
{/if}
|
||||
{if trim($item.message) neq ''}
|
||||
{$item.message|stripslashes}<br />
|
||||
{/if}
|
||||
]]></description>
|
||||
</item>
|
||||
{/foreach}
|
||||
</channel>
|
||||
</rss>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<rss version="2.0">
|
||||
<channel>
|
||||
<title>{%KU_NAME} - Modlog</title>
|
||||
<link>{%KU_WEBPATH}</link>
|
||||
<description>Live view of all moderative actions on {%KU_WEBPATH}</description>
|
||||
<language>{%KU_LOCALE}</language>
|
||||
{foreach from=$entries item=item}
|
||||
<item>
|
||||
<title>{$item.timestamp|date_format:"%a %m/%d %H:%M"}</title>
|
||||
<description><![CDATA[{$item.user} - {$item.entry}]]></description>
|
||||
</item>
|
||||
{/foreach}
|
||||
</channel>
|
||||
</rss>
|
||||
@@ -0,0 +1,164 @@
|
||||
{foreach name=thread item=postsa from=$posts}
|
||||
{foreach name=pst key=postkey item=post from=$postsa}
|
||||
{if $post.parentid eq 0}
|
||||
<div class="border">
|
||||
<div class="thread">
|
||||
<a name="{$.foreach.thread.iteration-1}"></a>
|
||||
{/if}
|
||||
{if $post.parentid eq 0}
|
||||
{if $.foreach.thread.last}
|
||||
<span class="navlinks">
|
||||
<a href="#{$posts|count - 1}">↑</a>
|
||||
<a href="#0">↓</a>
|
||||
<a href="#menu">■</a>
|
||||
</span>
|
||||
{else}
|
||||
<span class="navlinks">
|
||||
<a href="#{$posts|count - 1}">↑</a>
|
||||
<a href="#{$.foreach.thread.iteration}">↓</a>
|
||||
<a href="#menu">■</a>
|
||||
</span>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
{if $post.parentid eq 0}
|
||||
<h2>
|
||||
<a href="res/{$post.id}.html">{$post.subject}</a>
|
||||
<span class="replies">({$postsa.0.replies})</span></h2>
|
||||
{/if}
|
||||
|
||||
{if $.foreach.thread.iteration % 2 eq 0}
|
||||
<div class="post even">
|
||||
{else}
|
||||
<div class="post odd">
|
||||
{/if}
|
||||
<h3>
|
||||
|
||||
<span class="postnum">
|
||||
{if $post.parentid eq 0}
|
||||
<a href="javascript:quote(1, 'post{$post.id}');">1</a>
|
||||
<a href="{%KU_BOARDSPATH}/{$board.name}/res/{$post.id}.html#1">.</a>
|
||||
{else}
|
||||
<a href="javascript:quote({math "replies-postcount+iteration+x" replies=$postsa.0.replies postcount=$postsa|count iteration=$.foreach.pst.iteration x=1}, 'post{$post.id}');">{math "replies-postcount+iteration+x" replies=$postsa.0.replies postcount=$postsa|count iteration=$.foreach.pst.iteration x=1}</a>
|
||||
<a href="{%KU_BOARDSPATH}/{$board.name}/res/{$post.parentid}.html#{math "replies-postcount+iteration+x" replies=$postsa.0.replies postcount=$postsa|count iteration=$.foreach.pst.iteration x=1}">.</a>
|
||||
{/if}
|
||||
</span>
|
||||
<span class="postinfo">
|
||||
{t}Name{/t}:
|
||||
<span class="postername">
|
||||
{if $post.email neq '' && $board.anonymous neq ''}
|
||||
<a href="mailto:{$post.email}">
|
||||
{/if}
|
||||
{if $post.name eq '' && $post.tripcode eq ''}
|
||||
{$board.anonymous}
|
||||
{elseif $post.name eq '' && $post.tripcode neq ''}
|
||||
{else}
|
||||
{$post.name}
|
||||
{/if}
|
||||
{if $post.email neq '' && $board.anonymous neq ''}
|
||||
</a>
|
||||
{/if}
|
||||
|
||||
</span>
|
||||
{if $post.tripcode neq ''}
|
||||
<span class="postertrip">!{$post.tripcode}</span>
|
||||
{/if}
|
||||
@ {$post.timestamp|date_format:"%Y-%m-%d %H:%M"}
|
||||
{if $board.showid}
|
||||
{t}ID{/t}: {$post.ipmd5|substr:0:6}
|
||||
{/if}
|
||||
<span id="dnb-{$board.name}-{$post.id}-{if $post.parentid eq 0}y{else}n{/if}"></span>
|
||||
<span class="id"></span>
|
||||
</span>
|
||||
</h3>
|
||||
<blockquote>
|
||||
{$post.message}
|
||||
</blockquote>
|
||||
</div>
|
||||
{if $.foreach.pst.last}
|
||||
<form name="post{if $post.parentid eq 0}{$post.id}{else}{$post.parentid}{/if}" id="post{if $post.parentid eq 0}{$post.id}{else}{$post.parentid}{/if}" action="{%KU_CGIPATH}/board.php" method="post" {if $board.enablecaptcha eq 1}onsubmit="return checkcaptcha('post{if $post.parentid eq 0}{$post.id}{else}{$post.parentid}{/if}');"{/if}>
|
||||
<input type="hidden" name="board" value="{$board.name}" />
|
||||
<input type="hidden" name="replythread" value="{if $post.parentid eq 0}{$post.id}{else}{$post.parentid}{/if}" />
|
||||
<input name="email" size="25" value="" style="display: none;" />
|
||||
<table class="postform">
|
||||
<tr>
|
||||
{if $board.forcedanon neq 1}
|
||||
<td class="label">
|
||||
<label>{t}Name{/t}:</label>
|
||||
</td>
|
||||
<td>
|
||||
<input name="name" size="25" maxlength="75" />
|
||||
</td>
|
||||
{/if}
|
||||
<td class="label">
|
||||
<label>{t}Email{/t}:</label>
|
||||
</td>
|
||||
<td>
|
||||
<input name="em" size="25" maxlength="75" />
|
||||
</td>
|
||||
{if $board.forcedanon neq 1}
|
||||
<td>
|
||||
<input type="submit" name="submit" value="{t}Reply{/t}" class="submit" />
|
||||
<a href="#" onclick="toggleOptions('{if $post.parentid eq 0}{$post.id}{else}{$post.parentid}{/if}', 'post{if $post.parentid eq 0}{$post.id}{else}{$post.parentid}{/if}', '{$board.name}');return false;">{t}More{/t}...</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
{/if}
|
||||
|
||||
{if $board.enablecaptcha eq 1}
|
||||
<td class="label"><label for="captcha">{t}Captcha{/t}:</label></td>
|
||||
<td>
|
||||
<a href="#" onclick="javascript:document.getElementById('captchaimage').src = '{%KU_CGIPATH}/captcha.php?' + Math.random();return false;">
|
||||
<img id="captchaimage" src="{%KU_CGIPATH}/captcha.php" border="0" width="90" height="30" alt="Captcha image" />
|
||||
</a>
|
||||
<input type="text" id="captcha" name="captcha" size="8" maxlength="6" />
|
||||
</td>
|
||||
{/if}
|
||||
{if ($board.forcedanon eq 1 && $board.enablecaptcha neq 1) || $board.forcedanon neq 1}
|
||||
<td class="label">
|
||||
<label>{t}Password{/t}:</label>
|
||||
</td>
|
||||
<td>
|
||||
<input type="password" name="postpassword" size="8" accesskey="p" maxlength="75" />
|
||||
</td>
|
||||
{/if}
|
||||
{if $board.forcedanon eq 1}
|
||||
<td>
|
||||
<input type="submit" name="submit" value="{t}Reply{/t}" class="submit" />
|
||||
<a href="#" onclick="toggleOptions('{if $post.parentid eq 0}{$post.id}{else}{$post.parentid}{/if}', 'post{if $post.parentid eq 0}{$post.id}{else}{$post.parentid}{/if}', '{$board.name}');return false;">{t}More{/t}...</a>
|
||||
</td>
|
||||
{if $board.enablecaptcha eq 1}
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
<label>{t}Password{/t}:</label>
|
||||
</td>
|
||||
<td>
|
||||
<input type="password" name="postpassword" size="8" accesskey="p" maxlength="75" />
|
||||
</td>
|
||||
{/if}
|
||||
{/if}
|
||||
</tr>
|
||||
<tr style="display: none;" id="opt{if $post.parentid eq 0}{$post.id}{else}{$post.parentid}{/if}"><td></td></tr>
|
||||
<tr>
|
||||
<td class="postfieldleft">
|
||||
<span class="postnum">
|
||||
{$postsa.0.replies+2}
|
||||
</span>
|
||||
</td>
|
||||
<td colspan="4">
|
||||
<textarea name="message" rows="8" cols="64"></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div id="preview{if $post.parentid eq 0}{$post.id}{else}{$post.parentid}{/if}"></div>
|
||||
</form>
|
||||
<script type="text/javascript"><!--
|
||||
set_inputs('post{if $post.parentid eq 0}{$post.id}{else}{$post.parentid}{/if}');
|
||||
//--></script>
|
||||
</div></div>
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
{/foreach}
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
<br />
|
||||
<div class="footer" style="clear: both;">
|
||||
{* I'd really appreciate it if you left the link to kusabax.org in the footer, if you decide to modify this. That being said, you are not bound by license or any other terms to keep it there *}
|
||||
<div class="legal"> - <a href="http://www.kusabax.org/" target="_top">kusaba x {%KU_VERSION}</a>
|
||||
{if $executiontime neq ''} + {t}Took{/t} {$executiontime}s -{/if}<br />
|
||||
- <a href="{%KU_CGIPATH}/manage.php" target="_top">{t}Manage boards{/t}</a> -</div>
|
||||
{* botads go here *}
|
||||
</div>
|
||||
@@ -0,0 +1,98 @@
|
||||
<script type="text/javascript" src="{$cwebpath}lib/javascript/protoaculous-compressed.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="{$cwebpath}css/txt_global.css" />
|
||||
{loop $ku_styles}
|
||||
<link rel="{if $ neq $__.ku_defaultstyle}alternate {/if}stylesheet" type="text/css" href="{$__.cwebpath}css/txt_{$}.css" title="{$|capitalize}" />
|
||||
{/loop}
|
||||
{if $locale eq 'ja'}
|
||||
{literal}
|
||||
<style type="text/css">
|
||||
*{
|
||||
font-family: IPAMonaPGothic, Mona, 'MS PGothic', YOzFontAA97 !important;
|
||||
font-size: 1em;
|
||||
}
|
||||
</style>
|
||||
{/literal}
|
||||
{/if}
|
||||
{if %KU_RSS neq ''}
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="{%KU_BOARDSPATH}/{$board.name}/rss.xml" />
|
||||
{/if}
|
||||
<script type="text/javascript"><!--
|
||||
var ku_boardspath = '{%KU_BOARDSPATH}';
|
||||
var ku_cgipath = '{%KU_CGIPATH}';
|
||||
var style_cookie_txt = "kustyle_txt";
|
||||
{if $replythread > 0}
|
||||
var ispage = false;
|
||||
{else}
|
||||
var ispage = true;
|
||||
{/if}
|
||||
//--></script>
|
||||
<script type="text/javascript" src="{%KU_WEBPATH}/lib/javascript/kusaba.js"></script>
|
||||
<script type="text/javascript"><!--
|
||||
var hiddenthreads = getCookie('hiddenthreads').split('!');
|
||||
//--></script>
|
||||
</head>
|
||||
{if $replythread eq 0}
|
||||
<body class="board">
|
||||
{else}
|
||||
<body class="read">
|
||||
{/if}
|
||||
<div class="topbar">
|
||||
{if %KU_GENERATEBOARDLIST}
|
||||
{foreach name=sections item=sect from=$boardlist}
|
||||
[
|
||||
{foreach name=brds item=brd from=$sect}
|
||||
<a title="{$brd.desc}" href="{%KU_BOARDSFOLDER}{$brd.name}/">{$brd.name}</a>{if $.foreach.brds.last}{else} / {/if}
|
||||
{/foreach}
|
||||
]
|
||||
{/foreach}
|
||||
{else}
|
||||
{if is_file($boardlist)}
|
||||
{include $boardlist}
|
||||
{/if}
|
||||
{/if}
|
||||
</div>
|
||||
{if not $isthread}
|
||||
<div class="fullhead">
|
||||
<div class="hborder">
|
||||
<div class="head">
|
||||
<a name="menu" rev="contents"></a>
|
||||
{if $isindex eq 1}
|
||||
<span class="navlinks"><a href="#0">↓</a> <a href="#menu">■</a></span>
|
||||
{/if}
|
||||
<h1 align="center">{$board.desc}</h1>
|
||||
{$board.includeheader}
|
||||
</div>
|
||||
</div>
|
||||
{if %KU_TXTSTYLESWITCHER && $isindex}
|
||||
<div class="hborder">
|
||||
<div class="head midhead">
|
||||
<strong>{t}Styles{/t}:</strong>
|
||||
{loop $ku_styles}
|
||||
<a href="#" onclick="javascript:set_stylesheet('{$|capitalize:true}',true);return false;">
|
||||
{strip}{if $ eq 'futatxt'}
|
||||
FutaTXT
|
||||
{elseif $ eq 'buritxt'}
|
||||
BuriTXT
|
||||
{else}
|
||||
{$|capitalize:true}
|
||||
{/if}
|
||||
{/strip}</a>
|
||||
{/loop}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{if $isindex eq 0}
|
||||
{t}Pages{/t}: <a href="{%KU_BOARDSPATH}/{$board.name}/">{t}Front{/t}</a>
|
||||
{section name=pages loop=$numpages}
|
||||
|
||||
{if $.section.pages.iteration neq $thispage}
|
||||
<a href="list{if $.section.pages.iteration neq 1}{$.section.pages.iteration}{/if}.html">
|
||||
{/if}
|
||||
{$.section.pages.iteration}
|
||||
{if $.section.pages.iteration neq $thispage}
|
||||
</a>
|
||||
{/if}
|
||||
{/section}
|
||||
<br />
|
||||
{/if}
|
||||
{/if}
|
||||
@@ -0,0 +1,96 @@
|
||||
<div class="hborder head newthread">
|
||||
<a id="newthread"></a><h2>{t}New Thread{/t}</h2>
|
||||
<a id="postbox"></a>
|
||||
<form name="postform" id="postform" action="{%KU_CGIPATH}/board.php" method="post" enctype="multipart/form-data"{if $board.enablecaptcha eq 1} onsubmit="return checkcaptcha('postform');"{/if}>
|
||||
<input type="hidden" name="board" value="{$board.name}" />
|
||||
<input type="hidden" name="replythread" value="<!sm_threadid>" />
|
||||
{if $board.maximagesize > 0}
|
||||
<input type="hidden" name="MAX_FILE_SIZE" value="{$board.maximagesize}" />
|
||||
{/if}
|
||||
<input type="text" name="email" size="28" maxlength="75" value="" style="display: none;" />
|
||||
<table class="postform">
|
||||
<tr>
|
||||
<td class="label">
|
||||
<label>{t}Subject{/t}:</label>
|
||||
</td>
|
||||
|
||||
<td colspan="4">
|
||||
<input name="subject" maxlength="75" size="50" style="width: 70%;" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
{if $board.forcedanon neq 1}
|
||||
<td class="label">
|
||||
<label>{t}Name{/t}:</label>
|
||||
</td>
|
||||
<td>
|
||||
<input name="name" size="25" maxlength="75" />
|
||||
</td>
|
||||
{/if}
|
||||
<td class="label">
|
||||
<label>{t}Email{/t}:</label>
|
||||
</td>
|
||||
<td>
|
||||
<input name="em" size="25" maxlength="75" />
|
||||
</td>
|
||||
{if $board.forcedanon neq 1}
|
||||
<td>
|
||||
<input type="submit" name="submit" value="{t}Submit{/t}" class="submit" />
|
||||
<a href="#" onclick="toggleOptions('0', 'postform', '{$board.name}');return false;">{t}More{/t}...</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
{/if}
|
||||
|
||||
{if $board.enablecaptcha eq 1}
|
||||
<td class="label"><label for="captcha">{t}Captcha{/t}:</label></td>
|
||||
<td>
|
||||
<a href="#" onclick="javascript:document.getElementById('captchaimage').src = '{%KU_CGIPATH}/captcha.php?' + Math.random();return false;">
|
||||
<img id="captchaimage" src="{%KU_CGIPATH}/captcha.php" border="0" width="90" height="30" alt="Captcha image" />
|
||||
</a>
|
||||
<input type="text" id="captcha" name="captcha" size="8" maxlength="6" />
|
||||
</td>
|
||||
{/if}
|
||||
{if ($board.forcedanon eq 1 && $board.enablecaptcha neq 1) || $board.forcedanon neq 1}
|
||||
<td class="label">
|
||||
<label>{t}Password{/t}:</label>
|
||||
</td>
|
||||
<td>
|
||||
<input type="password" name="postpassword" size="8" accesskey="p" maxlength="75" />
|
||||
</td>
|
||||
{/if}
|
||||
{if $board.forcedanon eq 1}
|
||||
<td>
|
||||
<input type="submit" name="submit" value="{t}Submit{/t}" class="submit" />
|
||||
<a href="#" onclick="toggleOptions('0', 'postform', '{$board.name}');return false;">{t}More{/t}...</a>
|
||||
</td>
|
||||
{if $board.enablecaptcha eq 1}
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
<label>{t}Password{/t}:</label>
|
||||
</td>
|
||||
<td>
|
||||
<input type="password" name="postpassword" size="8" accesskey="p" maxlength="75" />
|
||||
</td>
|
||||
{/if}
|
||||
{/if}
|
||||
</tr>
|
||||
<tr style="display: none;" id="opt0"><td></td></tr>
|
||||
<tr>
|
||||
<td class="postfieldleft">
|
||||
<span class="postnum">
|
||||
1
|
||||
</span>
|
||||
</td>
|
||||
<td colspan="4">
|
||||
<textarea name="message" rows="8" cols="64"></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div id="preview0"></div>
|
||||
</form>
|
||||
</div>
|
||||
<script type="text/javascript"><!--
|
||||
set_inputs("postform");
|
||||
//--></script>
|
||||
@@ -0,0 +1,12 @@
|
||||
<a href="{%KU_WEBFOLDER}{$board.name}/">{t}Return{/t}</a>
|
||||
{if $replythread}
|
||||
<a href="{%KU_WEBFOLDER}{$board.name}/res/{$replythread}.html">{t}Entire Thread{/t}</a>
|
||||
{/if}
|
||||
{if %KU_FIRSTLAST && ( count($posts) > 50 || $replycount > 50)}
|
||||
<a href="{%KU_WEBFOLDER}{$board.name}/res/{$posts.0.id}+50.html">{t}Last 50 posts{/t}</a>
|
||||
{if ( count($posts) > 100 || $replycount > 100) }
|
||||
<a href="{%KU_WEBFOLDER}{$board.name}/res/{$posts.0.id}-100.html">{t}First 100 posts{/t}</a>
|
||||
{/if}
|
||||
{/if}
|
||||
<br />
|
||||
<br />
|
||||
@@ -0,0 +1,189 @@
|
||||
{foreach name=pst key=postkey item=post from=$posts}
|
||||
|
||||
|
||||
{if $post.parentid eq 0 || isread}
|
||||
<form id="delform" action="{%KU_CGIPATH}/board.php" method="post">
|
||||
<input type="hidden" name="board" value="{$board.name}" />
|
||||
|
||||
{if $post.parentid eq 0 }
|
||||
<h2>
|
||||
{$post.subject}
|
||||
<span class="replies">({$posts|count - 1})</span></h2>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
<div class="post even">
|
||||
<h3>
|
||||
<span class="postnum">
|
||||
{if $post.parentid eq 0}
|
||||
<a href="javascript:quote(1, 'post{$post.id}');">1</a>
|
||||
<a href="{%KU_BOARDSPATH}/{$board.name}/res/{$post.id}.html#1">.</a>
|
||||
{else}
|
||||
<a href="javascript:quote({if not $postnum}{$.foreach.pst.iteration}{else}{$postnum}{/if}, 'post{$post.id}');">{if not $postnum}{$.foreach.pst.iteration}{else}{$postnum}{/if}</a>
|
||||
<a href="{%KU_BOARDSPATH}/{$board.name}/res/{$post.parentid}.html#{if not $postnum}{$.foreach.pst.iteration}{else}{$postnum}{/if}">.</a>
|
||||
{/if}
|
||||
</span>
|
||||
<span class="postinfo">
|
||||
{t}Name{/t}:
|
||||
<span class="postername">
|
||||
{if $post.email neq '' && $board.anonymous neq ''}
|
||||
<a href="mailto:{$post.email}">
|
||||
{/if}
|
||||
{if $post.name eq '' && $post.tripcode eq ''}
|
||||
{$board.anonymous}
|
||||
{elseif $post.name eq '' && $post.tripcode neq ''}
|
||||
{else}
|
||||
{$post.name}
|
||||
{/if}
|
||||
{if $post.email neq '' && $board.anonymous neq ''}
|
||||
</a>
|
||||
{/if}
|
||||
|
||||
</span>
|
||||
{if $post.tripcode neq ''}
|
||||
<span class="postertrip">!{$post.tripcode}</span>
|
||||
{/if}
|
||||
@ {$post.timestamp|date_format:"%Y-%m-%d %H:%M"}
|
||||
{if $board.showid}
|
||||
{t}ID{/t}: {$post.ipmd5|substr:0:6}
|
||||
{/if}
|
||||
<input type="checkbox" name="post[]" value="{$post.id}" />
|
||||
<span id="dnb-{$board.name}-{$post_id}-{if $post.parentid eq 0}y{else}n{/if}"></span>
|
||||
<span class="id"></span>
|
||||
</span>
|
||||
</h3>
|
||||
<blockquote>
|
||||
{$post.message}
|
||||
</blockquote>
|
||||
</div>
|
||||
{if not $post.stickied && $post.parentid eq 0 && (($board.maxage > 0 && ($post + ($board.maxage * 3600)) < (time() + 7200 ) ) || ($post.deleted_timestamp > 0 && $post.deleted_timestamp <= (time() + 7200)))}
|
||||
<span class="oldpost">
|
||||
{t}Marked for deletion (old){/t}
|
||||
</span>
|
||||
<br />
|
||||
{/if}
|
||||
{if $post.parentid eq 0}
|
||||
<div id="replies{$post.id}{$board.name}">
|
||||
{if $modifier}
|
||||
<span class="abbrev">
|
||||
{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 posts shown{/t}.
|
||||
{elseif $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 posts shown{/t}.
|
||||
{/if}
|
||||
</span>
|
||||
{/if}
|
||||
{/if}
|
||||
{if $.foreach.pst.last && not $isread}
|
||||
<table class="hborder">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
{t}Delete Post{/t}: <input type="password" name="postpassword" size="8" /> <input name="deletepost" value="{t}Delete{/t}" type="submit" />
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
<script type="text/javascript"><!--
|
||||
set_delpass("delform");
|
||||
//--></script>
|
||||
|
||||
{if !$posts.0.locked}
|
||||
<form name="post{$posts.0.id}" id="post{$posts.0.id}" action="{%KU_CGIPATH}/board.php" method="post" {if $board.enablecaptcha eq 1}onsubmit="return checkcaptcha('post{$posts.parentid}');"{/if}>
|
||||
<input type="hidden" name="board" value="{$board.name}" />
|
||||
<input type="hidden" name="replythread" value="{$posts.0.id}" />
|
||||
<input name="email" size="25" value="" style="display: none;" />
|
||||
<table class="postform">
|
||||
<tr>
|
||||
{if $board.forcedanon neq 1}
|
||||
<td class="label">
|
||||
<label>{t}Name{/t}:</label>
|
||||
</td>
|
||||
<td>
|
||||
<input name="name" size="25" maxlength="75" />
|
||||
</td>
|
||||
{/if}
|
||||
<td class="label">
|
||||
<label>{t}Email{/t}:</label>
|
||||
</td>
|
||||
<td>
|
||||
<input name="em" size="25" maxlength="75" />
|
||||
</td>
|
||||
{if $board.forcedanon neq 1}
|
||||
<td>
|
||||
<input type="submit" name="submit" value="{t}Reply{/t}" class="submit" />
|
||||
<a href="#" onclick="toggleOptions('{$threadid}', 'post{$threadid}', '{$board.name}');return false;">{t}More{/t}...</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
{/if}
|
||||
|
||||
{if $board.enablecaptcha eq 1}
|
||||
<td class="label"><label for="captcha">{t}Captcha{/t}:</label></td>
|
||||
<td>
|
||||
<a href="#" onclick="javascript:document.getElementById('captchaimage').src = '{%KU_CGIPATH}/captcha.php?' + Math.random();return false;">
|
||||
<img id="captchaimage" src="{%KU_CGIPATH}/captcha.php" border="0" width="90" height="30" alt="Captcha image" />
|
||||
</a>
|
||||
<input type="text" id="captcha" name="captcha" size="8" maxlength="6" />
|
||||
</td>
|
||||
{/if}
|
||||
{if ($board.forcedanon eq 1 && $board.enablecaptcha neq 1) || $board.forcedanon neq 1}
|
||||
<td class="label">
|
||||
<label>{t}Password{/t}:</label>
|
||||
</td>
|
||||
<td>
|
||||
<input type="password" name="postpassword" size="8" accesskey="p" maxlength="75" />
|
||||
</td>
|
||||
{/if}
|
||||
{if $board.forcedanon eq 1}
|
||||
<td>
|
||||
<input type="submit" name="submit" value="{t}Reply{/t}" class="submit" />
|
||||
<a href="#" onclick="toggleOptions('{$threadid}', 'post{$threadid}', '{$board.name}');return false;">{t}More{/t}...</a>
|
||||
</td>
|
||||
{if $board.enablecaptcha eq 1}
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
<label>{t}Password{/t}:</label>
|
||||
</td>
|
||||
<td>
|
||||
<input type="password" name="postpassword" size="8" accesskey="p" maxlength="75" />
|
||||
</td>
|
||||
{/if}
|
||||
{/if}
|
||||
</tr>
|
||||
<tr style="display: none;" id="opt{$threadid}"><td></td></tr>
|
||||
<tr>
|
||||
<td class="postfieldleft">
|
||||
<span class="postnum">
|
||||
{$posts|count+1}
|
||||
</span>
|
||||
</td>
|
||||
<td colspan="4">
|
||||
<textarea name="message" rows="8" cols="64"></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div id="preview{$threadid}"></div>
|
||||
</form>
|
||||
<script type="text/javascript"><!--
|
||||
set_inputs('post{$posts.parentid}');
|
||||
//--></script>
|
||||
{elseif $isread}
|
||||
</form>
|
||||
{/if}
|
||||
{/if}
|
||||
{/foreach}
|
||||
@@ -0,0 +1,54 @@
|
||||
<div class="hborder">
|
||||
<div class="head threadldiv"{if $board.compactlist} style="padding: 4px;"{/if}>
|
||||
<a name="menu"></a>
|
||||
{if not $board.compactlist || not $isindex}
|
||||
<table class="threads">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="10%">#</th>
|
||||
<th nowrap="nowrap" width="100%">{t}Subject{/t}</th>
|
||||
<th>{t}Posts{/t}</th>
|
||||
<th>{t}Last Post{/t}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{/if}
|
||||
{if count($threads) > 0}
|
||||
{foreach key=threadkey name=list item=thread from=$threads}
|
||||
|
||||
{if $board.compactlist && $isindex}
|
||||
<a href="{if $.foreach.list.iteration < %KU_THREADSTXT}#{$.foreach.list.iteration}">{$.foreach.list.iteration}: </a><a href="res/{$thread.id}.html">{else}res/{$thread.id}.html">{$.foreach.list.iteration}: {/if}{$thread.subject} ({$thread.replies + 1})</a>{if $.foreach.thread.last}{else} {/if}
|
||||
|
||||
{else}
|
||||
<tr><td><a href="res/{$thread.id}.html">{$.foreach.list.iteration}</a></td><td><a href="{if $.foreach.list.iteration < %KU_THREADSTXT}#{$.foreach.list.iteration-1}{else}res/{$thread.id}.html{/if}">{$thread.subject}</a></td><td>{$thread.replies + 1}</td><td nowrap="nowrap"><small>{$thread.bumped|date_format:"%e %B %Y %H:%M"}</small></td></tr>
|
||||
{/if}
|
||||
{/foreach}
|
||||
{else}
|
||||
{if $board.compactlist && $isindex}
|
||||
{t}There are currently no threads to display.{/t}
|
||||
{else}
|
||||
<tr><td>N/A</td><td>{t}There are currently no threads to display.{/t}</td><td>N/A</td><td>N/A</td></tr>
|
||||
{/if}
|
||||
{/if}
|
||||
{if $isindex}
|
||||
{if $board.compactlist}
|
||||
<br /><div class="threadlinks">
|
||||
{else}
|
||||
<tr><td colspan="4" class="threadlinks">
|
||||
{/if}
|
||||
<a href="#newthread" style="display: inline;">{t}New Thread{/t}</a> | <a href="list.html" style="display: inline;">{t}All Threads{/t}</a>
|
||||
{if $board.compactlist}
|
||||
</div>
|
||||
{else}
|
||||
</td></tr>
|
||||
{/if}
|
||||
{/if}
|
||||
{if not $board.compactlist || not $isindex}
|
||||
</tbody>
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,97 @@
|
||||
{if count($posts) > 0}
|
||||
<center>
|
||||
<table width="98%">
|
||||
<tr>
|
||||
<td class="postblock" align="center" width="1%">
|
||||
No.
|
||||
</td>
|
||||
<td class="postblock" style="text-align:center;width:25%;">
|
||||
{t}Name{/t}
|
||||
</td>
|
||||
<td class="postblock" align="center" width="1%">
|
||||
{t}File{/t}
|
||||
</td>
|
||||
<td class="postblock" align="center" width="1%">
|
||||
{t}Tag{/t}
|
||||
</td>
|
||||
<td class="postblock" style="text-align:center;width:40%;">
|
||||
{t}Subject{/t}
|
||||
</td>
|
||||
<td class="postblock" align="center" width="1%">
|
||||
{t}Size{/t}
|
||||
</td>
|
||||
<td class="postblock" align="center" width="1%">
|
||||
{t}Date{/t}
|
||||
</td>
|
||||
<td class="postblock" style="text-align:center;width:1px;">
|
||||
Rep.
|
||||
</td>
|
||||
<td class="postblock" style="width:1px;">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
{foreach key=postkey item=post from=$posts}
|
||||
<tr>
|
||||
<td align="center">
|
||||
{$post.id}
|
||||
</td>
|
||||
<td>
|
||||
<span class="postername">
|
||||
{if $post.email neq '' && $board.anonymous neq ''}
|
||||
<a href="mailto:{$post.email}">
|
||||
{/if}
|
||||
{if $post.name eq '' && $post.tripcode eq ''}
|
||||
{$board.anonymous}
|
||||
{elseif $post.name eq '' && $post.tripcode neq ''}
|
||||
{else}
|
||||
{$post.name}
|
||||
{/if}
|
||||
{if $post.email neq '' && $board.anonymous neq ''}
|
||||
</a>
|
||||
{/if}
|
||||
|
||||
</span>
|
||||
|
||||
{if $post.tripcode neq ''}
|
||||
<span class="postertrip">!{$post.tripcode}</span>
|
||||
{/if}
|
||||
{if $post.posterauthority eq 1}
|
||||
<span class="admin">
|
||||
## {t}Admin{/t} ##
|
||||
</span>
|
||||
{elseif $post.posterauthority eq 4}
|
||||
<span class="mod">
|
||||
## {t}Super Mod{/t} ##
|
||||
</span>
|
||||
{elseif $post.posterauthority eq 2}
|
||||
<span class="mod">
|
||||
## {t}Mod{/t} ##
|
||||
</span>
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
<td align="center">
|
||||
[<a href="{%KU_BOARDSFOLDER}{$board.name}/src/{$post.file}.{$post.file_type}" target="_blank">{$post.file}.{$post.file_type}</a>]
|
||||
</td>
|
||||
<td align="center">
|
||||
[{$post.tag}]
|
||||
</td>
|
||||
<td>
|
||||
{$post.subject}
|
||||
</td>
|
||||
<td align="center">
|
||||
{$post.file_size_formatted}
|
||||
</td>
|
||||
<td>
|
||||
<span style="white-space: nowrap;">{$post.timestamp|date_format:"%y/%m/%d(%a)%H:%M"}</span>
|
||||
</td>
|
||||
<td align="center">
|
||||
{$post.replies}
|
||||
</td>
|
||||
<td align="center">
|
||||
[<a href="{%KU_BOARDSFOLDER}{$board.name}/res/{$post.id}.html">Reply</a>]
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table></center><br /><hr />
|
||||
{/if}
|
||||
@@ -0,0 +1,100 @@
|
||||
{if $replythread > 0 && not $isread}
|
||||
<table class="userdelete">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
{t}Delete post{/t}
|
||||
[<input type="checkbox" name="fileonly" id="fileonly" value="on" /><label for="fileonly">{t}File Only{/t}</label>]<br />{t}Password{/t}
|
||||
<input type="password" name="postpassword" size="8" /> <input name="deletepost" value="{t}Delete{/t}" type="submit" />
|
||||
|
||||
{if $board.enablereporting eq 1}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{t}Report post{t}<br />
|
||||
{t}Reason{/t}
|
||||
<input type="text" name="reportreason" size="10" /> <input name="reportpost" value="{t}Report{/t}" type="submit" />
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
{/if}
|
||||
<script type="text/javascript"><!--
|
||||
set_delpass("delform");
|
||||
//--></script>
|
||||
{if $replythread eq 0}
|
||||
<table border="1">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
{if $thispage eq 0}
|
||||
{t}Previous{/t}
|
||||
{else}
|
||||
<form method="get" action="{%KU_BOARDSFOLDER}{$board.name}/{if ($thispage-1) neq 0}{$thispage-1}.html{/if}">
|
||||
<input value="{t}Previous{/t}" type="submit" /></form>
|
||||
{/if}
|
||||
</td>
|
||||
<td>
|
||||
[{if $thispage neq 0}<a href="{%KU_BOARDSPATH}/{$board.name}/">{/if}0{if $thispage neq 0}</a>{/if}]
|
||||
{section name=pages loop=$numpages}
|
||||
{strip}
|
||||
[
|
||||
{if $.section.pages.iteration neq $thispage}<a href="{%KU_BOARDSFOLDER}{$board.name}/{$.section.pages.iteration}.html">
|
||||
{/if}
|
||||
|
||||
{$.section.pages.iteration}
|
||||
|
||||
{if $.section.pages.iteration neq $thispage}
|
||||
</a>
|
||||
{/if}
|
||||
]
|
||||
{/strip}
|
||||
{/section}
|
||||
</td>
|
||||
<td>
|
||||
{if $thispage eq $numpages}
|
||||
{t}Next{/t}
|
||||
{else}
|
||||
<form method="get" action="{%KU_BOARDSPATH}/{$board.name}/{$thispage+1}.html"><input value="{t}Next{/t}" type="submit" /></form>
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
{/if}
|
||||
<br />
|
||||
{if $boardlist}
|
||||
<div class="navbar">
|
||||
{if %KU_GENERATEBOARDLIST}
|
||||
{foreach name=sections item=sect from=$boardlist}
|
||||
[
|
||||
{foreach name=brds item=brd from=$sect}
|
||||
<a title="{$brd.desc}" href="{%KU_BOARDSFOLDER}{$brd.name}/">{$brd.name}</a>{if $.foreach.brds.last}{else} / {/if}
|
||||
{/foreach}
|
||||
]
|
||||
{/foreach}
|
||||
{else}
|
||||
{if is_file($boardlist)}
|
||||
{include $boardlist}
|
||||
{/if}
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
<br />
|
||||
<div class="footer" style="clear: both;">
|
||||
{* I'd really appreciate it if you left the link to kusabax.org in the footer, if you decide to modify this. That being said, you are not bound by license or any other terms to keep it there *}
|
||||
- <a href="http://www.kusabax.org/" target="_top">kusaba x {%KU_VERSION}</a>
|
||||
{if $executiontime neq ''} + {t}Took{/t} {$executiontime}s -{/if}
|
||||
{if $botads neq ''}
|
||||
<div class="content ads">
|
||||
<center>
|
||||
{$botads}
|
||||
</center>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
@@ -0,0 +1,98 @@
|
||||
<script type="text/javascript" src="{$cwebpath}lib/javascript/protoaculous-compressed.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="{$cwebpath}css/img_global.css" />
|
||||
{loop $ku_styles}
|
||||
<link rel="{if $ neq $__.ku_defaultstyle}alternate {/if}stylesheet" type="text/css" href="{$__.cwebpath}css/{$}.css" title="{$|capitalize}" />
|
||||
{/loop}
|
||||
{if $locale eq 'ja'}
|
||||
{literal}
|
||||
<style type="text/css">
|
||||
*{
|
||||
font-family: IPAMonaPGothic, Mona, 'MS PGothic', YOzFontAA97 !important;
|
||||
font-size: 1em;
|
||||
}
|
||||
</style>
|
||||
{/literal}
|
||||
{/if}
|
||||
{if %KU_RSS neq ''}
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="{%KU_BOARDSPATH}/{$board.name}/rss.xml" />
|
||||
{/if}
|
||||
<script type="text/javascript"><!--
|
||||
var ku_boardspath = '{%KU_BOARDSPATH}';
|
||||
var ku_cgipath = '{%KU_CGIPATH}';
|
||||
var style_cookie = "kustyle";
|
||||
{if $replythread > 0}
|
||||
var ispage = false;
|
||||
{else}
|
||||
var ispage = true;
|
||||
{/if}
|
||||
//--></script>
|
||||
<script type="text/javascript" src="{%KU_WEBPATH}/lib/javascript/kusaba.js"></script>
|
||||
<script type="text/javascript"><!--
|
||||
var hiddenthreads = getCookie('hiddenthreads').split('!');
|
||||
//--></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="adminbar">
|
||||
{if %KU_STYLESWITCHER}
|
||||
{if %KU_DROPSWITCHER}
|
||||
<select onchange="javascript:if(selectedIndex != 0)set_stylesheet(options[selectedIndex].value);return false;">
|
||||
<option>Styles</option>
|
||||
{loop $ku_styles}
|
||||
<option value="{$|capitalize}">{$|capitalize}</option>;
|
||||
{/loop}
|
||||
</select>
|
||||
{else}
|
||||
{loop $ku_styles}
|
||||
[<a href="#" onclick="javascript:set_stylesheet('{$|capitalize}');return false;">{$|capitalize}</a>]
|
||||
{/loop}
|
||||
{/if}
|
||||
{if count($ku_styles) > 0}
|
||||
-
|
||||
{/if}
|
||||
{/if}
|
||||
{if %KU_WATCHTHREADS}
|
||||
[<a href="#" onclick="javascript:showwatchedthreads();return false" title="{t}Watched Threads{/t}">WT</a>]
|
||||
{/if}
|
||||
[<a href="{%KU_WEBPATH}" target="_top">{t}Home{/t}</a>] [<a href="{%KU_CGIPATH}/manage.php" target="_top">{t}Manage{/t}</a>]
|
||||
</div>
|
||||
<div class="navbar">
|
||||
{if %KU_GENERATEBOARDLIST}
|
||||
{foreach name=sections item=sect from=$boardlist}
|
||||
[
|
||||
{foreach name=brds item=brd from=$sect}
|
||||
<a title="{$brd.desc}" href="{%KU_BOARDSFOLDER}{$brd.name}/">{$brd.name}</a>{if $.foreach.brds.last}{else} / {/if}
|
||||
{/foreach}
|
||||
]
|
||||
{/foreach}
|
||||
{else}
|
||||
{if is_file($boardlist)}
|
||||
{include $boardlist}
|
||||
{/if}
|
||||
{/if}
|
||||
</div>
|
||||
{if %KU_WATCHTHREADS && not $isoekaki && not $hidewatchedthreads}
|
||||
<script type="text/javascript"><!--
|
||||
if (getCookie('showwatchedthreads') == '1') {
|
||||
document.write('<div id="watchedthreads" style="top: {$ad_top}px; left: 25px;" class="watchedthreads"><div class="postblock" id="watchedthreadsdraghandle" style="width: 100%;">{t}Watched Threads{/t}<\/div><span id="watchedthreadlist"><\/span><div id="watchedthreadsbuttons"><a href="#" onclick="javascript:hidewatchedthreads();return false;" title="{t}Hide the watched threads box{/t}"><img src="{$cwebpath}css/icons/blank.gif" border="0" class="hidewatchedthreads" alt="hide" /><\/a> <a href="#" onclick="javascript:getwatchedthreads(\'0\', \'{$board.name}\');return false;" title="{t}Refresh watched threads{/t}"><img src="{$cwebpath}css/icons/blank.gif" border="0" class="refreshwatchedthreads" alt="refresh" /><\/a><\/div><\/div>');
|
||||
watchedthreadselement = document.getElementById('watchedthreads');
|
||||
watchedthreadselement.style.top = getCookie('watchedthreadstop');
|
||||
watchedthreadselement.style.left = getCookie('watchedthreadsleft');
|
||||
watchedthreadselement.style.width = Math.max(250,getCookie('watchedthreadswidth')) + 'px';
|
||||
watchedthreadselement.style.height = Math.max(75,getCookie('watchedthreadsheight')) + 'px';
|
||||
getwatchedthreads('<!sm_threadid>', '{$board.name}');
|
||||
}
|
||||
//--></script>
|
||||
{/if}
|
||||
|
||||
<div class="logo">
|
||||
{if %KU_HEADERURL neq '' && $board.image eq ''}
|
||||
<img src="{%KU_HEADERURL}" alt="{t}Logo{/t}" /><br />
|
||||
{elseif $board.image neq '' && $board.image neq "none"}
|
||||
<img src="{$board.image}" alt="{t}Logo{/t}" /><br />
|
||||
{/if}
|
||||
{if %KU_DIRTITLE}
|
||||
/{$board.name}/ -
|
||||
{/if}
|
||||
{$board.desc}</div>
|
||||
{$board.includeheader}
|
||||
<hr />
|
||||
@@ -0,0 +1,160 @@
|
||||
<div class="postarea">
|
||||
<a id="postbox"></a>
|
||||
<form name="postform" id="postform" action="{%KU_CGIPATH}/board.php" method="post" enctype="multipart/form-data"
|
||||
{if $board.enablecaptcha eq 1}
|
||||
onsubmit="return checkcaptcha('postform');"
|
||||
{/if}
|
||||
>
|
||||
<input type="hidden" name="board" value="{$board.name}" />
|
||||
<input type="hidden" name="replythread" value="<!sm_threadid>" />
|
||||
{if $board.maximagesize > 0}
|
||||
<input type="hidden" name="MAX_FILE_SIZE" value="{$board.maximagesize}" />
|
||||
{/if}
|
||||
<input type="text" name="email" size="28" maxlength="75" value="" style="display: none;" />
|
||||
<table class="postform">
|
||||
<tbody>
|
||||
{if $board.forcedanon neq 1}
|
||||
<tr>
|
||||
<td class="postblock">
|
||||
{t}Name{/t}</td>
|
||||
<td>
|
||||
<input type="text" name="name" size="28" maxlength="75" accesskey="n" />
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td class="postblock">
|
||||
{t}Email{/t}</td>
|
||||
<td>
|
||||
<input type="text" name="em" size="28" maxlength="75" accesskey="e" />
|
||||
</td>
|
||||
</tr>
|
||||
{if $board.enablecaptcha eq 1}
|
||||
<tr>
|
||||
<td class="postblock'">
|
||||
<a href="#" onclick="javascript:document.getElementById('captchaimage').src = '{%KU_CGIPATH}/captcha.php?' + Math.random();return false;"><img id="captchaimage" src="{%KU_CGIPATH}/captcha.php" border="0" width="90" height="25" alt="Captcha image"></a>
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="captcha" size="28" maxlength="10" accesskey="c" />
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td class="postblock">
|
||||
{t}Subject{/t}</td>
|
||||
<td>
|
||||
{strip}<input type="text" name="subject" size="35" maxlength="75" accesskey="s" /> <input type="submit" value="
|
||||
{if %KU_QUICKREPLY && $replythread eq 0}
|
||||
{t}Submit{/t}" accesskey="z" /> (<span id="posttypeindicator">{t}new thread{/t}</span>)
|
||||
{elseif %KU_QUICKREPLY && $replythread neq 0}
|
||||
{t}Reply{/t}" accesskey="z" /> (<span id="posttypeindicator">{t}reply to{/t} <!sm_threadid></span>)
|
||||
{else}
|
||||
{t}Submit{/t}" accesskey="z" />
|
||||
{/if}{/strip}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="postblock">
|
||||
{t}Message{/t}
|
||||
</td>
|
||||
<td>
|
||||
<textarea name="message" cols="48" rows="4" accesskey="m"></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
{if $board.uploadtype eq 0 || $board.uploadtype eq 1}
|
||||
<tr>
|
||||
<td class="postblock">
|
||||
{t}File{/t}
|
||||
</td>
|
||||
<td>
|
||||
<input type="file" name="imagefile" size="35" accesskey="f" />
|
||||
{if $replythread eq 0 && $board.enablenofile eq 1 }
|
||||
[<input type="checkbox" name="nofile" id="nofile" accesskey="q" /><label for="nofile">{t}No File{/t}</label>]
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{if $replythread eq 0 && %KU_TAGS neq ''}
|
||||
<tr>
|
||||
<td class="postblock">
|
||||
{t}Tag{/t}
|
||||
</td>
|
||||
<td>
|
||||
<select name="tag">
|
||||
<option value="" selected="selected">
|
||||
{t}Choose one{/t}:
|
||||
</option>
|
||||
|
||||
{if unserialize(%KU_TAGS) neq ''}
|
||||
{foreach key=tag item=tag_abbr from=unserialize(%KU_TAGS)}
|
||||
<option value="{$tag_abbr}">
|
||||
{$tag} [{$tag_abbr}]
|
||||
</option>
|
||||
{/foreach}
|
||||
{/if}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td class="postblock">
|
||||
{t}Password{/t}
|
||||
</td>
|
||||
<td>
|
||||
<input type="password" name="postpassword" size="8" accesskey="p" /> {t}(for post and file deletion){/t}
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="passwordbox"><td></td><td></td></tr>
|
||||
<tr>
|
||||
<td colspan="2" class="rules">
|
||||
<ul style="margin-left: 0; margin-top: 0; margin-bottom: 0; padding-left: 0;">
|
||||
<li>{t}Supported file types are{/t}:
|
||||
{if $board.filetypes_allowed neq ''}
|
||||
{foreach name=files item=filetype from=$board.filetypes_allowed}
|
||||
{$filetype.0|upper}{if $.foreach.files.last}{else}, {/if}
|
||||
{/foreach}
|
||||
{else}
|
||||
{t}None{/t}
|
||||
{/if}
|
||||
</li>
|
||||
<li>{t}Maximum file size allowed is{/t} {math "round(x/1024)" x=$board.maximagesize} KB.</li>
|
||||
<li>{t 1=%KU_THUMBWIDTH 2=%KU_THUMBHEIGHT}Images greater than %1x%2 pixels will be thumbnailed.{/t}</li>
|
||||
<li>{t 1=$board.uniqueposts}Currently %1 unique user posts.{/t}</li>
|
||||
</ul>
|
||||
{if %KU_BLOTTER && $blotter}
|
||||
<br />
|
||||
<ul style="margin-left: 0; margin-top: 0; margin-bottom: 0; padding-left: 0;">
|
||||
<li style="position: relative;">
|
||||
<span style="color: red;">
|
||||
{t}Blotter updated{/t}: {$blotter_updated|date_format:"%Y-%m-%d"}
|
||||
</span>
|
||||
<span style="color: red;text-align: right;position: absolute;right: 0px;">
|
||||
<a href="#" onclick="javascript:toggleblotter(true);return false;">{t}Show/Hide{/t}</a> <a href="{%KU_WEBPATH}/blotter.php">{t}Show All{/t}</a>
|
||||
</span>
|
||||
</li>
|
||||
{$blotter}
|
||||
</ul>
|
||||
<script type="text/javascript"><!--
|
||||
if (getCookie('ku_showblotter') == '1') {
|
||||
toggleblotter(false);
|
||||
}
|
||||
--></script>
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
<hr />
|
||||
{if $topads neq ''}
|
||||
<div class="content ads">
|
||||
<center>
|
||||
{$topads}
|
||||
</center>
|
||||
</div>
|
||||
<hr />
|
||||
{/if}
|
||||
</div>
|
||||
<script type="text/javascript"><!--
|
||||
set_inputs("postform");
|
||||
//--></script>
|
||||
@@ -0,0 +1,20 @@
|
||||
[<a href="{%KU_WEBFOLDER}{$board.name}/">{t}Return{/t}</a>]
|
||||
{if %KU_FIRSTLAST && ( count($posts) > 50 || $replycount > 50)}
|
||||
[<a href="{%KU_WEBFOLDER}{$board.name}/res/{$posts.0.id}.html">{t}Entire Thread{/t}</a>]
|
||||
[<a href="{%KU_WEBFOLDER}{$board.name}/res/{$posts.0.id}+50.html">{t}Last 50 posts{/t}</a>]
|
||||
{if ( count($posts) > 100 || $replycount > 100) }
|
||||
[<a href="{%KU_WEBFOLDER}{$board.name}/res/{$posts.0.id}-100.html">{t}First 100 posts{/t}</a>]
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
{if not $isread}
|
||||
<div class="replymode">{t}Posting mode: Reply{/t}
|
||||
{if $modifier eq 'first100'}
|
||||
[{t}First 100 posts{/t}]
|
||||
{elseif $modifier eq 'last50'}
|
||||
[{t}Last 50 posts{/t}]
|
||||
{/if}
|
||||
{else}
|
||||
[<a href="{%KU_WEBFOLDER}{$board.name}/res/{$posts.0.id}.html">{t}Entire Thread{/t}</a>]
|
||||
{/if}
|
||||
</div>
|
||||
@@ -0,0 +1,419 @@
|
||||
{if not $isexpand and not $isread}
|
||||
<form id="delform" action="{%KU_CGIPATH}/board.php" method="post">
|
||||
<input type="hidden" name="board" value="{$board.name}" />
|
||||
{/if}
|
||||
{foreach key=postkey item=post from=$posts name=postsloop}
|
||||
|
||||
{if $post.parentid eq 0}
|
||||
<a name="s{$.foreach.thread.iteration}"></a>
|
||||
|
||||
{if ($post.file neq '' || $post.file_type neq '' ) && (( $post.videobox eq '' && $post.file neq '') && $post.file neq 'removed')}
|
||||
<span class="filesize">
|
||||
{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 ''}
|
||||
<a
|
||||
{if %KU_NEWWINDOW}
|
||||
target="_blank"
|
||||
{/if}
|
||||
href="{$file_path}/src/{$post.file}.{$post.file_type}">
|
||||
{else}
|
||||
<a href="{$file_path}/src/{$post.file}.{$post.file_type}" onclick="javascript:expandimg('{$post.id}', '{$file_path}/src/{$post.file}.{$post.file_type}', '{$file_path}/thumb/{$post.file}s.{$post.file_type}', '{$post.image_w}', '{$post.image_h}', '{$post.thumb_w}', '{$post.thumb_h}');return false;">
|
||||
{/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}
|
||||
</a>
|
||||
{else}
|
||||
{$post.file}.{$post.file_type}</a>
|
||||
{/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}
|
||||
</span>
|
||||
{if %KU_THUMBMSG}
|
||||
<span class="thumbnailmsg">
|
||||
{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}
|
||||
</span>
|
||||
{/if}
|
||||
<br />
|
||||
{/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'}
|
||||
<div class="nothumb">
|
||||
{t}File<br />Removed{/t}
|
||||
</div>
|
||||
{else}
|
||||
<a
|
||||
{if %KU_NEWWINDOW}
|
||||
target="_blank"
|
||||
{/if}
|
||||
href="{$file_path}/src/{$post.file}.{$post.file_type}">
|
||||
<span id="thumb{$post.id}"><img src="{$file_path}/thumb/{$post.file}s.{$post.file_type}" alt="{$post.id}" class="thumb" height="{$post.thumb_h}" width="{$post.thumb_w}" /></span>
|
||||
</a>
|
||||
{/if}
|
||||
{elseif $post.nonstandard_file neq ''}
|
||||
{if $post.file eq 'removed'}
|
||||
<div class="nothumb">
|
||||
{t}File<br />Removed{/t}
|
||||
</div>
|
||||
{else}
|
||||
<a
|
||||
{if %KU_NEWWINDOW}
|
||||
target="_blank"
|
||||
{/if}
|
||||
href="{$file_path}/src/{$post.file}.{$post.file_type}">
|
||||
<span id="thumb{$post.id}"><img src="{$post.nonstandard_file}" alt="{$post.id}" class="thumb" height="{$post.thumb_h}" width="{$post.thumb_w}" /></span>
|
||||
</a>
|
||||
{/if}
|
||||
{/if}
|
||||
<a name="{$post.id}"></a>
|
||||
<label>
|
||||
<input type="checkbox" name="post[]" value="{$post.id}" />
|
||||
{if $post.subject neq ''}
|
||||
<span class="filetitle">
|
||||
{$post.subject}
|
||||
</span>
|
||||
{/if}
|
||||
{strip}
|
||||
<span class="postername">
|
||||
{if $post.email && $board.anonymous}
|
||||
<a href="mailto:{$post.email}">
|
||||
{/if}
|
||||
{if $post.name eq '' && $post.tripcode eq ''}
|
||||
{$board.anonymous}
|
||||
{elseif $post.name eq '' && $post.tripcode neq ''}
|
||||
{else}
|
||||
{$post.name}
|
||||
{/if}
|
||||
{if $post.email neq '' && $board.anonymous neq ''}
|
||||
</a>
|
||||
{/if}
|
||||
|
||||
</span>
|
||||
|
||||
{if $post.tripcode neq ''}
|
||||
<span class="postertrip">!{$post.tripcode}</span>
|
||||
{/if}
|
||||
{/strip}
|
||||
{if $post.posterauthority eq 1}
|
||||
<span class="admin">
|
||||
## {t}Admin{/t} ##
|
||||
</span>
|
||||
{elseif $post.posterauthority eq 4}
|
||||
<span class="mod">
|
||||
## {t}Super Mod{/t} ##
|
||||
</span>
|
||||
{elseif $post.posterauthority eq 2}
|
||||
<span class="mod">
|
||||
## {t}Mod{/t} ##
|
||||
</span>
|
||||
{/if}
|
||||
{$post.timestamp_formatted}
|
||||
</label>
|
||||
<span class="reflink">
|
||||
{$post.reflink}
|
||||
</span>
|
||||
{if $board.showid}
|
||||
ID: {$post.ipmd5|substr:0:6}
|
||||
{/if}
|
||||
<span id="dnb-{$board.name}-{$post.id}-y"></span>
|
||||
<br />
|
||||
{else}
|
||||
{if $numimages > 0 && $isexpand && $.foreach.postsloop.first}
|
||||
<a href="#top" onclick="javascript:
|
||||
{foreach key=postkey2 item=post2 from=$posts}
|
||||
{if $post2.parentid neq 0}
|
||||
{if $post2.file_type eq 'jpg' || $post2.file_type eq 'gif' || $post2.file_type eq 'png'}
|
||||
expandimg('{$post2.id}', '{$file_path}/src/{$post2.file}.{$post2.file_type}', '{$file_path}/thumb/{$post2.file}s.{$post2.file_type}', '{$post2.image_w}', '{$post2.image_h}', '{$post2.thumb_w}', '{$post2.thumb_h}');
|
||||
{/if}
|
||||
{/if}
|
||||
{/foreach}
|
||||
return false;">{t}Expand all images{/t}</a>
|
||||
{/if}
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="doubledash">
|
||||
>>
|
||||
</td>
|
||||
<td class="reply" id="reply{$post.id}">
|
||||
<a name="{$post.id}"></a>
|
||||
<label>
|
||||
<input type="checkbox" name="post[]" value="{$post.id}" />
|
||||
|
||||
|
||||
{if $post.subject neq ''}
|
||||
<span class="filetitle">
|
||||
{$post.subject}
|
||||
</span>
|
||||
{/if}
|
||||
{strip}
|
||||
<span class="postername">
|
||||
|
||||
{if $post.email && $board.anonymous}
|
||||
<a href="mailto:{$post.email}">
|
||||
{/if}
|
||||
{if $post.name eq '' && $post.tripcode eq ''}
|
||||
{$board.anonymous}
|
||||
{elseif $post.name eq '' && $post.tripcode neq ''}
|
||||
{else}
|
||||
{$post.name}
|
||||
{/if}
|
||||
{if $post.email neq '' && $board.anonymous neq ''}
|
||||
</a>
|
||||
{/if}
|
||||
|
||||
</span>
|
||||
|
||||
{if $post.tripcode neq ''}
|
||||
<span class="postertrip">!{$post.tripcode}</span>
|
||||
{/if}
|
||||
{/strip}
|
||||
{if $post.posterauthority eq 1}
|
||||
<span class="admin">
|
||||
## {t}Admin{/t} ##
|
||||
</span>
|
||||
{elseif $post.posterauthority eq 4}
|
||||
<span class="mod">
|
||||
## {t}Super Mod{/t} ##
|
||||
</span>
|
||||
{elseif $post.posterauthority eq 2}
|
||||
<span class="mod">
|
||||
## {t}Mod{/t} ##
|
||||
</span>
|
||||
{/if}
|
||||
{$post.timestamp_formatted}
|
||||
</label>
|
||||
|
||||
<span class="reflink">
|
||||
{$post.reflink}
|
||||
</span>
|
||||
{if $board.showid}
|
||||
ID: {$post.ipmd5|substr:0:6}
|
||||
{/if}
|
||||
<span class="extrabtns">
|
||||
{if $post.locked eq 1}
|
||||
<img style="border: 0;" src="{$boardpath}css/locked.gif" alt="{t}Locked{/t}" />
|
||||
{/if}
|
||||
{if $post.stickied eq 1}
|
||||
<img style="border: 0;" src="{$boardpath}css/sticky.gif" alt="{t}Stickied{/t}" />
|
||||
{/if}
|
||||
</span>
|
||||
<span id="dnb-{$board.name}-{$post.id}-n"></span>
|
||||
{if ($post.file neq '' || $post.file_type neq '' ) && (( $post.videobox eq '' && $post.file neq '') && $post.file neq 'removed')}
|
||||
<br /><span class="filesize">
|
||||
{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 ''}
|
||||
<a
|
||||
{if %KU_NEWWINDOW}
|
||||
target="_blank"
|
||||
{/if}
|
||||
href="{$file_path}/src/{$post.file}.{$post.file_type}">
|
||||
{else}
|
||||
<a href="{$file_path}/src/{$post.file}.{$post.file_type}" onclick="javascript:expandimg('{$post.id}', '{$file_path}/src/{$post.file}.{$post.file_type}', '{$file_path}/thumb/{$post.file}s.{$post.file_type}', '{$post.image_w}', '{$post.image_h}', '{$post.thumb_w}', '{$post.thumb_h}');return false;">
|
||||
{/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}
|
||||
</a>
|
||||
{else}
|
||||
{$post.file}.{$post.file_type}</a>
|
||||
{/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}
|
||||
</span>
|
||||
{if %KU_THUMBMSG}
|
||||
<span class="thumbnailmsg">
|
||||
{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}
|
||||
</span>
|
||||
{/if}
|
||||
|
||||
{/if}
|
||||
{if $post.videobox eq '' && $post.file neq '' && ( $post.file_type eq 'jpg' || $post.file_type eq 'gif' || $post.file_type eq 'png')}
|
||||
<br />
|
||||
{if $post.file eq 'removed'}
|
||||
<div class="nothumb">
|
||||
{t}File<br />Removed{/t}
|
||||
</div>
|
||||
{else}
|
||||
<a
|
||||
{if %KU_NEWWINDOW}
|
||||
target="_blank"
|
||||
{/if}
|
||||
href="{$file_path}/src/{$post.file}.{$post.file_type}">
|
||||
<span id="thumb{$post.id}"><img src="{$file_path}/thumb/{$post.file}s.{$post.file_type}" alt="{$post.id}" class="thumb" height="{$post.thumb_h}" width="{$post.thumb_w}" /></span>
|
||||
</a>
|
||||
{/if}
|
||||
{elseif $post.nonstandard_file neq ''}
|
||||
<br />
|
||||
{if $post.file eq 'removed'}
|
||||
<div class="nothumb">
|
||||
{t}File<br />Removed{/t}
|
||||
</div>
|
||||
{else}
|
||||
<a
|
||||
{if %KU_NEWWINDOW}
|
||||
target="_blank"
|
||||
{/if}
|
||||
href="{$file_path}/src/{$post.file}.{$post.file_type}">
|
||||
<span id="thumb{$post.id}"><img src="{$post.nonstandard_file}" alt="{$post.id}" class="thumb" height="{$post.thumb_h}" width="{$post.thumb_w}" /></span>
|
||||
</a>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
{/if}
|
||||
{if $post.file_type eq 'mp3'}
|
||||
<!--[if !IE]> -->
|
||||
<object type="application/x-shockwave-flash" data="{%KU_WEBPATH}/inc/player/player.swf?playerID={$post.id}&soundFile={$file_path}/src/{$post.file|utf8_encode|urlencode}.mp3{if $post.id3.comments_html.artist.0 neq ''}&artists={$post.id3.comments_html.artist.0}{/if}{if $post.id3.comments_html.title.0 neq ''}&titles={$post.id3.comments_html.title.0|html_entity_decode|utf8_encode|urlencode}{/if}&wmode=transparent" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,22,87" width="290" height="24">
|
||||
<param name="wmode" value="transparent" />
|
||||
<!-- <![endif]-->
|
||||
<!--[if IE]>
|
||||
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,22,87" width="290" height="24">
|
||||
<param name="movie" value="{%KU_WEBPATH}/inc/player/player.swf?playerID={$post.id}&soundFile={$file_path}/src/{$post.file|utf8_encode|urlencode}.mp3{if $post.id3.comments_html.artist.0 neq ''}&artists={$post.id3.comments_html.artist.0}{/if}{if $post.id3.comments_html.title.0 neq ''}&titles={$post.id3.comments_html.title.0|html_entity_decode|utf8_encode|urlencode}{/if}&wmode=transparent" />
|
||||
<param name="wmode" value="transparent" />
|
||||
<!-->
|
||||
</object>
|
||||
<!-- <![endif]-->
|
||||
{/if}
|
||||
<blockquote>
|
||||
{if $post.videobox}
|
||||
{$post.videobox}
|
||||
{/if}
|
||||
{$post.message}
|
||||
</blockquote>
|
||||
{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)))}
|
||||
<span class="oldpost">
|
||||
{t}Marked for deletion (old){/t}
|
||||
</span>
|
||||
<br />
|
||||
{/if}
|
||||
{if $post.parentid eq 0}
|
||||
{if $modifier eq 'last50'}
|
||||
<span class="omittedposts">
|
||||
{$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}.
|
||||
</span>
|
||||
{/if}
|
||||
{if $numimages > 0}
|
||||
<a href="#top" onclick="javascript:
|
||||
{foreach key=postkey2 item=post2 from=$posts}
|
||||
{if $post2.parentid neq 0}
|
||||
{if $post2.file_type eq 'jpg' || $post2.file_type eq 'gif' || $post2.file_type eq 'png'}
|
||||
expandimg('{$post2.id}', '{$file_path}/src/{$post2.file}.{$post2.file_type}', '{$file_path}/thumb/{$post2.file}s.{$post2.file_type}', '{$post2.image_w}', '{$post2.image_h}', '{$post2.thumb_w}', '{$post2.thumb_h}');
|
||||
{/if}
|
||||
{/if}
|
||||
{/foreach}
|
||||
return false;">{t}Expand all images{/t}</a>
|
||||
{/if}
|
||||
{else}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
{/if}
|
||||
{/foreach}
|
||||
{if $modifier eq 'first100'}
|
||||
<span class="omittedposts" style="float: left">
|
||||
{$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}.
|
||||
</span>
|
||||
{/if}
|
||||
{if not $isread}
|
||||
{if $replycount > 2}
|
||||
<span style="float:right">
|
||||
[<a href="/{$board.name}/">{t}Return{/t}</a>]
|
||||
{if %KU_FIRSTLAST && ( count($posts) > 50 || $replycount > 50)}
|
||||
[<a href="/{$board.name}/res/{$posts.0.id}.html">{t}Entire Thread{/t}</a>]
|
||||
[<a href="/{$board.name}/res/{$posts.0.id}+50.html">{t}Last 50 posts{/t}</a>]
|
||||
{if ( count($posts) > 100 || $replycount > 100) }
|
||||
[<a href="/{$board.name}/res/{$posts.0.id}-100.html">{t}First 100 posts{/t}</a>]
|
||||
{/if}
|
||||
{/if}
|
||||
</span>
|
||||
{/if}
|
||||
</div>
|
||||
{if not $isexpand}
|
||||
<br clear="left" />
|
||||
<hr />
|
||||
{/if}
|
||||
{/if}
|
||||
Reference in new issue
Block a user