PageRenderTime 46ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

/ojs/ojs-2.2/cache/t_compile/%%87^87A^87A1ECC2%%statistics.tpl.php

https://github.com/mcrider/pkpUpgradeTestSuite
PHP | 121 lines | 114 code | 7 blank | 0 comment | 15 complexity | 6d2523be2218a21303f2201c2aca1d8d MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1
  1. <?php /* Smarty version 2.6.18, created on 2007-12-11 22:59:31
  2. compiled from about/statistics.tpl */ ?>
  3. <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
  4. smarty_core_load_plugins(array('plugins' => array(array('function', 'translate', 'about/statistics.tpl', 20, false),array('function', 'url', 'about/statistics.tpl', 22, false),array('function', 'math', 'about/statistics.tpl', 59, false),array('modifier', 'default', 'about/statistics.tpl', 72, false),)), $this); ?>
  5. <?php $this->assign('pageTitle', "about.statistics"); ?>
  6. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  7. $this->_smarty_include(array('smarty_include_tpl_file' => "common/header.tpl", 'smarty_include_vars' => array()));
  8. $this->_tpl_vars = $_smarty_tpl_vars;
  9. unset($_smarty_tpl_vars);
  10. ?>
  11. <a name="statistics"></a>
  12. <table width="100%" class="data">
  13. <tr valign="top">
  14. <td width="25%" class="label"><h4><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "common.year"), $this);?>
  15. </h4></td>
  16. <td width="75%" colspan="2" class="value">
  17. <h4><a class="action" href="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('statisticsYear' => $this->_tpl_vars['statisticsYear']-1), $this);?>
  18. "><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "navigation.previousPage"), $this);?>
  19. </a>&nbsp;<?php echo $this->_tpl_vars['statisticsYear']; ?>
  20. &nbsp;<a class="action" href="<?php echo $this->_plugins['function']['url'][0][0]->smartyUrl(array('statisticsYear' => $this->_tpl_vars['statisticsYear']+1), $this);?>
  21. "><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "navigation.nextPage"), $this);?>
  22. </a></h4>
  23. </td>
  24. </tr>
  25. <?php if ($this->_tpl_vars['statNumPublishedIssues']): ?><tr valign="top">
  26. <td class="label"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "manager.statistics.statistics.numIssues"), $this);?>
  27. </td>
  28. <td colspan="2" class="value"><?php echo $this->_tpl_vars['issueStatistics']['numPublishedIssues']; ?>
  29. </td>
  30. </tr><?php endif; ?>
  31. <?php if ($this->_tpl_vars['statItemsPublished']): ?><tr valign="top">
  32. <td width="20%" class="label"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "manager.statistics.statistics.itemsPublished"), $this);?>
  33. </td>
  34. <td width="80%" colspan="2" class="value"><?php echo $this->_tpl_vars['articleStatistics']['numPublishedSubmissions']; ?>
  35. </td>
  36. </tr><?php endif; ?>
  37. <?php if ($this->_tpl_vars['statNumSubmissions']): ?><tr valign="top">
  38. <td width="20%" class="label"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "manager.statistics.statistics.numSubmissions"), $this);?>
  39. </td>
  40. <td width="80%" colspan="2" class="value"><?php echo $this->_tpl_vars['articleStatistics']['numSubmissions']; ?>
  41. </td>
  42. </tr><?php endif; ?>
  43. <?php if ($this->_tpl_vars['statPeerReviewed']): ?><tr valign="top">
  44. <td width="20%" class="label"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "manager.statistics.statistics.peerReviewed"), $this);?>
  45. </td>
  46. <td width="80%" colspan="2" class="value"><?php echo $this->_tpl_vars['limitedArticleStatistics']['numReviewedSubmissions']; ?>
  47. </td>
  48. </tr><?php endif; ?>
  49. <?php if ($this->_tpl_vars['statCountAccept']): ?><tr valign="top">
  50. <td width="20%" class="label">&nbsp;&nbsp;<?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "manager.statistics.statistics.count.accept"), $this);?>
  51. </td>
  52. <td width="80%" colspan="2" class="value"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "manager.statistics.statistics.count.value",'count' => $this->_tpl_vars['limitedArticleStatistics']['submissionsAccept'],'percentage' => $this->_tpl_vars['limitedArticleStatistics']['submissionsAcceptPercent']), $this);?>
  53. </td>
  54. </tr><?php endif; ?>
  55. <?php if ($this->_tpl_vars['statCountDecline']): ?><tr valign="top">
  56. <td width="20%" class="label">&nbsp;&nbsp;<?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "manager.statistics.statistics.count.decline"), $this);?>
  57. </td>
  58. <td width="80%" colspan="2" class="value"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "manager.statistics.statistics.count.value",'count' => $this->_tpl_vars['limitedArticleStatistics']['submissionsDecline'],'percentage' => $this->_tpl_vars['limitedArticleStatistics']['submissionsDeclinePercent']), $this);?>
  59. </td>
  60. </tr><?php endif; ?>
  61. <?php if ($this->_tpl_vars['statCountRevise']): ?><tr valign="top">
  62. <td width="20%" class="label">&nbsp;&nbsp;<?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "manager.statistics.statistics.count.revise"), $this);?>
  63. </td>
  64. <td width="80%" colspan="2" class="value"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "manager.statistics.statistics.count.value",'count' => $this->_tpl_vars['limitedArticleStatistics']['submissionsRevise'],'percentage' => $this->_tpl_vars['limitedArticleStatistics']['submissionsRevisePercent']), $this);?>
  65. </td>
  66. </tr><?php endif; ?>
  67. <?php if ($this->_tpl_vars['statDaysPerReview']): ?><tr valign="top">
  68. <td width="20%" class="label">&nbsp;&nbsp;<?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "manager.statistics.statistics.daysPerReview"), $this);?>
  69. </td>
  70. <td colspan="2" class="value">
  71. <?php $this->assign('daysPerReview', $this->_tpl_vars['reviewerStatistics']['daysPerReview']); ?>
  72. <?php echo smarty_function_math(array('equation' => "round(".($this->_tpl_vars['daysPerReview']).")"), $this);?>
  73. </td>
  74. </tr><?php endif; ?>
  75. <?php if ($this->_tpl_vars['statDaysToPublication']): ?><tr valign="top">
  76. <td width="20%" class="label">&nbsp;&nbsp;<?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "manager.statistics.statistics.daysToPublication"), $this);?>
  77. </td>
  78. <td colspan="2" class="value"><?php echo $this->_tpl_vars['limitedArticleStatistics']['daysToPublication']; ?>
  79. </td>
  80. </tr><?php endif; ?>
  81. <?php if ($this->_tpl_vars['statRegisteredUsers']): ?><tr valign="top">
  82. <td width="20%" class="label"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "manager.statistics.statistics.registeredUsers"), $this);?>
  83. </td>
  84. <td colspan="2" class="value"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "manager.statistics.statistics.totalNewValue",'numTotal' => $this->_tpl_vars['allUserStatistics']['totalUsersCount'],'numNew' => $this->_tpl_vars['userStatistics']['totalUsersCount']), $this);?>
  85. </td>
  86. </tr><?php endif; ?>
  87. <?php if ($this->_tpl_vars['statRegisteredReaders']): ?><tr valign="top">
  88. <td width="20%" class="label"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "manager.statistics.statistics.registeredReaders"), $this);?>
  89. </td>
  90. <td colspan="2" class="value"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "manager.statistics.statistics.totalNewValue",'numTotal' => ((is_array($_tmp=@$this->_tpl_vars['allUserStatistics']['reader'])) ? $this->_run_mod_handler('default', true, $_tmp, '0') : smarty_modifier_default($_tmp, '0')),'numNew' => ((is_array($_tmp=@$this->_tpl_vars['userStatistics']['reader'])) ? $this->_run_mod_handler('default', true, $_tmp, '0') : smarty_modifier_default($_tmp, '0'))), $this);?>
  91. </td>
  92. </tr><?php endif; ?>
  93. <?php if ($this->_tpl_vars['enableSubscriptions'] && $this->_tpl_vars['statSubscriptions']): ?>
  94. <tr valign="top">
  95. <td colspan="3" class="label"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "manager.statistics.statistics.subscriptions"), $this);?>
  96. </td>
  97. </tr>
  98. <?php $_from = $this->_tpl_vars['allSubscriptionStatistics']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
  99. foreach ($_from as $this->_tpl_vars['type_id'] => $this->_tpl_vars['stats']):
  100. ?>
  101. <tr valign="top">
  102. <td width="20%" class="label">&nbsp;&nbsp;<?php echo $this->_tpl_vars['stats']['name']; ?>
  103. :</td>
  104. <td colspan="2" class="value"><?php echo $this->_plugins['function']['translate'][0][0]->smartyTranslate(array('key' => "manager.statistics.statistics.totalNewValue",'numTotal' => ((is_array($_tmp=@$this->_tpl_vars['stats']['count'])) ? $this->_run_mod_handler('default', true, $_tmp, '0') : smarty_modifier_default($_tmp, '0')),'numNew' => ((is_array($_tmp=@$this->_tpl_vars['subscriptionStatistics'][$this->_tpl_vars['type_id']]['count'])) ? $this->_run_mod_handler('default', true, $_tmp, '0') : smarty_modifier_default($_tmp, '0'))), $this);?>
  105. </td>
  106. </tr>
  107. <?php endforeach; endif; unset($_from); ?>
  108. <?php endif; ?>
  109. </table>
  110. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  111. $this->_smarty_include(array('smarty_include_tpl_file' => "common/footer.tpl", 'smarty_include_vars' => array()));
  112. $this->_tpl_vars = $_smarty_tpl_vars;
  113. unset($_smarty_tpl_vars);
  114. ?>