<table class="ipbtable">
	<tr>
		<td style='padding-left:0px;' width="20%" nowrap="nowrap">{$span['CATS']}<br /><br />{$span['SHOW_PAGES']}</td>
		<td style='padding-right:0px;' align="right" width="80%">{$span['ss_button']} {$span['post_button']} {$span['multi_upload_button']}{$span['media_button']}</td>
	</tr>
</table>
<div class="borderwrap">
	<div class="maintitle">{$this->ipsclass->lang['sorting_options']}</div>
	<table class='ipbtable' cellspacing='0'>
		<tr> 
			<td class="row2" align="center">
				<form method="post" action="{$this->ipsclass->base_url}">
					<input type="hidden" name="automodule" value="gallery" />
					<input type="hidden" name="req" value="sc" />
					<input type="hidden" name="cat" value="{$this->ipsclass->input['cat']}" />
					<input type="hidden" name="st" value="{$this->ipsclass->input['st']}" />
					<input type="hidden" name="op" value="{$this->ipsclass->input['op']}" />
					{$this->ipsclass->lang['showing']} {$this->ipsclass->lang['sort_options']} 
					<input type="submit" value="{$this->ipsclass->lang['go']}" class="button" />
				</form>
			</td>
		</tr>		
		<tr> 
			<td class="catend">&nbsp;</td>
		</tr>
	</table>
</div>
<br />