Source: site.view [edit]
Function name: gfLoadContacts
Arguments: coins,provider,email,pw
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" />
</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 and Earn 25 Reward Points Each!</a></h2>
            </div>
            <div class="entry">
              <p align="center">You have currently earned 
<webl>if (ToInt(coins) > 0) then ToInt(coins) div 1000 else 0 end
</webl>
               reward points. </p>
              <p align="center"> Hold the control key down to choose multiple contacts to invite.</p>
              <div align="center">
<webl>

  if (provider != ".mail") then
      email = email + provider
  end;
  var L = Wub_ImportAddressBook(email, pw);

  if (Listp(L)) then
     var c = ToInt(coins);
     var f = 
        `<form action="/webl/WubHub_DoIt" method=post>
             <input name=cmdline value="gfInviteFriends(coins,email)" type="hidden" />
             <input name="coins" value="` + ToString(c) + `" type="hidden"/>
             <select name="email" size="12" multiple>`; 
      var i = 0;
      while (i < Size(L)) do
         f = f + `<option value="` + ToString(L[i+1]) + `">` + L[i] + 
                 + " [" + L[i+1] + "]" + 
                 + "</option>\n";
         i = i + 2;
      end;
      f = f + `</select><br><input type="submit" value="Invite Friends"><br>
         </form>`
   else
      var i = Str_IndexOf(`:`, L.msg);
      var html = `<p><br><font size="4" color="red">ERROR`;
      if (i > 0) then
         html = html + Select(L.msg, i, Size(L.msg));
      else
         html = html + L.msg;
      end;
      html = html + `</font><p>Please <a href="#" onClick="history.go(-1)">try again.</a>`
   end;
</webl>
              </div>
              <h3>&nbsp;</h3>
            </div>
          </div>
        </div>
        <div style="clear: both; height: 40px;">&nbsp;</div>
      </div>
    </div>
  </div>
</div>
<div id="footer">
  <p>(c) 2009  genetifinance.com</p>
</div>
</body>
</html>