<!-- {include file="header.html"} -->
<div id="currentPosition">
	<p>{lang your_current_position} {lang ads} &raquo; {lang order_center}</p>
</div>
<div id="rightTop"> 
    <h3>{lang order_center}</h3> 
</div> 
<div class="tdare">
  <form name="list_frm" id="ListFrm" action="order.php" method="post">
  <table width="100%" cellspacing="0" class="dataTable" summary="{lang data_zone}">
    <thead>
		<tr>
		  <th class="firstCell"><input type="checkbox" name="idAll" id="idAll" onClick="pbCheckAll(this,'id[]');" title="{lang select_switch}"></th>
		  <th><label for="idAll">{lang trade_number}</label></th>
		  <th>{lang member_name}</th>
		  <th>{lang total}</th>
		  <th>{lang order_date}</th>
		  <th>{lang status}</th>
		  <th>{lang action}</th>
		</tr>
    </thead>
    <tfoot>
		<tr>
		  <th colspan="7"><div class="pageLinks">{$ByPages}</div></th>
		</tr>
    <tfoot>
    <tbody>
		<!--{foreach from=$Items item=item}-->
		<tr class="tatr2">
		  <td class="firstCell"><input type="checkbox" name="id[]" value="{$item.id}" onClick="pbCheckItem(this,'idAll');" id="item_{$item.id}" title="{$item.id}"></td>
		  <td><a href="order.php?id={$item.id}&do=view">{$item.trade_no}</a>{if $item.created>$today_timestamp}<span class="icon-new"></span>{/if}</td>
		  <td>{$item.username}{if $item.true_name}({$item.true_name}){/if}</td>
		  <td>{$item.total_price}</td>
		  <td>{$item.created|date_format:"%Y-%m-%d %H:%M"}</td>
		  <td>{$Status[$item.status]}</td>
		  <td class="handler">
          <ul id="handler_icon">
            <li><a class="btn_delete"  href="order.php?id={$item.id}&do=del" title="{lang delete}">{lang delete}</a></li>
            <li><a class="btn_browse" href="order.php?id={$item.id}&do=view" title="{lang cp_view}">{lang cp_view}</a></li>
          </ul>  
		 </td>
		</tr>
		<!--{foreachelse}-->
		<tr class="no_data info">
		  <td colspan="7">{lang no_datas}</td>
		</tr>
		<!--{/foreach}-->
    </tbody>
	</table>
	<div id="dataFuncs" title="{lang action_zone}">
    <div class="left paddingT15" id="batchAction">
      <input type="submit" name="del" value="{lang delete}" class="formbtn batchButton"/>
      <select name="status" id="Status" onchange="$('#ListFrm').submit();">
      	<option>{lang set_status}</option>
        <option value="0">{lang invalid}</option>
        <option value="1">{lang effective}</option>
      </select>
    </div>
    <div class="clear"/>
    </div>
  </form>
</div>
<!-- {include file="footer.html"} -->