It has a 'bans' table. Check if the user exists or his IP exists in that table, and then simply echo "Yes" or "No"?
Sent from my SM-G928F using Tapatalk
<?php
if(!defined('BRAIN_CMS'))
{
die('Sorry but you cannot access this file!');
}
/*
Functions list Class Admin.
---------------
error();
gelukt();
CheckRank();
staffpin();
staffCheck();
UpdateUser()...
What I do: Buy the item, look at the id, search for the id under 'items' table, receive the base item id, as that is the global furnitures id, and search for item ids with the one you just received. Its a pretty challenging way you do it.
Sent from my SM-G928F using Tapatalk
Oh damn another retarded danish retro hotel. Probably just as shit as Sjovt, well you're using the same CMS lol, and even the same currencies.
Sent from my SM-G928F using Tapatalk
Not my grafitti dude, it was a painting someone made in Christiania Freetown in Denmark, but yeah its sick. Its what we call a "clipper" to cut over hashish.
You do realize it's PDO?
Nowhere unless codes I've not looked at in the class.db.php outputs any form off database connection errors. The PDO Exception just shows a modified message he have made.
Have a look inside class.db.php, the db connection is made outside the class, instead of just making it as a __construct function inside?
Here's my example for what I use in my CMS: