/sys/themes/itouch/tpl_c/86e6f3d810d1015dcbca86091120060fa7035f5b.file.inc.foot.tpl.php

https://bitbucket.org/DESURE/dcms · PHP · 110 lines · 101 code · 9 blank · 0 comment · 18 complexity · 5052862873bb606b5e387a50831680fb MD5 · raw file

  1. <?php /* Smarty version Smarty-3.0.6, created on 2012-09-16 21:14:58
  2. compiled from "/var/www/dcmssu2462/data/www/dcms.su/sys/themes/itouch/tpl/inc.foot.tpl" */ ?>
  3. <?php /*%%SmartyHeaderCode:10710452445056091257e9e6-65551415%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
  4. $_smarty_tpl->decodeProperties(array (
  5. 'file_dependency' =>
  6. array (
  7. '86e6f3d810d1015dcbca86091120060fa7035f5b' =>
  8. array (
  9. 0 => '/var/www/dcmssu2462/data/www/dcms.su/sys/themes/itouch/tpl/inc.foot.tpl',
  10. 1 => 1339315062,
  11. 2 => 'file',
  12. ),
  13. ),
  14. 'nocache_hash' => '10710452445056091257e9e6-65551415',
  15. 'function' =>
  16. array (
  17. ),
  18. 'has_nocache_code' => false,
  19. )); /*/%%SmartyHeaderCode%%*/?>
  20. <?php if ($_smarty_tpl->getVariable('actions')->value){?>
  21. <div data-role="controlgroup" data-iconpos="left" data-mini="true">
  22. <?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['i']);
  23. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['name'] = 'i';
  24. $_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);
  25. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = true;
  26. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
  27. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] = 1;
  28. $_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;
  29. if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']) {
  30. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
  31. if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] == 0)
  32. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = false;
  33. } else
  34. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = 0;
  35. if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']):
  36. 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;
  37. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'];
  38. $_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']++):
  39. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'];
  40. $_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'];
  41. $_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'];
  42. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['first'] = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == 1);
  43. $_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']);
  44. ?>
  45. <a data-role="button" data-icon="gear" href="<?php echo $_smarty_tpl->getVariable('actions')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']][1];?>
  46. "><?php echo $_smarty_tpl->getVariable('actions')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']][0];?>
  47. </a>
  48. <?php endfor; endif; ?>
  49. </div>
  50. <?php }?>
  51. <?php if ($_smarty_tpl->getVariable('returns')->value){?>
  52. <div data-role="navbar" data-iconpos="left">
  53. <ul>
  54. <?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['i']);
  55. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['name'] = 'i';
  56. $_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);
  57. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] = ((int)-1) == 0 ? 1 : (int)-1;
  58. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = true;
  59. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
  60. $_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;
  61. if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']) {
  62. $_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']);
  63. if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] == 0)
  64. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = false;
  65. } else
  66. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = 0;
  67. if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']):
  68. 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;
  69. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'];
  70. $_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']++):
  71. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'];
  72. $_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'];
  73. $_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'];
  74. $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['first'] = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == 1);
  75. $_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']);
  76. ?>
  77. <li><a data-icon="back" href="<?php echo $_smarty_tpl->getVariable('returns')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']][1];?>
  78. "><?php echo $_smarty_tpl->getVariable('returns')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']][0];?>
  79. </a></li>
  80. <?php endfor; endif; ?>
  81. </ul>
  82. </div>
  83. <?php }?>
  84. <div data-role="navbar" data-iconpos="left">
  85. <ul>
  86. <?php if ($_SERVER['SCRIPT_NAME']!='/index.php'){?>
  87. <li><a data-icon="home" href='/'><?php echo $_smarty_tpl->getVariable('lang')->value->getString("?? ???????");?>
  88. </a></li>
  89. <?php }?>
  90. <li><a href="/online.users.php"><?php echo $_smarty_tpl->getVariable('lang')->value->getString("?? ?????");?>
  91. : <?php echo $_smarty_tpl->getVariable('dcms')->value->count('users_online');?>
  92. </a></li>
  93. <li><a href="/online.guest.php"><?php echo $_smarty_tpl->getVariable('lang')->value->getString("?????");?>
  94. : <?php echo $_smarty_tpl->getVariable('dcms')->value->count('guest_online');?>
  95. </a></li>
  96. </ul>
  97. </div>
  98. <div data-role="footer" class="ui-bar">
  99. <h4><?php echo output_text($_smarty_tpl->getVariable('dcms')->value->copyright);?>
  100. </h4>
  101. </div>