<div class="adminnavi">
  <a href="./index.php"><{$smarty.const._MI_USER_NAME}></a>
  &raquo;&raquo; <span class="adminnaviTitle"><a href="./index.php?action=UserDataUpload"><{$smarty.const._MI_USER_ADMENU_USER_DATA_CSVUPLOAD}></a></span>
</div>

<h3 class="admintitle"><{$smarty.const._MI_USER_ADMENU_USER_DATA_CSVUPLOAD}></h3>

<div class="confirm">
	<ul>
		<li><{$smarty.const._AD_USER_TIPS1_DATA_UPLOAD}></li>
		<li><{$smarty.const._AD_USER_TIPS2_DATA_UPLOAD}></li>
		<li><{$smarty.const._AD_USER_TIPS3_DATA_UPLOAD}></li>
    	<li><{$smarty.const._AD_USER_TIPS4_DATA_UPLOAD}></li>
    	<li><{$smarty.const._AD_USER_TIPS5_DATA_UPLOAD}></li>
	</ul>
</div>

<div style="text-align:center; line-height:2em;">
	<{$smarty.const._AD_USER_DATA_UPLOAD_CHECK_USER_CSVFILE}><br>
</div>


	<{if count($csv_data)>0}>
	<style>
	td.update{
		font-weight: bold;
		color: #ff0000;
	}
	td.new{
		font-weight: bold;
		color: #00ff00;
	}
	</style>
	<table class="outer">
		<tr class="head"><th>&nbsp;</th><{foreach from=$user_fields item=field}><th style="border-right:1px solid #7775bc;"><{$field}></th><{/foreach}></tr>
		<{foreach from=$csv_data item=d}>
		<tr class="<{cycle values=odd,even}>">
			<td class="<{if $d.update}>update<{elseif $d.is_new}>new<{/if}>"><{if $d.update}>Update!<{elseif $d.is_new}>New!<{/if}></td>
			<{foreach from=$d.value item=dd}><td<{if $dd.update}> class="update"<{/if}>><{$dd.var}></td><{/foreach}></tr>
		<{/foreach}>
	</table>
	<{/if}>
	<form action="./index.php?action=UserDataUploadDo" method="post">
		<input type="submit" name="do" value="<{$smarty.const._AD_USER_DATA_UPLOAD_DO}>" class="formButton">
		&nbsp;&nbsp;&nbsp;&nbsp;
		<input type="submit" name="back" value="<{$smarty.const._AD_USER_DATA_UPLOAD_BACK}>" class="formButton">
	</form>
