PageRenderTime 28ms CodeModel.GetById 15ms RepoModel.GetById 1ms app.codeStats 0ms

/web/admin/template_c/%%F8^F8C^F8CB83D4%%now_role_list.html.php

https://gitlab.com/xusasuke6/Slg_php
PHP | 132 lines | 120 code | 9 blank | 3 comment | 7 complexity | 0fc7a32ff1f592372b92b8bc34b2fcab MD5 | raw file
  1. <?php /* Smarty version 2.6.25, created on 2016-05-21 14:55:57
  2. compiled from module/online/now_role_list.html */ ?>
  3. <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
  4. smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'module/online/now_role_list.html', 51, false),array('function', 'math', 'module/online/now_role_list.html', 76, false),)), $this); ?>
  5. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  6. <html xmlns="http://www.w3.org/1999/xhtml">
  7. <head>
  8. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  9. <title><?php echo $this->_tpl_vars['_lang']['left']['online_list']; ?>
  10. </title>
  11. <link rel="stylesheet" href="/web/admin/static/css/base.css" type="text/css">
  12. <link rel="stylesheet" href="/web/admin/static/css/style.css" type="text/css">
  13. <style type="text/css">
  14. #all {text-align:left;margin-left:4px; line-height:1;}
  15. #nodes {width:100%; float:left;border:1px #ccc solid;}
  16. #result {width: 100%; height:100%; clear:both; border:1px #ccc solid;}
  17. </style>
  18. <script type="text/javascript" src="/web/admin/static/js/jquery.min.js"></script>
  19. <script type="text/javascript">
  20. </script>
  21. </head>
  22. <body>
  23. <div id="all">
  24. <div id="position"><?php echo $this->_tpl_vars['_lang']['left']['online_register']; ?>
  25. <?php echo $this->_tpl_vars['_lang']['left']['online_list']; ?>
  26. </div>
  27. <div><?php echo $this->_tpl_vars['errorMsg']; ?>
  28. </div>
  29. <div id="main">
  30. <div class="box">
  31. <div id="nodes">
  32. <table>
  33. <tr>
  34. <form method="get" action="">
  35. <?php $_from = $this->_tpl_vars['pageHTML']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
  36. foreach ($_from as $this->_tpl_vars['page_name'] => $this->_tpl_vars['page_id']):
  37. ?>
  38. <td><a href="?pid=<?php echo $this->_tpl_vars['page_id']; ?>
  39. &role_id=<?php echo $this->_tpl_vars['role_id']; ?>
  40. &nickname=<?php echo $this->_tpl_vars['nickname']; ?>
  41. &acname=<?php echo $this->_tpl_vars['acname']; ?>
  42. "><?php echo $this->_tpl_vars['page_name']; ?>
  43. </a></td>
  44. <?php endforeach; endif; unset($_from); ?>
  45. <td><?php if ($this->_tpl_vars['page_count'] > 0): ?><?php echo $this->_tpl_vars['_lang']['conmon']['all_page']; ?>
  46. (<?php echo $this->_tpl_vars['page_count']; ?>
  47. )<?php endif; ?></td>
  48. <td>
  49. &nbsp;<?php echo $this->_tpl_vars['_lang']['conmon']['user_id']; ?>
  50. :<input type="text" id="role_id" name="role_id" size="10" value="<?php echo $this->_tpl_vars['role_id']; ?>
  51. " />
  52. &nbsp;<?php echo $this->_tpl_vars['_lang']['conmon']['role_name']; ?>
  53. <input type='text' id="nickname" name='nickname' size='10' value='<?php echo $this->_tpl_vars['nickname']; ?>
  54. '/>
  55. &nbsp;<?php echo $this->_tpl_vars['_lang']['conmon']['user_account']; ?>
  56. <input type='text' id="acname" name='acname' size='10' value='<?php echo $this->_tpl_vars['acname']; ?>
  57. '/>
  58. </td>
  59. <td><input name="pid" type="text" class="text" size="3" maxlength="6">&nbsp;
  60. <input type="submit" class="button" name="Submit" value="GO">
  61. </td>
  62. </form>
  63. </tr>
  64. </table>
  65. <table width="100%" cellspacing="1" cellpadding="3" border="0" class='table_list'>
  66. <tr>
  67. <td colspan=9><?php echo $this->_tpl_vars['_lang']['conmon']['sys_time_now']; ?>
  68. <?php echo ((is_array($_tmp=time())) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y-%m-%d %H:%M:%S") : smarty_modifier_date_format($_tmp, "%Y-%m-%d %H:%M:%S")); ?>
  69. </td>
  70. </tr>
  71. </table>
  72. <table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#A5D0F1">
  73. <tr bgcolor="#E5F9FF">
  74. <td colspan="5" background="/web/admin/static/images/wbg.gif">
  75. <font color="#666600" class="STYLE2"><b><?php echo $this->_tpl_vars['_lang']['left']['online_user_list_15second_per']; ?>
  76. </b></font>
  77. </td>
  78. </tr>
  79. <tr class='table_list_head'>
  80. <td width="15%"><?php echo $this->_tpl_vars['_lang']['conmon']['user_id']; ?>
  81. </td>
  82. <td width="25%"><?php echo $this->_tpl_vars['_lang']['conmon']['role_name']; ?>
  83. </td>
  84. <td width="25%"><?php echo $this->_tpl_vars['_lang']['conmon']['user_account']; ?>
  85. </td>
  86. <td width="15%"><?php echo $this->_tpl_vars['_lang']['conmon']['current_online_time']; ?>
  87. (<?php echo $this->_tpl_vars['_lang']['conmon']['minute']; ?>
  88. )</td>
  89. <td width="20%"><?php echo $this->_tpl_vars['_lang']['conmon']['login_ip']; ?>
  90. </td>
  91. </tr>
  92. <?php $_from = $this->_tpl_vars['onlines']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
  93. foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['online']):
  94. ?>
  95. <?php if ($this->_tpl_vars['key'] % 2 == 0): ?>
  96. <tr class='trEven'>
  97. <?php else: ?>
  98. <tr class='trOdd'>
  99. <?php endif; ?>
  100. <td width="15%"><?php echo $this->_tpl_vars['online']['role_id']; ?>
  101. </td>
  102. <td width="25%"><?php echo $this->_tpl_vars['online']['role_name']; ?>
  103. </td>
  104. <td width="25%"><?php echo $this->_tpl_vars['online']['account_name']; ?>
  105. </td>
  106. <td width="15%"><?php echo smarty_function_math(array('equation' => "(now - lasttime)/60",'now' => time(),'lasttime' => $this->_tpl_vars['online']['last_login_time'],'format' => "%.d"), $this);?>
  107. </td>
  108. <td width="20%"><?php echo $this->_tpl_vars['online']['last_login_ip']; ?>
  109. </td>
  110. </tr>
  111. <?php endforeach; else: ?>
  112. <tr bgcolor="#FFFFFF">
  113. <td colspan="5"><font color="#FF0000"><?php echo $this->_tpl_vars['_lang']['left']['no_record']; ?>
  114. </font></td>
  115. </tr>
  116. <?php endif; unset($_from); ?>
  117. </table>
  118. </div>
  119. </div>
  120. </div>
  121. </div>
  122. </body>
  123. </html>