summaryrefslogtreecommitdiffstats
path: root/include/output.php
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2009-01-17 22:50:05 -0800
committerArun Persaud <arun@nubati.net>2009-01-17 22:50:05 -0800
commit44e91af3fd631752e4de74673b591bce17ce7a79 (patch)
tree2b6abfcc8f1d099c33251e0548065355e1c015d7 /include/output.php
parent98959130e1ed875f0b4d783a5a82b144d504c1d4 (diff)
downloade-DoKo-44e91af3fd631752e4de74673b591bce17ce7a79.tar.gz
e-DoKo-44e91af3fd631752e4de74673b591bce17ce7a79.tar.bz2
e-DoKo-44e91af3fd631752e4de74673b591bce17ce7a79.zip
NEW FEATURE: add a random math question to the registration progress to get rid of robots
make it harder for robots to register
Diffstat (limited to 'include/output.php')
-rw-r--r--include/output.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/output.php b/include/output.php
index 48f31e4..395e4ec 100644
--- a/include/output.php
+++ b/include/output.php
@@ -440,4 +440,20 @@ function output_user_notes($userid,$gameid,$userstatus)
return;
}
+function output_robotproof($i)
+{
+ switch($i)
+ {
+ case 0:
+ return "6*7=";
+ case 1:
+ return "5*7=";
+ case 2:
+ return "4*7=";
+ case 3:
+ return "3*7=";
+ case 4:
+ return "2*7=";
+ }
+}
?> \ No newline at end of file