%%36^363^36396612%%video_save.tpl.php
2.52 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
<?php /* Smarty version 2.6.16, created on 2013-03-29 11:32:31
compiled from video_save.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'default', 'video_save.tpl', 12, false),array('modifier', 'stripslashes', 'video_save.tpl', 12, false),array('modifier', 'escape', 'video_save.tpl', 12, false),)), $this); ?>
<h3>Äîáàâèòü âèäåî</h3>
<a href="<?php echo @URL; ?>
admin.php?action=<?php echo $this->_tpl_vars['rules_info_one']['action']; ?>
&modAction=<?php echo $_GET['modAction']; ?>
&rubID=<?php echo $_GET['rubID']; ?>
&productID=<?php echo $_GET['productID']; ?>
">Âåðíóòüñÿ</a>
<table cellpadding="4" cellspacing="0">
<form method="post" action="<?php echo @URL; ?>
admin.php?action=<?php echo $this->_tpl_vars['rules_info_one']['action']; ?>
&modAction=<?php echo $_GET['modAction']; ?>
&rubID=<?php echo $_GET['rubID']; ?>
&productID=<?php echo $_GET['productID']; ?>
&save" enctype="multipart/form-data">
<input type="hidden" name="update_id" value="<?php echo $this->_tpl_vars['video']['id']; ?>
">
<input type="hidden" name="product_id" value="<?php echo $_GET['productID']; ?>
">
<tr><td><b>Íàçâàíèå:</b></td></tr>
<tr><td><input type="text" name="name" class="input_form" size="60" value="<?php echo $this->_tpl_vars['video']['name']; ?>
"></td></tr>
<tr><td><b>Âèäåî:</b></td></tr>
<tr><td><input type="file" class="input_form" name="video" size="60"> - Óäàëèòü <input type="checkbox" name="delete_video" value="1" /></td></tr>
<tr><td><b>Êîä âèäåî:</b></td></tr>
<tr><td><textarea class="input_form" name="code" cols="100" rows="5"><?php echo ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=@$_POST['code'])) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['video']['code']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['video']['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><td><b>Îòîáðàæàòü:</b></td></tr>
<tr><td>
<select name="type">
<option value="video" <?php if ($this->_tpl_vars['video']['type'] == 'video'): ?>selected<?php endif; ?>>Âèäåî</option>
<option value="code" <?php if ($this->_tpl_vars['video']['type'] == 'code'): ?>selected<?php endif; ?>>Êîä âèäåî</option>
</select>
</td></tr>
<tr><td align="center"><input type="hidden" name="save">
<input type="submit" class="submit_blue" value="Ñîõðàíèòü"></td></tr>
</form>
</table>