<!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 http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>历史订单管理</title>
<link href="company_style.css" rel="stylesheet" type="text/css">	
</head>
<body leftmargin="0" topmargin="0">
<div align="center">
<?php  include(dirname(__FILE__)."/head.htm"); ?>
<table width="820" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td width="160" height="216" valign="top"> 
      <?php include(dirname(__FILE__)."/menu.php");?>
    </td>
    <td width="10">&nbsp;</td>
    <td  valign="top">
	<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-bottom:5px;">
        <tr> 
          <div class="manage_company_right_title" style="margin-top:10px;">
                	<ul><li>历史订单管理：</li></ul>
                </div>
        </tr>
    </table>
	<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr> 
          <td height="183" valign="top"> <table width="100%" border="0" cellpadding="2" cellspacing="1" bgcolor="#D9EDC0">
              <tr bgcolor="E9FBC9" align="center" height='24'> 
                  <td width="25%" bgcolor="#F0F8D6">订单号</td>
                <td width="20%" bgcolor="#F0F8D6">产品</td>
                <td width="15%" bgcolor="#F0F8D6">时间</td>
                <td width="10%" bgcolor="#F0F8D6">状态</td>
                  <td width="30%" bgcolor="#F0F8D6">系统信息</td>
              </tr>
              <?php 
$mylist = $dlist->GetDataList();
while($row = $mylist->GetArray('dm'))
{
?>
              <tr bgcolor="#FFFFFF" align="center" height='24'> 
                <td> 
                  <?php echo $row['buyid']?>
                </td>
                <td>
                  <?php echo $row['pname']?>
                </td>
                <td> 
                  <?php echo GetDateMk($row['mtime'])?>
                </td>
                <td> 
                  <?php echo GetSta($row['sta'])?>
                </td>
                <td> 
                  <?php echo $row['oldinfo']?>
                </td>
              </tr>
              <?php 
}
?>
              <tr bgcolor="E9FBC9" height='24'> 
                <td colspan="5" align="center" bgcolor="#F9FCEF"> 
                  <?php echo $dlist->GetPageList(7);?>                </td>
              </tr>
            </table></td>
        </tr>
        <tr> 
          <td height="24" valign="top">&nbsp;</td>
        </tr>
      </table></td>
  </tr>
</table>
<?php 
if(isset($dsql) && is_object($dsql)) $dsql->Close();
include(dirname(__FILE__)."/foot.htm");
?>
</div>
</body>
</html>
