PriMoThemes — now s2Member® (official notice)
This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™
<?php
$current_user = wp_get_current_user();
echo esc_html($current_user->display_name);
?>
<?php
if (is_user_logged_in()) {
echo '<p>Welcome', S2MEMBER_CURRENT_USER_FIRST_NAME, '!</p>';
} else {
echo '<p><a href="http://www.pensionforecast.org.uk/join-and-become-a-member/"><img src="http://www.pensionforecast.org.uk/images/member.gif"></a></p>',
'<p><a href="http://www.pensionforecast.org.uk/wp-login.php?action=login">Member Login »</a></p>';
}
?>
<li>
<?php if(is_user_logged_in()){ ?>
<?php } else { ?>
Returning Members?
<?php } ?>
<?php if(is_user_logged_in()){ ?><?php global $current_user;
get_currentuserinfo();
echo '' . $current_user->display_name . "\n"; ?> - <?php } else { ?><?php } ?>
<?php wp_loginout(); ?></a><span style="font-weight: normal;"> | <?php if(is_user_logged_in()){ ?>
<a href="https://www.yoursite.com/my-account">Your Account</a>
<a href="https://www.yoursite.com/help-pro">Membership Help</a>
and so forth
<?php } else { ?>
<?php } ?>
</span></li>
<center>
<a href="http://www.pensionforecast.org.uk/join-and-become-a-member/"><img SRC="http://www.pensionforecast.org.uk/images/member.gif" ></a>
<p>
<a href="http://www.pensionforecast.org.uk/wp-login.php?action=login" align="right"><strong>Member Login »</strong></a>
<p><br>
<INPUT TYPE="image" SRC="http://www.pensionforecast.org.uk/images/bec.jpg" >
<P>
<B>
>> GET OUR FREE EBOOK <<
<P>
PERFECT PENSION PLANNING
<p>
Answers to the 7 vital questions you must ask to build the best retirement income</b>
<P>
Enter your email address and hit GET IT NOW
<form method='POST' action='http://www.whoelsewantsto.com/cgi-bin/arp3/arp3-formcapture.pl'>
<div>
<input type='text' name='email' size='30' >
<input type='hidden' name='subscription_type' value='E'>
<p>
<INPUT TYPE="image" SRC="http://www.pensionforecast.org.uk/images/go.gif" height="20" ALT="Submit Form" hspace="0" vspace="0" border="0">
</div>
<input type='hidden' name='tracking_tag' value='PensionForecastFreeReport'>
<input type='hidden' name='id' value='67'>
<input type='hidden' name='extra_ar' value=''>
</form>
<p>
Your email address will never be shared</p></center>
[s2If is_user_logged_in()]
<p>Welcome [s2Get constant="S2MEMBER_CURRENT_USER_FIRST_NAME" /]!</p>
[/s2If]
[s2If !is_user_logged_in()]
<p><a href="http://www.pensionforecast.org.uk/join-and-become-a-member/"><img src="http://www.pensionforecast.org.uk/images/member.gif"></a></p>
<p><a href="http://www.pensionforecast.org.uk/wp-login.php?action=login">Member Login »</a></p>
[/s2If]
Users browsing this forum: Google [Bot] and 2 guests