PageRenderTime 623ms CodeModel.GetById 111ms app.highlight 422ms RepoModel.GetById 81ms app.codeStats 1ms

/sys/themes/web_blue/tpl_c/3a2718af57990c12f02d944162099d6a85653416.file.document.tpl.php

https://bitbucket.org/DESURE/dcms
PHP | 352 lines | 321 code | 29 blank | 2 comment | 52 complexity | f384d30d1bcd8a74ae22fbeeb63185ec MD5 | raw file
  1<?php /* Smarty version Smarty-3.0.6, created on 2012-09-16 19:13:49
  2         compiled from "/var/www/dcmssu2462/data/www/dcms.su/sys/themes/web_blue/tpl/document.tpl" */ ?>
  3<?php /*%%SmartyHeaderCode:4493854785055ecad5e4ed8-65260788%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
  4$_smarty_tpl->decodeProperties(array (
  5  'file_dependency' => 
  6  array (
  7    '3a2718af57990c12f02d944162099d6a85653416' => 
  8    array (
  9      0 => '/var/www/dcmssu2462/data/www/dcms.su/sys/themes/web_blue/tpl/document.tpl',
 10      1 => 1347808400,
 11      2 => 'file',
 12    ),
 13  ),
 14  'nocache_hash' => '4493854785055ecad5e4ed8-65260788',
 15  'function' => 
 16  array (
 17  ),
 18  'has_nocache_code' => false,
 19)); /*/%%SmartyHeaderCode%%*/?>
 20<?php if (!is_callable('smarty_block_php')) include '/var/www/dcmssu2462/data/www/dcms.su/sys/plugins/smarty/plugins/block.php.php';
 21?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 22<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $_smarty_tpl->getVariable('lang')->value->xml_lang;?>
 23">
 24    <head>
 25        <title><?php echo for_value($_smarty_tpl->getVariable('title')->value);?>
 26</title>
 27        <link rel="shortcut icon" href="/favicon.ico" />
 28        <link rel="stylesheet" href="/sys/themes/system.css" type="text/css" />        
 29        <link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->getVariable('path')->value;?>
 30/style.css" />
 31        <meta http-equiv="?ontent-Type" content="application/xhtml+xml; charset=utf-8" />
 32    <?php if ($_smarty_tpl->getVariable('description')->value){?><meta name="description" content="<?php echo for_value($_smarty_tpl->getVariable('description')->value);?>
 33" /><?php }?>
 34
 35<?php if ($_smarty_tpl->getVariable('keywords')->value){?><meta name="keywords" content="<?php echo for_value($_smarty_tpl->getVariable('keywords')->value);?>
 36" /><?php }?>
 37<script charset="utf-8" src="<?php echo $_smarty_tpl->getVariable('path')->value;?>
 38/jquery-1.7.2.min.js" type="text/javascript"></script>
 39<script charset="utf-8" src="<?php echo $_smarty_tpl->getVariable('path')->value;?>
 40/jquery-ui-1.8.20.custom.min.js" type="text/javascript"></script>
 41<script charset="utf-8" src="<?php echo $_smarty_tpl->getVariable('path')->value;?>
 42/jquery.sound.js" type="text/javascript"></script>
 43<script charset="utf-8" src="<?php echo $_smarty_tpl->getVariable('path')->value;?>
 44/custom.js" type="text/javascript"></script>        
 45<script>
 46    
 47    page_time = <?php echo time();?>
 48;
 49    // ?????, ???????????? ? JavaScript
 50    lang_smiles = '<?php echo $_smarty_tpl->getVariable('lang')->value->getString("??????");?>
 51';
 52    lang_smiles_hide = '<?php echo $_smarty_tpl->getVariable('lang')->value->getString("?????? ??????");?>
 53';
 54    lang_smiles_show = '<?php echo $_smarty_tpl->getVariable('lang')->value->getString("???????? ??????");?>
 55';
 56    lang_smiles_load = '<?php echo $_smarty_tpl->getVariable('lang')->value->getString("???????? ???????");?>
 57';
 58    lang_smiles_load_err = '<?php echo $_smarty_tpl->getVariable('lang')->value->getString("?? ??????? ????????? ??????");?>
 59';
 60    lang_mail = '<?php echo $_smarty_tpl->getVariable('lang')->value->getString("?????");?>
 61';
 62    lang_friends = '<?php echo $_smarty_tpl->getVariable('lang')->value->getString("??????");?>
 63';
 64    lang_server_return_ok = '<?php echo $_smarty_tpl->getVariable('lang')->value->getString("?????? ??????? ?????????");?>
 65';
 66    lang_server_return_err = '<?php echo $_smarty_tpl->getVariable('lang')->value->getString("?????? ?????? ??????");?>
 67';    
 68</script>    
 69<script>
 70    // ???????? ???????? ? ??????? JavaScript, ????? ? ?????? ??? ?????????? ??? ????????? ?????????
 71        <![CDATA[
 72            $('head').append('<style type="text/css">div.spoiler div.spoiler_content{ display: none; }</style>');
 73        ]]>
 74</script>
 75</head>
 76<body> 
 77    <div class="head">
 78        <div class="body">
 79            <div class="title">
 80                <h1>
 81                    <?php echo for_value($_smarty_tpl->getVariable('title')->value);?>
 82
 83                </h1>
 84                <div class="user">
 85
 86                    <?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['i']);
 87$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['name'] = 'i';
 88$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'] = is_array($_loop=$_smarty_tpl->getVariable('actions')->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
 89$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = true;
 90$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
 91$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] = 1;
 92$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop']-1;
 93if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']) {
 94    $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
 95    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] == 0)
 96        $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = false;
 97} else
 98    $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = 0;
 99if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']):
100
101            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] = 1;
102                 $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'];
103                 $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration']++):
104$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'];
105$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'];
106$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'];
107$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == 1);
108$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total']);
109?><a href="<?php echo $_smarty_tpl->getVariable('actions')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']][1];?>
110"><?php echo $_smarty_tpl->getVariable('actions')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']][0];?>
111</a>
112                    <?php endfor; endif; ?>    
113
114                    <?php if ($_smarty_tpl->getVariable('user')->value->id){?>
115                        <script>
116                            USER.message_file_path = '<?php echo $_smarty_tpl->getVariable('path')->value;?>
117/sound.swf';
118                            USER.id = <?php echo $_smarty_tpl->getVariable('user')->value->id;?>
119;
120                            USER.count_mail = <?php echo $_smarty_tpl->getVariable('user')->value->mail_new_count;?>
121;
122                            USER.count_friends = <?php echo $_smarty_tpl->getVariable('user')->value->friend_new_count;?>
123;
124                            USER.updateBar(false);
125                            USER.getData();
126                        </script>
127                        <a id='friends' style='font-weight: bold; display: none' href='/my.friends.php'><?php echo $_smarty_tpl->getVariable('lang')->value->getString("??????");?>
128</a>
129                        <a id='mail' style='font-weight: bold; display: none' href='/my.mail.php?only_unreaded'><?php echo $_smarty_tpl->getVariable('lang')->value->getString("?????");?>
130</a>
131                        <a id='menu_user' style='font-weight: bold;' href="/menu.user.php"><?php echo $_smarty_tpl->getVariable('user')->value->login;?>
132</a>
133                    <?php }else{ ?>
134                        <a href="/login.php?return=<?php echo $_smarty_tpl->getVariable('URL')->value;?>
135"><?php echo $_smarty_tpl->getVariable('lang')->value->getString("???????????");?>
136</a>
137                        <a href="/reg.php?return=<?php echo $_smarty_tpl->getVariable('URL')->value;?>
138"><?php echo $_smarty_tpl->getVariable('lang')->value->getString("???????????");?>
139</a>
140                    <?php }?>
141                </div>
142            </div>
143            <?php if ($_SERVER['SCRIPT_NAME']!='/index.php'){?>
144                <div class="returns"> 
145                    <span><span><a href='/'><?php echo $_smarty_tpl->getVariable('lang')->value->getString("?? ???????");?>
146</a></span></span>    
147                    <?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['i']);
148$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['name'] = 'i';
149$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'] = is_array($_loop=$_smarty_tpl->getVariable('returns')->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
150$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] = ((int)-1) == 0 ? 1 : (int)-1;
151$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = true;
152$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
153$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop']-1;
154if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']) {
155    $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = min(ceil(($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] > 0 ? $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'] : $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start']+1)/abs($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'])), $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['max']);
156    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] == 0)
157        $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = false;
158} else
159    $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = 0;
160if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']):
161
162            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] = 1;
163                 $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'];
164                 $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration']++):
165$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'];
166$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'];
167$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'];
168$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == 1);
169$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total']);
170?>
171                        <span><span><a href="<?php echo $_smarty_tpl->getVariable('returns')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']][1];?>
172"><?php echo $_smarty_tpl->getVariable('returns')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']][0];?>
173</a></span></span>
174                    <?php endfor; endif; ?>
175                </div>
176            <?php }?>
177        </div>
178    </div>
179
180    <div class="body">
181        <div class="messages">
182            <?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['i']);
183$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['name'] = 'i';
184$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'] = is_array($_loop=$_smarty_tpl->getVariable('err')->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
185$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = true;
186$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
187$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] = 1;
188$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop']-1;
189if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']) {
190    $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
191    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] == 0)
192        $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = false;
193} else
194    $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = 0;
195if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']):
196
197            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] = 1;
198                 $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'];
199                 $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration']++):
200$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'];
201$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'];
202$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'];
203$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == 1);
204$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total']);
205?>
206                <div class="err"><?php echo output_text($_smarty_tpl->getVariable('err')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['text']);?>
207<?php if ($_smarty_tpl->getVariable('err')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['help']){?> [<a title="??????" href="/faq.php?info=<?php echo $_smarty_tpl->getVariable('err')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['help'];?>
208&amp;return=<?php echo urlencode($_smarty_tpl->getVariable('return')->value);?>
209">?</a>]<?php }?></div>
210            <?php endfor; endif; ?>
211            <?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['i']);
212$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['name'] = 'i';
213$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'] = is_array($_loop=$_smarty_tpl->getVariable('msg')->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
214$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = true;
215$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
216$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] = 1;
217$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop']-1;
218if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']) {
219    $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
220    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] == 0)
221        $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = false;
222} else
223    $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = 0;
224if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']):
225
226            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] = 1;
227                 $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'];
228                 $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration']++):
229$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'];
230$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'];
231$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'];
232$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == 1);
233$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total']);
234?>
235                <div class="msg"><?php echo output_text($_smarty_tpl->getVariable('msg')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['text']);?>
236<?php if ($_smarty_tpl->getVariable('msg')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['help']){?> [<a title="??????" href="/faq.php?info=<?php echo $_smarty_tpl->getVariable('msg')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['help'];?>
237&amp;return=<?php echo urlencode($_smarty_tpl->getVariable('return')->value);?>
238">?</a>]<?php }?></div>
239            <?php endfor; endif; ?>
240        </div>
241
242        <table>
243            <tr>
244                <td class="menu">
245                    <div class="menu"> 
246                        <?php if ($_smarty_tpl->getVariable('adt')->value->top){?>
247                            <div class="adt">
248                                <div class="post_hightlight"><?php echo $_smarty_tpl->getVariable('lang')->value->getString("????????");?>
249</div>
250                                <?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['i']);
251$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['name'] = 'i';
252$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'] = is_array($_loop=$_smarty_tpl->getVariable('adt')->value->top) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
253$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = true;
254$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
255$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] = 1;
256$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop']-1;
257if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']) {
258    $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
259    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] == 0)
260        $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = false;
261} else
262    $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = 0;
263if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']):
264
265            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] = 1;
266                 $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'];
267                 $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration']++):
268$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'];
269$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'];
270$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'];
271$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == 1);
272$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total']);
273?>
274                                    <?php echo $_smarty_tpl->getVariable('adt')->value->top[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']];?>
275
276                                <?php endfor; endif; ?>
277                            </div>
278                        <?php }?>
279
280
281                        <?php $_smarty_tpl->smarty->_tag_stack[] = array('php', array()); $_block_repeat=true; smarty_block_php(array(), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>
282
283$menu = new menu('main');
284$menu -> display();
285                        <?php $_block_content = ob_get_clean(); $_block_repeat=false; echo smarty_block_php(array(), $_block_content, $_smarty_tpl, $_block_repeat);  } array_pop($_smarty_tpl->smarty->_tag_stack);?>
286
287
288                        <?php if ($_smarty_tpl->getVariable('adt')->value->bottom){?>
289                            <div class="post_hightlight"><?php echo $_smarty_tpl->getVariable('lang')->value->getString("??????");?>
290</div>
291                            <?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['i']);
292$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['name'] = 'i';
293$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'] = is_array($_loop=$_smarty_tpl->getVariable('adt')->value->bottom) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
294$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = true;
295$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
296$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] = 1;
297$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop']-1;
298if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']) {
299    $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
300    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] == 0)
301        $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = false;
302} else
303    $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = 0;
304if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']):
305
306            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] = 1;
307                 $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'];
308                 $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration']++):
309$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'];
310$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'];
311$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'];
312$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == 1);
313$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total']);
314?>
315                                <?php echo $_smarty_tpl->getVariable('adt')->value->bottom[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']];?>
316
317                            <?php endfor; endif; ?>
318                        <?php }?>
319                    </div>
320                </td>
321                <td class="content">
322                    <div class="content">
323                        <?php echo $_smarty_tpl->getVariable('content')->value;?>
324
325                    </div>
326                </td>
327            </tr>
328        </table>
329
330
331
332        <div class="foot">
333            <span class="copyright">
334                <?php echo output_text($_smarty_tpl->getVariable('dcms')->value->copyright);?>
335
336            </span>
337            <span class="generation">
338                <?php echo $_smarty_tpl->getVariable('lang')->value->getString("????? ????????? ????????");?>
339: <?php echo $_smarty_tpl->getVariable('document_generation_time')->value;?>
340
341                <a href='/language.php?return=<?php echo $_smarty_tpl->getVariable('URL')->value;?>
342' style='background-image: url(<?php echo $_smarty_tpl->getVariable('lang')->value->icon;?>
343); background-repeat: no-repeat; background-position: 5px 2px; padding-left: 23px;'><?php echo $_smarty_tpl->getVariable('lang')->value->name;?>
344</a>
345            </span>
346
347        </div>
348
349    </div>
350
351</body>
352</html>