<form action="{$this->ipsclass->base_url}" method="post">
	<input type="hidden" name="automodule" value="gallery" />
	<input type="hidden" name="cmd" value="sc" />
	<input type="hidden" name="cat" value="{$cid}" />
	<input type="hidden" name="login" value="1" />
	
	<div class="borderwrap">
		<div class="maintitle">{$this->ipsclass->lang['need_password']}</div>
		<div class="tablepad">{$this->ipsclass->lang['need_password_txt']}</div>
		<div class="tablepad">
			<b>{$this->ipsclass->lang['enter_pass']}</b>
			<input type="password" size="20" name="f_password" />
		</div>
		<div class="pformstrip" align="center"><input type="submit" value="{$this->ipsclass->lang['f_pass_submit']}" class="button" /></div>
	</div>
</form>