{if !$order_detailed} {if $orders}
{assign var="admhl" value=0} {section name=i loop=$orders} {if $admhl eq 1} {else}{assign var="admhl" value=1}{/if} {/section} {if $navigator} {else} {/if}
{$smarty.const.STRING_ORDER_ID} {$smarty.const.TABLE_ORDER_TIME} {$smarty.const.ADMIN_ORD_PAYMENT_TYPE} {$smarty.const.ADMIN_ORD_SHIPPING_TYPE} {$smarty.const.TABLE_ORDER_TOTAL} {$smarty.const.ADMIN_ORDER_STATUS_NAME}
{$smarty.const.ADMIN_ORDER_NAMEN2}  # {$orders[i].orderID}  {$orders[i].order_time} {if $orders[i].payment_type}{$orders[i].payment_type}{else}---{/if} {if $orders[i].shipping_type}{$orders[i].shipping_type}{else}---{/if} {$orders[i].order_amount} {$orders[i].OrderStatus}
{$smarty.const.ADMIN_STATUS_CHNTITLE}:   {$smarty.const.ADMIN_STATUS_LINK}  |  {$smarty.const.DELETE_BUTTON}  ({$smarty.const.ADMIN_DELORD_NOTICE})
{$smarty.const.USEFUL_FOR_YOU}
{$smarty.const.ADMIN_ABOUT_PRICES}

{$smarty.const.ALERT_ADMIN2}
{else}
{$smarty.const.ADMIN_ZAKAZ_ORD}
{$smarty.const.STRING_ORDERS_ARE_NOT_SEARCHED}
{$smarty.const.USEFUL_FOR_YOU}
{$smarty.const.ADMIN_ABOUT_PRICES}

{$smarty.const.ALERT_ADMIN2}
{/if} {else}
{$smarty.const.STRING_ORDERING2} #{$order.orderID}
{if $order.customer_email} {/if} {section name=i loop=$order.reg_fields_values} {/section} {if $order.payment_type} {/if} {if $order.shipping_type} {/if} {if $order.cc_number || $order.cc_holdername || $order.cc_expires || $order.cc_expires} {if $https_connection_flag} {else} {/if} {/if}
{$smarty.const.STRING_ORDER_STATUS}: {$order.status_name}
{$smarty.const.TABLE_ORDER_TIME}: {$order.order_time}
{$smarty.const.ADMIN_IP_ADDRESS}: {$order.customer_ip}
{$smarty.const.ADMIN_ORDER_EMAIL_CUST}: {$order.customer_email}
{$smarty.const.ADMIN_CUSTOMER_FIRST_NAME}: {$order.customer_firstname|replace:"<":"<"}
{$smarty.const.ADMIN_CUSTOMER_LAST_NAME}: {$order.customer_lastname|replace:"<":"<"}
{$order.reg_fields_values[i].reg_field_name}: {$order.reg_fields_values[i].reg_field_value|replace:"<":"<"}
{$smarty.const.CUSTOMER_ADRESL}: {if $order.shipping_address ne ""}{$order.shipping_address|replace:"<":"<"}{/if}{if $order.shipping_city ne ""}, {$order.shipping_city|replace:"<":"<"}{/if}{if $order.shipping_state ne ""}, {$order.shipping_state|replace:"<":"<"}{/if}{if $order.shipping_country ne ""}, {$order.shipping_country|replace:"<":"<"}{/if}
{$smarty.const.STRING_PAYMENT_TYPE2}: {$order.payment_type}{if $order.shippingServiceInfo} ({$order.shippingServiceInfo}){/if}
{$smarty.const.STRING_SHIPPING_TYPE2}: {$order.shipping_type}
{$smarty.const.ADMIN_CC_NUMBER}: {$order.cc_number|replace:"<":"<"}
{$smarty.const.ADMIN_CC_HOLDER_NAME}: {$order.cc_holdername|replace:"<":"<"}
{$smarty.const.ADMIN_CC_EXPIRES}: {$order.cc_expires|replace:"<":"<"}
{$smarty.const.ADMIN_CC_CVV}: {$order.cc_cvv|replace:"<":"<"}
{$smarty.const.ADMIN_INFO_CAN_BE_SHOWN_WHEN_HTTPS_IS_USED}
{$smarty.const.USEFUL_FOR_YOU}
{$smarty.const.ADMIN_ABOUT_PRICES}
{if $order.customers_comment}
{$smarty.const.TABLE_ORDER_COMMENTS}
{$order.customers_comment|replace:"<":"<"}
{/if} {if $orderContent} {section name=i loop=$orderContent} {/section}
{$smarty.const.ADMIN_PRODUCT_NAME} {$smarty.const.TABLE_PRODUCT_QUANTITY} {$smarty.const.CURRENT_PRICE} {$smarty.const.TABLE_PRODUCT_COST_WITHOUT_TAX}
{if $orderContent[i].pr_item}{$orderContent[i].name}{else}{$orderContent[i].name}{/if} {$orderContent[i].Quantity} {$orderContent[i].PriceOne} {$orderContent[i].PriceToShow}
{else}
{$smarty.const.ADMIN_NO_RECORD_FOUND}
{/if} {if $order.order_discount > 0}{/if}
{$smarty.const.STRING_PRED_TOTAL}:{$order.clear_total_priceToShow}
{$smarty.const.ADMIN_DISCOUNT}:{$order.order_discount}
{$smarty.const.ADMIN_SHIPPING_COST}:{$order.shipping_costToShow}
{$smarty.const.TABLE_TOTAL}:{$order.order_amountToShow}
{if $order_status_report} {section name=i loop=$order_status_report} {/section}
{$smarty.const.ADMIN_TIME} {$smarty.const.STRING_ADMIN_COMMENT} {$smarty.const.ADMIN_ORDER_STATUS_NAME}
{$order_status_report[i].status_change_time} {$order_status_report[i].status_comment} {if $order_status_report[i].status_name != 'STRING_CANCELED_ORDER_STATUS'}{$order_status_report[i].status_name}{else}{$smarty.const.STRING_CANCELED_ORDER_STATUS}{/if} 
{/if}
{if $order.customer_email && $order.customer_email != "-"}{/if}
{$smarty.const.ADMIN_CHANGE_STATUS}:      
{$smarty.const.STRING_ADMIN_COMMENT}
{$smarty.const.ADMIN_CHANGE_STATUS}{if $order.statusID == $cancledOrderStatus}  |  {$smarty.const.DELETE_BUTTON}{/if}{if $urlToReturn}  |  {$smarty.const.ADMIN_ORDER_LIST_GO_BACK}{/if}  |  {$smarty.const.STRING_INVOICE_OPEN}
{$smarty.const.USEFUL_FOR_YOU}
{$smarty.const.ADMIN_ABOUT_PRICES}

{$smarty.const.ALERT_ADMIN2}
{/if}