{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="type">
		<ul>
			<li><span class=type>按商品设定</span></li><li><a href="index.php?m=mod_b2b&c=Price&a=PrivatePriceAgent"><span class=type>按客户设定</span></a></li>
		</ul>
	</div>
	
	<div id="hearder"><span>按商品设定</span></div>
	<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
	<tr>
	<td class="tableleft">
		<form name="search" method="get" action="index.php">
		<table width="100%" border="0" cellpadding="0" cellspacing="0" class="table1">
		<tr>
		<td width="22%" class="tableleft1">关键字：</td>
		<td width="78%" align="left" class="tableright1">
			<input type="hidden" name="m" value="mod_b2b"/>
			<input type="hidden" name="c" value="product"/>
			<input type="hidden" name="a" value="PrivatePriceProduct"/>
			<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" id="stype" class="search_select">
    <option value="pname" selected>商品名称</option>
    </select>
		</td>
		</tr>
		<tr>
		<td class="tableleft1">&nbsp;</td>
		<td align="left" class="tableright1">
		<input type="submit" name="Submit" value="确认查询" class="button">
		<input type="reset" name="reset" value="重置查询" class="button"></td>
		</tr>
		</table>
	</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="10%" class="heardertop1">商品ID</td>
		<td width="50%" class="heardertop1">商品名称</td>
		<td width="10%" class="heardertop1">商品类型</td>
		<td width="10%" class="heardertop1">面值</td>
		<td width="10%" class="heardertop1">我的进价</td>
		<td width="10%" class="heardertop1">密价设定</td>
		</tr>
		
    <!--foreach($vd['items'] as $item) {-->
		<tr class="stline" onmouseover="this.className='nd'" onmouseout="this.className='stline'">
		<td>{$item['pid']}</td>
		<td align=left>{$item['pname']}</td>
		<td>{#ProductType($item['ptype'])}</td>
		<td>{$item['listprice']}</td>
		
		<td>{$item['cprice']}</td>
		<td><a href="index.php?m=mod_b2b&c=Price&a=PrivatePriceAgentSet&pid={$item['pid']}"><u>密价设定</u></a></td>
		</tr>
		<!--}-->
		</table>
	</td>
	</tr>
	</table>
	<div id="page">{load(fpage)}</div>
</body>
</html>