<!--
<?php
print <<<EOT
-->

<table width="100%" border="0" cellspacing="1" cellpadding="3" class="tablewidth">
  <form name="form_work" method="post" action="?lfj=$lfj&job=work">
    <tr align="center" class="head"> 
      <td width="16%">訂單號</td>
      <td width="11%">顧客稱呼</td>
      <td width="13%">帳號</td>
      <td width="16%">聯系手機</td>
      <td width="14%">訂單日期</td>
      <td width="9%">支付情況</td>
      <td width="9%">發貨與否</td>
      <td width="5%">詳情</td>
      <td width="7%">刪除</td>
    </tr>
    <!--
EOT;
foreach($listdb AS $key=>$rs){
print <<<EOT
-->
    <tr bgcolor="#FFFFFF"> 
      <td  align="center" width="16%">{$rs[Id]}</td>
      <td width="11%" align="center" >$rs[truename]</td>
      <td width="13%" align="center" >$rs[username]</td>
      <td align="center" width="16%"  >$rs[mobphone] </td>
      <td  align="center" width="14%">$rs[posttime]</td>
      <td  align="center" width="9%">$rs[ifpay]</td>
      <td align="center" width="9%">$rs[ifsend]</td>
      <td align="center" width="5%"><a href="?lfj=$lfj&job=view&orderid=$rs[id]"><img alt='瀏覽' src='../member/images/icon_view.gif' border=0></a></td>
      <td align="center" width="7%"> <a href="?lfj=$lfj&action=del&id=$rs[id]" onclick="return confirm('你確認要刪除嗎?');"><img alt='點擊刪除' src='../member/images/del_icon2.gif' border=0></a></td>
    </tr>
    <!--
EOT;
}print <<<EOT
-->
    <tr bgcolor="#FFFFFF" align="center"> 
      <td colspan="9"> {$showpage}</td>
    </tr>
  </form>
</table>
<SCRIPT LANGUAGE="JavaScript">
<!--
function postdo(va){
	document.form_work.jobs.value=va
	document.form_work.submit();
}
function CheckAll(va){
	form=document.form_work
	for (var i=0;i<form.elements.length;i++){
		var e = form.elements[i];
		if(va=='all'){
			e.checked = true;
		}else{
			e.checked == true ? e.checked = false : e.checked = true;
		}
	}
}
//-->
</SCRIPT><br>
<table width="100%" border="0" cellspacing="1" cellpadding="3" class="tablewidth">
  <form name="form1" method="post" action="?lfj=$lfj&job=$job">
    <tr class="head"> 
      <td><font color="#FFFFFF">訂單搜索</font></td>
    </tr>
    <tr> 
      <td align="center"> 關鍵字 
        <input type="text" name="keyword">
        <select name="type">
          <option value="id">訂單號</option>
          <option value="buyer">顧客稱呼</option>
        </select>
        <input type="submit" name="Submit7" value="提交">
      </td>
    </tr>
  </form>
</table>
<!--
EOT;
?>
-->