| Community: | Joined: " . date("F j, Y, g:i a", $profileuser->created) ?> | |
| Age: field_birthdate[0]['value']; $now = time(); $then = strtotime($birthdate); $diff = date('Y', $now) - date('Y', $then); print $diff; ?> Gender: field_gender[0]['value'] ?> | Last Active: " . date("F j, Y, g:i a", $profileuser->access) ; if (round((time()-$profileuser->access)/60) < 30) { print theme_image(path_to_theme() . "/images/profile/status_online.png", $alt = 'Online', $title = 'Online', $attributes = NULL, $getsize = TRUE); } else { print theme_image(path_to_theme() . "/images/profile/status_offline.png", $alt = 'Offline', $title = 'Offline', $attributes = NULL, $getsize = TRUE); } ?> |
| content['field_first_name']['#value'])) { print "First Name: Not given"; } else { print $node->content['field_first_name']['#value'] ; } ?> | Joined: " . date("F j, Y, g:i a", $profileuser->created) ?> |
| Community: | Last Active: " . date("F j, Y, g:i a", $profileuser->access) ; if (round((time()-$profileuser->access)/60) < 30) { print theme_image(path_to_theme() . "/images/profile/status_online.png", $alt = 'Online', $title = 'Online', $attributes = NULL, $getsize = TRUE); } else { print theme_image(path_to_theme() . "/images/profile/status_offline.png", $alt = 'Offline', $title = 'Offline', $attributes = NULL, $getsize = TRUE); } ?> |
| uid == $loggedinuser->uid) { print " "; } else { print 'Connect: '; if ($profileuser->contact) { if ($profileuser->uid != 0) { print l(theme_image(path_to_theme() . "/images/profile/email.png", $alt = 'Email', $title = 'Email', $attributes = NULL, $getsize = TRUE), 'user/'. $profileuser->uid . '/contact',NULL,NULL,NULL,NULL,TRUE); } } if (user_access('access private messages') && (isset($profileuser->privatemsg_allow) ? $profileuser->privatemsg_allow : 1)) { print l(' ' .theme_image(path_to_theme() . "/images/profile/user_comment.png", $alt = 'Private Message', $title = 'Private Message', $attributes = NULL, $getsize = TRUE), 'privatemsg/msgto/'. $profileuser->uid,NULL,NULL,NULL,NULL,TRUE); } } ?> uid != $profileuser->uid) { if (@in_array($profileuser->uid, array_keys(buddylist_get_buddies($account->uid))) && user_access('maintain buddy list')) { print l(' ' .theme_image(path_to_theme() . "/images/profile/group_delete.png", $alt = 'Remove Buddy', $title = 'Remove Buddy', $attributes = NULL, $getsize = TRUE), 'buddy/delete/'. $profileuser->uid,NULL,NULL,NULL,NULL,TRUE); } else { if ($profileuser->uid != $account->uid && user_access('maintain buddy list')) { print l(' ' .theme_image(path_to_theme() . "/images/profile/group_add.png", $alt = 'Add to buddy list', $title = 'Add to buddy list', $attributes = NULL, $getsize = TRUE), 'buddy/add/'. $profileuser->uid,NULL,NULL,NULL,NULL,TRUE); } } } ?> | |
About Me:
Topics I've participated in:
uid)), false, false); ?>My stats:
content['group_stats'])) { foreach ($node->content['group_stats'] as $key => $value) { if (is_array($value)) { if (array_key_exists('#value', $value)) { print $value['#value'] ; } } } } ?>My interests:
content['field_interests']['#value']; if (!empty($hobbies)) { print 'Hobbies: ' . implode(", ", $hobbies) . ''; } if (!empty($reading)) { print 'Reading: ' . implode(", ", $reading) . '
'; } if (!empty($music)) { print 'Music: ' . implode(", ", $music) . '
'; } if (!empty($video)) { print 'TV & Movies: ' . implode(", ", $video) . '
'; } ?>