{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="tabs5">
		<ul class="menu5" id="menu5">
		<li onclick="location.href='index.php?m=mod_agent&c=MiBaoKa&a=Apply';"><span class="mm">密保卡免费申请</span></li>
		<li onclick="location.href='index.php?m=mod_agent&c=MiBaoKa&a=MiBaoKa';" class=hover><span class="mm">密保卡相关设置</span></li>
		</ul>
	</div>
	<div class="main5" id="main5">
	<!--$temp=explode(',', $vd['item']['mibaokaconfig']);-->
	<form name="bindmbk" action="index.php?m=mod_agent&c=MiBaoKa&a=MiBaoKaSave" method="post">
	<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="table1">
		<tr>
		<td width="22%" height="30" class="tableleft1">用户编号：</td>
		<td width="78%" class="tableright1"><input type='text' size='30' maxlength='10' name='tmp1' class='input1' value="{$vd['agent'][7]}" disabled></td>
		</tr>
		<!--if($vd['agent'][9] > 0){-->
		<tr>
		<td width="22%" height="30" class="tableleft1">绑定员工：</td>
		<td width="78%" class="tableright1"><input type='text' size='30' maxlength='10' name='tmp2' class='input1' value="{$vd['agent'][7]}" disabled></td>
		</tr>
		<!--}else{-->
		<tr>
		<td class="tableleft1">绑定总帐号：</td>
		<td class="tableright1"><input type='text' size='30' maxlength='30' name='tmp3' class='input1' value="{$vd['agent'][0]}" disabled></td>
		</tr>
		<!--}-->
		<tr>
		<td class="tableleft1">购卡/转款时验证：</td>
		<td class="tableright1"><input type="radio" name="mibaokaconfig1" value="1" id="yesuse" onclick="javascript:mbkchecktype.style.display='block';"<!--if($temp[0]==1){--> checked<!--}-->><label for="yesuse"><strong><font color=#0000ff>验证</font><strong></label> <input type="radio" name="mibaokaconfig1" value="0" id="nouse" onclick="javascript:mbkchecktype.style.display='none';"<!--if($temp[0]==0){--> checked<!--}-->><label for="nouse"><strong><font color=#ff0000>不验证</font><strong></label></td>
		</tr>
		<tr id="mbkchecktype"<!--if($temp[0]==0){--> style="display:none;"<!--}-->>
		<td class="tableleft1">使用方式：</td>
		<td class="tableright1">
		<input type="radio" name="mibaokaconfig2" value="1" id="check1"<!--if($temp[1]==1 || $temp[1]==0){--> checked<!--}-->/><label for="check1">一直使用，每次购卡/转款都出现；</label><br>
		<input type="radio" name="mibaokaconfig2" value="2" id="check2"<!--if($temp[1]==2){--> checked<!--}-->/><label for="check2">随机使用，出现概率为：<select name="mibaokaconfig3">
		<option value="30"<!--if($temp[2]==30 && $temp[1]==2){--> selected<!--}-->>30%</option>
		<option value="40"<!--if($temp[2]==40 && $temp[1]==2){--> selected<!--}-->>40%</option>
		<option value="50"<!--if($temp[2]==50 && $temp[1]==2){--> selected<!--}-->>50%</option>
		<option value="60"<!--if($temp[2]==60 && $temp[1]==2){--> selected<!--}-->>60%</option>
		<option value="70"<!--if($temp[2]==70 && $temp[1]==2){--> selected<!--}-->>70%</option>
		<option value="80"<!--if($temp[2]==80 || $temp[2]==0 || $temp[1] != 2){--> selected<!--}-->>80%</option>
		<option value="90"<!--if($temp[2]==90 && $temp[1]==2){--> selected<!--}-->>90%</option>
		</select>；</label><br>
		<input type="radio" name="mibaokaconfig2" value="3" id="check3"<!--if($temp[1]==3){--> checked<!--}-->/><label for="check3">根据订单金额使用，订单金额大于<select name="mibaokaconfig31">
		<option value="5"<!--if($temp[2]==5 && $temp[1]==3){--> selected<!--}-->>5{$vd['lang']['moneyunit']}</option>
		<option value="10"<!--if($temp[2]==10 && $temp[1]==3){--> selected<!--}-->>10{$vd['lang']['moneyunit']}</option>
		<option value="15"<!--if($temp[2]==15 && $temp[1]==3){--> selected<!--}-->>15{$vd['lang']['moneyunit']}</option>
		<option value="20"<!--if($temp[2]==20 && $temp[1]==3){--> selected<!--}-->>20{$vd['lang']['moneyunit']}</option>
		<option value="30"<!--if($temp[2]==30 || $temp[2]==0 || $temp[1] != 3){--> selected<!--}-->>30{$vd['lang']['moneyunit']}</option>
		<option value="40"<!--if($temp[2]==40 && $temp[1]==3){--> selected<!--}-->>40{$vd['lang']['moneyunit']}</option>
		<option value="50"<!--if($temp[2]==50 && $temp[1]==3){--> selected<!--}-->>50{$vd['lang']['moneyunit']}</option>
		<option value="60"<!--if($temp[2]==60 && $temp[1]==3){--> selected<!--}-->>60{$vd['lang']['moneyunit']}</option>
		<option value="70"<!--if($temp[2]==70 && $temp[1]==3){--> selected<!--}-->>70{$vd['lang']['moneyunit']}</option>
		<option value="80"<!--if($temp[2]==80 && $temp[1]==3){--> selected<!--}-->>80{$vd['lang']['moneyunit']}</option>
		<option value="90"<!--if($temp[2]==90 && $temp[1]==3){--> selected<!--}-->>90{$vd['lang']['moneyunit']}</option>
		<option value="100"<!--if($temp[2]==100 && $temp[1]==3){--> selected<!--}-->>100{$vd['lang']['moneyunit']}</option>
		</select>时出现；</label></td>
		</tr>
		
		<tr>
		<td class="tableleft1">帐户交易密码：</td>
		<td class="tableright1"><input type="password" name="tradepwd" size="25" class='input'/></td>
		</tr>
		
		<tr>
		<td height="30" class="tableleft1">&nbsp;</td>
		<td colspan="3" class="tableright1"><input type="hidden" name="Login_my" value="59348006"><input type="submit" name="submit" value="确认设置" class="button" > <input type="reset" name="reset" value="重新填写" class="button"></td>
		</tr>
		</table>

		</table>
	</td>
	</tr>
	</table>
	</form>
	</div>
</body>
</html>
