<?php require_once('includes/requirecompere.inc.php'); $op=TGET('op'); $DBConn->connect(true); $team_aliases=db_load_team($DBConn,current_mb_id(),array('VALID'),array('ALIAS')); $team_mb_id_aliases=array_projection($team_aliases,'mb_id_member'); $alias_compares=db_load_comperes($DBConn,$team_mb_id_aliases); $dataset['PSEUDOMEMBER']=array(); foreach ($alias_compares as $cp) { array_push($dataset['PSEUDOMEMBER'],array( 'mb_id'=>$cp['mb_id'], 'cp_name'=>$cp['cp_name'] )); } $dataset['SAVED']=$op=='saved'?array(0):array(); ?>