%%28^28E^28EEE16B%%catalogs.tpl.php
8.4 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
<?php /* Smarty version 2.6.16, created on 2012-01-27 13:18:32
compiled from catalogs.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'str_repeat', 'catalogs.tpl', 24, false),array('modifier', 'default', 'catalogs.tpl', 55, false),)), $this); ?>
<div style="margin-bottom:10px;"><a href="<?php echo @URL; ?>
admin.php?action=<?php echo $this->_tpl_vars['rules_info_one']['action']; ?>
&modAction=banners">Áàííåðà</a>, <a href="<?php echo @URL; ?>
admin.php?action=<?php echo $this->_tpl_vars['rules_info_one']['action']; ?>
&modAction=brends">Áðåíäû</a>, <a href="<?php echo @URL; ?>
admin.php?action=<?php echo $this->_tpl_vars['rules_info_one']['action']; ?>
&modAction=city">Ãîðîäà</a>, <a href="<?php echo @URL; ?>
admin.php?action=<?php echo $this->_tpl_vars['rules_info_one']['action']; ?>
&modAction=import">Èìïîðò òîâàðîâ</a>, <a href="<?php echo @URL; ?>
admin.php?action=<?php echo $this->_tpl_vars['rules_info_one']['action']; ?>
&modAction=import_cine">Èìïîðò öåí</a>, <a href="<?php echo @URL; ?>
admin.php?action=<?php echo $this->_tpl_vars['rules_info_one']['action']; ?>
&modAction=akcii">Àêöèè</a>
<br /><a href="<?php echo @URL; ?>
admin.php?action=<?php echo $this->_tpl_vars['rules_info_one']['action']; ?>
&modAction=export">Ýêñïîðòèðîâàòü òîâàðû</a>, <a href="<?php echo @URL; ?>
admin.php?action=<?php echo $this->_tpl_vars['rules_info_one']['action']; ?>
&modAction=export_mod">Ýêñïîðòèðîâàòü ìîäèôèêàöèè</a>, <a href="<?php echo @URL; ?>
admin.php?action=<?php echo $this->_tpl_vars['rules_info_one']['action']; ?>
&modAction=orders">Êëèåíòû</a>
<br /><a href="<?php echo @URL; ?>
admin.php?action=<?php echo $this->_tpl_vars['rules_info_one']['action']; ?>
&modAction=updateCountModification" style="background:#F5F5F5;display:inline-block;padding:5px;border:1px dotted #9D9D9D;font-size:11px;color:#606060;margin-top:5px;" onClick="if(confirm('Âû óâåðåíû ÷òî õîòèòå ïåðåñ÷èòàòü êîëè÷åñòâî àêòèâíûõ ìîäèôèêàöèé â òîâàðàõ?'))return true;else return false;"><span style="font-size:10px;color:red;">Ïðè íåóäà÷íîì èìïîðòå!</span><br />Îáíîâèòü êîëè÷åñòâî ìîäèôèêàöèé â òîâàðå</a><br /><br />
<form method="post" action="<?php echo @URL; ?>
admin.php?action=<?php echo $this->_tpl_vars['rules_info_one']['action']; ?>
&save" enctype="multipart/form-data">
<table cellpadding="5" cellspacing="1" width="800" bgcolor="#808080">
<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['rubrics']) ? 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="<?php if ($this->_tpl_vars['rubrics'][$this->_sections['i']['index']]['level'] < 1): ?>#D3F7DF<?php else: ?>#FCF3E4<?php endif; ?>"><td width="20"><?php echo $this->_tpl_vars['rubrics'][$this->_sections['i']['index']]['sort']; ?>
</td><td><?php echo smarty_function_str_repeat(array('value' => " ",'count' => $this->_tpl_vars['rubrics'][$this->_sections['i']['index']]['level']), $this);?>
<a href="<?php echo @URL; ?>
admin.php?action=<?php echo $this->_tpl_vars['rules_info_one']['action']; ?>
&modAction=products&rubID=<?php echo $this->_tpl_vars['rubrics'][$this->_sections['i']['index']]['id']; ?>
"><b><?php echo $this->_tpl_vars['rubrics'][$this->_sections['i']['index']]['name']; ?>
</b></a></td><td width="10"><a href="<?php echo @URL; ?>
admin.php?action=<?php echo $this->_tpl_vars['rules_info_one']['action']; ?>
&modAction=filters&rubID=<?php echo $this->_tpl_vars['rubrics'][$this->_sections['i']['index']]['id']; ?>
">Ôèëüòðû</a></td><td width="10"><a href="<?php echo @URL; ?>
admin.php?action=<?php echo $this->_tpl_vars['rules_info_one']['action']; ?>
&modAction=years&rubID=<?php echo $this->_tpl_vars['rubrics'][$this->_sections['i']['index']]['id']; ?>
">Ãîäà</a></td><td width="10"><input type="radio" name="parent_id" value="<?php echo $this->_tpl_vars['rubrics'][$this->_sections['i']['index']]['id']; ?>
" <?php if ($this->_tpl_vars['rubric']['parent_id'] == $this->_tpl_vars['rubrics'][$this->_sections['i']['index']]['id']): ?>checked<?php endif; ?> /></td>
<td width="50"><input type="button" class="submit_red" value="Óäàëèòü" onClick="del('<?php echo @URL; ?>
admin.php?action=<?php echo $this->_tpl_vars['rules_info_one']['action']; ?>
&deleteID=<?php echo $this->_tpl_vars['rubrics'][$this->_sections['i']['index']]['id']; ?>
')"></td>
<td width="50"><input type="button" class="submit_orange" value="Ðåäàêòèðîâàòü" onClick="document.location='<?php echo @URL; ?>
admin.php?action=<?php echo $this->_tpl_vars['rules_info_one']['action']; ?>
&updateID=<?php echo $this->_tpl_vars['rubrics'][$this->_sections['i']['index']]['id']; ?>
'"></td>
</tr>
<?php endfor; endif; ?>
</table>
<div> </div>
<table cellpadding="4" cellspacing="0">
<input type="hidden" name="update_id" value="<?php echo $this->_tpl_vars['rubric']['id']; ?>
">
<tr><td bgcolor="#E5F8FD"><b>Äîáàâëåíèå ðóáðèêè</b></td></tr>
<tr><td><b>Íàçâàíèå:</b><font color="red">*</font></td></tr>
<tr><td><input type="text" name="name" class="input_form" size="60" value="<?php echo $this->_tpl_vars['rubric']['name']; ?>
"></td></tr>
<tr><td><b>Íàçâàíèå â ñïèñêå:</b></td></tr>
<tr><td><input type="text" name="list_name" class="input_form" size="60" value="<?php echo $this->_tpl_vars['rubric']['list_name']; ?>
"></td></tr>
<tr><td><b>Ñîðò. öåíû:</b></td></tr>
<tr><td>
<select name="sort_cost">
<option value="asc" <?php if ($this->_tpl_vars['rubric']['sort_cost'] == 'asc'): ?>selected<?php endif; ?>>Óáûâàíèþ</option>
<option value="desc" <?php if ($this->_tpl_vars['rubric']['sort_cost'] == 'desc'): ?>selected<?php endif; ?>>Âîçðàñòàíèþ</option>
</select>
</td></tr>
<tr><td><b>Ôîòî:</b><font color="red">*</font></td></tr>
<tr><td><input type="file" name="pic" size="60" /></td></tr>
<tr><td align="left" width="150"><b>Ñîðòèðîâêà:</b></td></tr>
<tr><td class="v10" nowrap="nowrap">
<input class="input_form" value="<?php echo ((is_array($_tmp=@$_POST['sort'])) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['rubric']['sort']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['rubric']['sort'])); ?>
" size="5" name="sort" type="text">
</td></tr>
<tr bgcolor="#959595"><td colspan="2"><font color="#ffffff"><b>META</b></font></td><td>
<tr><td><b>title:</b></td></td></tr>
<tr><td><input type=text name="meta_title" value="<?php echo $this->_tpl_vars['rubric']['meta_title']; ?>
" class="input_form" size="120"></td></tr>
<tr><td><b>description:</b></td></td></tr>
<tr><td><input type=text class="input_form" value="<?php echo $this->_tpl_vars['rubric']['meta_description']; ?>
" name="meta_description" size="120"></td></tr>
<tr><td><b>keywords:</b></td></td></tr>
<tr><td><input type=text class="input_form" value="<?php echo $this->_tpl_vars['rubric']['meta_keywords']; ?>
" name="meta_keywords" size="120"></td></tr>
<tr><td><b>about:</b></td></td></tr>
<tr><td><input type=text class="input_form" value="<?php echo $this->_tpl_vars['rubric']['meta_about']; ?>
" name="meta_about" size="120"></td></tr>
<tr><td align="center"><input type="hidden" name="save">
<input type="submit" class="submit_blue" value="Ñîõðàíèòü"></td></tr>
</table>
</form>