styles/subsilver2/template/viewforum_body.html
changeset 0 ceef6d64c21d
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/styles/subsilver2/template/viewforum_body.html	Wed Mar 07 16:41:10 2012 +0400
     1.3 @@ -0,0 +1,329 @@
     1.4 +<!-- INCLUDE overall_header.html -->
     1.5 +
     1.6 +<!-- IF S_FORUM_RULES -->
     1.7 +	<div class="forumrules">
     1.8 +		<!-- IF U_FORUM_RULES -->
     1.9 +			<h3>{L_FORUM_RULES}</h3><br />
    1.10 +			<a href="{U_FORUM_RULES}"><b>{L_FORUM_RULES_LINK}</b></a>
    1.11 +		<!-- ELSE -->
    1.12 +			<h3>{L_FORUM_RULES}</h3><br />
    1.13 +			{FORUM_RULES}
    1.14 +		<!-- ENDIF -->
    1.15 +	</div>
    1.16 +
    1.17 +	<br clear="all" />
    1.18 +<!-- ENDIF -->
    1.19 +
    1.20 +<!-- IF S_DISPLAY_ACTIVE -->
    1.21 +	<table class="tablebg" width="100%" cellspacing="1">
    1.22 +	<tr>
    1.23 +		<td class="cat" colspan="<!-- IF S_TOPIC_ICONS -->7<!-- ELSE -->6<!-- ENDIF -->"><span class="nav">{L_ACTIVE_TOPICS}</span></td>
    1.24 +	</tr>
    1.25 +
    1.26 +	<tr>
    1.27 +		<!-- IF S_TOPIC_ICONS -->
    1.28 +			<th colspan="3">&nbsp;{L_TOPICS}&nbsp;</th>
    1.29 +		<!-- ELSE -->
    1.30 +			<th colspan="2">&nbsp;{L_TOPICS}&nbsp;</th>
    1.31 +		<!-- ENDIF -->
    1.32 +		<th>&nbsp;{L_AUTHOR}&nbsp;</th>
    1.33 +		<th>&nbsp;{L_REPLIES}&nbsp;</th>
    1.34 +		<th>&nbsp;{L_VIEWS}&nbsp;</th>
    1.35 +		<th>&nbsp;{L_LAST_POST}&nbsp;</th>
    1.36 +	</tr>
    1.37 +
    1.38 +	<!-- BEGIN topicrow -->
    1.39 +
    1.40 +		<tr>
    1.41 +			<td class="row1" width="25" align="center">{topicrow.TOPIC_FOLDER_IMG}</td>
    1.42 +			<!-- IF S_TOPIC_ICONS -->
    1.43 +				<td class="row1" width="25" align="center"><!-- IF topicrow.TOPIC_ICON_IMG --><img src="{T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}" width="{topicrow.TOPIC_ICON_IMG_WIDTH}" height="{topicrow.TOPIC_ICON_IMG_HEIGHT}" alt="" title="" /><!-- ENDIF --></td>
    1.44 +			<!-- ENDIF -->
    1.45 +			<td class="row1">
    1.46 +				<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a><!-- ENDIF -->
    1.47 +				{topicrow.ATTACH_ICON_IMG} <!-- IF topicrow.S_HAS_POLL or topicrow.S_TOPIC_MOVED --><b>{topicrow.TOPIC_TYPE}</b> <!-- ENDIF --><a title="{L_POSTED}: {topicrow.FIRST_POST_TIME}" href="{topicrow.U_VIEW_TOPIC}"class="topictitle">{topicrow.TOPIC_TITLE}</a>
    1.48 +				<!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED -->
    1.49 +					<a href="{topicrow.U_MCP_QUEUE}">{UNAPPROVED_IMG}</a>&nbsp;
    1.50 +				<!-- ENDIF -->
    1.51 +				<!-- IF topicrow.S_TOPIC_REPORTED -->
    1.52 +					<a href="{topicrow.U_MCP_REPORT}">{REPORTED_IMG}</a>&nbsp;
    1.53 +				<!-- ENDIF -->
    1.54 +				<!-- IF topicrow.PAGINATION -->
    1.55 +					<p class="gensmall"> [ {GOTO_PAGE_IMG}{L_GOTO_PAGE}: {topicrow.PAGINATION} ] </p>
    1.56 +				<!-- ENDIF -->
    1.57 +			</td>
    1.58 +			<td class="row2" width="130" align="center"><p class="topicauthor">{topicrow.TOPIC_AUTHOR_FULL}</p></td>
    1.59 +			<td class="row1" width="50" align="center"><p class="topicdetails">{topicrow.REPLIES}</p></td>
    1.60 +			<td class="row2" width="50" align="center"><p class="topicdetails">{topicrow.VIEWS}</p></td>
    1.61 +			<td class="row1" width="140" align="center">
    1.62 +				<p class="topicdetails" style="white-space: nowrap;">{topicrow.LAST_POST_TIME}</p>
    1.63 +				<p class="topicdetails">{topicrow.LAST_POST_AUTHOR_FULL}
    1.64 +					<!-- IF not S_IS_BOT --><a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a><!-- ENDIF -->
    1.65 +				</p>
    1.66 +			</td>
    1.67 +		</tr>
    1.68 +
    1.69 +	<!-- BEGINELSE -->
    1.70 +
    1.71 +		<tr>
    1.72 +			<!-- IF S_TOPIC_ICONS -->
    1.73 +				<td class="row1" colspan="7" height="30" align="center" valign="middle"><span class="gen"><!-- IF not S_SORT_DAYS -->{L_NO_TOPICS}<!-- ELSE -->{L_NO_TOPICS_TIME_FRAME}<!-- ENDIF --></span></td>
    1.74 +			<!-- ELSE -->
    1.75 +				<td class="row1" colspan="6" height="30" align="center" valign="middle"><span class="gen"><!-- IF not S_SORT_DAYS -->{L_NO_TOPICS}<!-- ELSE -->{L_NO_TOPICS_TIME_FRAME}<!-- ENDIF --></span></td>
    1.76 +			<!-- ENDIF -->
    1.77 +		</tr>
    1.78 +	<!-- END topicrow -->
    1.79 +
    1.80 +	<tr align="center">
    1.81 +		<td class="cat" colspan="<!-- IF S_TOPIC_ICONS -->7<!-- ELSE -->6<!-- ENDIF -->">&nbsp;</td>
    1.82 +	</tr>
    1.83 +	</table>
    1.84 +
    1.85 +	<br clear="all" />
    1.86 +<!-- ENDIF -->
    1.87 +
    1.88 +<!-- IF S_HAS_SUBFORUM -->
    1.89 +	<!-- INCLUDE forumlist_body.html -->
    1.90 +	<br clear="all" />
    1.91 +<!-- ENDIF -->
    1.92 +
    1.93 +<!-- IF S_IS_POSTABLE or S_NO_READ_ACCESS -->
    1.94 +	<div id="pageheader">
    1.95 +		<h2><a class="titles" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></h2>
    1.96 +
    1.97 +		<!-- IF MODERATORS -->
    1.98 +			<p class="moderators"><!-- IF S_SINGLE_MODERATOR -->{L_MODERATOR}<!-- ELSE -->{L_MODERATORS}<!-- ENDIF -->: {MODERATORS}</p>
    1.99 +		<!-- ENDIF -->
   1.100 +		<!-- IF U_MCP -->
   1.101 +			<p class="linkmcp">[ <a href="{U_MCP}">{L_MCP}</a> ]</p>
   1.102 +		<!-- ENDIF -->
   1.103 +	</div>
   1.104 +
   1.105 +	<br clear="all" /><br />
   1.106 +<!-- ENDIF -->
   1.107 +
   1.108 +<div id="pagecontent">
   1.109 +
   1.110 +<!-- IF S_NO_READ_ACCESS -->
   1.111 +	<table class="tablebg" width="100%" cellspacing="1">
   1.112 +	<tr>
   1.113 +		<td class="row1" height="30" align="center" valign="middle"><span class="gen">{L_NO_READ_ACCESS}</span></td>
   1.114 +	</tr>
   1.115 +	</table>
   1.116 +
   1.117 +	<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
   1.118 +
   1.119 +		<br /><br />
   1.120 +
   1.121 +		<form method="post" action="{S_LOGIN_ACTION}">
   1.122 +
   1.123 +		<table class="tablebg" width="100%" cellspacing="1">
   1.124 +		<tr>
   1.125 +			<td class="cat"><h4><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a></h4></td>
   1.126 +		</tr>
   1.127 +		<tr>
   1.128 +			<td class="row1" align="center"><span class="genmed">{L_USERNAME}:</span> <input class="post" type="text" name="username" size="10" />&nbsp; <span class="genmed">{L_PASSWORD}:</span> <input class="post" type="password" name="password" size="10" /><!-- IF S_AUTOLOGIN_ENABLED -->&nbsp; <span class="gensmall">{L_LOG_ME_IN}</span> <input type="checkbox" class="radio" name="autologin" /><!-- ENDIF -->&nbsp; <input type="submit" class="btnmain" name="login" value="{L_LOGIN}" /></td>
   1.129 +		</tr>
   1.130 +		</table>
   1.131 +		{S_LOGIN_REDIRECT}
   1.132 +		</form>
   1.133 +
   1.134 +	<!-- ENDIF -->
   1.135 +
   1.136 +	<br clear="all" />
   1.137 +<!-- ENDIF -->
   1.138 +
   1.139 +	<!-- IF S_DISPLAY_POST_INFO or TOTAL_TOPICS -->
   1.140 +		<table width="100%" cellspacing="1">
   1.141 +		<tr>
   1.142 +			<!-- IF S_DISPLAY_POST_INFO and not S_IS_BOT -->
   1.143 +				<td align="{S_CONTENT_FLOW_BEGIN}" valign="middle"><a href="{U_POST_NEW_TOPIC}">{POST_IMG}</a></td>
   1.144 +			<!-- ENDIF -->
   1.145 +			<!-- IF TOTAL_TOPICS -->
   1.146 +				<td class="nav" valign="middle" nowrap="nowrap">&nbsp;{PAGE_NUMBER}<br /></td>
   1.147 +				<td class="gensmall" nowrap="nowrap">&nbsp;[ {TOTAL_TOPICS} ]&nbsp;</td>
   1.148 +				<td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><!-- INCLUDE pagination.html --></td>
   1.149 +			<!-- ENDIF -->
   1.150 +		</tr>
   1.151 +		</table>
   1.152 +	<!-- ENDIF -->
   1.153 +
   1.154 +	<!-- IF not S_DISPLAY_ACTIVE and (S_IS_POSTABLE or .topicrow) -->
   1.155 +		<table class="tablebg" width="100%" cellspacing="1">
   1.156 +		<tr>
   1.157 +			<td class="cat" colspan="<!-- IF S_TOPIC_ICONS -->7<!-- ELSE -->6<!-- ENDIF -->">
   1.158 +				<table width="100%" cellspacing="0">
   1.159 +				<tr class="nav">
   1.160 +					<td valign="middle">&nbsp;<!-- IF S_WATCH_FORUM_LINK and not S_IS_BOT --><a href="{S_WATCH_FORUM_LINK}">{S_WATCH_FORUM_TITLE}</a><!-- ENDIF --></td>
   1.161 +					<td align="{S_CONTENT_FLOW_END}" valign="middle"><!-- IF not S_IS_BOT and U_MARK_TOPICS --><a href="{U_MARK_TOPICS}">{L_MARK_TOPICS_READ}</a><!-- ENDIF -->&nbsp;</td>
   1.162 +				</tr>
   1.163 +				</table>
   1.164 +			</td>
   1.165 +		</tr>
   1.166 +
   1.167 +		<tr>
   1.168 +			<!-- IF S_TOPIC_ICONS -->
   1.169 +				<th colspan="3">&nbsp;{L_TOPICS}&nbsp;</th>
   1.170 +			<!-- ELSE -->
   1.171 +				<th colspan="2">&nbsp;{L_TOPICS}&nbsp;</th>
   1.172 +			<!-- ENDIF -->
   1.173 +			<th>&nbsp;{L_AUTHOR}&nbsp;</th>
   1.174 +			<th>&nbsp;{L_REPLIES}&nbsp;</th>
   1.175 +			<th>&nbsp;{L_VIEWS}&nbsp;</th>
   1.176 +			<th>&nbsp;{L_LAST_POST}&nbsp;</th>
   1.177 +		</tr>
   1.178 +
   1.179 +		<!-- BEGIN topicrow -->
   1.180 +
   1.181 +			<!-- IF topicrow.S_TOPIC_TYPE_SWITCH eq 1 -->
   1.182 +				<tr>
   1.183 +					<td class="row3" colspan="<!-- IF S_TOPIC_ICONS -->7<!-- ELSE -->6<!-- ENDIF -->"><b class="gensmall">{L_ANNOUNCEMENTS}</b></td>
   1.184 +				</tr>
   1.185 +			<!-- ELSEIF topicrow.S_TOPIC_TYPE_SWITCH eq 0 -->
   1.186 +				<tr>
   1.187 +					<td class="row3" colspan="<!-- IF S_TOPIC_ICONS -->7<!-- ELSE -->6<!-- ENDIF -->"><b class="gensmall">{L_TOPICS}</b></td>
   1.188 +				</tr>
   1.189 +			<!-- ENDIF -->
   1.190 +
   1.191 +			<tr>
   1.192 +				<td class="row1" width="25" align="center">{topicrow.TOPIC_FOLDER_IMG}</td>
   1.193 +				<!-- IF S_TOPIC_ICONS -->
   1.194 +					<td class="row1" width="25" align="center"><!-- IF topicrow.TOPIC_ICON_IMG --><img src="{T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}" width="{topicrow.TOPIC_ICON_IMG_WIDTH}" height="{topicrow.TOPIC_ICON_IMG_HEIGHT}" alt="" title="" /><!-- ENDIF --></td>
   1.195 +				<!-- ENDIF -->
   1.196 +				<td class="row1">
   1.197 +					<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a><!-- ENDIF -->
   1.198 +					{topicrow.ATTACH_ICON_IMG} <!-- IF topicrow.S_HAS_POLL or topicrow.S_TOPIC_MOVED --><b>{topicrow.TOPIC_TYPE}</b> <!-- ENDIF --><a title="{L_POSTED}: {topicrow.FIRST_POST_TIME}" href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a>
   1.199 +					<!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED -->
   1.200 +						<a href="{topicrow.U_MCP_QUEUE}">{topicrow.UNAPPROVED_IMG}</a>&nbsp;
   1.201 +					<!-- ENDIF -->
   1.202 +					<!-- IF topicrow.S_TOPIC_REPORTED -->
   1.203 +						<a href="{topicrow.U_MCP_REPORT}">{REPORTED_IMG}</a>&nbsp;
   1.204 +					<!-- ENDIF -->
   1.205 +					<!-- IF topicrow.PAGINATION -->
   1.206 +						<p class="gensmall"> [ {GOTO_PAGE_IMG}{L_GOTO_PAGE}: {topicrow.PAGINATION} ] </p>
   1.207 +					<!-- ENDIF -->
   1.208 +				</td>
   1.209 +				<td class="row2" width="130" align="center"><p class="topicauthor">{topicrow.TOPIC_AUTHOR_FULL}</p></td>
   1.210 +				<td class="row1" width="50" align="center"><p class="topicdetails">{topicrow.REPLIES}</p></td>
   1.211 +				<td class="row2" width="50" align="center"><p class="topicdetails">{topicrow.VIEWS}</p></td>
   1.212 +				<td class="row1" width="140" align="center">
   1.213 +					<p class="topicdetails" style="white-space: nowrap;">{topicrow.LAST_POST_TIME}</p>
   1.214 +					<p class="topicdetails">{topicrow.LAST_POST_AUTHOR_FULL}
   1.215 +						<!-- IF not S_IS_BOT --><a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a><!-- ENDIF -->
   1.216 +					</p>
   1.217 +				</td>
   1.218 +			</tr>
   1.219 +
   1.220 +		<!-- BEGINELSE -->
   1.221 +			<!-- IF S_IS_POSTABLE -->
   1.222 +			<tr>
   1.223 +				<!-- IF S_TOPIC_ICONS -->
   1.224 +					<td class="row1" colspan="7" height="30" align="center" valign="middle"><span class="gen"><!-- IF not S_SORT_DAYS -->{L_NO_TOPICS}<!-- ELSE -->{L_NO_TOPICS_TIME_FRAME}<!-- ENDIF --></span></td>
   1.225 +				<!-- ELSE -->
   1.226 +					<td class="row1" colspan="6" height="30" align="center" valign="middle"><span class="gen"><!-- IF not S_SORT_DAYS -->{L_NO_TOPICS}<!-- ELSE -->{L_NO_TOPICS_TIME_FRAME}<!-- ENDIF --></span></td>
   1.227 +				<!-- ENDIF -->
   1.228 +			</tr>
   1.229 +			<!-- ENDIF -->
   1.230 +		<!-- END topicrow -->
   1.231 +
   1.232 +		<!-- IF not S_IS_BOT -->
   1.233 +		<tr align="center">
   1.234 +			<!-- IF S_TOPIC_ICONS -->
   1.235 +				<td class="cat" colspan="7">
   1.236 +			<!-- ELSE -->
   1.237 +				<td class="cat" colspan="6">
   1.238 +			<!-- ENDIF -->
   1.239 +					<form method="post" action="{S_FORUM_ACTION}"><span class="gensmall">{L_DISPLAY_TOPICS}:</span>&nbsp;{S_SELECT_SORT_DAYS}&nbsp;<span class="gensmall">{L_SORT_BY}</span> {S_SELECT_SORT_KEY} {S_SELECT_SORT_DIR}&nbsp;<input class="btnlite" type="submit" name="sort" value="{L_GO}" /></form>
   1.240 +				</td>
   1.241 +		</tr>
   1.242 +		<!-- ENDIF -->
   1.243 +		</table>
   1.244 +	<!-- ENDIF -->
   1.245 +
   1.246 +	<!-- IF S_DISPLAY_POST_INFO or TOTAL_TOPICS -->
   1.247 +		<table width="100%" cellspacing="1">
   1.248 +		<tr>
   1.249 +			<!-- IF S_DISPLAY_POST_INFO and not S_IS_BOT -->
   1.250 +				<td align="{S_CONTENT_FLOW_BEGIN}" valign="middle"><a href="{U_POST_NEW_TOPIC}">{POST_IMG}</a></td>
   1.251 +			<!-- ENDIF -->
   1.252 +			<!-- IF TOTAL_TOPICS -->
   1.253 +				<td class="nav" valign="middle" nowrap="nowrap">&nbsp;{PAGE_NUMBER}<br /></td>
   1.254 +				<td class="gensmall" nowrap="nowrap">&nbsp;[ {TOTAL_TOPICS} ]&nbsp;</td>
   1.255 +				<td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><!-- INCLUDE pagination.html --></td>
   1.256 +			<!-- ENDIF -->
   1.257 +		</tr>
   1.258 +		</table>
   1.259 +	<!-- ENDIF -->
   1.260 +
   1.261 +		<br clear="all" />
   1.262 +</div>
   1.263 +
   1.264 +<!-- INCLUDE breadcrumbs.html -->
   1.265 +
   1.266 +<!-- IF S_DISPLAY_ONLINE_LIST -->
   1.267 +	<br clear="all" />
   1.268 +
   1.269 +	<table class="tablebg" width="100%" cellspacing="1">
   1.270 +	<tr>
   1.271 +		<td class="cat"><h4>{L_WHO_IS_ONLINE}</h4></td>
   1.272 +	</tr>
   1.273 +	<tr>
   1.274 +		<td class="row1"><p class="gensmall">{LOGGED_IN_USER_LIST}</p></td>
   1.275 +	</tr>
   1.276 +	</table>
   1.277 +<!-- ENDIF -->
   1.278 +
   1.279 +<!-- IF S_DISPLAY_POST_INFO -->
   1.280 +	<br clear="all" />
   1.281 +
   1.282 +	<table width="100%" cellspacing="0">
   1.283 +	<tr>
   1.284 +		<td align="{S_CONTENT_FLOW_BEGIN}" valign="top">
   1.285 +			<table cellspacing="3" cellpadding="0" border="0">
   1.286 +			<tr>
   1.287 +				<td width="20" style="text-align: center;">{FOLDER_UNREAD_IMG}</td>
   1.288 +				<td class="gensmall">{L_UNREAD_POSTS}</td>
   1.289 +				<td>&nbsp;&nbsp;</td>
   1.290 +				<td width="20" style="text-align: center;">{FOLDER_IMG}</td>
   1.291 +				<td class="gensmall">{L_NO_UNREAD_POSTS}</td>
   1.292 +				<td>&nbsp;&nbsp;</td>
   1.293 +				<td width="20" style="text-align: center;">{FOLDER_ANNOUNCE_IMG}</td>
   1.294 +				<td class="gensmall">{L_ICON_ANNOUNCEMENT}</td>
   1.295 +			</tr>
   1.296 +			<tr>
   1.297 +				<td style="text-align: center;">{FOLDER_HOT_UNREAD_IMG}</td>
   1.298 +				<td class="gensmall">{L_UNREAD_POSTS_HOT}</td>
   1.299 +				<td>&nbsp;&nbsp;</td>
   1.300 +				<td style="text-align: center;">{FOLDER_HOT_IMG}</td>
   1.301 +				<td class="gensmall">{L_NO_UNREAD_POSTS_HOT}</td>
   1.302 +				<td>&nbsp;&nbsp;</td>
   1.303 +				<td style="text-align: center;">{FOLDER_STICKY_IMG}</td>
   1.304 +				<td class="gensmall">{L_ICON_STICKY}</td>
   1.305 +			</tr>
   1.306 +			<tr>
   1.307 +				<td style="text-align: center;">{FOLDER_LOCKED_UNREAD_IMG}</td>
   1.308 +				<td class="gensmall">{L_UNREAD_POSTS_LOCKED}</td>
   1.309 +				<td>&nbsp;&nbsp;</td>
   1.310 +				<td style="text-align: center;">{FOLDER_LOCKED_IMG}</td>
   1.311 +				<td class="gensmall">{L_NO_UNREAD_POSTS_LOCKED}</td>
   1.312 +				<td>&nbsp;&nbsp;</td>
   1.313 +				<td style="text-align: center;">{FOLDER_MOVED_IMG}</td>
   1.314 +				<td class="gensmall">{L_TOPIC_MOVED}</td>
   1.315 +			</tr>
   1.316 +			</table>
   1.317 +		</td>
   1.318 +		<td align="{S_CONTENT_FLOW_END}"><span class="gensmall"><!-- BEGIN rules -->{rules.RULE}<br /><!-- END rules --></span></td>
   1.319 +	</tr>
   1.320 +	</table>
   1.321 +<!-- ENDIF -->
   1.322 +
   1.323 +<br clear="all" />
   1.324 +
   1.325 +<table width="100%" cellspacing="0">
   1.326 +<tr>
   1.327 +	<td><!-- IF S_DISPLAY_SEARCHBOX --><!-- INCLUDE searchbox.html --><!-- ENDIF --></td>
   1.328 +	<td align="{S_CONTENT_FLOW_END}"><!-- INCLUDE jumpbox.html --></td>
   1.329 +</tr>
   1.330 +</table>
   1.331 +
   1.332 +<!-- INCLUDE overall_footer.html -->
   1.333 \ No newline at end of file