<table width="100%" cellpadding="0" cellspacing="0" border="0">
	<tr><td class="nav"><a href="index.php?section=home">Home</a>&nbsp;&gt;&nbsp;<a href="index.php?section=ecards">eCards</a></td></tr>
	<tr><td>&nbsp;</td></tr>
	<tr><td>
		<table cellpadding="0" cellspacing="3" border="0" align="center">
		<form action="index.php" method="post" enctype="multipart/form-data">
		<input type="hidden" name="section" value="ecards">
		<input type="hidden" name="action" value="do_create">		
		<input type="hidden" name="ret_link" value="<?php echo $data["link"]; ?>">
			<tr><td class="body">Category:</td><td><?php echo $data["category_field"]; ?></td></tr>
			<tr><td class="body">Subcategory:</td><td><?php echo $data["subcategory_field"]; ?></td></tr>
			<tr><td class="body">Name:</td><td><?php
			admin_form_element( array ("type" => "input", "name" => "name", "size" => 30, "value" => $data["values"][name]) );
			?></td></tr>
			<tr><td class="body" valign="top">Description:</td><td><?php
			admin_form_element( array ("type" => "textarea", "name" => "description", "rows" => 5, "cols" => 31, "value" => $data["values"][description]) );
			?></td></tr>
			<tr><td class="body">Featured:</td><td><?php
			admin_form_element( array ("type" => "checkbox", "name" => "featured", "ovalue" => 1, "value" => $data["values"][featured]) );
			?></td></tr>		
			<tr><td class="body">Format:</td><td class="highlight"><?php
			admin_form_element( array ("type" => "radio", "name" => "type", "ovalue" => "static", "javascript" => "onClick='HS_HideTagField(this)'", "value" => $data["values"][type]) );
			echo "&nbsp;GIF/JPEG&nbsp;";
			admin_form_element( array ("type" => "radio", "name" => "type", "ovalue" => "rich", "javascript" => "onClick='HS_HideTagField(this)'", "value" => $data["values"][type]) );
			echo "&nbsp;Flash";
			?></td></tr>
			<tr><td class="body">Upload eCard:</td><td><?php
			admin_form_element( array ("type" => "file", "name" => "file") );
			?></td></tr>
			<tr><td class="body">Upload Thumbnail:</td><td><?php
			admin_form_element( array ("type" => "file", "name" => "thumbnail") );
			?></td></tr>
			<tr id="tag_field" style="display:none" valign="top"><td class="body">Special Tag:</td><td><?php
			admin_form_element( array ("type" => "textarea", "name" => "tag", "rows" => 5, "cols" => 31, "value" => $data["values"][tag]) );
			?><br><span class="highlight">|file| - eCard file URL path</span></td></tr>
			<tr><td colspan="2" align="center"><?php
			admin_form_element( array ("type" => "button", "value" => "Cancel", "link" => $data["link"]) );
			echo "&nbsp;";
			admin_form_element( array ("type" => "button", "value" => "Create") );
			?></td></tr>
		</form>
		</table>
	</td></tr>	
</table>