implement gifting to ppemu

This commit is contained in:
Bluzume 2021-08-09 19:03:05 +12:00
parent be9b0ba8e0
commit ddbf1fd67b
8 changed files with 321 additions and 166 deletions

View file

@ -71,7 +71,7 @@ if(!is_logged_in())
// Get account data
$newUser = getUserExistInExt($dbname, $_SESSION['PLAYER_ID']);
$newUser = !getUserExistInExt($dbname, $_SESSION['PLAYER_ID']);
if(!$newUser){
@ -243,8 +243,8 @@ h+=60;//h += 96;
<input type="hidden" name="business" value="paypal@horseisle.com">
<input type="hidden" name="undefined_quantity" value="1">
<input type="hidden" name="item_name" value="One Month Horse Isle Membership-on <?php echo($_SERVER["HTTP_HOST"]); ?>">
<input type="hidden" name="item_number" value="588112">
<input type="hidden" name="custom" value="588112">
<input type="hidden" name="item_number" value="<?php echo(htmlspecialchars($_SESSION['PLAYER_ID'])); ?>">
<input type="hidden" name="custom" value="<?php echo(htmlspecialchars($_SESSION['PLAYER_ID'])); ?>">
<input type="hidden" name="amount" value="5.00">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="return" value="http://<?php echo($_SERVER["HTTP_HOST"]); ?>/web/paypalpayment.php">
@ -269,8 +269,8 @@ h+=60;//h += 96;
<input type="hidden" name="business" value="paypal@horseisle.com">
<input type="hidden" name="undefined_quantity" value="1">
<input type="hidden" name="item_name" value="Full Year Horse Isle Membership-on <?php echo($_SERVER["HTTP_HOST"]); ?>">
<input type="hidden" name="item_number" value="588112">
<input type="hidden" name="custom" value="588112">
<input type="hidden" name="item_number" value="<?php echo(htmlspecialchars($_SESSION['PLAYER_ID'])); ?>">
<input type="hidden" name="custom" value="<?php echo(htmlspecialchars($_SESSION['PLAYER_ID'])); ?>">
<input type="hidden" name="amount" value="40.00">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="return" value="http://<?php echo($_SERVER["HTTP_HOST"]); ?>/web/paypalpayment.php">
@ -296,8 +296,8 @@ h+=60;//h += 96;
<input type="hidden" name="business" value="paypal@horseisle.com">
<input type="hidden" name="undefined_quantity" value="1">
<input type="hidden" name="item_name" value="100k Horse Isle Money-on pinto.horseisle.com">
<input type="hidden" name="item_number" value="588112">
<input type="hidden" name="custom" value="588112">
<input type="hidden" name="item_number" value="<?php echo(htmlspecialchars($_SESSION['PLAYER_ID'])); ?>">
<input type="hidden" name="custom" value="<?php echo(htmlspecialchars($_SESSION['PLAYER_ID'])); ?>">
<input type="hidden" name="amount" value="1.00">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="return" value="http://pinto.horseisle.com/web/paypalpayment.php">
@ -337,8 +337,8 @@ Select: <SELECT NAME=quantity>
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="paypal@horseisle.com">
<input type="hidden" name="item_name" value="100k Horse Isle Money-on <?php echo($_SERVER["HTTP_HOST"]); ?>">
<input type="hidden" name="item_number" value="588112">
<input type="hidden" name="custom" value="588112">
<input type="hidden" name="item_number" value="<?php echo(htmlspecialchars($_SESSION['PLAYER_ID'])); ?>">
<input type="hidden" name="custom" value="<?php echo(htmlspecialchars($_SESSION['PLAYER_ID'])); ?>">
<input type="hidden" name="amount" value="1.00">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="return" value="http://<?php echo($_SERVER["HTTP_HOST"]); ?>/web/paypalpayment.php">
@ -362,8 +362,8 @@ Select: <SELECT NAME=quantity>
<input type="hidden" name="business" value="paypal@horseisle.com">
<input type="hidden" name="undefined_quantity" value="1">
<input type="hidden" name="item_name" value="Pawneer Order-on <?php echo($_SERVER["HTTP_HOST"]); ?>">
<input type="hidden" name="item_number" value="588112">
<input type="hidden" name="custom" value="588112">
<input type="hidden" name="item_number" value="<?php echo(htmlspecialchars($_SESSION['PLAYER_ID'])); ?>">
<input type="hidden" name="custom" value="<?php echo(htmlspecialchars($_SESSION['PLAYER_ID'])); ?>">
<input type="hidden" name="amount" value="8.00">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="return" value="http://<?php echo($_SERVER["HTTP_HOST"]); ?>/web/paypalpayment.php">
@ -387,8 +387,8 @@ Select: <SELECT NAME=quantity>
<input type="hidden" name="business" value="paypal@horseisle.com">
<input type="hidden" name="undefined_quantity" value="1">
<input type="hidden" name="item_name" value="Five Pawneer Order-on <?php echo($_SERVER["HTTP_HOST"]); ?>">
<input type="hidden" name="item_number" value="588112">
<input type="hidden" name="custom" value="588112">
<input type="hidden" name="item_number" value="<?php echo(htmlspecialchars($_SESSION['PLAYER_ID'])); ?>">
<input type="hidden" name="custom" value="<?php echo(htmlspecialchars($_SESSION['PLAYER_ID'])); ?>">
<input type="hidden" name="amount" value="30.00">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="return" value="http://<?php echo($_SERVER["HTTP_HOST"]); ?>/web/paypalpayment.php">

View file

@ -12,6 +12,7 @@ function GenHmacMessage(string $data, string $channel)
return $hmac;
}
function getPlayerList($database)
{
include('config.php');
@ -163,7 +164,7 @@ function getUserExistInExt($database, $id)
$stmt->execute();
$result = $stmt->get_result();
return intval($result->fetch_row()[0]) <= 0;
return intval($result->fetch_row()[0]) >= 1;
}
@ -251,7 +252,7 @@ function isUserOnline($database, $id)
return $count>0;
}
function getNoModPlayersOnlineInServer($database)
function getNoModPlayersOnlineInServer($database)
{
include('config.php');
$dbname = $database;
@ -317,6 +318,19 @@ function getNoPlayersOnlineGlobal()
return $playersOn;
}
function userExistAny($playerId)
{
include('servers.php');
for($i = 0; $i < count($server_list); $i++)
{
if(userid_exists($server_list[$i]['database'], $playerId)){
return true;
}
}
return false;
}
function getNoSubbedPlayersOnlineGlobal()
{
include('servers.php');

View file

@ -1,4 +1,6 @@
<?php include("header.php"); ?>
<?php
include("header.php");
?>
<BR>
<CENTER><TABLE CELLPADDING=5><TR><TD></CENTER>
<FONT FACE=arial>
@ -14,4 +16,6 @@ Click back to your <A HREF="/account.php">ACCOUNT</A> page to see any credited s
<B>PARENTS:</B> please email support@horseisle.com from the paypal email or signup email to
block chat, or limit time online for this account if you want to.<BR>
</TD></TR></TABLE>
<?php include("footer.php"); ?>
<?php
include("footer.php");
?>

View file

@ -13,26 +13,30 @@ if(!is_logged_in()){
}
$money = getUserMoney($dbname, $_SESSION['PLAYER_ID']);
$subbed = getUserSubbed($dbname, $_SESSION['PLAYER_ID']);
$subbedUntil = getUserSubTimeRemaining($dbname, $_SESSION['PLAYER_ID']);
if(!$subbed)
$subbedUntil = time();
if(isset($_GET["go"], $_GET["qnt"], $_GET["itm"], $_GET["ret"]))
if(isset($_GET["go"], $_GET["qnt"], $_GET["itm"], $_GET['to'], $_GET["ret"]))
{
$targetUser = $_GET['to'];
$subbed = getUserSubbed($dbname, $targetUser);
$subbedUntil = getUserSubTimeRemaining($dbname, $targetUser);
$moneyTarget = getUserMoney($dbname, $targetUser);
if(!$subbed)
$subbedUntil = time();
if($_GET["go"] == 1)
{
$itm = $_GET["itm"];
$itm = $_GET["itm"];
if(strpos($itm, "One Month Horse Isle Membership") === 0){
$amount = 5; // NO CHEATING!
$cost = $amount*$EXHANGE_RATE;
if($money >= $cost)
{
setUserMoney($dbname, $_SESSION['PLAYER_ID'], $money-$cost);
setUserSubbed($dbname, $_SESSION['PLAYER_ID'], true);
setUserSubbedUntil($dbname, $_SESSION['PLAYER_ID'], $subbedUntil + 2678400);
setUserSubbed($dbname,$targetUser, true);
setUserSubbedUntil($dbname, $targetUser, $subbedUntil + 2678400);
header("Location: ".$_GET["ret"]);
}
@ -51,8 +55,8 @@ if(isset($_GET["go"], $_GET["qnt"], $_GET["itm"], $_GET["ret"]))
if($money >= $cost)
{
setUserMoney($dbname, $_SESSION['PLAYER_ID'], $money-$cost);
setUserSubbed($dbname, $_SESSION['PLAYER_ID'], true);
setUserSubbedUntil($dbname, $_SESSION['PLAYER_ID'], $subbedUntil + 31622400);
setUserSubbed($dbname, $targetUser, true);
setUserSubbedUntil($dbname, $targetUser, $subbedUntil + 31622400);
header("Location: ".$_GET["ret"]);
@ -91,7 +95,7 @@ if(isset($_GET["go"], $_GET["qnt"], $_GET["itm"], $_GET["ret"]))
setUserMoney($dbname, $_SESSION['PLAYER_ID'], $money-$cost);
$money-=$cost;
setUserMoney($dbname, $_SESSION['PLAYER_ID'], $money+=$amountGained);
setUserMoney($dbname, $targetUser, $moneyTarget+=$amountGained);
header("Location: ".$_GET["ret"]);
}
@ -111,7 +115,7 @@ if(isset($_GET["go"], $_GET["qnt"], $_GET["itm"], $_GET["ret"]))
if($money >= $cost)
{
setUserMoney($dbname, $_SESSION['PLAYER_ID'], $money-$cost);
addItemToPuchaseQueue($dbname, $_SESSION['PLAYER_ID'], 559, 1);
addItemToPuchaseQueue($dbname, $targetUser, 559, 1);
header("Location: ".$_GET["ret"]);
@ -132,7 +136,7 @@ if(isset($_GET["go"], $_GET["qnt"], $_GET["itm"], $_GET["ret"]))
if($money >= $cost)
{
setUserMoney($dbname, $_SESSION['PLAYER_ID'], $money-$cost);
addItemToPuchaseQueue($dbname, $_SESSION['PLAYER_ID'], 559, 5);
addItemToPuchaseQueue($dbname, $targetUser, 559, 5);
header("Location: ".$_GET["ret"]);
@ -153,7 +157,7 @@ if(isset($_GET["go"], $_GET["qnt"], $_GET["itm"], $_GET["ret"]))
}
$quantity = 1;
if(!isset($_POST['item_name'], $_POST['amount'], $_POST['item_number'], $_POST['return']))
if(!isset($_POST['item_name'], $_POST['amount'], $_POST['item_number'], $_POST['custom'], $_POST['return']))
{
include("header.php");
@ -161,6 +165,7 @@ if(!isset($_POST['item_name'], $_POST['amount'], $_POST['item_number'], $_POST[
include("footer.php");
exit();
}
if(isset($_POST['quantity']))
$quantity = intval($_POST['quantity']);
@ -170,6 +175,18 @@ $hasIntl = function_exists('numfmt_create');
if($hasIntl)
$fmt = numfmt_create( 'en_US', NumberFormatter::DECIMAL );
$toUser = $_POST['custom'];
$toUsername = "";
if(!getUserExistInExt($dbname, $toUser))
{
include("header.php");
echo("Cannot buy for a user who does not exist on this server.");
include("footer.php");
exit();
}
else{
$toUsername = get_username($toUser);
}
include("header.php");
?>
@ -207,7 +224,7 @@ include("header.php");
?></td>
</tr>
</table>
<h3><b>NOTE: $1USD = $<?php echo($EXHANGE_RATE)?> HorseIsle Money! (you have $<?php echo($money) ?>)</b></h3><br>Do you want to purchase?</br><br><a href="?go=1&itm=<?php echo(urlencode(htmlspecialchars($_POST['item_name']))); ?>&qnt=<?php echo(urlencode(htmlspecialchars($quantity)));?>&ret=<?php echo(urlencode(htmlspecialchars($_POST['return']))); ?>">Yes</a> | <a href="/account.php">No</a>
<h3><b>NOTE: $1USD = $<?php echo($EXHANGE_RATE)?> HorseIsle Money! (you have $<?php echo($money) ?>)</b></h3><br><b>This purchase is for User: <?php echo(htmlspecialchars($toUser)." (".$toUsername.")"); ?></b></br>Do you want to purchase?</br><br><a href="?go=1&itm=<?php echo(urlencode(htmlspecialchars($_POST['item_name']))); ?>&qnt=<?php echo(urlencode(htmlspecialchars($quantity)));?>&to=<?php echo(urlencode(htmlspecialchars($_POST['custom']))); ?>&ret=<?php echo(urlencode(htmlspecialchars($_POST['return']))); ?>">Yes</a> | <a href="/account.php">No</a>
<?php
include("footer.php");
?>

View file

@ -122,7 +122,7 @@ for($i = 0; $i < count($server_list); $i++)
}
else
{
$newUser = getUserExistInExt($database, $player_id);
$newUser = !getUserExistInExt($database, $player_id);
if(!$newUser){
$loginDate = getUserLoginDate($database, $player_id);

View file

@ -12,6 +12,7 @@ function GenHmacMessage(string $data, string $channel)
return $hmac;
}
function getPlayerList($database)
{
include('config.php');
@ -163,7 +164,7 @@ function getUserExistInExt($database, $id)
$stmt->execute();
$result = $stmt->get_result();
return intval($result->fetch_row()[0]) <= 0;
return intval($result->fetch_row()[0]) >= 1;
}

View file

@ -1,137 +1,238 @@
<HEAD>
<TITLE>HORSE ISLE - Online Multiplayer Horse Game</TITLE>
<META NAME="keywords" CONTENT="Horse Game Online MMORPG Multiplayer Horses RPG Girls Girly Isle World Island Virtual Horseisle Sim Virtual">
<META NAME="description" CONTENT="A multiplayer online horse world where players can capture, train, care for and compete their horses against other players. A very unique virtual sim horse game.">
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<link rel="icon" href="/favicon.ico" type="image/x-icon">
<link rel="meta" href="http://horseisle.com/labels.rdf" type="application/rdf+xml" title="ICRA labels" />
<meta http-equiv="pics-Label" content='(pics-1.1 "http://www.icra.org/pics/vocabularyv03/" l gen true for "http://horseisle.com" r (n 0 s 0 v 0 l 0 oa 0 ob 0 oc 0 od 0 oe 0 of 0 og 0 oh 0 c 1) gen true for "http://hi1.horseisle.com" r (n 0 s 0 v 0 l 0 oa 0 ob 0 oc 0 od 0 oe 0 of 0 og 0 oh 0 c 1))' />
<style type="text/css">
hr {
height: 1;
color: #000000;
background-color: #000000;
border: 0;
}
a {
font: bold 14px arial;
color: #6E3278;
}
TH {
background-color: #EDE5B4;
padding: 1px 6px;
border: 2px dotted #6E3278;
font: small-caps 900 14px arial;
color: #000000;
}
TR.a0 {
background-color: #EDE5B4;
}
TR.a1 {
background-color: #D4CCA1;
}
TD {
font: 14px arial;
color: #000000;
}
TD.forum {
font: 12px arial;
color: #000000;
}
TD.forumlist {
padding: 1px 6px;
border: 2px dotted #6E3278;
background-color: #EDE5B4;
text-align: center;
font: bold 14px arial;
color: #000000;
}
TD.forumpost {
padding: 5px 10px;
border: 2px dotted #6E3278;
background-color: #EDE5B4;
text-align: left;
}
TD.adminforumpost {
padding: 5px 20px;
border: 2px dotted #6E3278;
background-color: #BFE9C9;
text-align: left;
}
TD.newslist {
padding: 4px 4px;
border: 2px dotted #6E3278;
background-color: #FFDDEE;
text-align: left;
font: 14px arial;
color: #000000;
}
FORUMSUBJECT {
font: bold 14px arial;
color: #004400;
}
FORUMUSER {
font: 12px arial;
color: #000044;
}
FORUMDATE {
font: 12px arial;
color: #444444;
}
FORUMTEXT {
font: 14px arial;
color: #440000;
}
<?php
include("../config.php");
include("../servers.php");
include("../common.php");
include("../crosserver.php");
include("header.php");
$host = 'http://'.htmlspecialchars($_SERVER['HTTP_HOST'], ENT_QUOTES);
if(isset($_POST['PLAYERNAME'], $_POST['SERVER'])){
$server = htmlspecialchars($_POST['SERVER']);
$name = htmlspecialchars($_POST['PLAYERNAME']);
$serverObj = getServerById($server);
$serverDb = $serverObj['database'];
echo('<CENTER><B>Gift membership payments options</B></CENTER><BR>');
echo('<FONT COLOR=444444>Verifying existing playername and activity on server...<BR></FONT>');
if(!user_exists($name)){
echo('<FONT COLOR=RED>Player: '.$name.' not found on Horse Isle. Please make sure you know the EXACT playername! Press BACK button.</FONT>');
}
else
{
$userid = htmlspecialchars(get_userid($name));
$name = htmlspecialchars(get_username($userid));
echo('</FONT>Player: '.$name.' Found.<BR>');
echo('Player\'s account ID: '.$userid.'<BR>');
echo('<FONT COLOR=444444>Checking for an active account on server...<BR></FONT>');
if($serverObj == null)
{
echo('<FONT COLOR=RED>Server not found?</FONT>');
exit();
}
if(!userid_exists($serverDb, $userid))
{
echo('<FONT COLOR=RED>Player: '.$name.' does not have an active account on Server '.$server.' Please make sure you know the EXACT server they play on! Press BACK button.</FONT>');
}
else
{
echo('It appears they have an account on '.$server.'.<BR>');
$newUser = !getUserExistInExt($serverDb, $userid);
if(!$newUser){
$totalLogins = getUserTotalLogins($serverDb, $userid);
$subbedUntil = getUserSubTimeRemaining($serverDb, $userid);
}
else
{
$totalLogins = 0;
$subbedUntil = 0;
}
echo('They have logged into it '.htmlspecialchars($totalLogins).' times.<BR>');
if($subbedUntil <= 0)
{
echo('They have never been subscribed to this server.<BR>');
}
else
{
echo('They are/were subscribed to this server until: '.date("F j, Y", $subbedUntil).'<BR>');
}
// put payment options here;
$pp_uri = str_replace('[GAMESITE]', $serverObj['site'], $pp_uri);
$gameServerDomain = parse_url($serverObj['site'], PHP_URL_HOST);
echo('<HR>The following Payment Options are Available:<BR>
<CENTER><TABLE WIDTH=500><TR><TD class=forumlist>
</style>
</HEAD>
<BODY BGCOLOR=E0D8AA>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
<TR WIDTH=100%>
<TD WIDTH=512 ROWSPAN=3><A HREF=/><IMG SRC=/web/hoilgui1.gif ALT="Welcome to Horse Isle" BORDER=0></A></TD>
<TD WIDTH=100% BACKGROUND=/web/hoilgui2.gif>&nbsp;</TD>
<TD WIDTH=29><IMG SRC=/web/hoilgui3.gif></TD>
</TR>
<TR>
<TD WIDTH=100% BACKGROUND=/web/hoilgui4.gif align=right>
<B>
</TD></TR><TR><TD class=forumlist>
<TABLE WIDTH=100%>
<TR><TD><B>BUY 1 Month Membership <FONT COLOR=GREEN>$5.00</FONT>usd</B> <I><FONT SIZE=-1>(adds 31 days membership time to the account) Non-refundable.</FONT></I></TD><TD>
<form action="'.$pp_uri.'" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="paypal@horseisle.com">
<input type="hidden" name="undefined_quantity" value="1">
<input type="hidden" name="item_name" value="One Month Horse Isle Membership-gift on '.$gameServerDomain.'">
<input type="hidden" name="item_number" value="'.htmlspecialchars($userid).'">
<input type="hidden" name="custom" value="'.htmlspecialchars($userid).'">
<input type="hidden" name="amount" value="5.00">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="return" value="'.$host.'/web/paypalgiftpayment.php">
<input type="hidden" name="notify_url" value="'.$serverObj['site'].'/web/paypalgateway.php">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="bn" value="PP-BuyNowBF">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but02.gif" border="0"
name="submit" alt="Make payments with PayPal - it\'s fast, free and secure!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
</TD></TR></TABLE>
<TABLE CELLPADDING=0 CELLSPACING=2 BORDER=0><FORM METHOD=POST ACTION=/account.php>
<TR><TD><B>USER:</B></TD><TD><INPUT TYPE=TEXT SIZE=14 NAME=USER></TD></TR>
<TR><TD><B>PASS:</B></TD><TD><INPUT TYPE=PASSWORD SIZE=14 NAME=PASS></TD></TR>
<TR><TD></TD><TD><INPUT TYPE=SUBMIT VALUE=LOGIN> (<A HREF=/web/forgotpass.php>Forgot?</A>)</TD></TR></FORM></TABLE>
</TD></TR>
</TD>
<TD WIDTH=29><IMG SRC=/web/hoilgui5.gif></TD></TR>
<TR>
<TD WIDTH=100% BACKGROUND=/web/hoilgui6.gif>&nbsp;</TD>
<TD WIDTH=29><IMG SRC=/web/hoilgui7.gif></TD></TR>
</TABLE>
<CENTER>
<TR><TD class=forumlist>
<TABLE WIDTH=100%><TR>
<TD><B>BUY Full Year Membership <FONT COLOR=GREEN>$40.00</FONT>usd</B> <I><FONT SIZE=-1>(adds 366 days membership time to the account. saves $20.00 off monthly subscription) Non-refundable.</FONT></I></TD><TD>
<form action="'.$pp_uri.'" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="paypal@horseisle.com">
<input type="hidden" name="undefined_quantity" value="1">
<input type="hidden" name="item_name" value="Full Year Horse Isle Membership-gift on '.$gameServerDomain.'">
<input type="hidden" name="item_number" value="'.htmlspecialchars($userid).'">
<input type="hidden" name="custom" value="'.htmlspecialchars($userid).'">
<input type="hidden" name="amount" value="40.00">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="return" value="'.$host.'/web/paypalgiftpayment.php">
<input type="hidden" name="notify_url" value="'.$serverObj['site'].'/web/paypalgateway.php">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="bn" value="PP-BuyNowBF">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but02.gif" border="0"
name="submit" alt="Make payments with PayPal - it\'s fast, free and secure!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
</TD></TR></TABLE>
<TR><TD class=forumlist>
<TABLE WIDTH=100%><TR>
<form action="'.$pp_uri.'" method="post">
<TD><B>BUY $10,000 Horse Isle Currency per <FONT COLOR=GREEN>$1.00</FONT>usd</B><BR>
Select: <SELECT NAME=quantity>
<OPTION VALUE=2>$20,000 Horse Isle for $2.00 USD
<OPTION VALUE=3>$30,000 Horse Isle for $3.00 USD
<OPTION VALUE=4>$40,000 Horse Isle for $4.00 USD
<OPTION VALUE=5>$55,000 Horse Isle for $5.00 USD (10% bonus)
<OPTION SELECTED VALUE=10>$110,000 Horse Isle for $10.00 USD (10% bonus)
<OPTION VALUE=20>$230,000 Horse Isle for $20.00 USD (15% bonus)
<OPTION VALUE=50>$575,000 Horse Isle for $50.00 USD (15% bonus)
<OPTION VALUE=100>$1,200,000 Horse Isle for $100.00 USD (20% bonus)
<OPTION VALUE=250>$3,125,000 Horse Isle for $250.00 USD (25% bonus)
</SELECT><BR>
<I><FONT SIZE=-1>(gives Horse Isle currency for use in the game. You can earn Horse Isle money by playing the game, this is not required.) Non-refundable.</FONT></I></TD><TD>
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="paypal@horseisle.com">
<input type="hidden" name="item_name" value="10k Horse Isle Money-gift on '.$gameServerDomain.'">
<input type="hidden" name="item_number" value="'.htmlspecialchars($userid).'">
<input type="hidden" name="custom" value="'.htmlspecialchars($userid).'">
<input type="hidden" name="amount" value="1.00">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="return" value="'.$host.'/web/paypalgiftpayment.php">
<input type="hidden" name="notify_url" value="'.$serverObj['site'].'/web/paypalgateway.php">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="bn" value="PP-BuyNowBF">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but02.gif" border="0"
name="submit" alt="Make payments with PayPal - it\'s fast, free and secure!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
</TD></TR></TABLE>
</TD></TR><TR><TD class=forumlist>
<TABLE WIDTH=100%>
<TR><TD>
<B>BUY Pawneer Order <FONT COLOR=GREEN>$8.00</FONT>usd</B> <I><FONT SIZE=-1>(allows ordering a custom breed/color/gender horse on server from Pawneer. This is not required, you can trade other players to get the breed you desire also.) Non-refundable.</FONT></I></TD><TD>
<form action="'.$pp_uri.'" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="paypal@horseisle.com">
<input type="hidden" name="undefined_quantity" value="1">
<input type="hidden" name="item_name" value="Pawneer Order-gift on '.$gameServerDomain.'">
<input type="hidden" name="item_number" value="'.htmlspecialchars($userid).'">
<input type="hidden" name="custom" value="'.htmlspecialchars($userid).'">
<input type="hidden" name="amount" value="8.00">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="return" value="'.$host.'/web/paypalgiftpayment.php">
<input type="hidden" name="notify_url" value="'.$serverObj['site'].'/web/paypalgateway.php">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="bn" value="PP-BuyNowBF">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but02.gif" border="0"
name="submit" alt="Make payments with PayPal - it\'s fast, free and secure!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
</TD></TR></TABLE>
</TD></TR><TR><TD class=forumlist>
<TABLE WIDTH=100%>
<TR><TD>
<B>BUY 5 Pawneer Orders <FONT COLOR=GREEN>$30.00</FONT>usd</B> <I><FONT SIZE=-1>(save $10.00 - allows ordering 5 custom horses from Pawneer) Non-refundable.</FONT></I></TD><TD>
<form action="'.$pp_uri.'" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="paypal@horseisle.com">
<input type="hidden" name="undefined_quantity" value="1">
<input type="hidden" name="item_name" value="Five Pawneer Order-gift on '.$gameServerDomain.'">
<input type="hidden" name="item_number" value="'.htmlspecialchars($userid).'">
<input type="hidden" name="custom" value="'.htmlspecialchars($userid).'">
<input type="hidden" name="amount" value="30.00">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="return" value="'.$host.'/web/paypalgiftpayment.php">
<input type="hidden" name="notify_url" value="'.$serverObj['site'].'/web/paypalgateway.php">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="bn" value="PP-BuyNowBF">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but02.gif" border="0"
name="submit" alt="Make payments with PayPal - it\'s fast, free and secure!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
</TD></TR></TABLE>
/web/checks.php>CASH PAYMENT OPTION</A>
//</TD>
//</TR>
?>
</TABLE></CENTER><BR>
');
}
}
include("footer.php");
exit();
}
?>
<TABLE WIDTH=60%><TR><TD>
<CENTER><B>Gift membership payments.</B></CENTER><BR>
The following will enable you to buy a subscription or bonus for any existing account on Horse Isle.
Please BE SURE you know the EXACT playername and server that they play on, we cannot refund accidental payments on the wrong account. No refunds. ONLY make a payment if over 18.
<BR><CENTER>Horse Isle Gift Purchase For:<BR><FORM METHOD=POST>PLAYER NAME:(<B><FONT COLOR=RED>Exact Game Name!</FONT></B>) <INPUT TYPE=INPUT NAME=PLAYERNAME><BR>ON SERVER: (<B><FONT COLOR=RED>Be Sure!</FONT></B>) <SElECT name=SERVER><OPTION>bay<OPTION>black<OPTION>brown<OPTION>chestnut<OPTION>cremello<OPTION>dun<OPTION>grey<OPTION>palomino<OPTION>pinto<OPTION>roan<OPTION>white</SELECT><BR><BR><INPUT TYPE=SUBMIT VALUE='SHOW PURCHASE OPTIONS'></FORM><FONT SIZE=-1>NOTE: The player given the gift is in no way notified that they have been given the gift. It is left up to you to notify them. They also have no way to access your payment info whatsoever.</FONT></TD></TR></TABLE><TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
<TR>
<TD><IMG SRC=/web/hoilgui10.gif></TD>
<TD WIDTH=100% BACKGROUND=/web/hoilgui11.gif></TD>
<TD><IMG SRC=/web/hoilgui12.gif></TD>
</TR></TABLE>
<CENTER><B>
[ <A HREF=//master.horseisle.com/beginnerguide/>New Player Guide</A> ]<BR>
[ <A HREF=/web/rules.php>Rules</A> ]
[ <A HREF=/web/termsandconditions.php>Terms and Conditions</A> ]
[ <A HREF=/web/privacypolicy.php>Privacy Policy</A> ]</B><BR>
[ <A HREF=/web/expectedbehavior.php>Expected Behavior</A> ]
[ <A HREF=/web/contactus.php>Contact Us</A> ]
[ <A HREF=/web/credits.php>Credits</A> ]<BR>
<FONT FACE=Verdana,Arial SIZE=-2>Copyright &copy; 2020 Horse Isle</FONT>
<!-- Google Analytics -->
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-1805076-1";
urchinTracker();
</script>
<BR><CENTER>Horse Isle Gift Purchase For:<BR><FORM METHOD=POST>PLAYER NAME:(<B><FONT COLOR=RED>Exact Game Name!</FONT></B>) <INPUT TYPE=INPUT NAME=PLAYERNAME><BR>ON SERVER: (<B><FONT COLOR=RED>Be Sure!</FONT></B>) <SElECT name=SERVER><?php
for($i = 0; $i < count($server_list); $i++)
{
echo("<OPTION>".htmlspecialchars($server_list[$i]['id']));
}?></SELECT><BR><BR><INPUT TYPE=SUBMIT VALUE='SHOW PURCHASE OPTIONS'></FORM><FONT SIZE=-1>NOTE: The player given the gift is in no way notified that they have been given the gift. It is left up to you to notify them. They also have no way to access your payment info whatsoever.</FONT></TD></TR></TABLE><?php
include("footer.php");
?>

View file

@ -0,0 +1,18 @@
<?php
include("header.php");
?>
<BR>
<CENTER><TABLE CELLPADDING=5><TR><TD></CENTER>
<FONT FACE=arial>
<B>Thank you for your Horse Isle PayPal GIFT Payment! Your generosity is sure to be appreciated by the player, and also by the artists supported by your payment.</B><BR>
<BR>
Your transaction has been completed, and a receipt for your purchase has been emailed to you from PayPal.<BR>
You may log into your account at <A HREF="http://www.paypal.com/us">http://www.paypal.com/us</A> to view details of this transaction.<BR>
<BR>
Purchases will be credited to the account usually within one minute, occasionally delays of up to an hour may occur. If you still do not find the payment credited, email support@horseisle.com, with the playername and paypal account email and we will track the payment.<BR>
(<FONT COLOR=RED>NOTE: If you paid via paypal e-check it takes paypal 3-4 days to clear the check and notify us.</FONT>)<BR>
<BR>
</TD></TR></TABLE>
<?php
include("footer.php");
?>