Statistics: Posted by Cristián Lávaque — March 29th, 2011, 9:33 pm
Statistics: Posted by lanyard13 — March 29th, 2011, 8:01 pm
Statistics: Posted by Cristián Lávaque — March 29th, 2011, 6:32 pm
Statistics: Posted by lanyard13 — March 29th, 2011, 10:02 am
Statistics: Posted by Cristián Lávaque — March 28th, 2011, 8:24 pm
<?php
if (is_user_logged_in () && current_user_can ("access_s2member_level4"))
{
echo '<p class="login-links">';
echo '<span class="login-greeting">Welcome back, ' . S2MEMBER_CURRENT_USER_FIRST_NAME . '</span><br />';
echo '<a href="http://www.workplacecoachinstitute.com/cmd.php?cmd=cart">View Cart</a> <span class="login-spacing">|</span> ';
echo '<a href="http://workplacecoachinstitute.com/?s2member_profile=1">Profile</a> <span class="login-spacing">|</span> ';
echo '<a href="http://workplacecoachinstitute.com/wp-login.php?action=logout">Logout</a>';
echo '</p>';
}
else
{
echo '<p>';
echo '<a href="http://www.workplacecoachinstitute.com/cmd.php?cmd=cart">View Cart</a> <span class="login-spacing">|</span> ';
echo '<a href="http://workplacecoachinstitute.com/wp-login.php?redirect_to=' . rawurlencode ($_SERVER["REQUEST_URI"]) . '">Login</a>';
echo '</p>';
}
?>
If they were on the About page and logged in, I would want them to return to the About page.
If they were on the Services page and logged in, I would want them to return to the Services page.
Statistics: Posted by lanyard13 — March 28th, 2011, 8:08 pm