<table width="100%" cellpadding="0" cellspacing="0" border="0">
<form action="index.php" method="post">
<input type="hidden" name="section" value="import_members">
<input type="hidden" name="action" value="import">
	<tr><td class="nav"><a href="index.php?section=home">Home</a>&nbsp;&gt;&nbsp;<a href="index.php?section=import_members">Import Members</a></td></tr>
	<tr><td>&nbsp;</td></tr>
	<tr><td class="body" align="center">System found next files in the import folder:</td></tr>
	<tr><td>&nbsp;</td></tr>
	<?php if(count($data["files"])){ ?>
	<tr><td><table cellpadding="0" cellspacing="2" border="0" align="center">
		<tr><td class="form_cell"><table cellpadding="0" cellspacing="3" border="0" align="center">
			<?php foreach($data["files"] as $file){ ?>
				<tr><td class="highlight"><?php
				admin_form_element( array ("type" => "radio", "name" => "file", "ovalue" => $file["file"]) );
				?></td><td class="highlight"><?php echo $file["file"]; ?> (<?php echo $file["size"]; ?>)</td></tr>
			<?php } ?>
		</table></td></tr>
		<tr><td class="form_cell"><table cellpadding="0" cellspacing="3" border="0" align="center"  width="300">
			<tr><td colspan="2" class="body">Settings:</td></tr>
			<tr><td class="highlight">Passwords are MD5-encoded</td><td class="highlight" align="right"><?php
			admin_form_element ( array ("type" => "checkbox", "name" => "settings[md5]", "ovalue" => 1, "value" => $data["values"][settings][md5]) );
			?></td></tr>
			<tr><td class="highlight">Gender Handling: Male is Equal to</td><td class="highlight" align="right"><?php
			admin_form_element ( array ("type" => "input", "name" => "settings[male]", "size" => 5, "value" => $data["values"][settings][male]) );
			?></td></tr>
			<tr><td class="highlight">Gender Handling: Female is Equal to</td><td class="highlight" align="right"><?php
			admin_form_element ( array ("type" => "input", "name" => "settings[female]", "size" => 5, "value" => $data["values"][settings][female]) );
			?></td></tr>
			<tr><td class="highlight">Location Handling: if Country/State/City is not found in a DB</td><td class="highlight" align="right" valign="top"><?php
			admin_form_element ( array ("type" => "select", "name" => "settings[location]", "value" => $data["values"][settings][location], "options" => array ("add" => "Add to DB", "skip" => "Skip") ) );
			?></td></tr>
		</table></td></tr>
		<tr><td><table cellpadding="2" cellspacing="2" border="0" align="center" width="300">
			<tr><td class="list_header" width="100%">Entry Type</td><td nowrap class="list_header">Column #</td></tr>
			<tr><td class="list_cell">Email Address</td><td class="list_cell"><?php
			admin_form_element ( array ("type" => "input", "name" => "columns[email]", "value" => $data["values"][columns][email], "size" => 3) );
			?></td></tr>
			<tr><td class="list_cell">Username</td><td class="list_cell"><?php
			admin_form_element ( array ("type" => "input", "name" => "columns[username]", "value" => $data["values"][columns][username], "size" => 3) );
			?></td></tr>
			<tr><td class="list_cell">Password</td><td class="list_cell"><?php
			admin_form_element ( array ("type" => "input", "name" => "columns[password]", "value" => $data["values"][columns][password], "size" => 3) );
			?></td></tr>
			<tr><td class="list_cell">First Name</td><td class="list_cell"><?php
			admin_form_element ( array ("type" => "input", "name" => "columns[fname]", "value" => $data["values"][columns][fname], "size" => 3) );
			?></td></tr>
			<tr><td class="list_cell">Last Name</td><td class="list_cell"><?php
			admin_form_element ( array ("type" => "input", "name" => "columns[lname]", "value" => $data["values"][columns][lname], "size" => 3) );
			?></td></tr>
			<tr><td class="list_cell">Country</td><td class="list_cell"><?php
			admin_form_element ( array ("type" => "input", "name" => "columns[country]", "value" => $data["values"][columns][country], "size" => 3) );
			?></td></tr>
			<tr><td class="list_cell">State/Region</td><td class="list_cell"><?php
			admin_form_element ( array ("type" => "input", "name" => "columns[state]", "value" => $data["values"][columns][state], "size" => 3) );
			?></td></tr>
			<tr><td class="list_cell">City</td><td class="list_cell"><?php
			admin_form_element ( array ("type" => "input", "name" => "columns[city]", "value" => $data["values"][columns][city], "size" => 3) );
			?></td></tr>
			<tr><td class="list_cell">Zip/Postal Code</td><td class="list_cell"><?php
			admin_form_element ( array ("type" => "input", "name" => "columns[postal_code]", "value" => $data["values"][columns][postal_code], "size" => 3) );
			?></td></tr>
			<tr><td class="list_cell">Gender</td><td class="list_cell"><?php
			admin_form_element ( array ("type" => "input", "name" => "columns[gender]", "value" => $data["values"][columns][gender], "size" => 3) );
			?></td></tr>
			<tr><td class="list_cell">Birthdate</td><td class="list_cell"><?php
			admin_form_element ( array ("type" => "input", "name" => "columns[birthdate]", "value" => $data["values"][columns][birthdate], "size" => 3) );
			?></td></tr>
		</table></td></tr>
		<tr><td align="center"><?php
		admin_form_element( array("type" => "button", "value" => "Import") );
		?></td></tr>
	</table></td></tr>
	<?php } else { ?>
	<tr><td class="highlight" align="center">No files found.</td></tr>
	<?php } ?>
	<tr><td>&nbsp;</td></tr>
</table>