member_init.tpl.php 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <?php defined('IN_ADMIN') or exit('No permission resources.');?>
  2. <?php include $this->admin_tpl('header', 'admin');?>
  3. <div class="pad-10">
  4. <div class="common-form">
  5. <fieldset>
  6. <legend><?php echo L('basic_configuration')?></legend>
  7. <table width="100%" class="table_form contentWrap">
  8. <tr>
  9. <td width="120"><?php echo L('member_statistics')?></td>
  10. <td>
  11. <?php echo L('member_totalnum')?>:<?php echo $memberinfo['totalnum']?>
  12. <?php echo L('member_todaynum')?>:<?php echo $memberinfo['today_member']?>
  13. </td>
  14. </tr>
  15. <tr>
  16. <td width="120"><?php echo L('member_verify_totalnum')?></td>
  17. <td>
  18. <?php echo $memberinfo['verifynum']?>
  19. </td>
  20. </tr>
  21. <tr>
  22. <td width="120"><?php echo L('member_vip_totalnum')?></td>
  23. <td>
  24. <?php echo $memberinfo['vipnum']?>
  25. </td>
  26. </tr>
  27. </table>
  28. </fieldset>
  29. <div class="bk15"></div>
  30. <form name="myform" action="" method="get">
  31. <input type="hidden" name="m" value="member" />
  32. <input type="hidden" name="c" value="member" />
  33. <input type="hidden" name="a" value="search" />
  34. <fieldset>
  35. <legend><?php echo L('member_search')?></legend>
  36. <div class="bk10"></div>
  37. <form name="searchform" action="" method="get" >
  38. <input type="hidden" value="member" name="m">
  39. <input type="hidden" value="member" name="c">
  40. <input type="hidden" value="search" name="a">
  41. <input type="hidden" value="879" name="menuid">
  42. <table width="100%" class="table_form contentWrap">
  43. <tr>
  44. <td width="120"><?php echo L('regtime')?></td>
  45. <td>
  46. <?php echo form::date('start_time', $start_time)?>-
  47. <?php echo form::date('end_time', $end_time)?>
  48. </td>
  49. </tr>
  50. <tr>
  51. <td width="120"><?php echo L('member_group')?></td>
  52. <td>
  53. <?php echo form::select($grouplist, $_GET['groupid'], 'name="groupid"', L('nolimit'))?>
  54. </td>
  55. </tr>
  56. <tr>
  57. <td width="120"><?php echo L('status')?></td>
  58. <td>
  59. <select name="status">
  60. <option value='0' <?php if(isset($_GET['status']) && $_GET['status']==0){?>selected<?php }?>><?php echo L('nolimit')?></option>
  61. <option value='1' <?php if(isset($_GET['status']) && $_GET['status']==1){?>selected<?php }?>><?php echo L('lock')?></option>
  62. <option value='2' <?php if(isset($_GET['status']) && $_GET['status']==2){?>selected<?php }?>><?php echo L('normal')?></option>
  63. </select>
  64. </td>
  65. </tr>
  66. <tr>
  67. <td width="120"><?php echo L('type')?></td>
  68. <td>
  69. <select name="type">
  70. <option value='1' <?php if(isset($_GET['type']) && $_GET['type']==1){?>selected<?php }?>><?php echo L('username')?></option>
  71. <option value='2' <?php if(isset($_GET['type']) && $_GET['type']==2){?>selected<?php }?>><?php echo L('uid')?></option>
  72. <option value='3' <?php if(isset($_GET['type']) && $_GET['type']==3){?>selected<?php }?>><?php echo L('email')?></option>
  73. <option value='4' <?php if(isset($_GET['type']) && $_GET['type']==4){?>selected<?php }?>><?php echo L('regip')?></option>
  74. </select>
  75. <input name="keyword" type="text" value="<?php if(isset($_GET['keyword'])) {echo $_GET['keyword'];}?>" class="input-text" />
  76. </td>
  77. </tr>
  78. <tr>
  79. <td width="120"><?php echo L('amount')?></td>
  80. <td>
  81. <input name="amount_from" type="text" value="" class="input-text" size="4"/>-
  82. <input name="amount_to" type="text" value="" class="input-text" size="4"/>
  83. </td>
  84. </tr>
  85. <tr>
  86. <td width="120"><?php echo L('point')?></td>
  87. <td>
  88. <input name="point_from" type="text" value="" class="input-text" size="4"/>-
  89. <input name="point_to" type="text" value="" class="input-text" size="4"/>
  90. </td>
  91. </tr>
  92. </table>
  93. <div class="bk15"></div>
  94. <input type="submit" name="search" class="button" value="<?php echo L('search')?>" />
  95. </form>
  96. </fieldset>
  97. </form>
  98. </div>
  99. </div>
  100. </body>
  101. </html>