Jump to content
MakeWebGames

blocking


Snatchy
 Share

Recommended Posts

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

 Share

×
×
  • Create New...