Jump to content
MakeWebGames

Recommended Posts

Posted

function dd_buy()

{

global $ir,$c,$userid,$h;

if($ir['donatordays'] > 0)

{

print "You need to be a NON - Donator to buy on this market.;

Back";

$h->endpage();

exit;

would i be right in sayin that this would stop a donator from entering the the crystal market?

Posted

Re: blocking

You could also have did:

 

function dd_buy()
{
global $ir,$c,$userid,$h;
if($ir['donatordays']) // this means they have them could have been if(!$ir['donatorydays'])... this would mean they dont have any or it = 0.
{
print "You need to be a <font color=red>[b]NON[/b]</font> - Donator to buy on this market.;
[url='cmmarket.php'] Back[/url]";
$h->endpage();
exit;
}

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...