<form method="post" id='postingform' action="{$this->ipsclass->base_url}automodule=gallery" name="REPLIER" enctype="multipart/form-data" onsubmit='return ValidateForm()'>
	<input type="hidden" name="req" value="editimg" />
	<input type="hidden" name="op" value="doedit" />
	<input type="hidden" name="cat" value="{$cat}"  />
	<input type="hidden" name="img" value="{$this->ipsclass->input['img']}" />
	<div class="borderwrap">
		<div class='maintitle'>{$this->ipsclass->lang[$data]}</div>
		<table cellspacing="0" class='ipbtable'>