%%56^566^56647196%%promo_save.tpl.php 9.21 KB
<?php /* Smarty version 2.6.16, created on 2011-08-12 16:02:47
         compiled from promo_save.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'default', 'promo_save.tpl', 11, false),array('modifier', 'stripslashes', 'promo_save.tpl', 11, false),array('modifier', 'escape', 'promo_save.tpl', 11, false),)), $this); ?>
<form action="<?php echo @URL; ?>
admin.php?action=<?php echo $this->_tpl_vars['rules_info_one']['action']; ?>
&modAction=products&ID=<?php echo $_GET['ID']; ?>
&save" method="post" enctype="multipart/form-data">
            <table class="boxText" cellpadding="2" cellspacing="1" width="100%">
              <tbody>

              <tr class="v14">
                <td align="left" width="150"><b>URL</b>&nbsp;</td>

              </tr>
              <tr class="v14">
                <td class="v10" nowrap="nowrap">
                    http://extremstyle.ua/promo.php?prefix=<input class="input_form" value="<?php echo ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=@$_POST['prefix'])) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['news']['prefix']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['news']['prefix'])))) ? $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="80" name="prefix" type="text">
              </td>
              </tr>


              <tr class="v14">
                <td align="left" width="150"><b>Çàãëàâèå
                    <font class="red10" color="#ff0000">*</font></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['title'])) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['news']['title']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['news']['title'])))) ? $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="title" type="text">
              </td>
              </tr>
              
                            <tr class="v14">
                <td align="left" valign="top"><b>Êðàòêå îïèñàíèå:</b>&nbsp;</td>
                </tr>
              <tr class="v14">
                <td>

                    <textarea name="about" cols="90" rows="30"><?php echo ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=@$_POST['about'])) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['news']['about']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['news']['about'])))) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : smarty_modifier_stripslashes($_tmp)))) ? $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>

                    <textarea name="code" class="input_form" cols="120" rows="10"><?php echo ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=@$_POST['code'])) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['news']['code']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['news']['code'])))) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : smarty_modifier_stripslashes($_tmp)))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</textarea>

                    </td>

              </tr>
              
              <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['cost_last'])) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['news']['cost_last']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['news']['cost_last'])))) ? $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="20" name="cost_last" type="text">
              </td>
              </tr>
              
              <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['cost'])) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['news']['cost']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['news']['cost'])))) ? $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="20" name="cost" type="text">
              </td>
              </tr>
              
              <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['link'])) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['news']['link']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['news']['link'])))) ? $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="link" type="text">
              </td>
              </tr>
              
                   <tr class="v14">
                <td align="left"><b>Èçîáðàæåíèÿ èêîíêà (jpg,gif,png):</b>&nbsp;</td>
                </tr>
              <tr class="v14">
                <td>

                    <input class="input_form" value="<?php echo $_POST['ico']; ?>
" name="ico" size="120" type="file">
                    <br />
                    <font color="red">Óäàëèòü èçîáðàæåíèÿ</font> - <input type="checkbox" name="delete_ico" value="1">
                    </td>
              </tr>


                   <tr class="v14">
                <td align="left"><b>Èçîáðàæåíèÿ (jpg,gif,png):</b>&nbsp;</td>
                </tr>
              <tr class="v14">
                <td>

                    <input class="input_form" value="<?php echo $_POST['pic']; ?>
" name="pic" size="120" type="file">
                    <br />
                    <font color="red">Óäàëèòü èçîáðàæåíèÿ</font> - <input type="checkbox" name="delete_pic" value="1">
                    </td>
              </tr>
              
                   <tr class="v14">
                <td align="left"><b>Èçîáðàæåíèÿ çàëèâêà (jpg,gif,png):</b>&nbsp;</td>
                </tr>
              <tr class="v14">
                <td>

                    <input class="input_form" value="<?php echo $_POST['pic']; ?>
" name="pic2" size="120" type="file">
                    <br />
                    <font color="red">Óäàëèòü èçîáðàæåíèÿ</font> - <input type="checkbox" name="delete_pic2" value="1">
                    </td>
              </tr>
              
  <tr bgcolor="#959595"><td><font color="#ffffff"><b>META</b></font></td></tr>
  <tr><td><b>title:</b></td></tr>
  <tr><td><input type=text name="meta_title" value="<?php echo $this->_tpl_vars['news']['meta_title']; ?>
" class="input_form" size="120"></td></tr>
  <tr><td><b>description:</b></td></tr>
  <tr><td><input type=text class="input_form" value="<?php echo $this->_tpl_vars['news']['meta_description']; ?>
" name="meta_description" size="120"></td></tr>
  <tr><td><b>keywords:</b></td></tr>
  <tr><td><input type=text class="input_form" value="<?php echo $this->_tpl_vars['news']['meta_keywords']; ?>
" name="meta_keywords" size="120"></td></tr>
  <tr><td><b>about:</b></td></tr>
  <tr><td><input type=text class="input_form" value="<?php echo $this->_tpl_vars['news']['meta_about']; ?>
" name="meta_about" size="120"></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['news']['id']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['news']['id'])); ?>
">
                      <input name="promo_id" type="hidden" value="<?php echo $_GET['ID']; ?>
">
                      <input class="submit_blue" value="Ñîõðàíèòü" type="submit">
                      </p></td>
              </tr>
            </tbody></table>
          </form>