<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<title>{#$txt_title#} - Powered by HuCart.COM</title>
<link href="./css/bootstrap.min.css" rel="stylesheet">
<link href="./css/info.css" rel="stylesheet">
<script language="javascript" src="{#$base_weburl#}/js/pinyin.js"></script>
<script language="javascript" src="{#$base_weburl#}/js/admin_common.js"></script>
<!--[if lt IE 9]>
  <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
  <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<script language="javascript">
	var webroot_url = '{#$base_weburl#}';
	function submitFun()
	{
			var idweb_name 			= document.getElementById('web_name');
			var idweb_title 		= document.getElementById('web_title');
			var idweb_description 	= document.getElementById('web_description');
			var idweb_keyword 		= document.getElementById('web_keyword');
	
			if(idweb_name.value=='')
			{
				alert('{#$lang.web_name_err#}');
				idweb_name.focus();
				return false;
			}else if(idweb_title.value=='')
			{
				alert('{#$lang.web_title_err#}');
				idweb_title.focus();
				return false;
			}else if(idweb_description.value=='')
			{
				alert('{#$lang.web_description_err#}');
				idweb_description.focus();
				return false;
			}else if(idweb_keyword.value=='')
			{
				alert('{#$lang.web_keyword_err#}');
				idweb_keyword.focus();
				return false;
			}
			
			document.formSub.target="_self"
			document.formSub.submit();
	}
	


</script>
</head>
<body>
    <div class="info-tit"><span class="glyphicon glyphicon-paperclip"> </span> <a href="index.php?load={#$master_act#}&act=info_list" >{#$lang.title#}</a> > {#$txt_title#} ({#$lang.need_edit#}&nbsp;&nbsp; {#$lang.need_add#} {#$lang.need_del#})</div>
    <!-- custom con start -->
    <div class="info-add"> <form class="form-horizontal" name="add-form" id="add-form" method="post" action="{#$act_url#}">
    <div style="margin:0 auto;">
        <table class="table table-bordered table-hover" >
        <thead>
        <tr>
        <th colspan="4" class="text-center">{#$txt_title#}</th>
        </tr>
        </thead>

    <tr>
    <td style="text-align:right;font-weight:bold;">{#$lang.field_list.ord_sn#}</td>
    <td>{#$info.ord_sn#}</td>
    <td style="text-align:right;font-weight:bold;">{#$lang.field_list.use_name#}</td>
    <td>{#$info.use_name#}</td>
    </tr>
 
    <tr>
    <td style="text-align:right;font-weight:bold;">{#$lang.field_list.ord_consignee#}</td>
    <td>{#$info.ord_consignee#}</td>
    <td style="text-align:right;font-weight:bold;">{#$lang.field_list.ord_address#}</td>
    <td>{#$info.ord_pcdall#}{#$info.ord_address#}</td>
    </tr>


    <tr>
    <td style="text-align:right;font-weight:bold;">{#$lang.field_list.ord_mobile#}</td>
    <td>{#$info.ord_mobile#}</td>
    <td style="text-align:right;font-weight:bold;">{#$lang.field_list.ord_phone#}</td>
    <td>{#$info.ord_phone#}</td>
    </tr>
    
    <tr>
    <td style="text-align:right;font-weight:bold;">{#$lang.field_list.ord_freight#}</td>
    <td>{#$info.ord_freight#}</td>
    <td style="text-align:right;font-weight:bold;">{#$lang.field_list.ord_total_price#}</td>
    <td>{#$info.ord_total_price#}</td>
    </tr>


    <tr>
    <td style="text-align:right;font-weight:bold;">{#$lang.field_list.ord_discount#}</td>
    <td>{#$info.ord_discount#}</td>
    <td style="text-align:right;font-weight:bold;">{#$lang.field_list.ord_need_pay#}</td>
    <td>{#$info.ord_need_pay#}</td>
    </tr>
    <tr>
    <td style="text-align:right;font-weight:bold;">{#$lang.field_list.ord_pay_time#}</td>
    <td>{#$info.ord_pay_time|date_format:'%Y-%m-%d %H:%M:%S'#}</td>
    <td style="text-align:right;font-weight:bold;">{#$lang.field_list.ord_pay_status#}</td>
    <td>{#$lang.ord_pay_status_arr[$info.ord_pay_status]#}</td>
    </tr>

    <tr>
    <td style="text-align:right;font-weight:bold;">{#$lang.field_list.ord_delivery_status#}</td>
    <td>{#$lang.ord_delivery_status_arr[$info.ord_delivery_status]#}</td>
    <td style="text-align:right;font-weight:bold;">{#$lang.field_list.ord_add_time#}</td>
    <td>{#$info.ord_add_time|date_format:'%Y-%m-%d %H:%M:%S'#}</td>
    </tr>
    
     <tr>
    <td style="text-align:right;font-weight:bold;">{#$lang.field_list.ord_status#}</td>
    <td>{#$lang.ord_status_arr[$info.ord_status]#}</td>
    <td style="text-align:right;font-weight:bold;"> </td>
    <td> </td>
    </tr>   



     <tr>
    <td colspan="4" class="text-center"> 
    
    
    
 <table class="table table-striped table-condensed">
        <thead><tr>
        <th colspan="4" class="text-center">{#$lang.pro_title#}</th>
        </tr>
        </thead>
        <tr>
        <th class="text-center"><strong>{#$lang.pro_field.add_barcode#}</strong></th>
        <th class="text-center"><strong>{#$lang.pro_field.odd_pro_name#}</strong></th>
        <th class="text-center">{#$lang.pro_field.add_att_value#}</th>
        <th class="text-center">{#$lang.pro_field.odd_price#}</th>
        <th class="text-center">{#$lang.pro_field.odd_num#}{#$lang.pro_field.odd_unit#}</th>
        <th class="text-center">{#$lang.pro_field.add_total#}</th>
        </tr>
       
{#foreach item=item from=$info_desc#}
    <tr>
    <td style="text-align:right;font-weight:bold;">{#$item.add_barcode#}</td>
    <td>{#$item.odd_pro_name#}</td>
    <td>{#$item.add_att_value#}</td>
    <td>{#$item.odd_price#}</td>
    <td>{#$item.odd_num#}{#$item.odd_unit#}</td>
    <td>{#math equation = $item.odd_price * $item.odd_num format="%.2f"#}</td>
    </tr>
    
{#/foreach#}
 </table>
 
    </td>
    </tr>   
    
     <tr>
    <td style="text-align:right;font-weight:bold;">{#$lang.field_list.ord_status#}</td>
    <td colspan="3" class="text-left">
    {#foreach item=st_item key=st_key from=$lang.ord_status_arr#}
    <input name="ord_status" id="ord_status" type="radio" value="{#$st_key#}" {#if  $info.ord_status eq $st_key#} checked {#/if#} >{#$st_item#}&nbsp;&nbsp;&nbsp;&nbsp;
    {#/foreach#}
    </td>
    </tr>   


     <tr>
    <td style="text-align:right;font-weight:bold;">{#$lang.field_list.ord_delivery_status#}</td>
    <td colspan="3" class="text-left">
    {#foreach item=de_item key=de_key from=$lang.ord_delivery_status_arr#}
    <input name="ord_delivery_status" id="ord_delivery_status" type="radio" value="{#$de_key#}" {#if  $info.ord_delivery_status eq $de_key#} checked {#/if#} >{#$de_item#}&nbsp;&nbsp;&nbsp;&nbsp;
    {#/foreach#}
    </td>
    </tr>   
    
     <tr>
    <td style="text-align:right;font-weight:bold;">{#$lang.field_list.ord_pay_status#}</td>
    <td colspan="3" class="text-left">
    {#foreach item=pa_item key=pa_key from=$lang.ord_pay_status_arr#}
    <input name="ord_pay_status" id="ord_pay_status" type="radio" value="{#$pa_key#}" {#if  $info.ord_pay_status eq $pa_key#} checked {#/if#} >{#$pa_item#}&nbsp;&nbsp;&nbsp;&nbsp;
    {#/foreach#}
    </td>
    </tr>   
    
     <tr>
    <td style="text-align:right;font-weight:bold;">{#$lang.order_log.orl_remark#}</td>
    <td colspan="3" class="text-left">
     <textarea  name="orl_remark"  id="orl_remark" style="width:380px"></textarea>
    </td>
    </tr>   

        <tr>
        <td colspan="4" style="text-align:center"><button type="submit" class="btn btn-primary  btn-sm" onClick="return submitFun(this)" >{#$lang.edit_order#}</button>&nbsp;&nbsp;&nbsp;&nbsp;
            <input type="hidden" name="act_type" value="{#$act_type#}">
        <input type="hidden" name="ord_id" id="ord_id"  value="{#$item.ord_id#}">
            </td>
        </tr>

     <tr>
    <td colspan="4" class="text-center"> 
    
    
    
 <table class="table table-striped table-condensed">
        <thead><tr>
        <th colspan="4" class="text-center">{#$lang.log_title#}</th>
        </tr>
        </thead>
        <tr>
        <th class="text-right"><strong>{#$lang.order_log.orl_id#}</strong></th>
        <th class="text-center"><strong>{#$lang.order_log.adm_user#}</strong></th>
        <th class="text-center"><strong>{#$lang.order_log.orl_remark#}</strong></th>
        <th class="text-center">{#$lang.order_log.orl_add_time#}</th>

        </tr>
       
{#foreach item=item from=$info_log#}
    <tr>
    <td style="text-align:right;font-weight:bold;">{#$item.orl_id#}</td>
    <td>{#$item.adm_user#}</td>
    <td>{#$item.orl_remark#}</td>
    <td>{#$item.orl_add_time|date_format:'%Y-%m-%d %H:%M:%S'#}</td>
    </tr>
{#/foreach#}
 </table>
 
    </td>
    </tr>  
    

 
          </tbody>
        </table>


</div> </form>

</div>

    
    
    <!-- custom con end -->
    
    <footer class="footer">
      <div class="container">
        <p class="text-muted">Powered by <a href="http://Www.HuCart.COM" target="_blank">HuCart.COM</a></p>
      </div>
    </footer>
<script src="{#$base_weburl#}/js/jquery.min.js"></script>
<script src="{#$base_weburl#}/js/base.js"></script>
</body>
</html>