{template_user 'head.html'}
<div class="blank10"></div>


<!-- 页面标题开始 -->
<div class="t_1 wow bounceIn">
<div>
<h3>{lang('vieworders')}</h3>
<p>View Orders</p>
</div>
</div>

<div class="p10">

<script type="text/javascript" src="{$base_url}/common/js/list.js"></script>
<script language="javascript" src="{$base_url}/common/js/common.js"></script>


<form name="listform" id="listform"  action="<?php echo uri();?>" method="post">


<table class="table table-striped table-hover">
        <thead>
            <tr>
                <th align="center">{lang('productname')}</th>
               
                <th align="center">{lang('orderstatus')}</th>               
                 <th align="center" style="background-image:none;">{lang('look')}</th>
            </tr>

        </thead>
        <tbody>
            {loop $data $d}
<?php
if($d['status']==1){
	$d['status']='<font color="green">{lang('complete')}</font>';
}elseif($d['status']==0){
	$d['status']='<font color="red">{lang('ordersnotalreadydo')}</font>';
}elseif($d['status']==2){
	$d['status']='<font color="blue">{lang('processing')}</font>';
} 
?>
            <tr class="s_out">
<!-- {cut($d['oid'])} -->
                <td align="center">{getArchiveTitle($d['aid'])}</td>
                <td align="center">{$d['status']}</td>
                <td align="center" >
<a href='<?php echo url("archive/orders/oid/".$d['oid'],false);?>' target="_blank" class="view"></a>             
                </td>
            </tr>
            {/loop}


        </tbody>
    </table>


    <div class="blank10"></div>
   

</form>
<div class="blank30"></div>
<div class="blank30"></div>
<div class="pages">
<?php if(get('table')!='type' && front::get('case')!='field') echo pagination::html($record_count); ?>
</div>
<div class="blank10"></div>
<div class="blank10"></div>
{template_user 'foot.html'}