{load(fhead)}
<body class="mainbg">
	<div id="mainhearder"><span>您的位置：<a href="{$vd['root']}index.php?m=mod_b2b&a=Home">直销商管理系统</a> >> 服务与支持 >> 汇款通知书</span></div>
	<div id="hearder"><span>发送汇款通知书</span></div>
	<div id="buycard">
	<div id="buycardmain">
	<form name="remitnote" method="post" action="index.php?m=mod_agent&c=Remit&a=RemittanceSave" onSubmit="return Validator.Validate(this,3)">
	<!--$msgto = intval(request('msgto'));-->
	<div id="search"><strong>汇款对像选择：</strong>
	<select name="msgto" onchange="javascript:location.href='index.php?m=mod_agent&c=Remit&a=Add&msgto=' + this.options[this.selectedIndex].value" style="vertical-align:middle">
	<option value="{$vd['masterid']}" <!--if($msgto==0 || $msgto == $vd['masterid']){--> selected <!--}-->>平台管理员</option>
	<!--if($vd['parentid'] > 0 && $vd['parentid'] != $vd['masterid']){-->
	<option value="{$vd['parentid']}" <!--if($msgto == $vd['parentid']){--> selected <!--}-->>上家({#DisplayCode($vd['parentid'])})</option>
	<!--}-->
	</select>
	</div>
	<script type="text/javascript">
		function setbank(tobank,toaccount,toaccountname)
		{
			$("bank").value = tobank;
			$("account").value = toaccount;
			$("accountname").value = toaccountname;
		}
	</script>
	
	<input type="hidden" name="bank" id="bank" value=""/>
	<input type="hidden" name="account" id="account" value=""/>
	<input type="hidden" name="accountname" id="accountname" value=""/>
	<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
	<tr>
	<td class="tableleft">
	<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="table">
	<tr>
	<td width="20%" class="tableleft1"> 银行帐号：</td>
	<td width="80%" style="padding:5px">
		<table width="100%" border="0" cellpadding="0" cellspacing="0">
		<tr>
		<td width="10%" class="heardertop1">选择</td>
		<td width="20%" class="heardertop1">银行类型</td>
		<td width="15%" class="heardertop1">账户名</td>
		<td width="35%" class="heardertop1">银行账号</td>
		<td width="20%" class="heardertop1">开户地</td>
		</tr>
		<!--foreach($vd['banks'] as $item) {-->
		<!--if($item['AccountBranch'] != '' && $item['AccountNO'] != ''){-->
		<tr class="stline" onmouseover="this.className='nd'" onmouseout="this.className='stline'">
		<td align=center>
		<input type="radio" name="AccountId" value="5" id="account5" <!--if($item['id'] == $vd['id']){-->checked<!--}--> onclick="setbank('{$item['AccountBranch']}','{$item['AccountNO']}','{$item['AccountName']}')"></td>
		<!--if($item['id'] == $vd['id']){-->
		<script type="text/javascript">
			setbank('{$item['AccountBranch']}','{$item['AccountNO']}','{$item['AccountName']}');
		</script>
		<!--}-->
		<td><label for="account5">{$item['AccountBranch']}</label></td>
		<td><label for="account5">{$item['AccountName']}</label></td>
		<td><label for="account5">{$item['AccountNO']}</label></td>
		<td><label for="account5">{$item['Address']}</label></td>
		</tr>
		<!--}}-->
		</table>
	</td>
	</tr>
	<tr>
	<td width="20%" class="tableleft1"> 汇款金额：</td>
	<td width="80%" class="tableright1">{$vd['lang']['moneysymbol']}<input type="text" name="dollars1" size='10' maxlength='10' class='bginput' datatype="Integer" msg="汇款金额的{$vd['lang']['moneyunit']}及以上部分输入错误">.<input type="text" name="dollars2" size='2' maxlength='2' class='bginput' value="00" datatype="Integer" msg="汇款金额的角或分部分输入错误"></td>
	</tr>
	<tr>
	<td width="20%" class="tableleft1"> 汇出时间：</td>
	<td width="80%" class="tableright1">
	  <select name="year">
    	{#Option($vd['y'], date('Y'))}
    </select>年
    <select name="month">
    	{#Option($vd['m'], date('m'))}
    </select>月
    <select name="day">
    	{#Option($vd['d'], date('d'))}
    </select>日
    <select name="hour">
    	{#Option($vd['h'], date('h'))}
    </select>时
	</td>
	</tr>
	<tr>
	<td width="20%" class="tableleft1">汇款备注：</td>
	<td width="80%" class="tableright1"><textarea name="others" cols="75" rows="5" class='input' require="false" datatype="LimitB" max="1000" msg="汇款备注太长"></textarea></td>
	</tr>
	<tr>
	<td width="20%" class="tableleft1">注意事项：</td>
	<td width="80%" class="tableright1"><font color="#ff0000">1、如果是网上转帐的，务必将相应的转账记录粘贴提交，以便我们尽快核实处理；<br>1、请在完成汇款后填写，如未汇款发送通知书的，影响平台财务人员的工作，我们将冻结您的账号使用权限；<br>3、请尽量以您的商户编号的末尾两位做为汇款零头，以方便我们区分汇款对像，提高加款及时性。</font> </td>
	</tr>
	<tr>
	<td width="20%" class="tableleft1">&nbsp;</td>
	<td width="80%" align="left" class="tableright1">
	
	<input name="submit" type="submit" class="button" value="确认发送">
	<input name="reset" type="reset" class="button" value="重新填写">
	</td>
	</tr>
	</table>
	</td>
	</tr>
	</table>
	</form>
	</div>
	</div>
</body>
</html>
