include('inc/global.php');
include('inc/protected.php');
require_once('classes/class.Database.php');
include('inc/layout/header.php');
include('inc/layout/nav-default.php');
$dbhandle = Database::instance();
$info = $dbhandle->getMemberInfo($objSession->GetUserID());
?>
echo $info['username']; ?>'s Profile
Name: |
echo $info['title']; ?> echo $info['firstname']; ?> echo $info['lastname']; ?> |
Company/Organization: |
echo $info['company']; ?> |
Position/Job Title: |
echo $info['position']; ?> |
Phone Number: |
echo $info['phone']; ?> |
Email Address: |
echo $info['email']; ?> |
Address 1: |
echo $info['address1']; ?> |
Address 2: |
echo $info['address2']; ?> |
Address 3: |
echo $info['address3']; ?> |
City/Town: |
echo $info['city']; ?> |
State/Province: |
echo $info['state']; ?> |
Zip/Postal Code: |
echo $info['zip']; ?> |
$arrInterests = $dbhandle->getMemberInterests($objSession->GetUserID());
if (count($arrInterests) > 0) {
echo 'You have selected the following areas of interest: |
';
foreach ($arrInterests as $interest) {
echo '· '.$interest['interest_string'].' |
';
}
} else {
echo 'You have not selected any areas of interest. |
';
}
?>
($info['allow_email_comm'] == 'yes') ?
(print 'You are currently allowing marketing communications to be sent to you via email.') :
(print 'You are not currently allowing marketing communications to be sent to you via email.');
?>
|
|
include('inc/layout/footer.php');
?>