<?php if ($_GET['s2member_level_req'] == '0') { ?>
By registering now...
<?php } elseif ($_GET['s2member_level_req'] == '1') { ?>
[s2Member-PayPal-Button ... /]
<?php } ?>
Statistics: Posted by Cristián Lávaque — August 18th, 2011, 3:03 am
<?php
if (!isset ($_GET["s2member_level_req"]))
{
?>
<?php
}
else if ($_GET["s2member_level_req"] === "0")
{
?>
You need to be at least a free member to do that.
<?php
}
else if ($_GET["s2member_level_req"] === "1")
{
?>
You need to be level 1
<?php
}
else
{
?>
<?php
}
?>
Statistics: Posted by Bruce C — August 17th, 2011, 10:05 pm
Statistics: Posted by rwilki — August 17th, 2011, 9:48 pm
<?php
if (!isset ($_GET["s2member_level_req"])) {
//do nothing
}
else if ($_GET["s2member_level_req"] === "0")
{
echo "You need to be at least a free member to do that.";
}
else if ($_GET["s2member_level_req"] === "1")
{
echo "You need to be level 1";
}
else {
//do nothing
}
?>
Statistics: Posted by Bruce C — August 17th, 2011, 9:36 pm
Statistics: Posted by rwilki — August 17th, 2011, 9:13 pm
Statistics: Posted by Bruce C — August 17th, 2011, 7:58 pm
<?php if ($_GET['s2member_seeking'] == '0') { ?>
<?php } elseif ($_GET['s2member_seeking'] == '1') { ?>
Statistics: Posted by rwilki — August 17th, 2011, 4:49 pm
<?php if ($_GET['s2member_level_req'] == '0') { ?>
By registering now...
<?php } elseif ($_GET['s2member_level_req'] == '1') { ?>
By signing up for Premium Access Pass...
<?php } ?>
Statistics: Posted by Cristián Lávaque — August 17th, 2011, 4:14 am
<?php } elseif ($_GET['s2member_level_required'] === '1') { ?>
<?php } elseif { ($_GET['s2member_level_required'] === '1') ?>
Statistics: Posted by RJGonzalez — August 16th, 2011, 10:18 pm
<?php } elseif ($_GET['s2member_seeking'] === '0') { ?>
By registering now...
<?php } elseif ($_GET['s2member_seeking'] === '1') { ?>
By signing up for Premium Access Pass...
<?php } ?>
<?php } elseif ($_GET['s2member_level_required'] === '0') { ?>
<?php } elseif ($_GET['s2member_level_required'] === '1') { ?>
Statistics: Posted by rwilki — August 16th, 2011, 2:04 pm