Просмотр файла styles/bb3-mobi/template/viewtopic_body.html

Размер файла: 7.33Kb
<!-- INCLUDE overall_header.html -->

<!-- IF U_MCP --><p class="rt"><a href="{U_MCP}" class="buttom">{L_MCP}</a></p><!-- ENDIF -->

<!-- IF S_HAS_POLL -->
<form method="post" action="{S_POLL_ACTION}">
<div class="row1">{POLL_QUESTION}<br /><span class="genmed">{L_POLL_LENGTH}</span><br />
<!-- BEGIN poll_option -->
<!-- IF S_CAN_VOTE -->
<!-- IF S_IS_MULTI_CHOICE -->
<input type="checkbox" name="vote_id[]" id="vote_{poll_option.POLL_OPTION_ID}" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> />
<!-- ELSE -->
<input type="radio" name="vote_id[]" id="vote_{poll_option.POLL_OPTION_ID}" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> />
<!-- ENDIF -->
<!-- ENDIF -->
{poll_option.POLL_OPTION_CAPTION}
<!-- IF S_DISPLAY_RESULTS -->
<div style="float:right;width:100px;border: yellow 1px solid;margin-top:6px;"><div style="background:<!-- IF poll_option.S_ROW_COUNT is even -->red<!-- ELSE -->green<!-- ENDIF -->;width:{poll_option.POLL_OPTION_PERCENT};height:5px;"></div></div>
{poll_option.POLL_OPTION_PERCENT}[{poll_option.POLL_OPTION_RESULT}]
<!-- IF poll_option.POLL_OPTION_VOTED --><b title="{L_POLL_VOTED_OPTION}">x</b><!-- ENDIF -->
<!-- ENDIF -->
<br />
<!-- END poll_option -->
<!-- IF S_CAN_VOTE -->{L_MAX_VOTES}<br /><input type="submit" name="update" value="{L_SUBMIT_VOTE}" class="subbutton" /><!-- ENDIF -->
<!-- IF S_DISPLAY_RESULTS -->
<div class="row1">{L_TOTAL_VOTES}: {TOTAL_VOTES}</div><!-- ELSE --><br /><a href="{U_VIEW_RESULTS}">{L_VIEW_RESULTS}</a><!-- ENDIF -->
{S_FORM_TOKEN}{S_HIDDEN_FIELDS}
</div>
</form>
<!-- ENDIF -->

<!-- INCLUDE pagination.html -->

<h5>{TOPIC_TITLE}</h5>

<!-- BEGIN postrow -->
<div id="p{postrow.POST_ID}" class="row<!-- IF postrow.S_ROW_COUNT is even -->_hard<!-- ELSE -->_easy<!-- ENDIF -->">
<!-- IF postrow.POSTER_AVATAR --><span class="avatar lt">{postrow.POSTER_AVATAR}</span><!-- ENDIF -->
{postrow.POST_NUMBER}. <!-- IF postrow.S_IGNORE_POST --><span class="genmed">{postrow.L_IGNORE_POST}</span><!-- ELSE -->
<!-- IF postrow.WARNING_DETAILS or postrow.WARNING_MESSAGE --><a href="{postrow.U_POST_AUTHOR}">{postrow.WARNING_ICON1} {postrow.POST_AUTHOR}</a><!-- ELSE --><!-- IF postrow.ONLINE_IMG -->{postrow.ONLINE_IMG}<!-- ELSE -->{postrow.MINI_POST_IMG}<!-- ENDIF --> <b>{postrow.POST_AUTHOR_FULL}</b><!-- ENDIF --><!-- IF postrow.POSTER_POSTS --> [<a href="{postrow.U_MINI_POST}">{postrow.POSTER_POSTS}</a>]<!-- ENDIF -->
<!-- IF not S_IS_BOT -->
<span class="rt">
<!-- IF postrow.U_REPORT --> <a href="{postrow.U_REPORT}" title="{L_REPORT_POST}">[!]</a><!-- ENDIF -->
<!-- IF postrow.U_DELETE --> <a href="{postrow.U_DELETE}" title="{L_DELETE_POST}">[x]</a><!-- ENDIF -->
<!-- IF postrow.U_WARN --> <a href="{postrow.U_WARN}" title="{L_WARN_USER}">[#]</a><!-- ENDIF -->
<!-- IF postrow.U_INFO --> <a href="{postrow.U_INFO}" title="{L_INFORMATION}">[i]</a><!-- ENDIF -->
</span><!-- ENDIF -->
<br />
<!-- IF postrow.POST_ICON_IMG --><img src="{T_ICONS_PATH}{postrow.POST_ICON_IMG}" alt="" /><!-- ENDIF -->
{postrow.POST_DATE}<br />
{postrow.MESSAGE}

<!-- IF postrow.EDITED_MESSAGE or postrow.EDIT_REASON -->
<br /><span class="genmed">
<!-- IF postrow.EDIT_REASON -->{postrow.EDITED_MESSAGE}<br />{postrow.EDIT_REASON}<!-- ELSE -->{postrow.EDITED_MESSAGE}<!-- ENDIF -->
</span>
<!-- ENDIF -->
<!-- IF postrow.S_HAS_ATTACHMENTS --><div class="row1"><span class="genmed">{L_ATTACHMENTS}</span><br />
<!-- BEGIN attachment -->{postrow.attachment.DISPLAY_ATTACHMENT}<!-- END attachment -->
</div>
<!-- ENDIF -->

<!-- IF postrow.S_DISPLAY_NOTICE --><br />{L_DOWNLOAD_NOTICE}<br /><!-- ENDIF -->

<!-- IF postrow.WARNING_DETAILS or postrow.WARNING_MESSAGE -->
<div class="row1">{postrow.WARNING_ICON}{postrow.WARNING_DETAILS}<br />{L_REASON}: <i>{postrow.WARNING_MESSAGE}</i></div>
<!-- ENDIF -->

<!-- IF postrow.BUMPED_MESSAGE --><span class="gensmall">{postrow.BUMPED_MESSAGE}</span><!-- ENDIF -->
<!-- IF postrow.SIGNATURE --><br />_________________<br /><span class="genmed">{postrow.SIGNATURE}</span><!-- ENDIF -->
<!-- IF postrow.U_QUOTE or postrow.U_EDIT --><div style="text-align: right;">
<!-- IF postrow.U_QUOTE and (NEXT_PAGE or not postrow.S_LAST_ROW) --><a href="{postrow.U_QUOTE}" class="buttom">{L_QUOTE}</a> <!-- ENDIF -->
<!-- IF postrow.U_EDIT --> <a href="{postrow.U_EDIT}" class="buttom">{L_CHANGE}</a><!-- ENDIF -->

</div>
<!-- ENDIF -->
<!-- ENDIF -->
</div>
<!-- END postrow -->

<!-- IF S_TOPIC_MOD -->
<form method="post" action="{S_MOD_ACTION}">
<div class="select">{S_TOPIC_MOD}<input type="submit" value="{L_GO}" class="subbutton" />{S_FORM_TOKEN}</div></form>
<!-- ENDIF -->

<!-- INCLUDE pagination.html -->

<!-- IF S_QUICK_REPLY -->
<form method="post" action="{U_QR_ACTION}">
<div class="row1"><span class="gensmall">{L_QUICKREPLY}</span><br />
<textarea name="message" rows="2" cols="20"></textarea><br />
<input type="hidden" name="subject" value="{SUBJECT}" />
{S_FORM_TOKEN}
{QR_HIDDEN_FIELDS}</div>
<div class="submit"><input type="submit" name="post" value="{L_SUBMIT}" class="subbutton" />&nbsp;
<input type="submit" name="full_editor" value="{L_FULL_EDITOR}" class="subbutton" /></div>
</form>
<!-- ENDIF -->

<!-- IF not S_IS_BOT and not S_QUICK_REPLY and S_DISPLAY_REPLY_INFO -->
<a href="{U_POST_REPLY_TOPIC}" class="buttom"><!-- IF S_IS_LOCKED -->{L_TOPIC_LOCKED_SHORT}<!-- ELSE -->{L_POST_REPLY}<!-- ENDIF --></a>
<!-- ENDIF -->

<!-- IF MODERATORS --><p><!-- IF S_SINGLE_MODERATOR -->{L_MODERATOR}<!-- ELSE -->{L_MODERATORS}<!-- ENDIF -->: {MODERATORS}</p><!-- ENDIF -->

<!-- IF not S_IS_BOT and (U_WATCH_TOPIC or U_BOOKMARK_TOPIC or U_BUMP_TOPIC or U_PRINT_TOPIC or U_EMAIL_TOPIC) -->
<div class="row1 navi">
<!-- IF U_WATCH_TOPIC --><a href="{U_WATCH_TOPIC}" class="buttom<!-- IF S_WATCHING_TOPIC --> red<!-- ENDIF -->">{L_WATCH_TOPIC}</a><!-- ENDIF -->
<!-- IF U_BOOKMARK_TOPIC --><a href="{U_BOOKMARK_TOPIC}" class="buttom">{L_BOOKMARK_TOPIC}</a><!-- ENDIF -->
<!-- IF U_BUMP_TOPIC --><a href="{U_BUMP_TOPIC}" class="buttom">{L_BUMP_TOPIC}</a><!-- ENDIF -->
<!-- IF U_PRINT_TOPIC --><a href="{U_PRINT_TOPIC}" class="buttom">{L_PRINT_TOPIC}</a><!-- ENDIF -->
<!-- IF U_EMAIL_TOPIC --><a href="{U_EMAIL_TOPIC}" class="buttom">{L_EMAIL_TOPIC}</a><!-- ENDIF -->
</div>
<!-- ENDIF -->
<script type="text/javascript">
function selectCode(a)
{
	// Get ID of code block
	var e = a.parentNode.parentNode.getElementsByTagName('CODE')[0];

	// Not IE and IE9+
	if (window.getSelection)
	{
		var s = window.getSelection();
		// Safari
		if (s.setBaseAndExtent)
		{
			s.setBaseAndExtent(e, 0, e, e.innerText.length - 1);
		}
		// Firefox and Opera
		else
		{
			// workaround for bug # 42885
			if (window.opera && e.innerHTML.substring(e.innerHTML.length - 4) == '<BR>')
			{
				e.innerHTML = e.innerHTML + '&nbsp;';
			}

			var r = document.createRange();
			r.selectNodeContents(e);
			s.removeAllRanges();
			s.addRange(r);
		}
	}
	// Some older browsers
	else if (document.getSelection)
	{
		var s = document.getSelection();
		var r = document.createRange();
		r.selectNodeContents(e);
		s.removeAllRanges();
		s.addRange(r);
	}
	// IE
	else if (document.selection)
	{
		var r = document.body.createTextRange();
		r.moveToElementText(e);
		r.select();
	}
}
</script>
<!-- INCLUDE overall_footer.html -->