<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>商城订单</title>
<?php  include(DEDEMEMBER."/templets/head_inc.htm"); ?>
</head>
<body>
<?php  include(DEDEMEMBER."/templets/head.htm"); ?>
<div class="wrapper lineT">
  <div class="mainBox">
    <div class="main">
      <?php  include(DEDEMEMBER."/templets/menu.php"); ?>
      <div class="dedeMain">
        <div class="location">商城订单</div>
        <div class="titleTabBar bgGreen lineTB">
          <ul>
            <li><a href="operation.php">点卡/会员定单</a></li>
            <li><a href="mypay.php" id="buy">我购买的文章</a></li>
            <li class="select"><a href="shops_orders.php">商品定单</a></li>
            <li><a href="shops_products.php" id="buy">我购买的商品</a></li>
          </ul>
        </div>
        <div class="mL10 mR10 mTB10">
          <div class="titleBar bgGrass lineB mB10">
            <div class="fLeft"><strong>商品订单</strong></div>
            <div class="fRight titSecondary white" style="margin-top:5px;"></div>
          </div>
          <form name="form3" action="shops_products.php" method="get">
            <div class="fLeft" style="margin-top:3px"> 订单号：
              <input class="text" type='text' name='oid' size="40" value='' />
              <button class="button2" type="submit">搜索</button>
            </div>
          </form>
          <div class="clear"></div>
          <table cellspacing="1" class="list mT10">
            <thead>
              <tr>
                <th >订单号</th>
                <th width="10%">状态 </th>
                <th width="10%">数量 </th>
                <th width="10%"><span style="float:right;">总计(元)</span></th>
                <th width="15%">时间 </th>
              </tr>
            </thead>
            <tbody>
            
            {dede:datalist}
            <tr>
              <td><span class="titDot icon16 fLeft"></span><a href="shops_products.php?do=show&oid={dede:field.oid/}">{dede:field.oid/}</a></td>
              <td align="center"><?php echo GetSta($fields["state"],$fields["oid"])?></td>
              <td align="center">{dede:field.cartcount/}</td>
              <td align="right"><strong>{dede:field.priceCount/}</strong></td>
              <td align="center">{dede:field.stime function="Mydate('Y-m-d h:i:s',@me)"/}</td>
            </tr>
            {/dede:datalist}
            </tbody>
            
            <tfoot>
              <tr>
                <td colspan="6"><div class="pages mTB10 fRight">{dede:pagelist listitem="info,index,end,pre,next,pageno" listsize="5"/}</div>
                  <div class="clear"></div></td>
              </tr>
            </tfoot>
          </table>
        </div>
      </div>
      <div class="clear"></div>
    </div>
    <div class="clear"></div>
  </div>
</div>
<?php include(DEDEMEMBER."/templets/foot.htm");?>
</body>
</html>
