%%23^236^236A8B54%%catalogs_order.tpl.php
12.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
<?php /* Smarty version 2.6.16, created on 2010-11-02 17:14:33
compiled from catalogs_order.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'stripslashes', 'catalogs_order.tpl', 8, false),array('modifier', 'escape', 'catalogs_order.tpl', 8, false),array('modifier', 'default', 'catalogs_order.tpl', 32, false),)), $this); ?>
<h3>Çàÿâêà ¹<?php echo $this->_tpl_vars['order']['id']; ?>
</h3>
<form method="post" action="<?php echo @URL; ?>
admin.php?action=<?php echo $this->_tpl_vars['rules_info_one']['action']; ?>
&modAction=orders&orderID=<?php echo $this->_tpl_vars['order']['id']; ?>
">
<table cellpadding="4" cellspacing="1" border="0" width="600" bgcolor="#C0C0C0">
<tr bgcolor="#659CE7"><td noWrap><font color="#FFFFFF"><b>Ôîòî</b></font></td><td width="100%"><font color="#FFFFFF"><b>Òîâàð</b></font></td><td noWrap><font color="#FFFFFF"><b>Öåíà çà îäèí</b></font></td><td noWrap><font color="#FFFFFF"><b>Êîëè÷åñòâî</b></font></td><td noWrap><font color="#FFFFFF"><b>Çà âåñü òîâàð</b></font></td><tr>
<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['basket_products']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
$this->_sections['i']['total'] = $this->_sections['i']['loop'];
if ($this->_sections['i']['total'] == 0)
$this->_sections['i']['show'] = false;
} else
$this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):
for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
$this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
$this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first'] = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last'] = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
<tr bgcolor="#F7F7F7">
<td><a href="<?php echo @URL; ?>
uploaded/pic/catalogs/products/big/<?php echo $this->_tpl_vars['basket_products'][$this->_sections['i']['index']]['pic_big']; ?>
" rel="milkbox[gall1]" title="<?php echo $this->_tpl_vars['basket_products'][$this->_sections['i']['index']]['name']; ?>
"><img src="<?php if ($this->_tpl_vars['basket_products'][$this->_sections['i']['index']]['pic']): echo @URL; ?>
uploaded/pic/catalogs/products/<?php echo $this->_tpl_vars['basket_products'][$this->_sections['i']['index']]['pic']; else: echo @URL; ?>
img/noproduct.jpg<?php endif; ?>" border="0" alt="<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['basket_products'][$this->_sections['i']['index']]['name'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : smarty_modifier_stripslashes($_tmp)))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
" class="pic" /></a></td>
<td><input type="hidden" name="product_id[]" value="<?php echo $this->_tpl_vars['basket_products'][$this->_sections['i']['index']]['id']; ?>
"><input type="hidden" name="product_name[]" value="<?php echo $this->_tpl_vars['basket_products'][$this->_sections['i']['index']]['name']; ?>
<?php echo $this->_tpl_vars['basket_products'][$this->_sections['i']['index']]['size']; ?>
<?php echo $this->_tpl_vars['basket_products'][$this->_sections['i']['index']]['metka']; ?>
"><b><?php echo $this->_tpl_vars['basket_products'][$this->_sections['i']['index']]['name']; ?>
</b></td><td><input type="hidden" name="rubric_id[]" value="<?php echo $this->_tpl_vars['basket_products'][$this->_sections['i']['index']]['rubric_id']; ?>
"><input type="hidden" name="rubric_parent_id[]" value="<?php echo $this->_tpl_vars['basket_products'][$this->_sections['i']['index']]['rubric_parent_id']; ?>
"><input type="hidden" name="product_cine[]" value="<?php echo $this->_tpl_vars['basket_products'][$this->_sections['i']['index']]['cine']; ?>
<?php if ($this->_tpl_vars['curs'] == 'uah'): ?>ãðí<?php elseif ($this->_tpl_vars['curs'] == 'uah_bank'): ?>ãðí. áåçíàëè÷íûé<?php else: ?>$<?php endif; ?>"><?php echo $this->_tpl_vars['basket_products'][$this->_sections['i']['index']]['metka']; ?>
<br><?php echo $this->_tpl_vars['basket_products'][$this->_sections['i']['index']]['cine']; ?>
<?php if ($this->_tpl_vars['curs'] == 'uah'): ?>ãðí<?php elseif ($this->_tpl_vars['curs'] == 'uah_bank'): ?>ãðí. áåçíàëè÷íûé<?php else: ?>$<?php endif; ?></td><td><input type="text" value="<?php echo $this->_tpl_vars['basket_products'][$this->_sections['i']['index']]['count']; ?>
" name="product_count[<?php echo $this->_tpl_vars['basket_products'][$this->_sections['i']['index']]['id']; ?>
]" size="2"></td>
<td><input type="hidden" name="product_cine_all[]" value="<?php echo $this->_tpl_vars['basket_products'][$this->_sections['i']['index']]['products_cine_all']; ?>
<?php if ($this->_tpl_vars['curs'] == 'uah'): ?>ãðí<?php elseif ($this->_tpl_vars['curs'] == 'uah_bank'): ?>ãðí. áåçíàëè÷íûé<?php else: ?>$<?php endif; ?>"><?php echo $this->_tpl_vars['basket_products'][$this->_sections['i']['index']]['cine_all']; ?>
<?php if ($this->_tpl_vars['curs'] == 'uah'): ?>ãðí<?php elseif ($this->_tpl_vars['curs'] == 'uah_bank'): ?>ãðí. áåçíàëè÷íûé<?php else: ?>ãðí.<?php endif; ?></td>
<tr>
<?php endfor; endif; ?>
<tr bgcolor="#F7F7F7"><td colspan="4"><input type="hidden" name="order_id" value="<?php echo $this->_tpl_vars['order']['id']; ?>
" /><input type="submit" name="upload_order" value=" Ïåðåñ÷èòàòü " class="submit_orange" /></td><td><b><input type="hidden" name="cineAll" value="<?php echo $this->_tpl_vars['cineAll']; ?>
$ / <?php echo $this->_tpl_vars['cineAll']*$this->_tpl_vars['kurs'][0]['kurs']; ?>
Ãðí."><?php echo $this->_tpl_vars['cine']['sum']; ?>
- <?php echo $this->_tpl_vars['cine']['discount']; ?>
% = <?php echo $this->_tpl_vars['cine']['sum_discount']; ?>
</b></td>
</table>
</form>
<div> </div>
<div> </div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "error.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<form action="<?php echo @URL; ?>
admin.php?action=<?php echo $this->_tpl_vars['rules_info_one']['action']; ?>
&modAction=orders&orderID=<?php echo $this->_tpl_vars['order']['id']; ?>
" method="post" enctype="multipart/form-data">
<table class="boxText" cellpadding="2" cellspacing="1">
<tbody>
<tr class="v14">
<td align="left" width="150"><b>Âàøå èìÿ</b> </td>
</tr>
<tr class="v14">
<td class="v10" nowrap="nowrap">
<input class="input_form" value="<?php echo ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=@$_POST['order_name'])) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['order']['name']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['order']['name'])))) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : smarty_modifier_stripslashes($_tmp)))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
" size="120" name="order_name" type="text">
</td>
</tr>
<tr class="v14">
<td align="left" valign="top"><b>Âàø e-mail:</b> </td>
</tr>
<tr class="v14">
<td>
<input class="input_form" value="<?php echo ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=@$_POST['order_email'])) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['order']['email']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['order']['email'])))) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : smarty_modifier_stripslashes($_tmp)))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
" size="120" name="order_email" type="text">
</td>
</tr>
<tr class="v14">
<td align="left" valign="top"><b>Âàø àäðåñ:</b> </td>
</tr>
<tr class="v14">
<td>
<input class="input_form" value="<?php echo ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=@$_POST['order_adress'])) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['order']['adress']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['order']['adress'])))) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : smarty_modifier_stripslashes($_tmp)))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
" size="120" name="order_adress" type="text">
</td>
</tr>
<tr class="v14">
<td align="left" valign="top"><b>Êîíòàêòíûé òåëåôîí:</b> </td>
</tr>
<tr class="v14">
<td>
<input class="input_form" value="<?php echo ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=@$_POST['order_phone'])) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['order']['phone']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['order']['phone'])))) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : smarty_modifier_stripslashes($_tmp)))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
" size="120" name="order_phone" type="text">
</td>
</tr>
<tr class="v14">
<td align="left" valign="top"><b>Ìîáèëüíûé òåëåôîí:</b> </td>
</tr>
<tr class="v14">
<td>
<input class="input_form" value="<?php echo ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=@$_POST['order_phonemob'])) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['order']['phonemob']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['order']['phonemob'])))) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : smarty_modifier_stripslashes($_tmp)))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
" size="120" name="order_phonemob" type="text">
</td>
</tr>
<tr class="v14">
<td align="left" valign="top"><b>Òåêñò êîììåíòàðèÿ:</b> </td>
</tr>
<tr class="v14">
<td>
<textarea rows="4" cols="120" name="order_comment" class="input_form"><?php echo ((is_array($_tmp=((is_array($_tmp=@$_POST['order_comment'])) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['order']['comment']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['order']['comment'])))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</textarea>
</td>
</tr>
<tr class="v14">
<td align="left" valign="top"><b>Ïîäòâåðäèòü çàêàç:</b> </td>
</tr>
<tr class="v14">
<td>
<input value="1" name="order_active" type="checkbox" <?php if ($this->_tpl_vars['order']['active'] == 1): ?>checked<?php endif; ?> />
</td>
</tr>
<tr class="v14">
<td align="center"><p>
</p><p>
<input name="save" type="hidden">
<input name="update_id" type="hidden" value="<?php echo ((is_array($_tmp=@$_POST['update_id'])) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['order']['id']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['order']['id'])); ?>
">
<input class="submit_blue" value="Ñîõðàíèòü" type="submit">
</p></td>
</tr>
</tbody></table>
</form>