mod/gccollab_stats/start.php 1 location
|
@@ 451-458 (lines=8) @@
|
| 448 |
|
$query = "SELECT * FROM {$dbprefix}entity_relationships WHERE relationship = 'member' AND guid_two = '" . $group . "'"; |
| 449 |
|
$groupsjoined = get_data($query); |
| 450 |
|
|
| 451 |
|
foreach($groupsjoined as $obj){ |
| 452 |
|
if ( $obj->time_created ){ |
| 453 |
|
$user = get_user($obj->guid_one); |
| 454 |
|
if($user->username){ |
| 455 |
|
$data[] = array($obj->time_created, $user->username); |
| 456 |
|
} |
| 457 |
|
} |
| 458 |
|
} |
| 459 |
|
break; |
| 460 |
|
|
| 461 |
|
case 'users': |
mod/groups/lib/groups.php 1 location
|
@@ 672-677 (lines=6) @@
|
| 669 |
|
$groupsjoined = get_data($query); |
| 670 |
|
|
| 671 |
|
$data = array(); |
| 672 |
|
foreach($groupsjoined as $key => $obj){ |
| 673 |
|
if ( $obj->time_created ){ |
| 674 |
|
$user = get_user($obj->guid_one); |
| 675 |
|
$data[] = array($obj->time_created, $user->username); |
| 676 |
|
} |
| 677 |
|
} |
| 678 |
|
|
| 679 |
|
ob_start(); ?> |
| 680 |
|
|