<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Upload Identification</title>
<link href="wpstyles.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript">
<!--
function startUpload(){
document.getElementById('f1_upload_process').style.visibility = 'visible';
document.getElementById('f1_upload_form').style.visibility = 'hidden';
return true;
}
function stopUpload(errors){
var result = '';
switch(errors)
{
case 1:
result = '<span class="msg">ERROR - Unsupported file type<\/span><br/><br/>';
break;
case 2:
result = '<span class="msg">ERROR - File larger than 2mb<\/span><br/><br/>';
break;
default:
result = '<span class="msg">The file was uploaded successfully!<\/span><br/><br/>';
}
document.getElementById('f1_upload_process').style.visibility = 'hidden';
document.getElementById('f1_upload_form').innerHTML = result + '<label>File: <input name="image" type="file" size="30" /><\/label><label><input type="submit" name="submit" class="sbtn" value="Upload" /><\/label>';
document.getElementById('f1_upload_form').style.visibility = 'visible';
return true;
}
//-->
</script>
</head>
<!--Webpen v3 - This software is copyright ToucanMultimedia.com 2010. It or any part of it may not be used, sold, or modified without permission of ToucanMultimedia.com. -->
<body>
<div style="width:500px; font-family:Arial, Helvetica, sans-serif; font-size:18px; font-weight:600; margin-left:auto; margin-right:auto; ">Please upload a scan of a government-issued photo ID such as a driver's license, or passport. Permitted file types are .jpg .jpeg .gif and .png. File size must be 2mb or less.<br /><br /></div>
<div id="container">
<div id="header"><div id="header_left"></div>
<div id="header_main">Please Upload an Identifying Document</div><div id="header_right"></div></div>
<div id="content">
<form action="upload.php" method="post" enctype="multipart/form-data" target="upload_target" onsubmit="startUpload();" >
<p id="f1_upload_process">Loading...<br/><img src="loader.gif" /><br/></p>
<p id="f1_upload_form" align="center"><br/>
<label>File:
<input name="image" type="file" size="30" />
</label>
<input type="hidden" name="newdirname" value="<?php echo $_POST['newdirname']; ?>" />
<br /><br />
<input type="submit" name="submit" value="Upload" />
</p>
<iframe id="upload_target" name="upload_target" src="" style="width:0;height:0;border:0px solid #fff;"></iframe>
</form>
</div>
</body>