<!--##
<NAME>Section - Search Results</NAME>
<DESC>List of Section Search Results</DESC>
<SECTION>Platform</SECTION>
##-->

<!--## PAGE TITLE ELEMENT ##-->
<inp2:m_DefineElement name="page_title">
	<inp2:m_Phrase label="lu_title_CategorySearchResults"/>
</inp2:m_DefineElement>
<!--## //PAGE TITLE ELEMENT ##-->

<!--## SIDE-BAR ELEMENT ##-->
<inp2:m_DefineElement name="sidebar">
	<div class="movable-area">
		<div class="movable-element">
			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
		</div>
		<div class="movable-element">
			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
		</div>
	</div>
</inp2:m_DefineElement>
<!--## //SIDE-BAR ELEMENT ##-->

<inp2:m_DefineElement name="content">

<div class="movable-element">
	<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_CategorySearchResults" templates="platform/categories/search_results"/>
</div>

<div class="movable-element">
	<inp2:m_RenderElement design="content_box">
		<inp2:c_InitList list_name="category_search_results" types="search" parent_cat_id="any" recursive="1"/>

		<inp2:m_Capture to_var="header">
			<inp2:m_Phrase label="lu_title_CategorySearchResults"/> (<inp2:c_TotalRecords list_name="category_search_results"/>)
		</inp2:m_Capture>

		<!--##<inp2:m_include template="platform/elements/sorting.elm" list_name="category_search_results"/>##-->

		<inp2:m_include template="platform/elements/categories.elm"/>
		<inp2:m_include template="platform/elements/search_results.elm"/>

		<table class="fullwidth">
			<inp2:c_ListCategories list_name="category_search_results" render_as="category_element" columns="2" show_relevance="1" direction="H"/>
		</table>

		<inp2:m_include template="platform/elements/pagination.elm" prefix="c" list_name="category_search_results"/>
	</inp2:m_RenderElement>
</div>

</inp2:m_DefineElement>

<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>