fabkova-chata/target/classes/webapp/forumdisplay.html
2026-03-20 10:48:09 +01:00

125 lines
5.0 KiB
HTML

<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='UTF-8'/>
<meta name='viewport' content='width=device-width, initial-scale=1.0'/>
<link rel='stylesheet' type='text/css' href='/css/all.css'/>
<script type='text/javascript' src='/client.js?ver=2.43'></script>
<title>kAmMa's Forum - {{FORUM_NAME}}</title>
</head>
<body>
<div class='page' style='width:100%; text-align:left'>
<div style='padding:0 25px 0 25px'>
<br/>
{{COMMON_HEADER}}
<br/>
<table class='tborder' cellpadding='6' cellspacing='1' border='0' width='100%' align='center'>
<tbody>
<tr><td class='thead'>{{FORUM_NAME}}</td></tr>
<tr><td class='alt2'>{{FORUM_DESCRIPTION}}</td></tr>
</tbody>
</table>
<br/>
<script type='text/javascript'>
function toggleAttachmentForm() {
var el = document.getElementById('hideshow');
if (!el) {
return;
}
if (el.style.display === 'none' || el.style.display === '') {
el.style.display = 'block';
} else {
el.style.display = 'none';
}
}
</script>
<form action='/process/replythread' method='post' enctype='multipart/form-data' name='newpost'>
<input type='hidden' name='forumid' value='{{FORUM_ID}}'/>
<input type='hidden' name='quoteItem' value='{{QUOTE_ITEM}}'/>
<table class='tborder' cellpadding='6' cellspacing='1' border='0' width='100%' align='center'>
<thead>
<tr><td class='tcat' colspan='2'>Reply</td></tr>
</thead>
<tbody>
<tr>
<td class='panelsurround' align='center'>
<div class='panel'>
{{QUOTE_BLOCK}}
<div align='left' style='max-width:640px; width:640px'>
<div class='smallfont'>Message:</div>
<textarea name='message' rows='10' cols='60' style='height:100px; width:100%' dir='ltr'></textarea>
</div>
<div id='hideshow' style='display:none'>
<fieldset class='fieldset'>
<legend>Upload File from your Computer</legend>
<table cellpadding='0' cellspacing='3' width='100%' border='0'>
<tr valign='bottom'>
<td><input type='file' class='bginput' name='attachment[]' size='30' multiple/></td>
</tr>
</table>
</fieldset>
</div>
</div>
<div style='margin-top:6px'>
<input type='submit' class='button' value='Post Reply / Refresh'/>
<input type='button' class='button' value='Add attachment' onclick='toggleAttachmentForm();'/>
</div>
</td>
</tr>
</tbody>
</table>
</form>
<br/>
{{COUNTDOWN_BLOCK}}
<div align='right'>
<table class='tborder' cellpadding='3' cellspacing='1' border='0'>
<tbody><tr>
<td class='vbmenu_control' style='font-weight:normal'>
<form method='get' action='/forumdisplay' style='display:inline'>
<input type='hidden' name='f' value='{{FORUM_ID}}'/>
<input type='hidden' name='showType' value='{{SHOW_TYPE}}'/>
<input type='hidden' name='showImg' value='{{SHOW_IMG}}'/>
<input type='hidden' name='sortBy' value='{{SORT_BY}}'/>
<input type='hidden' name='sortType' value='{{SORT_TYPE}}'/>
<input type='hidden' name='perpage' value='{{PER_PAGE}}'/>
<input type='hidden' name='iPageNo' value='1'/>
Search in thread:
<input type='text' class='bginput' style='font-size:11px' name='stext' value='{{SEARCH_TEXT}}'/>
</form>
</td>
<td class='vbmenu_control' style='font-weight:normal'>
Show type:
<select class='bginput' onchange="location.href='{{BASE_LINK}}&showType='+this.value">{{SHOW_TYPE_OPTIONS}}</select>
</td>
<td class='vbmenu_control' style='font-weight:normal'>
Show images:
<select class='bginput' onchange="location.href='{{BASE_LINK}}&showImg='+this.value">{{SHOW_IMG_OPTIONS}}</select>
</td>
<td class='vbmenu_control' style='font-weight:normal'>
Sort messages by:
<select class='bginput' onchange="location.href='{{BASE_LINK}}&sortBy='+this.value">{{SORT_BY_OPTIONS}}</select>
<a href='{{BASE_LINK}}&sortType={{NEXT_SORT_TYPE}}'><img title='{{SORT_TYPE}}' src='/images/sort{{SORT_TYPE}}.gif'/></a>
</td>
<td class='vbmenu_control' style='font-weight:normal'>
Records per page:
<select class='bginput' onchange="location.href='{{BASE_LINK}}&perpage='+this.value">{{PER_PAGE_OPTIONS}}</select>
</td>
<td class='vbmenu_control' style='font-weight:normal'>Rows {{ROWS_FROM}} - {{ROWS_TO}} of {{ROWS_TOTAL}}</td>
{{PAGE_TDS}}
</tr></tbody>
</table>
</div>
<br/>
{{MESSAGE_ROWS}}
<br/>
{{COMMON_FOOTER}}
</div>
</div>
</body>
</html>