{load(fhead)}
<body class="mainbg">
	<div id="mainhearder"><span>您的位置：<a href="{$vd['root']}index.php?m=mod_b2b&c=Dealer&a=home">经销商管理系统</a> >> 下属客户管理 >> 下属客户档案管理</span></div>
	
	<div id="hearder"><span>下属客户购卡权限</span></div>
	<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
	<tr>
	<td class="tableleft">
		<form name="query" method="get" action="index.php">
		<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="table1">
		<tr>
		<td width="22%" class="tableleft1">关键字：</td>
		<td width="78%" align="left" class="tableright1"><input type="text" size="30" name="keywords" class='input' value=""></td>
		</tr>
		<tr>
		<td class="tableleft1">查询类型：</td>
		<td align="left" class="tableright1">
		<select name="stype">
		<option value="aid" >客户编号</option>
		<option value="aname" >用户名</option>
		<option value="company" >商户名称</option>
		<option value="arealname" >联系人</option>
		</select></td>
		</tr>
		<tr>
		<td height="26" class="tableleft1">&nbsp;</td>
		<td align="left" class="tableright1">
			<input type="hidden" name="m" value="mod_agent">
			<input type="hidden" name="c" value="Underling">
			<input type="hidden" name="a" value="Consump">
			<input type="submit" name="Submit" value="确认查询" class="button">
		<input type="reset" name="reset" value="重置查询" class="button"></td>
		</tr>
		</table>
		</form>
	</td>
	</tr>
	</table>
	<br>
	<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
	<tr>
	<td class="tableleft">
		<table width="100%" border="0" cellpadding="0" cellspacing="0" class="table">
			
		<tr>
		<td width="8%" class="heardertop1">编号</td>
		<td width="10%" class="heardertop1">用户名</td>
		<td width="24%" class="heardertop1">商户名称</td>
		<td width="10%" class="heardertop1">用户级别</td>
		<td width="10%" class="heardertop1">联系人</td>
		<td width="6%" class="heardertop1">状态</td>
		<td width="10%" class="heardertop1">余额</td>
		<td width="10%" class="heardertop1">消费</td>
		<td width="6%" class="heardertop1">记录</td>
		<td width="6%" class="heardertop1">分析</td>
		</tr>
		
		<!--foreach($vd['items'] as $item) {-->
		<tr class="stline" onmouseover="this.className='nd'" onmouseout="this.className='stline'">
		<td>{$item['aid']}</td>
		<td>{$item['aname']}</td>
		<td align=left>{$item['company']}</td>
		<td>{$item['rank']}</td>
		<td>{$item['arealname']}</td>
		<td><!--if($item['frozen'] == 1){--> <font color="#ff0000">冻结</font> <!--}else{--> <font color="#008800">启动</font> <!--}--></td>
		<td>{$item['aremain']}</td>
		<td>{$item['acsmp']}</td>
		<td><a href="index.php?m=mod_agent&c=Order&a=Underling&aid={$item['aid']}"><u>记录</u></a></td>
		<td><font color="#cccccc">-</font></td>
		</tr>
		<!--}-->
		</table>
	</td>
	</tr>
	</table>
	<div id="page">
		{load(fpage)}
	</div>
	
</body>
</html>
