Source: site.view [edit]
Function name: gfInviteFriends
Arguments: coins,email
Description:
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" />

<script language="javascript">
<!--
function ClearForm() {
  document.testform.email.value= "";
}
//-->
</script>

</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 a Friend and earn 25 Reward Points!</a></h2>
              <p>11.07.08</p>
            </div>
            <div class="entry">
              <h3>You have currently earned 
<webl>if (ToInt(coins) > 0) then ToInt(coins) div 1000 else 0 end
</webl>
                  reward points. </h3>
              </p>
              <p> To earn more reward points, you can: </p>
<webl>
  var c = ToInt(coins);
  `<form action="/webl/WubHub_DoIt" method=get name="testform">
       <input name=cmdline value="gfEnterInvitation(coins,email)" type="hidden" />
       <input name="coins" value="` + ToString(c) + `" type="hidden"/>
       <textarea name="email" rows="5" cols="39" onfocus="ClearForm();">%email%</textarea><br>
        <a href="/webl/WubHub_DoIt?cmdline=gfImport(%coins%)">Import contacts</a>
          <br><br>
         <input type="submit" value="Invite Friends"><br>
        pays you 25 reward points

                  <p align="center"><a href="WubHub_DoIt?cmdline=gfRewards(%coins%,none)">Earn more Reward Points</a><br>
                  </p>
       </form>`
</webl>
            </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>