{load(head)}
<body>
<div class="titleDiv" id="titleList">
<div style="float:left"><a href="index.php?a=home"><img src="{$vd['sc']}images/home.png" style="vertical-align:middle" border="0"/></a></div><div style="float:left;padding-top:8px;padding-left:3px;"><a href="index.php?a=home" title="回到后台首页"><font color="#000">桌面</font></a> <span style="font-size:7px;">>></span> <span style="font-size:12px;"><font color="#000">正在进货的商品</font></span> (共 <b><span id="tol1">{$vd['totlerow']}</span></b> 个)</div>
<div style="float:right"><a href="index.php?m=mod_home&a=Help&t=admin_b2b_psi_p" onFocus="this.blur()" title="查看进货系统相关帮助"><img src="{$vd['sc']}images/help.gif" style="vertical-align:middle" border="0"/></a></div>
</div>
<div class="mytitle" id="mytitle">
  <div class="titleOp2" onmouseover="this.className='iconbg2'" onmouseout="this.className='titleOp2'" onclick="tableRefresh()"><samp title="点击刷新本页刷新数据,并保持原来勾选状态">
    <div style="padding-top:10px;padding-left:9px;">刷新</div></samp>
  </div>  
  <div style="float:left;padding-top:10px;padding-left:10px;">
    <font color="#ff0000">如果您的商品有订单还未处理！删除是不成功的</font>
  </div>
  <div style="float:right;padding-top:4px;">
    <form action="index.php?m=mod_b2b&c=Sup&optype=pidsearch" method="post" style="margin:0px 0px 0px 0px;" onsubmit="return searchSubmit()">
    <input type="text" name="keywords" size="16" value="" style="vertical-align:middle;" class="custsearch" onMouseOver="iEvent('mouseover',this)" onFocus="iEvent('focus',this)" onBlur="iEvent('blur',this)" onMouseOut="iEvent('mouseout',this)" />
    <input type="submit" value="货源搜索 &gt;&gt;" style="vertical-align:middle;" class="button"/>
    </form>
  </div>
</div>

<table id="thead" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="200px"><b>商品名称</b></td>
    <td width="70px"><b>最低售价</b></td>
    <td width="60px"><b>进货价</b></td>
    <td width="90px"><b>供货商</b></td>
    <td width="70px"><b>进货审核</b></td>
    <td width="150px"><b>申请时间</b></td>
    <td width="35px">删除</td>
    <td width="35px"></td>
    <td class="endtd"><div class="infoicon" style="color:#ccc"><b><u>>></u></b></div></td>
  </tr>
</table>
<div id="content">
  <!--if($vd['totlerow'] == 0) {-->
  <table  width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td align="right" colspan="20">无任何记录</td>
  </tr>
  </table>
  <!--}-->
  <table id="tbody"  border="0" cellspacing="0" cellpadding="0">
  <!--foreach($vd['items'] as $item) {-->
  <tr onmouseover="setoverbg(this)" onmouseout="setoutbg(this)">
    <td width="200px" style="font-size:12px;">{$item['ubzpname']}</td>
    <td width="70px">{$item['ubzctrlprice']}</td>
    <td width="60px">{$item['ubzsupprice']}</td>
    <td width="90px">{$item['ubzcompany']}
      <a href="javascript:openScript('index.php?m=mod_b2b&c=sup&a=GetSupplier&ubzpid={$item['ubzpid']}&ubzuuid={$item['ubzcompany']}','',692,390);">
      <font color="#00875A">(联系)</font></a>
    </td>
    <td width="70px"><font color="<!--echo $item['ubzspok']=='审核通过' ? "#008800" : ($item['ubzspok']=='等待审核' ? "#0000ff" : "#ff0000"); -->">{$item['ubzspok']}</font></td>
    <td width="150px">{$item['ubzdate']}</td>
    <td width="35px">
    	<a href="index.php?m=mod_b2b&c=sup&a=del&ubzepid={$item['ubzepid']}&ubzpid={$item['localpid']}&nopid=1">
      删除
      </a>
    </td>
    <td width="35px">
    <a href="?m=mod_b2b&c=sup&a=sup&ubzpid={$item['localpid']}">
    <font color="#00875A">管理</font>
    </a>
    </td>
    <td class="endtd"></td>
  </tr>
  <!--}-->
</table>
<input type="hidden" value="{$vd['totlepage']}" id="totlePage"/>
<input type="hidden" value="{$vd['thispage']}" id="thisPage"/>
</div>
<input type="hidden" value="index.php?m=mod_b2b&c=Psi&a=P&{$vd['op']}" id="url"/>
<div style="position:absolute;bottom:0px">
  <div class="tbBottom"  id="tbBottom">
    <div style="float:left;padding-top:8px;">
      <strong> 总计 <font color="#ff0000"><span id="tol2">{$vd['totlerow']}</span></font> 条</strong>
    </div>
    <div style="float:right;text-align:right;">
    <form id="actionform" method="post" action="index.php?m=mod_b2b&c=Psi&a=P&{$vd['op']}" style="margin:0px;" onsubmit="loadDisp(1)">
    <div id="page"></div>
    <div style="float:left;margin-top:3px">
      <input type="hidden" name="nrows" size="2" value="{$vd['nrows']}" readonly class="pagetxt" onMouseOver="iEvent('mouseover',this)" onFocus="iEvent('focus',this)" onBlur="iEvent('blur',this)" onMouseOut="iEvent('mouseout',this)" /> 
      到第<input type="text" name="page" size="2" value="{$vd['thispage']}" class="pagetxt" onMouseOver="iEvent('mouseover',this)" onFocus="iEvent('focus',this)" onBlur="iEvent('blur',this)" onMouseOut="iEvent('mouseout',this)" />页<input type="submit" value=" 确 定 &gt;&gt;" class="pagesub" />
    </div>
    </form>
    </div>
  </div>
</div>
<div id="load" style="display:none;">
  <div id="loadcontent" >页面加载中请稍等...</div>
</div>
<script type="text/javascript">
  var resizeidx = 0;
</script>
<script src="{$vd['sc']}js/table.js" type="text/javascript"></script>
</body>
</html>