<!--<?php
include_once PrintEot('left');
print <<<EOT
-->
<table width="98%" align=center cellspacing=1 cellpadding=3 class=i_table>
<tr><td class=head colspan=7>{#guide}</td></tr>
<tr><td class=b>{#currencyset_info}</td></tr>
</table><br>
<!--
EOT;
if (!$action){print <<<EOT
-->
<form action="$basename" method="post">
<input type="hidden" name="action" value="virement">
<table width="98%" align=center cellspacing=1 cellpadding=3 class=i_table>
	<tr><td class=head colspan=2>{#virementset}</td></tr>
	<tr>
		<td class=b width="20%">{#virement_ifopen}</td>
		<td class=b>
			<input type="radio" name="config[cy_virement]" value="1" $virement_Y>{#_yes}
			<input type="radio" name="config[cy_virement]" value="0" $virement_N>{#_no}
		</td>
	</tr>
	<tr>
		<td class=b width="20%">{#virement_rate}</td>
		<td class=b><input type="text" name="config[cy_virerate]" value="$cy_virerate" size=20></td>
	</tr>
	<tr>
		<td class=b width="20%">{#virement_limit}</td>
		<td class=b><input type="text" name="config[cy_virelimit]" value="$cy_virelimit" size=20></td>
	</tr>
</table>
<br><center><input type=submit value='{#submit}'></center></form>

<form action="$basename" method="post">
<input type="hidden" name="action" value="currrate">
<table width="98%" align=center cellspacing=1 cellpadding=3 class=i_table>
<tr><td class=head colspan=2>{#currencyset_title}</td></tr>
<tr><td class=b colspan=2>{#currency_rate1}</td></tr>
<tr><td class=b width="20%">{#rvrc}</td>
<td class=b><input type="text" name="currrate1[rvrc]" value="$currrate1[rvrc]"></td></tr>
<tr><td class=b>{#money}</td>
<td class=b><input type="text" name="currrate1[money]" value="$currrate1[money]"></td></tr>
<tr><td class=b>{#credit}</td>
<td class=b><input type="text" name="currrate1[credit]" value="$currrate1[credit]"></td></tr>
<!--
EOT;
foreach($_CREDITDB as $key => $value){print <<<EOT
-->
<tr><td class=b>$value[0]</td>
<td class=b><input type="text" name="currrate1[$key]" value="{$currrate1[$key]}"></td></tr>
<!--
EOT;
}print <<<EOT
-->
<tr><td class=b colspan=2>{#currency_rate2}</td></tr>
<tr><td class=b>{#rvrc}</td>
<td class=b><input type="text" name="currrate2[rvrc]" value="$currrate2[rvrc]"></td></tr>
<tr><td class=b>{#money}</td>
<td class=b><input type="text" name="currrate2[money]" value="$currrate2[money]"></td></tr>
<tr><td class=b>{#credit}</td>
<td class=b><input type="text" name="currrate2[credit]" value="$currrate2[credit]"></td></tr>
<!--
EOT;
foreach($_CREDITDB as $key => $value){print <<<EOT
-->
<tr><td class=b>$value[0]</td>
<td class=b><input type="text" name="currrate2[$key]" value="{$currrate2[$key]}"></td></tr>
<!--
EOT;
}print <<<EOT
-->

</table>
<br><center><input type=submit value='{#submit}'></center></form>
<!--
EOT;
}include_once PrintEot('adminbottom');
?>
-->