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+"
Spiel | Rasse | Status | |
---|---|---|---|
Spiel | Rasse | Status | Partei | "+row[0]+" | \n" line = line + ""+row[1]+" | \n" line = line + ""+row[2]+" | \n" + line = line + ""+row[3]+" | \n" line = line + "\n" output=output+line