Membership Options

';

echo 'Oops! sorry, you were accessing a protected ' . esc_html ($_g["_s2member_seeking"]["type"]) . ' ';

// ---------------------------------------------------------------
echo '(';

if (isset ($_g["_s2member_seeking"]["page"])) {
echo 'Page ID #' . esc_html ($_g["_s2member_seeking"]["page"]) . '';
}
else if (isset ($_g["_s2member_seeking"]["post"])) {
echo 'Post ID #' . esc_html ($_g["_s2member_seeking"]["post"]) . '';
}
else if (isset ($_g["_s2member_seeking"]["catg"])) {
echo 'Category ID #' . esc_html ($_g["_s2member_seeking"]["catg"]) . '';
}
else if (isset ($_g["_s2member_seeking"]["ptag"])) {
echo 'Tag ID #' . esc_html ($_g["_s2member_seeking"]["ptag"]) . '';
}
else if (isset ($_g["_s2member_seeking"]["file"])) {
echo 'File: ' . esc_html ($_g["_s2member_seeking"]["file"]) . '';
}
else if (isset ($_g["_s2member_seeking"]["ruri"]) /* Full URI they were trying to access. */) {
echo ' URI: ' . esc_html (base64_decode($_g["_s2member_seeking"]["ruri"])) . '';

}
echo ')';
// ---------------------------------------------------------------
if (isset ($_g["_s2member_res"]["type"]) /* One of: post|page|catg|ptag|file|ruri|ccap|sp|sys */) {
echo ' which holds content protected by PM-Factor ' . esc_html ($_g["_s2member_res"]["type"]) . ' restrictions.';
echo '
';
}

if (isset ($_g["_s2member_seeking"]["_uri"]) /* Full URI they were trying to access. */ ) {
echo 'Access URL: ' . esc_html (site_url(base64_decode($_g["_s2member_seeking"]["_uri"]))) . '';
echo '
';
}
// See also: .
// See also: .

// ------------------------------------------------------------------------------------

if (isset ($_g["_s2member_req"]["type"]) /* One of: level|ccap|sp */) {
echo 'Minimum access rights needed for this content is a' . esc_html ($_g["_s2member_req"]["type"]) . ',';
}

// ---------------------------------------------------------------

if (isset ($_g["_s2member_req"]["level"])) {
echo ' which requires membership at Level #' . esc_html ($_g["_s2member_req"]["level"]) . ' or higher.';
echo '
';
}

else if (isset ($_g["_s2member_req"]["ccap"])) {
echo ' which requires membership with Custom Capability: ' . esc_html ($_g["_s2member_req"]["ccap"]) . '.';
echo '
';
}

else if (isset ($_g["_s2member_req"]["sp"])) {
echo ' which requires you purchase Specific Post/Page ID #' . esc_html ($_g["_s2member_req"]["sp"]) . '.';
echo '
';
}
echo '

To access the content please Sign Up by clicking the Register Tag - If you are registered and arrived here unexpectedly please Log In
';
echo '

[/warning_box]';
echo '[one_fourth][/one_fourth]';

echo '[one_half]

Please Log In or Register ( It's FREE! )

';
echo '[accordion_group]';
echo '[toggle_framed title="Login (only if you have a user account)"] ';
echo s2member_pro_login_widget(array("link_gravatar" => "1", "display_gravatar" => "1","my_account_url" => "" ,"my_profile_url" => "" , "profile_title" => "", "logout_redirect" => "%%home%%"),array("before_title" => "

", "after_title" => "

"));
echo '[/toggle_framed]';
echo '[toggle_framed title="Register" ]

Registration Options
Create Profile
password strength indicator
Complete Registration
[/toggle_framed]';
echo '[/accordion_group]';
echo '[/one_half]';

echo '[one_fourth_last][/one_fourth_last]';
}
else
{
echo '[one_fourth]';

// echo '[toggle title="Click here to Log In (only if you have a user account)" variation = "copper"]';
// echo s2member_pro_login_widget(array("link_gravatar" => "1", "display_gravatar" => "1","my_account_url" => "" ,"my_profile_url" => "" , "profile_title" => "", "logout_redirect" => "%%home%%"),array("before_title" => "

", "after_title" => "

"));
//echo '[/toggle]';
echo '[/one_fourth]';

echo '[one_half]';

echo '

Registration Options
Create Profile
password strength indicator
Complete Registration
';

echo '[/one_half]';
echo '[one_fourth_last][/one_fourth_last]';
}
?>