Source: site.view [edit]
Function name: gfEnterInvitation
Arguments: coins,email
Description: Adds an invitation to an email
Page type: html
Render function:  
Module: sandbox

Page source:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>GeneticFinance.com</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="WubHub_DoIt?cmdline=gfCSS" rel="stylesheet" type="text/css" media="screen" />
</head>
<body oncontextmenu="return false">
<div id="bg3">
  <div id="bg4">
    <div id="bg5">
      <div id="page">
        <div id="content">
          <div class="post">
            <div class="title">
              <h2><a href="#">Invite Friends</a></h2>
              
            </div>
            <div class="entry">

             <h3 align="center">You have 
<webl>if (ToInt(coins) > 0) then ToInt(coins) div 1000 else 0 end
</webl>
                 reward points to spend. </h3>

<p align="center">
Thank you for inviting
<webl>
   var s = Str_Split(email, ",");
   if (Size(s) == 1) then
      "a friend"
   else
      ToString(Size(s)) + " friends"
   end;
</webl> to Genetic Finance.<br>
For each friend that signs up, you will receive 25 Reward Points.
</p>
<p>

                  <p align="center"><a href="WubHub_DoIt?cmdline=gfRewards(%coins%,none)">Earn more Reward Points</a><br>
                  </p>

              </div>
            </div>
          </div>
        </div>
        <div style="clear: both; height: 40px;">&nbsp;</div>
      </div>
    </div>
  </div>
</div>
<div id="footer">
  <p>(c) 2009  geneticfinance.com</p>
</div>
</body>
</html>