<table cellpadding="2" cellspacing="2" border="0" width="400" align="center">
<form action="index.php" method="post">
<input type="hidden" name="section" value="ecards">
<input type="hidden" name="action" value="import">
	<tr><td class="lined blue_bcg white_body padded" align="center">Import eCards</td></tr>
	<tr><td><table cellpadding="0" cellspacing="3" border="0" width="100%">
	<tr><td class="body" align="center">System have found next files in the import folder:</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 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 } ?>
	</table></td></tr>
</form>
</table>