%%23^236^236A8B54%%catalogs_order.tpl.php 12.5 KB
<?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>&nbsp;</div>
<div>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>