1 | <?php /* Smarty version 2.6.13, created on 2007-01-10 00:06:20 |
---|
2 | compiled from mail_templates/order_mail.tpl */ ?> |
---|
3 | <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); |
---|
4 | smarty_core_load_plugins(array('plugins' => array(array('modifier', 'number_format', 'mail_templates/order_mail.tpl', 15, false),array('modifier', 'default', 'mail_templates/order_mail.tpl', 15, false),array('modifier', 'sfPreTax', 'mail_templates/order_mail.tpl', 46, false),)), $this); ?> |
---|
5 | <?php echo $this->_tpl_vars['arrOrder']['order_name01']; ?> |
---|
6 | <?php echo $this->_tpl_vars['arrOrder']['order_name02']; ?> |
---|
7 | ÍÍ
|
---|
8 |
|
---|
9 | <?php echo $this->_tpl_vars['tpl_header']; ?> |
---|
10 |
|
---|
11 |
|
---|
12 | ******************************************************************
|
---|
13 | ¡¡ÇÛÁ÷¾ðÊó¤È¤´ÀÁµá¶â³Û
|
---|
14 | ******************************************************************
|
---|
15 |
|
---|
16 | ¤´ÃíʸÈֹ桧<?php echo $this->_tpl_vars['arrOrder']['order_id']; ?> |
---|
17 |
|
---|
18 | ¤ª»Ùʧ¹ç·×¡§¡ï <?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arrOrder']['payment_total'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)))) ? $this->_run_mod_handler('default', true, $_tmp, 0) : smarty_modifier_default($_tmp, 0)); ?> |
---|
19 |
|
---|
20 | ¤´·èºÑÊýË¡¡§<?php echo $this->_tpl_vars['arrOrder']['payment_method']; ?> |
---|
21 |
|
---|
22 | ¡¡¤ªÆϤ±Æü¡§<?php echo ((is_array($_tmp=@$this->_tpl_vars['arrOrder']['deliv_date'])) ? $this->_run_mod_handler('default', true, $_tmp, "»ØÄê¤Ê¤·") : smarty_modifier_default($_tmp, "»ØÄê¤Ê¤·")); ?> |
---|
23 |
|
---|
24 | ¤ªÆϤ±»þ´Ö¡§<?php echo ((is_array($_tmp=@$this->_tpl_vars['arrOrder']['deliv_time'])) ? $this->_run_mod_handler('default', true, $_tmp, "»ØÄê¤Ê¤·") : smarty_modifier_default($_tmp, "»ØÄê¤Ê¤·")); ?> |
---|
25 |
|
---|
26 | ¥á¥Ã¥»¡¼¥¸¡§<?php echo $this->_tpl_vars['Message_tmp']; ?> |
---|
27 |
|
---|
28 | ¡ý¤ªÆϤ±Àè
|
---|
29 | ¡¡¤ªÌ¾Á°¡¡¡§<?php echo $this->_tpl_vars['arrOrder']['deliv_name01']; ?> |
---|
30 | <?php echo $this->_tpl_vars['arrOrder']['deliv_name02']; ?> |
---|
31 | ¡¡ÍÍ
|
---|
32 | ¡¡Í¹ÊØÈֹ桧¢©<?php echo $this->_tpl_vars['arrOrder']['deliv_zip01']; ?> |
---|
33 | -<?php echo $this->_tpl_vars['arrOrder']['deliv_zip02']; ?> |
---|
34 |
|
---|
35 | ¡¡¤´½»½ê¡¡¡§<?php echo $this->_tpl_vars['arrOrder']['deliv_pref']; echo $this->_tpl_vars['arrOrder']['deliv_addr01']; echo $this->_tpl_vars['arrOrder']['deliv_addr02']; ?> |
---|
36 |
|
---|
37 | ¡¡ÅÅÏÃÈֹ桧<?php echo $this->_tpl_vars['arrOrder']['deliv_tel01']; ?> |
---|
38 | -<?php echo $this->_tpl_vars['arrOrder']['deliv_tel02']; ?> |
---|
39 | -<?php echo $this->_tpl_vars['arrOrder']['deliv_tel03']; ?> |
---|
40 |
|
---|
41 |
|
---|
42 | <?php if ($this->_tpl_vars['arrOther']['title']['value']): ?>
|
---|
43 | ******************************************************************
|
---|
44 | ¡¡<?php echo $this->_tpl_vars['arrOther']['title']['name']; ?> |
---|
45 | ¾ðÊó
|
---|
46 | ******************************************************************
|
---|
47 |
|
---|
48 | <?php $_from = $this->_tpl_vars['arrOther']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): |
---|
49 | foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['item']): |
---|
50 | ?>
|
---|
51 | <?php if ($this->_tpl_vars['key'] != 'title'): ?>
|
---|
52 | <?php if ($this->_tpl_vars['item']['name'] != ""): echo $this->_tpl_vars['item']['name']; ?> |
---|
53 | ¡§<?php endif; echo $this->_tpl_vars['item']['value']; ?> |
---|
54 |
|
---|
55 | <?php endif; ?>
|
---|
56 | <?php endforeach; endif; unset($_from); ?>
|
---|
57 | <?php endif; ?>
|
---|
58 |
|
---|
59 | ******************************************************************
|
---|
60 | ¡¡¤´Ãíʸ¾¦ÉÊÌÀºÙ
|
---|
61 | ******************************************************************
|
---|
62 |
|
---|
63 | <?php unset($this->_sections['cnt']); |
---|
64 | $this->_sections['cnt']['name'] = 'cnt'; |
---|
65 | $this->_sections['cnt']['loop'] = is_array($_loop=$this->_tpl_vars['arrOrderDetail']) ? count($_loop) : max(0, (int)$_loop); unset($_loop); |
---|
66 | $this->_sections['cnt']['show'] = true; |
---|
67 | $this->_sections['cnt']['max'] = $this->_sections['cnt']['loop']; |
---|
68 | $this->_sections['cnt']['step'] = 1; |
---|
69 | $this->_sections['cnt']['start'] = $this->_sections['cnt']['step'] > 0 ? 0 : $this->_sections['cnt']['loop']-1; |
---|
70 | if ($this->_sections['cnt']['show']) { |
---|
71 | $this->_sections['cnt']['total'] = $this->_sections['cnt']['loop']; |
---|
72 | if ($this->_sections['cnt']['total'] == 0) |
---|
73 | $this->_sections['cnt']['show'] = false; |
---|
74 | } else |
---|
75 | $this->_sections['cnt']['total'] = 0; |
---|
76 | if ($this->_sections['cnt']['show']): |
---|
77 | |
---|
78 | for ($this->_sections['cnt']['index'] = $this->_sections['cnt']['start'], $this->_sections['cnt']['iteration'] = 1; |
---|
79 | $this->_sections['cnt']['iteration'] <= $this->_sections['cnt']['total']; |
---|
80 | $this->_sections['cnt']['index'] += $this->_sections['cnt']['step'], $this->_sections['cnt']['iteration']++): |
---|
81 | $this->_sections['cnt']['rownum'] = $this->_sections['cnt']['iteration']; |
---|
82 | $this->_sections['cnt']['index_prev'] = $this->_sections['cnt']['index'] - $this->_sections['cnt']['step']; |
---|
83 | $this->_sections['cnt']['index_next'] = $this->_sections['cnt']['index'] + $this->_sections['cnt']['step']; |
---|
84 | $this->_sections['cnt']['first'] = ($this->_sections['cnt']['iteration'] == 1); |
---|
85 | $this->_sections['cnt']['last'] = ($this->_sections['cnt']['iteration'] == $this->_sections['cnt']['total']); |
---|
86 | ?>
|
---|
87 | ¾¦ÉÊ̾: <?php echo $this->_tpl_vars['arrOrderDetail'][$this->_sections['cnt']['index']]['product_name']; ?> |
---|
88 | <?php echo $this->_tpl_vars['arrOrderDetail'][$this->_sections['cnt']['index']]['classcategory_name1']; ?> |
---|
89 | <?php echo $this->_tpl_vars['arrOrderDetail'][$this->_sections['cnt']['index']]['classcategory_name2']; ?> |
---|
90 |
|
---|
91 | ¾¦ÉÊ¥³¡¼¥É: <?php echo $this->_tpl_vars['arrOrderDetail'][$this->_sections['cnt']['index']]['product_code']; ?> |
---|
92 |
|
---|
93 | ¿ôÎÌ¡§<?php echo $this->_tpl_vars['arrOrderDetail'][$this->_sections['cnt']['index']]['quantity']; ?> |
---|
94 | ¸Ä
|
---|
95 | ¶â³Û¡§¡ï <?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arrOrderDetail'][$this->_sections['cnt']['index']]['price'])) ? $this->_run_mod_handler('sfPreTax', true, $_tmp, $this->_tpl_vars['arrInfo']['tax'], $this->_tpl_vars['arrInfo']['tax_rule']) : sfPreTax($_tmp, $this->_tpl_vars['arrInfo']['tax'], $this->_tpl_vars['arrInfo']['tax_rule'])))) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)); ?> |
---|
96 |
|
---|
97 |
|
---|
98 | <?php endfor; endif; ?>
|
---|
99 | -----------------------------------------------------------
|
---|
100 | ¾®¡¡·× ¡ï <?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arrOrder']['subtotal'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)))) ? $this->_run_mod_handler('default', true, $_tmp, 0) : smarty_modifier_default($_tmp, 0)); ?> |
---|
101 | (¤¦¤Á¾ÃÈñÀÇ ¡ï<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arrOrder']['tax'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)))) ? $this->_run_mod_handler('default', true, $_tmp, 0) : smarty_modifier_default($_tmp, 0)); ?> |
---|
102 | ¡Ë
|
---|
103 | ÃÍ°ú¤ ¡ï <?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arrOrder']['use_point']+$this->_tpl_vars['arrOrder']['discount'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)))) ? $this->_run_mod_handler('default', true, $_tmp, 0) : smarty_modifier_default($_tmp, 0)); ?> |
---|
104 |
|
---|
105 | Á÷¡¡ÎÁ ¡ï <?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arrOrder']['deliv_fee'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)))) ? $this->_run_mod_handler('default', true, $_tmp, 0) : smarty_modifier_default($_tmp, 0)); ?> |
---|
106 |
|
---|
107 | ¼ê¿ôÎÁ ¡ï <?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arrOrder']['charge'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)))) ? $this->_run_mod_handler('default', true, $_tmp, 0) : smarty_modifier_default($_tmp, 0)); ?> |
---|
108 |
|
---|
109 | ===============================================================
|
---|
110 | ¹ç¡¡·× ¡ï <?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arrOrder']['payment_total'])) ? $this->_run_mod_handler('number_format', true, $_tmp) : number_format($_tmp)))) ? $this->_run_mod_handler('default', true, $_tmp, 0) : smarty_modifier_default($_tmp, 0)); ?> |
---|
111 |
|
---|
112 | ===============================================================
|
---|
113 |
|
---|
114 | ¤´»ÈÍѥݥ¤¥ó¥È <?php echo ((is_array($_tmp=@$this->_tpl_vars['arrOrder']['use_point'])) ? $this->_run_mod_handler('default', true, $_tmp, 0) : smarty_modifier_default($_tmp, 0)); ?> |
---|
115 | pt
|
---|
116 | º£²ó²Ã»»¤µ¤ì¤ë²Ã»»¥Ý¥¤¥ó¥È <?php echo ((is_array($_tmp=@$this->_tpl_vars['arrOrder']['add_point'])) ? $this->_run_mod_handler('default', true, $_tmp, 0) : smarty_modifier_default($_tmp, 0)); ?> |
---|
117 | pt
|
---|
118 | ÊÝ»ý¥Ý¥¤¥ó¥È <?php echo ((is_array($_tmp=@$this->_tpl_vars['arrCustomer']['point'])) ? $this->_run_mod_handler('default', true, $_tmp, 0) : smarty_modifier_default($_tmp, 0)); ?> |
---|
119 | pt
|
---|
120 |
|
---|
121 | <?php echo $this->_tpl_vars['tpl_footer']; ?> |
---|