%%26^268^26864EFA%%akcii_save.tpl.php
6.15 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
<?php /* Smarty version 2.6.16, created on 2013-01-03 15:45:22
compiled from akcii_save.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'default', 'akcii_save.tpl', 6, false),array('modifier', 'stripslashes', 'akcii_save.tpl', 30, false),array('modifier', 'escape', 'akcii_save.tpl', 30, false),)), $this); ?>
<form action="<?php echo @URL; ?>
admin.php?action=<?php echo $this->_tpl_vars['rules_info_one']['action']; ?>
&save" method="post" enctype="multipart/form-data">
<table class="boxText" cellpadding="2" cellspacing="1" width="100%">
<tbody>
<tr>
<td>
<b>Äàòà:</b> <input class="input_form" value="<?php echo ((is_array($_tmp=@$_POST['date'])) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['news']['date']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['news']['date'])); ?>
" name="date" id="date" style="width: 70px;" type="text">
<img src="<?php echo @URL; ?>
img/calendar.gif" id="frd_trg" style="cursor: pointer;" title="Date selector">
<?php echo '
<script type="text/javascript">
Calendar.setup(
{
inputField : "date", // ID of the input field
ifFormat : "%Y-%m-%d", // the date format
button : "frd_trg"
}
);
</script>
'; ?>
</td>
</tr>
<tr class="v14">
<td align="left" width="150"><b>Çàãëàâèå
<font class="red10" color="#ff0000">*</font></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['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> </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>Îïèñàíèå: <font class="red10" color="#ff0000">*</font></b> </td>
</tr>
<tr class="v14">
<td>
<textarea name="text" cols="90" rows="30"><?php echo ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=@$_POST['text'])) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['news']['text']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['news']['text'])))) ? $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"><b>Èçîáðàæåíèÿ (jpg,gif,png):</b> </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>Èçîáðàæåíèÿ 2 (jpg,gif,png):</b> </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">Óäàëèòü èçîáðàæåíèÿ 2</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 class="submit_blue" value="Ñîõðàíèòü" type="submit">
</p></td>
</tr>
</tbody></table>
</form>