Skip to content
Snippets Groups Projects
Commit 2e57a7f4 authored by Seth Meranda's avatar Seth Meranda
Browse files

added email and formatted the date.

parent 2fe49e67
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@
$roles = get_entities_from_metadata("profile_role", "Prospective Student", "user","",0,300);
echo '<table class="zentable cool"><thead><tr><th>Profile Icon</th><th>Username</th><th>Full Name</th><th>City</th><th>State</th><th>Country</th><th>Field(s) of Study</th><th>Birthday</th></tr></thead><tbody>';
echo '<table class="zentable cool"><thead><tr><th>Profile Icon</th><th>Username</th><th>Full Name</th><th>Email</th><th>City</th><th>State</th><th>Country</th><th>Field(s) of Study</th><th>Birthday</th></tr></thead><tbody>';
foreach($roles as $user){
......@@ -25,6 +25,8 @@
echo '<td>'.$user->name.'</td>';//full name
echo '<td>'.$user->email.'</td>';//email
echo '<td>'.$user->profile_city.'</td>';//city
echo '<td>'.$user->profile_state.'</td>';//state
......@@ -33,7 +35,7 @@
echo '<td>'.$user->profile_fields.'</td>';//fields of study
echo '<td>'.$user->profile_dob_month.'/'.$user->profile_dob_day.'/'.$user->profile_dob_year.'</td>';//birthday
echo '<td>'.$user->profile_dob_month.' '.$user->profile_dob_day.', '.$user->profile_dob_year.'</td>';//birthday
echo '</tr>';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment