require_once(ABSPATH.'wp-content/plugins/wp-symposium/class.wps_ui.php');

$wps_user = new wps_user();
?>

		<div id="primary">
			<div id="content" role="main">

<?php

			echo '<div style="float: left; width:590px;">';
			
			   echo '<div style="float:right; text-align:left;">';
			
			      if ($wps_user->get_city()) echo 'Lives in: '.$wps_user->get_city().'<br />';
			      if ($wps_user->get_country()) echo 'Country: '.$wps_user->get_country().'<br />';
			
			   echo '</div>';
			
			   echo '<div style="float:left;padding-right:20px;">'.$wps_user->get_avatar(120).'</div>';
			
			   echo '<span style="font-size:32px">'.$wps_user->get_display_name().'</span>';
			
			echo '</div>';

?>

			</div><!-- #content -->
		</div><!-- #primary -->

<?php get_sidebar(); ?>
						echo 'Make friends with '.$wps_user->get_display_name().'...';
						echo $wps_ui->friendship_add($wps_user->get_id(), "Type a message, hit return!", "Request sent.", "my-input-box");
					}
				}
				
				// Poke(tm) button
				echo '<div style="margin-top:10px; margin-bottom:10px">'.$wps_ui->poke_button(get_option(WPS_OPTIONS_PREFIX.'_poke_label'), "my-submit-button").'</div>';
	
			}

			// Show profile information if permitted to do so
			if ($wps_user->is_permitted('personal')) { // defaults to activity permission, set to "personal" for personal info

				// Location
				if ($wps_user->get_city()) echo '<span class="my-info-label">Lives in:</span> '.$wps_user->get_city();
				if ($wps_user->get_city() && ($wps_user->get_country())) echo ', ';
				if ($wps_user->get_country()) echo $wps_user->get_country();
				if ($wps_user->get_city() || $wps_user->get_country()) echo '<br />';
				
				// Date of birth
				if ($wps_user->get_dob_day() && $wps_user->get_dob_month() && $wps_user->get_dob_year()) {
					echo '<span class="my-info-label">Born:</span> '.$wps_user->get_dob_day().' '.__wps__get_monthname($wps_user->get_dob_month()).' '.$wps_user->get_dob_year().'<br />';
				}
				
				// Extended fields
				$extended = $wps_user->get_extended();
				foreach ($extended as $row) {
					if ($row['type'] != 'Checkbox') {
						echo '<span class="my-info-label">'.stripslashes($row['name']).':</span> '.stripslashes($row['value']).'<br />';					
					} else {
						echo $row['name'].'<br />';
 */

get_header(); 

// include the PHP class files, the path should match your server!
require_once(ABSPATH.'wp-content/plugins/wp-symposium/class.wps_user.php');
require_once(ABSPATH.'wp-content/plugins/wp-symposium/class.wps_ui.php');

$wps_user = new wps_user();
?>

		<div id="primary">
			<div id="content" role="main">

<?php

			echo $wps_user->get_avatar().'<br />';
			echo $wps_user->get_display_name().'<br />';
			echo 'User login: '******'<br />';
			echo 'Email: '.$wps_user->get_user_email().'<br />';
			echo 'City: '.$wps_user->get_city().'<br />';
			echo 'Country: '.$wps_user->get_country();

?>

			</div><!-- #content -->
		</div><!-- #primary -->

<?php get_sidebar(); ?>
<?php get_footer(); ?>