<?php if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('userlist');?><?php include template('common/header'); ?><div style="border-top:1px solid <?php echo $_G['style']['specialborder'];?>; border-left:1px solid <?php echo $_G['style']['specialborder'];?>;border-right:1px solid <?php echo $_G['style']['specialborder'];?>; height:38px;background-color:<?php echo $_G['style']['specialbg'];?>;">
  <div class="<?php if(!$_GET['action']) { ?>ulmenu1<?php } else { ?>ulmenu2<?php } ?>" id="userlistmenu1" onclick="userlist_menu(1);">全部(<?php echo $allren;?>)</div>
  <div class="<?php if($_GET['action'] == pass) { ?>ulmenu1<?php } else { ?>ulmenu2<?php } ?>" id="userlistmenu2" onclick="userlist_menu(2);">已通过(<?php echo $passren;?>)</div>
  <div class="<?php if($_GET['action'] == nopass) { ?>ulmenu1<?php } else { ?>ulmenu2<?php } ?>" id="userlistmenu3" onclick="userlist_menu(3);">待审核(<?php echo $nopassren;?>)</div>
</div>
<?php if($_G['cache']['plugin']['xj_event']['event_showapply']) { ?>

<table class="userlist" width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td style="border-right:0px; width:150px; background-color:<?php echo $_G['style']['commonbg'];?>;">用户名</td>
    <td width="40" style="border-right:0px;background-color:<?php echo $_G['style']['commonbg'];?>;">好评</td>
    <td width="40" style="border-right:0px;background-color:<?php echo $_G['style']['commonbg'];?>;">差评</td>
    <td width="40" style="border-right:0px;background-color:<?php echo $_G['style']['commonbg'];?>;">放飞机</td>
    <?php if($eventinfo['setting']['session']) { ?>
    <td width="70" style="border-right:0px;background-color:<?php echo $_G['style']['commonbg'];?>;">活动场次</td>
    <?php } ?>
    <td style="border-right:0px;background-color:<?php echo $_G['style']['commonbg'];?>;">留言</td>
    <td width="50" style="background-color:<?php echo $_G['style']['commonbg'];?>;">状态</td>
  </tr>
  <?php if(is_array($joinlist)) foreach($joinlist as $key => $value) { ?>  <tr>
    <td style="text-align:left; padding-left:10px;"><a href="home.php?mod=space&amp;uid=<?php echo $value['uid'];?>"><?php echo $value['avatar'];?></a> <?php echo $value['username'];?>[<?php echo $value['applynumber'];?>人]</td>
    <td><span style="color:#F30;"><?php echo $value['good'];?></span></td>
    <td><span style="color:#06C;"><?php echo $value['bad'];?></span></td>
    <td><span style="color:#096;"><?php echo $value['plane'];?></span></td>
    <?php if($eventinfo['setting']['session']) { ?>
    <td><?php echo $eventinfo['setting']['session'][$value['session']];?></td>
    <?php } ?>
    <td style="text-align:left; padding-left:10px;"><?php echo $value['bmmessage'];?></td>
    <td><?php if($value['verify']==1) { ?><span style="color:#009900;">已审核</span><?php } else { ?><span style="color:#FF0000;">待审核</span><?php } ?></td>
  </tr>
  <?php } ?>
</table>
<div style="clear:both;"></div>



<?php } else { ?>
<div style=" border:1px solid <?php echo $_G['style']['specialborder'];?>; padding:10px;"><?php if(is_array($joinlist)) foreach($joinlist as $key => $value) { ?>      <div style="height:100px; width:50px; float:left; margin-right:10px; margin-top:10px; line-height:20px; text-align:center;">
      <div class="avt y"><a href="home.php?mod=space&amp;uid=<?php echo $value['uid'];?>"><?php echo $value['avatar'];?></a></div>
      <?php echo $value['username'];?><br />
      (<?php echo $value['applynumber'];?>人)
      </div>
      <?php } ?>
<div style="clear:both;"></div>
</div>
<?php } if($multipage) { ?>
<div style="clear:both; height:30px; padding-top:5px;"><?php echo $multipage;?></div>
<?php } ?>




      <?php include template('common/footer'); ?>