From bdeeee61bb35a380eb247221fa9f95166677c050 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Wed, 2 Jan 2002 13:31:13 +0000 Subject: [PATCH] cgi scripts --- scripts/cgi-bin/info.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/cgi-bin/info.py b/scripts/cgi-bin/info.py index 3becd911c..48a434079 100755 --- a/scripts/cgi-bin/info.py +++ b/scripts/cgi-bin/info.py @@ -66,7 +66,7 @@ def ShowInfo(custid, Password): output=output+"" - query = ("select games.name, races.name, subscriptions.status "+ + query = ("select games.name, races.name, subscriptions.status, subscriptions.faction "+ "from races, games, subscriptions "+ "where subscriptions.race=races.race and subscriptions.game=games.id "+ "and subscriptions.user="+str(custid)+" "); @@ -74,7 +74,7 @@ def ShowInfo(custid, Password): results = cursor.execute(query); output=output+"

Anmeldungen

\n
\n" - output=output+"\n" + output=output+"\n" while results>0: results = results - 1 row = cursor.fetchone() @@ -82,6 +82,7 @@ def ShowInfo(custid, Password): line = line + "\n" line = line + "\n" line = line + "\n" + line = line + "\n" line = line + "\n" output=output+line
SpielRasseStatus
SpielRasseStatusPartei
"+row[0]+""+row[1]+""+row[2]+""+row[3]+"