<? if (!defined('ROOT')) exit('Can\'t Access !'); ?>

<!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>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title><?=$this->title?></title>
<meta name="keywords" content="<?=$this->keywords?>" />
<meta name="description" content="<?=$this->description?>" />
<link rel="stylesheet" href="<?=$this->tempdir?>images/header.css" type="text/css" />
<link rel="stylesheet" href="<?=$this->tempdir?>images/member.css" type="text/css" />
<script type="text/javascript" src="<?=$this->tempdir?>images/member.js" ></script>
<script type="text/javascript" src="<?=$this->appdir?>jquery.js" ></script>
<script type="text/javascript" src="<?=$this->appdir?>public.js" ></script>
</head>
<body>
<? include template('member_header','wjgw/member'); ?>
<div id="container" class="win1000">
  <div class="wraper-border"></div>
  <div id="wraper" class="clearfix"> 
<? include template('member_left','wjgw/member'); ?>
    <div id="right-con-user" class="right">
      <div class="minheightout" style="background-color:#fff; width:799px;">
        <div class="detail">
          <div class="detail_tit">
            <div class="myjf"> <strong><?=$this->member['username']?></strong>，目前您的现金：<b class="red"><?=$this->member['money']?></b></span>元 </div>
            <div class="c"></div>
          </div>
          <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tbmyinfo">
            <tr>
              <th>订单号</th>
              <th style="width:250px">产品列表</th>
              <th style="width:120px">详情</th>
              <th style="width:50px">状态</th>
              <th style="width:120px">日期</th>
            </tr>
            <? if(is_array($this->order)) { foreach($this->order as $v) { ?>            <tr>
              <td><p><?=$v['orderid']?></p></td>
              <td style="font-size:12px;">
              <? $i=0; ?>              <? if(is_array($v['shopname'])) { foreach($v['shopname'] as $s) { ?>              <? $i++; ?>              <?=$i?> 、<?=$s?><br />
              <? } } ?>              </td>
              <td style="font-size:12px;"><?=$v['message']?></td>
              <td style="font-size:12px;"><?=$v['checked'] ? '已发货' : '未发货'; ?></td>
              <td><? echo formattime($v['addtime']) ?></td>
            </tr>
            <? } } ?>          </table>
        </div>
        <div class="c"></div>
        <div class="detail_page"><?=$this->showpage?></div>
        <div class="noteread">
          <p> <b>重要提醒：</b></p>
          <p style="color:#F00; text-indent:2em;"> 如果您状态为已发货后几天内您没有收到货物，请尽快与我们联系！</p>
        </div>
      </div>
    </div>
  </div>
  <div class="wraper-border"></div>
</div>
<? include template('member_footer','wjgw/member'); ?>
<script language="javascript">
$("document").ready(function(){$("#<?=$this->action?>").addClass('open');});
</script>
</body></html>