member_verify.tpl.php 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <?php include mymps_tpl('inc_head');
  2. $admindir = getcwdOL();
  3. ?>
  4. <div id="<?=MPS_SOFTNAME?>" style="padding-bottom:0">
  5. <div class="mpstopic-category">
  6. <div class="panel-tab">
  7. <ul class="clearfix tab-list">
  8. <li><a href="member.php?part=verify&type=person&do_action=default" <? if($type=='person'){?>class="current"<? }?>>个人会员(<?=$count[person]?>)</a></li>
  9. <li><a href="member.php?part=verify&type=store&do_action=default" <? if($type=='store'){?>class="current"<? }?>>商家会员(<?=$count[store]?>)</a></li>
  10. </ul>
  11. </div>
  12. </div>
  13. </div>
  14. <form name='form1' method='post' action='member.php' onSubmit='return checkSubmit();'>
  15. <input type='hidden' name='part' value='verify'/>
  16. <input name="url" type="hidden" value="<?=GetUrl()?>">
  17. <input name="do_act" value="<?=$type?>" type="hidden">
  18. <div id="<?=MPS_SOFTNAME?>">
  19. <table border="0" cellspacing="0" cellpadding="0" class="vbm">
  20. <tr class="firstr">
  21. <td width="30">选择</td>
  22. <td width="30">编号</td>
  23. <td width="60">类型</td>
  24. <td>用户名</td>
  25. <? if($type == 'store'){?>
  26. <td>联系人</td><td>固定电话</td><td>联系地址</td>
  27. <? }else{?>
  28. <td>电子邮箱</td>
  29. <? }?>
  30. <td>注册时间</td>
  31. <td>注册IP</td>
  32. <td width="30">编辑</td>
  33. </tr>
  34. <tbody onmouseover="addMouseEvent(this);">
  35. <?php if(is_array($member)){foreach($member AS $member){
  36. if($admin_id != 1 && $member[userid] == 'admin'){}else{
  37. ?>
  38. <tr align="center" bgcolor="white">
  39. <td><input type='checkbox' name='id[]' value='<?=$member[id]?>' class='checkbox' id="<?=$member[id]?>"></td>
  40. <td><?=$member[id]?></td>
  41. <td><?=$member[if_corp] == 1 ? '商家' : '个人'?></td>
  42. <td><font color="red">[待审]</font> <a href="javascript:void(0);" onclick="
  43. setbg('<?=MPS_SOFTNAME?>会员中心',400,110,'../box.php?part=member&userid=<?=$member[userid]?>&admindir=<?=$admindir?>')"><?php echo $member['if_corp'] ? $member['tname'].'('.$member[userid].')' : $member[userid]; ?></a></td>
  44. <? if($type == 'store'){?><td><?=$member[cname]?></td><td><?=$member[tel]?></td><td><font title="<?=$member[address]?>"><?=cutstr($member[address],20)?></font></td><? }else{?>
  45. <td><?=$member[email]?></td>
  46. <? }?>
  47. <td><em><?=GetTime($member[jointime])?></em></td>
  48. <td><a href="
  49. javascript:setbg('查看IP所在地',400,110,'../box.php?part=iptoarea&ip=<?=$member[joinip]?>&admindir=<?=$admindir?>')" title="点击查看注册地"><?=$member[joinip]=='wap'?'手机端':$member[joinip]?></a></td>
  50. <td><a href="member.php?part=edit&id=<?=$member[id]?>">详情</a></td>
  51. </tr>
  52. <?php }}}?>
  53. </tbody>
  54. <tr bgcolor="#ffffff" height="28">
  55. <td style="border-right:1px #fff solid;"><input name="checkall" type="checkbox" id="checkall" onClick="CheckAll(this.form)" class="checkbox"/></td>
  56. <td colspan="10">
  57. <label for="yes"><input type="radio" id="yes" value="yes" name="do_action" checked>通过审核</label>
  58. <? if($type == 'store'){?><label for="no"><input type="radio" id="no" value="no" name="do_action">否决审核</label><? }?>
  59. <label for="del"><input type="radio" id="del" value="del" name="do_action">删除会员</label>
  60. </td>
  61. </tr>
  62. <tr>
  63. <td colspan="10">
  64. <input type="submit" value="提 交" class="mymps large"/>&nbsp;&nbsp; <? if($type == 'person'){?>
  65. <input class="gray large" onClick="window.location.href='?part=verify&do_action=yes&do_act=allperson'" value="全部个人会员通过审核" type="button"> &nbsp;&nbsp;
  66. <input class="gray large" onClick="window.location.href='?part=verify&do_action=del&do_act=allperson'" value="删除全部待审个人会员" type="button">
  67. <? }else{?>
  68. <input class="gray large" onClick="window.location.href='?part=verify&do_action=yes&do_act=allstore'" value="全部商家通过审核" type="button"> &nbsp;&nbsp;
  69. <input class="gray large" onClick="window.location.href='?part=verify&do_action=no&do_act=allstore'" value="否决全部待审商家" type="button"> &nbsp;&nbsp;
  70. <input class="gray large" onClick="window.location.href='?part=verify&do_action=del&do_act=allstore'" value="删除全部待审商家" type="button">
  71. <? }?>
  72. </td>
  73. </tr>
  74. </table>
  75. </div>
  76. <div class="pagination"><?=page2()?></div>
  77. </form>
  78. <?php mymps_admin_tpl_global_foot();?>