예제 #1
0
	Did the current visitor come from a banner?
	<?php 
echo mm_custom_decision(array("source" => "banner")) == true ? "Yes" : "No";
?>
	<a href="<?php 
echo MM_Utils::appendUrlParam(MM_Utils::constructPageUrl(), "source", "banner");
?>
">Click here to test</a>
</p>
<p>
	Did the current visitor come from an email?
	<?php 
echo mm_custom_decision(array("source" => "email")) == true ? "Yes" : "No";
?>
	<a href="<?php 
echo MM_Utils::appendUrlParam(MM_Utils::constructPageUrl(), "source", "email");
?>
">Click here to test</a>
</p>


<h2>[MM_Member_Decision]</h2>

<!-- NOTE: The membershidId attribute should be changed to a valid Membership Level ID from your MemberMouse site. -->
<p>
	Is the current visitor a member? 
	<?php 
echo mm_member_decision(array("isMember" => "true")) == true ? "Yes" : "No";
?>
</p>
<p>