{include file='../../home.html'}
{if $allow eq 1}
<h3>تحميل سريع</h3>


	
<form name="upload"  id="upload" action="{$site_url}qupload/" 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 class="form-row">
	<div class="field-label"><label for="email">البريد الإلكتروني</label>:</div>
	<div class="field-widget">
		<input name="email" id="email" size="11" class="required validate-email" /> (مطلوب)
<div id="advice-email-validate-email" style="display:none" class="custom-advice">هذا البريد يجب ادخالة بشكل صحيح</div>
	</div>
</div>
<input name="submit" value="تحميل" type="submit" />
</div>


</form>
{/if}
<script type="text/javascript">
			var valid = new Validation('upload',{literal}{immediate : true}{/literal});
			load_html();
</script>
