Source: site.view [edit]
Function name: gfInviteFriends
Arguments: coins,email
Page type: html
Render function:  
Module: sandbox

Page source:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
<html xmlns="">
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<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() { "";

<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>
            <div class="entry">
              <h3>You have currently earned 
<webl>if (ToInt(coins) > 0) then ToInt(coins) div 1000 else 0 end
                  reward points. </h3>
              <p> To earn more reward points, you can: </p>
  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>
         <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>
        <div style="clear: both; height: 40px;">&nbsp;</div>
<div id="footer">
  <p>(c) 2009</p>