PageRenderTime 72ms CodeModel.GetById 21ms RepoModel.GetById 2ms app.codeStats 0ms

/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. <?php if ($_smarty_tpl->getVariable('keywords')->value){?><meta name="keywords" content="<?php echo for_value($_smarty_tpl->getVariable('keywords')->value);?>
  35. " /><?php }?>
  36. <script charset="utf-8" src="<?php echo $_smarty_tpl->getVariable('path')->value;?>
  37. /jquery-1.7.2.min.js" type="text/javascript"></script>
  38. <script charset="utf-8" src="<?php echo $_smarty_tpl->getVariable('path')->value;?>
  39. /jquery-ui-1.8.20.custom.min.js" type="text/javascript"></script>
  40. <script charset="utf-8" src="<?php echo $_smarty_tpl->getVariable('path')->value;?>
  41. /jquery.sound.js" type="text/javascript"></script>
  42. <script charset="utf-8" src="<?php echo $_smarty_tpl->getVariable('path')->value;?>
  43. /custom.js" type="text/javascript"></script>
  44. <script>
  45. page_time = <?php echo time();?>
  46. ;
  47. // ?????, ???????????? ? JavaScript
  48. lang_smiles = '<?php echo $_smarty_tpl->getVariable('lang')->value->getString("??????");?>
  49. ';
  50. lang_smiles_hide = '<?php echo $_smarty_tpl->getVariable('lang')->value->getString("?????? ??????");?>
  51. ';
  52. lang_smiles_show = '<?php echo $_smarty_tpl->getVariable('lang')->value->getString("???????? ??????");?>
  53. ';
  54. lang_smiles_load = '<?php echo $_smarty_tpl->getVariable('lang')->value->getString("???????? ???????");?>
  55. ';
  56. lang_smiles_load_err = '<?php echo $_smarty_tpl->getVariable('lang')->value->getString("?? ??????? ????????? ??????");?>
  57. ';
  58. lang_mail = '<?php echo $_smarty_tpl->getVariable('lang')->value->getString("?????");?>
  59. ';
  60. lang_friends = '<?php echo $_smarty_tpl->getVariable('lang')->value->getString("??????");?>
  61. ';
  62. lang_server_return_ok = '<?php echo $_smarty_tpl->getVariable('lang')->value->getString("?????? ??????? ?????????");?>
  63. ';
  64. lang_server_return_err = '<?php echo $_smarty_tpl->getVariable('lang')->value->getString("?????? ?????? ??????");?>
  65. ';
  66. </script>
  67. <script>
  68. // ???????? ???????? ? ??????? JavaScript, ????? ? ?????? ??? ?????????? ??? ????????? ?????????
  69. <![CDATA[
  70. $('head').append('<style type="text/css">div.spoiler div.spoiler_content{ display: none; }</style>');
  71. ]]>
  72. </script>
  73. </head>
  74. <body>
  75. <div class="head">
  76. <div class="body">
  77. <div class="title">
  78. <h1>
  79. <?php echo for_value($_smarty_tpl->getVariable('title')->value);?>
  80. </h1>
  81. <div class="user">
  82. <?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['i']);
  83. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['name'] = 'i';
  84. $_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);
  85. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = true;
  86. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
  87. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] = 1;
  88. $_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;
  89. if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']) {
  90. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
  91. if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] == 0)
  92. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = false;
  93. } else
  94. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = 0;
  95. if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']):
  96. 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;
  97. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'];
  98. $_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']++):
  99. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'];
  100. $_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'];
  101. $_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'];
  102. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['first'] = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == 1);
  103. $_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']);
  104. ?><a href="<?php echo $_smarty_tpl->getVariable('actions')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']][1];?>
  105. "><?php echo $_smarty_tpl->getVariable('actions')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']][0];?>
  106. </a>
  107. <?php endfor; endif; ?>
  108. <?php if ($_smarty_tpl->getVariable('user')->value->id){?>
  109. <script>
  110. USER.message_file_path = '<?php echo $_smarty_tpl->getVariable('path')->value;?>
  111. /sound.swf';
  112. USER.id = <?php echo $_smarty_tpl->getVariable('user')->value->id;?>
  113. ;
  114. USER.count_mail = <?php echo $_smarty_tpl->getVariable('user')->value->mail_new_count;?>
  115. ;
  116. USER.count_friends = <?php echo $_smarty_tpl->getVariable('user')->value->friend_new_count;?>
  117. ;
  118. USER.updateBar(false);
  119. USER.getData();
  120. </script>
  121. <a id='friends' style='font-weight: bold; display: none' href='/my.friends.php'><?php echo $_smarty_tpl->getVariable('lang')->value->getString("??????");?>
  122. </a>
  123. <a id='mail' style='font-weight: bold; display: none' href='/my.mail.php?only_unreaded'><?php echo $_smarty_tpl->getVariable('lang')->value->getString("?????");?>
  124. </a>
  125. <a id='menu_user' style='font-weight: bold;' href="/menu.user.php"><?php echo $_smarty_tpl->getVariable('user')->value->login;?>
  126. </a>
  127. <?php }else{ ?>
  128. <a href="/login.php?return=<?php echo $_smarty_tpl->getVariable('URL')->value;?>
  129. "><?php echo $_smarty_tpl->getVariable('lang')->value->getString("???????????");?>
  130. </a>
  131. <a href="/reg.php?return=<?php echo $_smarty_tpl->getVariable('URL')->value;?>
  132. "><?php echo $_smarty_tpl->getVariable('lang')->value->getString("???????????");?>
  133. </a>
  134. <?php }?>
  135. </div>
  136. </div>
  137. <?php if ($_SERVER['SCRIPT_NAME']!='/index.php'){?>
  138. <div class="returns">
  139. <span><span><a href='/'><?php echo $_smarty_tpl->getVariable('lang')->value->getString("?? ???????");?>
  140. </a></span></span>
  141. <?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['i']);
  142. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['name'] = 'i';
  143. $_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);
  144. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] = ((int)-1) == 0 ? 1 : (int)-1;
  145. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = true;
  146. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
  147. $_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;
  148. if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']) {
  149. $_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']);
  150. if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] == 0)
  151. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = false;
  152. } else
  153. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = 0;
  154. if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']):
  155. 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;
  156. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'];
  157. $_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']++):
  158. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'];
  159. $_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'];
  160. $_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'];
  161. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['first'] = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == 1);
  162. $_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']);
  163. ?>
  164. <span><span><a href="<?php echo $_smarty_tpl->getVariable('returns')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']][1];?>
  165. "><?php echo $_smarty_tpl->getVariable('returns')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']][0];?>
  166. </a></span></span>
  167. <?php endfor; endif; ?>
  168. </div>
  169. <?php }?>
  170. </div>
  171. </div>
  172. <div class="body">
  173. <div class="messages">
  174. <?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['i']);
  175. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['name'] = 'i';
  176. $_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);
  177. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = true;
  178. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
  179. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] = 1;
  180. $_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;
  181. if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']) {
  182. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
  183. if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] == 0)
  184. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = false;
  185. } else
  186. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = 0;
  187. if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']):
  188. 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;
  189. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'];
  190. $_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']++):
  191. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'];
  192. $_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'];
  193. $_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'];
  194. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['first'] = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == 1);
  195. $_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']);
  196. ?>
  197. <div class="err"><?php echo output_text($_smarty_tpl->getVariable('err')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['text']);?>
  198. <?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'];?>
  199. &amp;return=<?php echo urlencode($_smarty_tpl->getVariable('return')->value);?>
  200. ">?</a>]<?php }?></div>
  201. <?php endfor; endif; ?>
  202. <?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['i']);
  203. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['name'] = 'i';
  204. $_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);
  205. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = true;
  206. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
  207. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] = 1;
  208. $_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;
  209. if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']) {
  210. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
  211. if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] == 0)
  212. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = false;
  213. } else
  214. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = 0;
  215. if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']):
  216. 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;
  217. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'];
  218. $_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']++):
  219. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'];
  220. $_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'];
  221. $_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'];
  222. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['first'] = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == 1);
  223. $_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']);
  224. ?>
  225. <div class="msg"><?php echo output_text($_smarty_tpl->getVariable('msg')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['text']);?>
  226. <?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'];?>
  227. &amp;return=<?php echo urlencode($_smarty_tpl->getVariable('return')->value);?>
  228. ">?</a>]<?php }?></div>
  229. <?php endfor; endif; ?>
  230. </div>
  231. <table>
  232. <tr>
  233. <td class="menu">
  234. <div class="menu">
  235. <?php if ($_smarty_tpl->getVariable('adt')->value->top){?>
  236. <div class="adt">
  237. <div class="post_hightlight"><?php echo $_smarty_tpl->getVariable('lang')->value->getString("????????");?>
  238. </div>
  239. <?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['i']);
  240. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['name'] = 'i';
  241. $_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);
  242. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = true;
  243. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
  244. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] = 1;
  245. $_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;
  246. if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']) {
  247. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
  248. if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] == 0)
  249. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = false;
  250. } else
  251. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = 0;
  252. if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']):
  253. 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;
  254. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'];
  255. $_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']++):
  256. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'];
  257. $_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'];
  258. $_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'];
  259. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['first'] = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == 1);
  260. $_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']);
  261. ?>
  262. <?php echo $_smarty_tpl->getVariable('adt')->value->top[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']];?>
  263. <?php endfor; endif; ?>
  264. </div>
  265. <?php }?>
  266. <?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();?>
  267. $menu = new menu('main');
  268. $menu -> display();
  269. <?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);?>
  270. <?php if ($_smarty_tpl->getVariable('adt')->value->bottom){?>
  271. <div class="post_hightlight"><?php echo $_smarty_tpl->getVariable('lang')->value->getString("??????");?>
  272. </div>
  273. <?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['i']);
  274. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['name'] = 'i';
  275. $_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);
  276. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = true;
  277. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
  278. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] = 1;
  279. $_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;
  280. if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']) {
  281. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
  282. if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] == 0)
  283. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = false;
  284. } else
  285. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = 0;
  286. if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']):
  287. 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;
  288. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'];
  289. $_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']++):
  290. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'];
  291. $_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'];
  292. $_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'];
  293. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['first'] = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == 1);
  294. $_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']);
  295. ?>
  296. <?php echo $_smarty_tpl->getVariable('adt')->value->bottom[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']];?>
  297. <?php endfor; endif; ?>
  298. <?php }?>
  299. </div>
  300. </td>
  301. <td class="content">
  302. <div class="content">
  303. <?php echo $_smarty_tpl->getVariable('content')->value;?>
  304. </div>
  305. </td>
  306. </tr>
  307. </table>
  308. <div class="foot">
  309. <span class="copyright">
  310. <?php echo output_text($_smarty_tpl->getVariable('dcms')->value->copyright);?>
  311. </span>
  312. <span class="generation">
  313. <?php echo $_smarty_tpl->getVariable('lang')->value->getString("????? ????????? ????????");?>
  314. : <?php echo $_smarty_tpl->getVariable('document_generation_time')->value;?>
  315. <a href='/language.php?return=<?php echo $_smarty_tpl->getVariable('URL')->value;?>
  316. ' style='background-image: url(<?php echo $_smarty_tpl->getVariable('lang')->value->icon;?>
  317. ); background-repeat: no-repeat; background-position: 5px 2px; padding-left: 23px;'><?php echo $_smarty_tpl->getVariable('lang')->value->name;?>
  318. </a>
  319. </span>
  320. </div>
  321. </div>
  322. </body>
  323. </html>