Certificate of Membership
[insert_php]
$current_user = get_currentuserinfo();
echo $current_user->display_name;
[/insert_php]
was admitted as a [insert_php]
$current_user_data = get_userdata(get_current_user_id());
$current_user_roles[] = implode(‘, ‘, $user_info->roles);
$role_to_display = “No Role”;if(in_array(“Fellow”, $current_user_roles)) $role_to_display = “Fellow”;
if(in_array(“Associate Fellow”, $current_user_roles)) $role_to_display = “Associate Fellow”;
if(in_array(“Member”, $current_user_roles)) $role_to_display = “Member”;

echo $role_to_display;
[/insert_php]
and is entitled to use the initials

[insert_php]
$initials = ”;switch($role_to_display)
{
case ‘Fellow’: $initials = ‘FNREA’; break;
case ‘Member’: $initials = ‘MNREA’; break;
case ‘Associate Fellow’: $initials = ‘AFNREA’; break;
default: $initials = ‘NRNREA’;
}

echo $initials;

[/insert_php]

Given under the common seal of the
National Real Estate Association

REGISTERED FOR THE BELOW PERIOD

[insert_php]
echo date(“d/m/Y”) . ‘ – ‘. date(“d/m/Y”);
[/insert_php]
Memebership Number: [insert_php]echo sprintf(“%’.06d”, get_current_user_id());[/insert_php]