<form action="<?php $this->_echo($d['.'][0]['S_GROUPCP_ACTION']); ?>" method="post" name="post">
<?php $this->_echo($d['.'][0]['NAVIGATION_BOX']); ?>

<table class="forumline" width="100%" cellspacing="1" cellpadding="4" border="0">
<tr> 
<th class="thHead" colspan="7" height="25"><?php $this->_echo($d['.'][0]['L_GROUP_INFORMATION']); ?></th>
</tr>
<tr> 
<td class="row1" width="20%"><span class="gen"><?php $this->_echo($d['.'][0]['L_GROUP_NAME']); ?>:</span></td>
<td class="row2"><span class="gen"><b><?php $this->_echo($d['.'][0]['GROUP_NAME']); ?></b></span></td>
</tr>
<tr> 
<td class="row1" width="20%"><span class="gen"><?php $this->_echo($d['.'][0]['L_GROUP_DESC']); ?>:</span></td>
<td class="row2"><span class="gen"><?php $this->_echo($d['.'][0]['GROUP_DESC']); ?></span></td>
</tr>
<tr> 
<td class="row1" width="20%"><span class="gen"><?php $this->_echo($d['.'][0]['L_GROUP_MEMBERSHIP']); ?>:</span></td>
<td class="row2"><span class="gen"><?php $this->_echo($d['.'][0]['GROUP_DETAILS']); ?> &nbsp;&nbsp;
<?php if($_switch_subscribe_group_input_count = count($d['switch_subscribe_group_input'])) {for ($_switch_subscribe_group_input_i = 0; $_switch_subscribe_group_input_i < $_switch_subscribe_group_input_count; $_switch_subscribe_group_input_i++){ ?>
<input class="mainoption" type="submit" name="joingroup" value="<?php $this->_echo($d['.'][0]['L_JOIN_GROUP']); ?>" />
<?php }}if($_switch_unsubscribe_group_input_count = count($d['switch_unsubscribe_group_input'])) {for ($_switch_unsubscribe_group_input_i = 0; $_switch_unsubscribe_group_input_i < $_switch_unsubscribe_group_input_count; $_switch_unsubscribe_group_input_i++){ ?>
<input class="mainoption" type="submit" name="unsub" value="<?php $this->_echo($d['.'][0]['L_UNSUBSCRIBE_GROUP']); ?>" />
<?php }} ?>
</span></td>
</tr>
<?php if($_switch_mod_option_count = count($d['switch_mod_option'])) {for ($_switch_mod_option_i = 0; $_switch_mod_option_i < $_switch_mod_option_count; $_switch_mod_option_i++){ ?>
<tr> 
<td class="row1" width="20%"><span class="gen"><?php $this->_echo($d['.'][0]['L_GROUP_TYPE']); ?>:</span></td>
<td class="row2"><span class="gen"><input type="radio" name="group_type" value="<?php $this->_echo($d['.'][0]['S_GROUP_OPEN_TYPE']); ?>" <?php $this->_echo($d['.'][0]['S_GROUP_OPEN_CHECKED']); ?> /> <?php $this->_echo($d['.'][0]['L_GROUP_OPEN']); ?> &nbsp;&nbsp;<input type="radio" name="group_type" value="<?php $this->_echo($d['.'][0]['S_GROUP_CLOSED_TYPE']); ?>" <?php $this->_echo($d['.'][0]['S_GROUP_CLOSED_CHECKED']); ?> />	<?php $this->_echo($d['.'][0]['L_GROUP_CLOSED']); ?> &nbsp;&nbsp;<input type="radio" name="group_type" value="<?php $this->_echo($d['.'][0]['S_GROUP_HIDDEN_TYPE']); ?>" <?php $this->_echo($d['.'][0]['S_GROUP_HIDDEN_CHECKED']); ?> />	<?php $this->_echo($d['.'][0]['L_GROUP_HIDDEN']); ?> &nbsp;&nbsp; <input class="mainoption" type="submit" name="groupstatus" value="<?php $this->_echo($d['.'][0]['L_UPDATE']); ?>" /></span></td>
</tr>
<?php }} ?>
</table>

<?php $this->_include('pagination_box.tpl'); ?>
<table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline">
<tr> 
<th class="thCornerL" height="25"><?php $this->_echo($d['.'][0]['L_PM']); ?></th>
<th class="thTop"><?php $this->_echo($d['.'][0]['L_USERNAME']); ?></th>
<th class="thTop"><?php $this->_echo($d['.'][0]['L_POSTS']); ?></th>
<th class="thTop"><?php $this->_echo($d['.'][0]['L_FROM']); ?></th>
<th class="thTop"><?php $this->_echo($d['.'][0]['L_EMAIL']); ?></th>
<th class="thTop"><?php $this->_echo($d['.'][0]['L_WEBSITE']); ?></th>
<th class="thCornerR"><?php $this->_echo($d['.'][0]['L_SELECT']); ?></th>
</tr>
<?php if($_moderator_count = count($d['moderator'])) {for ($_moderator_i = 0; $_moderator_i < $_moderator_count; $_moderator_i++){ ?>
<tr> 
<td class="catSides" colspan="8" height="28"><span class="cattitle"><?php $this->_echo($d['.'][0]['L_GROUP_MODERATOR']); ?></span></td>
</tr>
<tr> 
<td class="row1" align="center"> <?php $this->_echo($d['.'][0]['MOD_PM_IMG']); ?> </td>
<td class="row1" align="center"><span class="gen"><a href="<?php $this->_echo($d['.'][0]['U_MOD_VIEWPROFILE']); ?>" class="gen"><?php $this->_echo($d['.'][0]['MOD_USERNAME']); ?></a></span></td>
<td class="row1" align="center" valign="middle"><span class="gen"><?php $this->_echo($d['.'][0]['MOD_POSTS']); ?></span></td>
<td class="row1" align="center" valign="middle"><span class="gen"><?php $this->_echo($d['.'][0]['MOD_FROM']); ?></span></td>
<td class="row1" align="center" valign="middle"><span class="gen"><?php $this->_echo($d['.'][0]['MOD_EMAIL_IMG']); ?></span></td>
<td class="row1" align="center"><?php $this->_echo($d['.'][0]['MOD_WWW_IMG']); ?></td>
<td class="row1" align="center"> &nbsp; </td>
</tr>
<?php }} ?>
<tr> 
<td class="catSides" colspan="8" height="28"><span class="cattitle"><?php $this->_echo($d['.'][0]['L_GROUP_MEMBERS']); ?></span></td>
</tr>
<?php if($_member_row_count = count($d['member_row'])) {for ($_member_row_i = 0; $_member_row_i < $_member_row_count; $_member_row_i++){ ?>
<tr> 
<td class="<?php $this->_echo($d['member_row'][$_member_row_i]['ROW_CLASS']); ?>" align="center"> <?php $this->_echo($d['member_row'][$_member_row_i]['PM_IMG']); ?> </td>
<td class="<?php $this->_echo($d['member_row'][$_member_row_i]['ROW_CLASS']); ?>" align="center"><span class="gen"><a href="<?php $this->_echo($d['member_row'][$_member_row_i]['U_VIEWPROFILE']); ?>" class="gen"><?php $this->_echo($d['member_row'][$_member_row_i]['USERNAME']); ?></a></span></td>
<td class="<?php $this->_echo($d['member_row'][$_member_row_i]['ROW_CLASS']); ?>" align="center"><span class="gen"><?php $this->_echo($d['member_row'][$_member_row_i]['POSTS']); ?></span></td>
<td class="<?php $this->_echo($d['member_row'][$_member_row_i]['ROW_CLASS']); ?>" align="center"><span class="gen"> <?php $this->_echo($d['member_row'][$_member_row_i]['FROM']); ?> 
</span></td>
<td class="<?php $this->_echo($d['member_row'][$_member_row_i]['ROW_CLASS']); ?>" align="center" valign="middle"><span class="gen"><?php $this->_echo($d['member_row'][$_member_row_i]['EMAIL_IMG']); ?></span></td>
<td class="<?php $this->_echo($d['member_row'][$_member_row_i]['ROW_CLASS']); ?>" align="center"> <?php $this->_echo($d['member_row'][$_member_row_i]['WWW_IMG']); ?></td>
<td class="<?php $this->_echo($d['member_row'][$_member_row_i]['ROW_CLASS']); ?>" align="center"> 
<?php if($_switch_mod_option_count = count($d['member_row'][$_member_row_i]['switch_mod_option'])) {for ($_switch_mod_option_i = 0; $_switch_mod_option_i < $_switch_mod_option_count; $_switch_mod_option_i++){ ?>
<input type="checkbox" name="members[]" value="<?php $this->_echo($d['member_row'][$_member_row_i]['USER_ID']); ?>" /> 
<?php }} ?>
</td>
</tr>
<?php }}if($_switch_no_members_count = count($d['switch_no_members'])) {for ($_switch_no_members_i = 0; $_switch_no_members_i < $_switch_no_members_count; $_switch_no_members_i++){ ?>
<tr> 
<td class="row1" colspan="7" align="center"><span class="gen"><?php $this->_echo($d['.'][0]['L_NO_MEMBERS']); ?></span></td>
</tr>
<?php }}if($_switch_hidden_group_count = count($d['switch_hidden_group'])) {for ($_switch_hidden_group_i = 0; $_switch_hidden_group_i < $_switch_hidden_group_count; $_switch_hidden_group_i++){ ?>
<tr> 
<td class="row1" colspan="7" align="center"><span class="gen"><?php $this->_echo($d['.'][0]['L_HIDDEN_MEMBERS']); ?></span></td>
</tr>
<?php }}if($_switch_mod_option_count = count($d['switch_mod_option'])) {for ($_switch_mod_option_i = 0; $_switch_mod_option_i < $_switch_mod_option_count; $_switch_mod_option_i++){ ?>
<tr>
<td class="catBottom" colspan="8" align="right">
<span class="cattitle"><input type="submit" name="remove" value="<?php $this->_echo($d['.'][0]['L_REMOVE_SELECTED']); ?>" class="mainoption" /></span>
</td>
</tr>
<?php }} ?>
</table>

<?php $this->_include('pagination_box.tpl');if($_switch_mod_option_count = count($d['switch_mod_option'])) {for ($_switch_mod_option_i = 0; $_switch_mod_option_i < $_switch_mod_option_count; $_switch_mod_option_i++){ ?>
<table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
<tr>
<td align="left" valign="top"><span class="genmed">
<input type="text" class="post" name="username" maxlength="50" size="20" /> <input type="submit" name="add" value="<?php $this->_echo($d['.'][0]['L_ADD_MEMBER']); ?>" class="mainoption" /> <input type="submit" name="usersubmit" value="<?php $this->_echo($d['.'][0]['L_FIND_USERNAME']); ?>" class="liteoption" onClick="window.open('<?php $this->_echo($d['.'][0]['U_SEARCH_USER']); ?>', '_phpbbsearch', 'HEIGHT=250,resizable=yes,WIDTH=400');return false;" /><br /><br />
</span></td>
</tr>
</table>
<?php }} ?>

<?php $this->_echo($d['.'][0]['PENDING_USER_BOX']); ?>

<?php $this->_echo($d['.'][0]['S_HIDDEN_FIELDS']); ?></form>

<br clear="all" />