<form name="test_form"  id="test_form" action="{$site_url}files/" method="POST" enctype="multipart/form-data">
<div>{$error}</div>
<div class="form-row">
	<div class="field-label"><label for="file_number">عدد الملفات</label>:</div>
	<div class="field-widget">
		<select name="file_number"  id="file_number" onchange="make_upload_num($F('file_number'));">
			<option>1</option>
			<option>2</option>
			<option>3</option>
			<option>4</option>
			<option>5</option>
			<option>6</option>
			<option>7</option>
			<option>8</option>
			<option>9</option>
			<option>10</option>
		</select>
	</div>
</div>
<div class="form-row" id="file_upload_row">
	<div class="field-label"><label for="upfile[]">تحميل الملف</label>:</div>
	<div class="field-widget">
		<input type="file" name="upfile[]" style="width:300px" />
	</div>
	<div id="advice-required-password" style="display:none" class="custom-advice">هذا الحقل مطلوب !</div>
	</div>
</div>


<input name="submit" value="تحميل" type="submit" />
</form>
<script type="text/javascript">
			var valid = new Validation('test_form',{literal}{immediate : true}{/literal});
			load_html();
</script>
