styles/subsilver2/template/search_results.html
changeset 0 ceef6d64c21d
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/styles/subsilver2/template/search_results.html	Wed Mar 07 16:41:10 2012 +0400
     1.3 @@ -0,0 +1,146 @@
     1.4 +<!-- INCLUDE overall_header.html -->
     1.5 +
     1.6 +<form method="post" action="{S_SEARCH_ACTION}">
     1.7 +
     1.8 +<table width="100%" cellspacing="1">
     1.9 +<tr>
    1.10 +	<td colspan="2"><span class="titles"><!-- IF SEARCH_TITLE -->{SEARCH_TITLE}<!-- ELSE -->{SEARCH_MATCHES}<!-- ENDIF --></span><br /></td>
    1.11 +</tr>
    1.12 +<tr>
    1.13 +	<td class="genmed"><!-- IF SEARCH_TOPIC -->{L_SEARCHED_TOPIC}: <a href="{U_SEARCH_TOPIC}"><b>{SEARCH_TOPIC}</b></a><br /><!-- ENDIF --><!-- IF SEARCH_WORDS -->{L_SEARCHED_FOR}: <a href="{U_SEARCH_WORDS}"><b>{SEARCH_WORDS}</b></a><!-- ENDIF --><!-- IF IGNORED_WORDS --> {L_IGNORED_TERMS}: <b>{IGNORED_WORDS}</b><!-- ENDIF --></td>
    1.14 +	<td align="{S_CONTENT_FLOW_END}"><!-- IF SEARCH_IN_RESULTS --><span class="genmed">{L_SEARCH_IN_RESULTS}: </span><input class="post" type="text" name="add_keywords" value="" /> <input class="btnlite" type="submit" name="submit" value="{L_GO}" /><!-- ENDIF --></td>
    1.15 +</tr>
    1.16 +</table>
    1.17 +
    1.18 +<br clear="all" />
    1.19 +
    1.20 +<!-- IF S_SHOW_TOPICS -->
    1.21 +
    1.22 +	<table class="tablebg" width="100%" cellspacing="1">
    1.23 +	<tr>
    1.24 +		<th width="4%" nowrap="nowrap">&nbsp;</th>
    1.25 +		<th colspan="2" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
    1.26 +		<th nowrap="nowrap">&nbsp;{L_AUTHOR}&nbsp;</th>
    1.27 +		<th nowrap="nowrap">&nbsp;{L_REPLIES}&nbsp;</th>
    1.28 +		<th nowrap="nowrap">&nbsp;{L_VIEWS}&nbsp;</th>
    1.29 +		<th nowrap="nowrap">&nbsp;{L_LAST_POST}&nbsp;</th>
    1.30 +	</tr>
    1.31 +	<!-- BEGIN searchresults -->
    1.32 +		<tr valign="middle">
    1.33 +			<td class="row1" width="25" align="center">{searchresults.TOPIC_FOLDER_IMG}</td>
    1.34 +			<td class="row1" width="25" align="center">
    1.35 +			<!-- IF searchresults.TOPIC_ICON_IMG -->
    1.36 +				<img src="{T_ICONS_PATH}{searchresults.TOPIC_ICON_IMG}" width="{searchresults.TOPIC_ICON_IMG_WIDTH}" height="{searchresults.TOPIC_ICON_IMG_HEIGHT}" alt="" title="" />
    1.37 +			<!-- ENDIF -->
    1.38 +			</td>
    1.39 +			<td class="row1">
    1.40 +				<!-- IF searchresults.S_UNREAD_TOPIC --><a href="{searchresults.U_NEWEST_POST}">{NEWEST_POST_IMG}</a><!-- ENDIF -->
    1.41 +				{searchresults.ATTACH_ICON_IMG} <a href="{searchresults.U_VIEW_TOPIC}" class="topictitle">{searchresults.TOPIC_TITLE}</a>
    1.42 +				<!-- IF searchresults.S_TOPIC_UNAPPROVED or searchresults.S_POSTS_UNAPPROVED -->
    1.43 +					<a href="{searchresults.U_MCP_QUEUE}">{searchresults.UNAPPROVED_IMG}</a>&nbsp;
    1.44 +				<!-- ENDIF -->
    1.45 +				<!-- IF searchresults.S_TOPIC_REPORTED -->
    1.46 +					<a href="{searchresults.U_MCP_REPORT}">{REPORTED_IMG}</a>&nbsp;
    1.47 +				<!-- ENDIF -->
    1.48 +				<!-- IF searchresults.PAGINATION -->
    1.49 +					<p class="gensmall"> [ {GOTO_PAGE_IMG}{L_GOTO_PAGE}: {searchresults.PAGINATION} ] </p>
    1.50 +				<!-- ENDIF -->
    1.51 +				<!-- IF searchresults.S_TOPIC_GLOBAL -->
    1.52 +					<p class="gensmall">{L_GLOBAL}</p>
    1.53 +				<!-- ELSE -->
    1.54 +					<p class="gensmall">{L_IN} <a href="{searchresults.U_VIEW_FORUM}">{searchresults.FORUM_TITLE}</a></p>
    1.55 +				<!-- ENDIF -->
    1.56 +			</td>
    1.57 +			<td class="row2" width="100" align="center"><p class="topicauthor">{searchresults.TOPIC_AUTHOR_FULL}</p></td>
    1.58 +			<td class="row1" width="50" align="center"><p class="topicdetails">{searchresults.TOPIC_REPLIES}</p></td>
    1.59 +			<td class="row2" width="50" align="center"><p class="topicdetails">{searchresults.TOPIC_VIEWS}</p></td>
    1.60 +			<td class="row1" width="120" align="center">
    1.61 +				<p class="topicdetails">{searchresults.LAST_POST_TIME}</p>
    1.62 +				<p class="topicdetails">{searchresults.LAST_POST_AUTHOR_FULL}
    1.63 +					<a href="{searchresults.U_LAST_POST}">{LAST_POST_IMG}</a>
    1.64 +				</p>
    1.65 +			</td>
    1.66 +		</tr>
    1.67 +	<!-- BEGINELSE -->
    1.68 +		<tr valign="middle">
    1.69 +			<td colspan="7" class="row3" align="center">{L_NO_SEARCH_RESULTS}</td>
    1.70 +		</tr>
    1.71 +	<!-- END searchresults -->
    1.72 +	<tr>
    1.73 +		<td class="cat" colspan="7" valign="middle" align="center"><!-- IF S_SELECT_SORT_DAYS or S_SELECT_SORT_KEY --><span class="gensmall">{L_DISPLAY_POSTS}:</span> {S_SELECT_SORT_DAYS}<!-- IF S_SELECT_SORT_KEY -->&nbsp;<span class="gensmall">{L_SORT_BY}:</span> {S_SELECT_SORT_KEY} {S_SELECT_SORT_DIR}<!-- ENDIF -->&nbsp;<input class="btnlite" type="submit" value="{L_GO}" name="sort" /><!-- ENDIF --></td>
    1.74 +	</tr>
    1.75 +	</table>
    1.76 +
    1.77 +<!-- ELSE -->
    1.78 +
    1.79 +	<table class="tablebg" width="100%" cellspacing="1">
    1.80 +	<tr>
    1.81 +		<th width="150" nowrap="nowrap">{L_AUTHOR}</th>
    1.82 +		<th width="100%" nowrap="nowrap">{L_MESSAGE}</th>
    1.83 +	</tr>
    1.84 +
    1.85 +	<!-- BEGIN searchresults -->
    1.86 +		<tr class="row2">
    1.87 +		<!-- IF searchresults.S_IGNORE_POST -->
    1.88 +			<td class="gensmall" colspan="2" height="25" align="center">{searchresults.L_IGNORE_POST}</td>
    1.89 +		<!-- ELSE -->
    1.90 +				<td colspan="2" height="25"><p class="topictitle"><a name="p{searchresults.POST_ID}" id="p{searchresults.POST_ID}"></a>&nbsp;<!-- IF searchresults.FORUM_TITLE -->{L_FORUM}: <a href="{searchresults.U_VIEW_FORUM}">{searchresults.FORUM_TITLE}</a><!-- ELSE -->{L_GLOBAL}<!-- ENDIF --> &nbsp; {L_TOPIC}: <a href="{searchresults.U_VIEW_TOPIC}">{searchresults.TOPIC_TITLE}</a> </p></td>
    1.91 +			</tr>
    1.92 +			<tr class="row1">
    1.93 +				<td width="150" align="center" valign="middle"><b class="postauthor">{searchresults.POST_AUTHOR_FULL}</b></td>
    1.94 +				<td height="25">
    1.95 +					<table width="100%" cellspacing="0" cellpadding="0" border="0">
    1.96 +					<tr>
    1.97 +						<td class="gensmall">
    1.98 +							<div style="float: {S_CONTENT_FLOW_BEGIN};">
    1.99 +							<!-- IF searchresults.POST_SUBJECT neq "" -->
   1.100 +								&nbsp;<b>{L_POST_SUBJECT}:</b> <a href="{searchresults.U_VIEW_POST}">{searchresults.POST_SUBJECT}</a>
   1.101 +							<!-- ELSE -->
   1.102 +								[ <a href="{searchresults.U_VIEW_POST}">{L_JUMP_TO_POST}</a> ]
   1.103 +							<!-- ENDIF -->
   1.104 +							</div>
   1.105 +							<div style="float: {S_CONTENT_FLOW_END};"><b>{L_POSTED}:</b> {searchresults.POST_DATE}&nbsp;</div>
   1.106 +						</td>
   1.107 +					</tr>
   1.108 +					</table>
   1.109 +				</td>
   1.110 +			</tr>
   1.111 +			<tr class="row1">
   1.112 +				<td width="150" align="center" valign="top"><br /><span class="postdetails">{L_REPLIES}: <b>{searchresults.TOPIC_REPLIES}</b><br />{L_VIEWS}: <b>{searchresults.TOPIC_VIEWS}</b></span><br /><br /></td>
   1.113 +				<td valign="top">
   1.114 +					<table width="100%" cellspacing="5">
   1.115 +					<tr>
   1.116 +						<td class="postbody">{searchresults.MESSAGE}</td>
   1.117 +					</tr>
   1.118 +					</table>
   1.119 +				</td>
   1.120 +			</tr>
   1.121 +		<!-- ENDIF -->
   1.122 +		<tr>
   1.123 +			<td class="spacer" colspan="2"><img src="images/spacer.gif" height="1" alt="" /></td>
   1.124 +		</tr>
   1.125 +	<!-- BEGINELSE -->
   1.126 +		<tr valign="middle">
   1.127 +			<td colspan="2" class="row3" align="center">{L_NO_SEARCH_RESULTS}</td>
   1.128 +		</tr>
   1.129 +	<!-- END searchresults -->
   1.130 +	<tr>
   1.131 +		<td class="cat" colspan="2" align="center"><!-- IF S_SELECT_SORT_KEY --><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}" /><!-- ENDIF --></td>
   1.132 +	</tr>
   1.133 +	</table>
   1.134 +<!-- ENDIF -->
   1.135 +
   1.136 +</form>
   1.137 +
   1.138 +<div class="gensmall" style="float: {S_CONTENT_FLOW_BEGIN};"><span class="nav">{PAGE_NUMBER}</span> [ {SEARCH_MATCHES} ]</div>
   1.139 +<div class="nav" style="float: {S_CONTENT_FLOW_END};"><!-- INCLUDE pagination.html --></div>
   1.140 +
   1.141 +<br clear="all" /><br />
   1.142 +
   1.143 +<!-- INCLUDE breadcrumbs.html -->
   1.144 +
   1.145 +<br clear="all" />
   1.146 +
   1.147 +<div align="{S_CONTENT_FLOW_END}"><!-- INCLUDE jumpbox.html --></div>
   1.148 +
   1.149 +<!-- INCLUDE overall_footer.html -->
   1.150 \ No newline at end of file