<div id="one_group_<?php echo $D->idgroup?>" class="onegroup">
	<div class="avatar"><img src="<?php echo $C->SITE_URL.'themes/'.$C->THEME?>/imgs/ico-list-group.png"></div>

    <div class="info">
    	<div class="name">
        	<span onmouseout="ignoreItemCard()" onmouseover="ItemCardGeneric(1, 'namep_<?php echo $D->codegroup?>', '<?php echo $D->codegroup?>', 2)" id="namep_<?php echo $D->codegroup?>" class="linkblue2"><a href="<?php echo $C->SITE_URL.$D->urlgroup?>"><?php echo $D->namegroup?></a></span>
        </div>
        <div class="mrg5T">
        <?php 
		switch ($D->privacy) {
			case 0:
				$cadprivacy = $this->lang('dashboard_groups_txt_public');
				break;	
			case 1:
				$cadprivacy = $this->lang('dashboard_groups_txt_closed');
				break;	
			case 2:
				$cadprivacy = $this->lang('dashboard_groups_txt_secret');
				break;	
		}
		?>
        	<span><?php echo $this->lang('dashboard_groups_txt_groupis')?></span> <span class="bold"><?php echo $cadprivacy?></span>
        </div>
        <div class="moreinfo" style="line-height:19px;">
        	<?php if ($D->isMyGroup) { ?>
            
            <span class="linkblue2 mrg10R"><a href="<?php echo $C->SITE_URL?>dashboard/groups/members/g:<?php echo $D->codegroup?>"><?php echo $D->num_members?> <?php echo $D->num_members==1?$this->lang('dashboard_groups_member'):$this->lang('dashboard_groups_members'); ?></a></span>
            
            <span class="linkblue2 mrg10R"><a href="<?php echo $C->SITE_URL?>dashboard/groups/requests/g:<?php echo $D->codegroup?>"><?php echo $D->numrequest?> <?php echo $D->numrequest==1?$this->lang('dashboard_groups_txt_request'):$this->lang('dashboard_groups_txt_requests'); ?></a></span> 
			
            <span class="linkblue2 bold mrg10R" style="white-space:nowrap;"><a href="<?php echo $C->SITE_URL?>dashboard/groups/addmembers/g:<?php echo $D->codegroup?>"><?php echo $this->lang('dashboard_groups_txt_addmembers');?></a></span>
            
            <span class="linkblue2 bold mrg10R"><a href="<?php echo $C->SITE_URL?>dashboard/groups/edit/g:<?php echo $D->codegroup?>"><?php echo $this->lang('dashboard_groups_txt_edit');?></a></span>
            
            <?php } else { ?>
            
            <span><?php echo $D->num_members?> <?php echo $D->num_members==1?$this->lang('dashboard_groups_member'):$this->lang('dashboard_groups_members'); ?></span>
            
            <?php } ?>
		</div>
        
        <?php if ($D->status == 0) {?>
        <div class="fleft mrg10T warningbox"><?php echo $this->lang('dashboard_pages_txt_stopped');?></div>
        <div class="sh"></div>
        <?php } ?>
        
    </div>
    <div class="sh"></div>
</div>
<script>

</script>