include "header.php";
?>

<!-- Facebook intro -->

<?php 
require_once "inc/config.php";
require_once "inc/balance.php";
?>
  <h3>Alright, you chose Facebook as authentication method!</h3>
  <br />
  
  <div class="description">
    <p>Receive <strong><?php 
echo getAmountLabelLong("facebook");
?>
</strong> with this authentication.</p>
    
    <p>To <strong>redeem</strong> this reward, make sure you check out the <strong>
    <a href="https://www.facebook.com/groups/mastercoin/" target="_blank" 
    title="Mastercoin on Facebook">Mastercoin group</a></strong> and all you need is an active Facebook account.</p>
    
    <p>You will be forwarded to <strong>Facebook</strong>. There you need to grant access to an application called 
    <strong>Mastercoin faucet</strong>. You will be redirected to this page again, after you finished the process. You 
    can revoke the access later <a href="https://www.facebook.com/settings?tab=applications" target="_blank" 
    title="Revoke the application access on Facebook"><strong>here</strong></a>.</p>    
    
    <p>The authentication step is solely a protection against abuse, so we are able to  give out <strong>free 
    MCS</strong> to as many interested people as possible.</p>
    
<?php 
require_once "inc/config.php";
require_once "inc/security.php";
require_once "inc/balance.php";
$uid = generateUid();
registerUid($uid);
registerReferrer("bitcointalk");
?>

  <h3>Awesome, you chose the authentication via bitcointalk.org!</h3>
  <br />
  
  <div class="description">
    <p>Receive <strong><?php 
echo getAmountLabelLong("bitcointalk");
?>
</strong> with this method.</p>
    
    <p>To <strong>redeem</strong> this reward you need an <strong>activity score above 
    10</strong> as well as <strong>at least 10 posts</strong> and furthermore your account must be 
    <strong>created before August 1, 2013</strong>.</p>
    
    <p>Here comes the tricky part, you need to do three things. At first, you have to find 
    a link to your <strong>user profile</strong>. Paste the link to your profile in the <strong>first box</strong> 
    below. You have also to make sure that you entered a <strong>Bitcoin address</strong> somewhere in your 
    user profile. Finally you need to sign the message <strong>Mastercoin faucet</strong> with that address.</p>
  </div>
  
  <div style="margin: 20px 0px;">
    <form class="navbar-form" id="btctalkform" role="form" action="/bitcointalk" method="POST">
예제 #3
0
require_once "inc/config.php";
require_once "inc/security.php";
require_once "inc/balance.php";
require_once "inc/GitHubConnector.php";
$uid = generateUid();
registerUid($uid);
$connector = new GitHubConnector();
$url = $connector->getAuthUrl($uid);
?>

  <h3>Nice, you chose GitHub as authentication method!</h3>
  <br />
  
  <div class="description">
    <p>You can receive <strong><?php 
echo getAmountLabelLong("github");
?>
</strong> as reward with this method.</p>
    
    <p>To <strong>redeem</strong> this reward, you need either at least <strong>three public repositories</strong> 
    and your account must be <strong>older than August 1, 2013</strong> or an project of yours is listed as one of the 
    <a href="http://wiki.mastercoin.org/index.php/Github_Repositories" target="_blank" 
    title="A collection of Mastercoin related GitHub repositories on the Mastercoin wiki"><strong>Mastercoin GitHub 
    repositories</strong></a> on the Mastercoin wiki.</p>
    
    <p>If you go on, you will be forwarded to GitHub. There you need to grant access to an 
    application called <strong>Mastercoin faucet</strong>. You will be redirected to this page, after you finished 
    the process. Don't worry, we don't want your data - this is solely a protection against abuse, so we are able 
    to give out <strong>free MCS</strong> to as many interested people as possible and you can revoke the 
    application access later on <a href="https://github.com/settings/applications" target="_blank"
    title="Revoke the application access on GitHub"><strong>GitHub</strong></a>.</p>
예제 #4
0
include "header.php";
?>

<!-- Google intro -->

<?php 
require_once "inc/config.php";
require_once "inc/balance.php";
?>

  <h3>Okay, you chose Google as authentication method!</h3>
  <br />
  
  <div class="description">
    <p>Receive <strong><?php 
echo getAmountLabelLong("google");
?>
</strong> with this authentication.</p>
    
    <p>To <strong>redeem</strong> this reward, all you need is a Google account. Did you know 
    that there is a there is an active Mastercoin <a href="https://plus.google.com/communities/117331355001800275452" 
    target="_blank" title="Mastercoin on Google+"><strong>community on Google+</strong></a>?
    
    <p>You will be forwarded to <strong>Google</strong>. There you need to grant access to an application called 
    <strong>Mastercoin faucet</strong>. You will be redirected to this page, after you finished the process. You 
    can revoke the application access later <a href="https://accounts.google.com/b/0/IssuedAuthSubTokens" 
    target="_blank" title="Revoke the application access on Google"><strong>here</strong></a>. This step is solely 
    a protection against abuse, so we are able to give out <strong>free MCS</strong> to as many interested people 
    as possible.</p>
    
    <p><strong>Please note:<br />
예제 #5
0
require_once "inc/balance.php";
require_once "inc/TwitterConnector.php";
$uid = generateUid();
registerUid($uid);
$connector = new TwitterConnector();
$token = $connector->requestAccessToken();
$_SESSION["oauth_data"] = encryptMessage(json_encode($token), $key);
$url = $connector->getAuthUrl($token["oauth_token"]);
?>

  <h3>Okay, you chose Twitter as authentication method!</h3>
  <br />
  
  <div class="description">
    <p>Receive <strong><?php 
echo getAmountLabelLong("twitter");
?>
</strong> as reward.</p>

    <p>To <strong>redeem</strong> this reward, your need a Twitter account <strong>older than August 1, 2013</strong>. 
    Make also sure you follow <strong><a href="https://twitter.com/mscprotocol" target="_blank" 
    title="A Mastercoin related Twitter channel">@MSCProtocol</a></strong> on Twitter.</p>
    
    <p>If you go on, you will be forwarded to <strong>Twitter</strong>. There you need to grant access to an 
    application called <strong>Mastercoin faucet</strong>. You will be redirected to this page, after you finished 
    the process. Don't worry, we don't want your data - this is solely a protection against abuse, so we are able 
    to give out <strong>free MCS</strong> to as many interested people as possible and you can revoke the 
    application access  <a href="https://twitter.com/settings/applications" target="_blank" 
    title="Revoke the application access on Twitter"><strong>later</strong></a>.</p>
    
    <p>Please <a href="<?php 
예제 #6
0
require_once "inc/config.php";
require_once "inc/security.php";
require_once "inc/balance.php";
require_once "inc/RedditConnector.php";
$uid = generateUid();
registerUid($uid);
$connector = new RedditConnector();
$url = $connector->getAuthUrl($uid);
?>

  <h3>Great, you chose Reddit as authentication method!</h3>
  <br />
  
  <div class="description">
    <p>Receive <strong><?php 
echo getAmountLabelLong("reddit");
?>
</strong> as reward.</p>
    
    <p>To <strong>redeem</strong> this reward, you need a Reddit account with more than <strong>100 karma</strong>. 
    Make also sure you check out <a href="http://www.reddit.com/r/mastercoin" target="_blank" 
    title="Mastercoin on Reddit"><strong>/r/mastercoin</strong></a>.</p>
    
    <p>If you go on, you will be forwarded to <strong>Reddit</strong>. There you need to grant access to an 
    application called <strong>Mastercoin faucet</strong>. You will be redirected to this page again, after you 
    finished the process. The access will be revoked automatically <strong>after 60 minutes</strong>. You can also 
    revoke the access <a href="https://ssl.reddit.com/prefs/apps/" 
    target="_blank" title="Revoke the application access on Reddit"><strong>here</strong></a> manually.</p>
    
    <p>Don't worry, we don't want your data - this is solely a protection against abuse, so we are able to give out 
    <strong>free MCS</strong> to as many interested people as possible.</p>