Quick convert of anti-spam questions to their own table

Signed-off-by: emanuele <emanuele45@gmail.com>
a bit of interface

Signed-off-by: emanuele <emanuele45@gmail.com>
Reworked the entire create_control_verification function to make it easier (I hope) to read and use

Signed-off-by: emanuele <emanuele45@gmail.com>
I don't like at all validateToken...

Signed-off-by: emanuele <emanuele45@gmail.com>
basic cleaning
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
methods visibility
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
moved db queries to subs
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
moved db queries to subs, still needs optimization :P
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Don't forget the Docs, file header..
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
ups :)
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
moved query to subs, renamed a fuction ...
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
typos
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
function, not constant!
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
uups
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
uups again :D
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
not  many globals, one line is enough.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
small fixes
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Bug in getBasicMemberData(): the idea was nice but $row cannot be used outside the while loop.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
nicer version :)
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
moved the last remaining db query to subs.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>