Jump to content
MakeWebGames

DOnate mod help


3XTR3M3

Recommended Posts

When peole donate it doesnt come up in dps process in phpmyadmin or in admin panel this is my donatordone and dontor please correct

 

<?php
/*-----------------------------------------------------
-- MOno Country v1.0 BETA
-- A product of DBS-entertainment
-- Copyright held 2005 by Dabomstew, ColdBlooded
-- INDEX.php
-----------------------------------------------------*/
session_start();
require "global_func.php";
if($_SESSION['loggedin']==0) { header("Location: login.php");exit; }
$userid=$_SESSION['userid'];
require "header.php";
$h = new headers;
$h->startheaders();
include "mysql.php";
global $c;
$is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid",$c) or die(mysql_error());
$ir=mysql_fetch_array($is);
check_level();
$fm=money_formatter($ir['money']);
$cm=money_formatter($ir['crystals'],'');
$lv=date('F j, Y, g:i a',$ir['laston']);
$h->userdata($ir,$lv,$fm,$cm);
$h->menuarea();
print <<Donations
[b][[url='willpotion.php']Buy Will Potions[/url]][/b]

If you become a donator to Deaths-City, you will receive (each time you donate):

[b]1st Offer:[/b]</pre>
<ul>
[*]\$1,000 game money
[*]5 crystals
[*]10 IQ, the hardest stat to get in the game!
[*]20 days Donator Status: Red name + cross next to your name
[*][b]NEW![/b] Friend and Black Lists
[*][b]NEW![/b] Bank Xfers
[*][b]NEW![/b] 17% Energy every 5 mins instead of 8%[/list]

</ul>
<br><br><br><br><br><br><br><br><br><br><br><br><br>[b]1st Offer:[/b]<ul>
[*]\$5,000 game money
[*]50 crystals
[*]50 IQ, the hardest stat to get in the game!
[*]30 days Donator Status: Red name + cross next to your name
[*][b]NEW![/b] Friend and Black Lists
[*][b]NEW![/b] 17% Energy every 5 mins instead of 8%[/list]

</ul>
<br><br><br><br><br><br><br><br><br><br><br><br><br>[b]2nd Offer:[/b]<ul>
[*]100 crystals
[*]30 days Donator Status: Red name + cross next to your name
[*][b]NEW![/b] Friend and Black Lists
[*][b]NEW![/b] Bank Xfers
[*][b]NEW![/b] 17% Energy every 5 mins instead of 8%[/list]

</ul>
<br><br><br><br><br><br><br><br><br><br><br><br><br>[b]3rd Offer:[/b]<ul>
[*]120 IQ, the hardest stat to get in the game!
[*]30 days Donator Status: Red name + cross next to your name
[*][b]NEW![/b] Friend and Black Lists
[*][b]NEW![/b] Bank Xfers
[*][b]NEW![/b] 17% Energy every 5 mins instead of 8%[/list]

</ul>
<br><br><br><br><br><br><br><br><br><br><br><br><br>[b]4th Offer ($5.00 pack):[/b]<ul>
[*]\$15,000 game money
[*]75 crystals
[*]80 IQ, the hardest stat to get in the game!
[*]55 days Donator Status: Red name + cross next to your name
[*][b]NEW![/b] Friend and Black Lists
[*][b]NEW![/b] Bank Xfers
[*][b]NEW![/b] 17% Energy every 5 mins instead of 8%[/list]

</ul>
<br><br><br><br><br><br><br><br><br><br><br><br><br>[b]5th Offer ($10.00 pack):[/b]<ul>
[*]\$35,000 game money
[*]160 crystals
[*]180 IQ, the hardest stat to get in the game!
[*]A free Rifle valued at \$25,000
[*]115 days Donator Status: Red name + cross next to your name
[*][b]NEW![/b] Friend and Black Lists
[*][b]NEW![/b] Bank Xfers
[*][b]NEW![/b] 17% Energy every 5 mins instead of 8%[/list]

</ul>
<br><br><br><br><br><br><br><br><br><br><br><br><br>[b]6th Offer ($20.00 pack):[/b]<ul>
[*]\$90,000 game money
[*]500 crystals
[*]450 IQ, the hardest stat to get in the game!
[*]A free Rifle valued at \$25,000
[*]A Will Potion valued at \$0
[*]500 days Donator Status: Red name + cross next to your name
[*][b]NEW![/b] Friend and Black Lists
[*][b]NEW![/b] Bank Xfers
[*][b]NEW![/b] 17% Energy every 5 mins instead of 8%[/list]

</ul>
<br><br><br><br><br><br><br><br><br><br><br><br><br>[b]Make Your Own Weapon 50 $[/b]<ul>
[/list]

</ul>
<br><br><br><br><br><br><br><br><br><br><br><br><br>EOF;<br>$h->endpage();<br>?&g

 

<?php
/*-----------------------------------------------------
-- Mono Country v1.0 BETA
-- A product of DBS-entertainment
-- Copyright held 2005 by Dabomstew
-- INDEX.php
-----------------------------------------------------*/
session_start();
require "global_func.php";
if($_SESSION['loggedin']==0) { header("Location: login.php");exit; }
$userid=$_SESSION['userid'];
require "header.php";
$h = new headers;
$h->startheaders();
include "mysql.php";
global $c;
$is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid",$c) or die(mysql_error());
$ir=mysql_fetch_array($is);
check_level();
$fm=money_formatter($ir['money']);
$cm=money_formatter($ir['crystals'],'');
$lv=date('F j, Y, g:i a',$ir['laston']);
$h->userdata($ir,$lv,$fm,$cm);
$h->menuarea();
if($_GET['action'] == "cancel")
{
print "You have cancelled your donation. Please donate later...";
}
else if($_GET['action'] == "done")
{
if(!$_GET['tx'])
{
die ("Get a life.");
}
mysql_query("INSERT INTO dps_process VALUES ('',$userid,unix_timestamp(),'{$_GET['type']}');",$c);
print "Your donation has been processed. An admin will check it and you should be credited in about 24-48 hours.";
}
$h->endpage();
?>
Link to comment
Share on other sites

Re: DOnate mod help

Well it seems to be like you are not even using ipn_donator.php or ipn_items.php, basically anything that will actually process the donation. Donatordone.php does not process the donation, it only informs the user of what happened.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...