projects
/
e-DoKo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update favicon if it's your turn.
[e-DoKo.git]
/
rss.php
diff --git
a/rss.php
b/rss.php
index c089fb5ebe0423de14888cf49d8570097e93e535..e6db2875d531c3fbf08dab4485a6d608a4b7f9bc 100644
(file)
--- a/
rss.php
+++ b/
rss.php
@@
-1,5
+1,5
@@
<?php
<?php
-/* Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012 Arun Persaud <arun@nubati.net>
+/* Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012
, 2013
Arun Persaud <arun@nubati.net>
*
* This file is part of e-DoKo.
*
*
* This file is part of e-DoKo.
*
@@
-75,8
+75,7
@@
header("Content-Type: text/xml");
<?php
/* set language */
<?php
/* set language */
-$PREF = DB_get_PREF($id);
-set_language($PREF['language']);
+set_language($id,'uid');
echo '<subtitle>'._('Know when it is your turn')."</subtitle>\n";
echo '<subtitle>'._('Know when it is your turn')."</subtitle>\n";
@@
-101,8
+100,8
@@
echo "</author>\n\n";
$result = DB_query("SELECT Hand.hash,Hand.game_id,Game.player from Hand".
" LEFT JOIN Game On Hand.game_id=Game.id".
$result = DB_query("SELECT Hand.hash,Hand.game_id,Game.player from Hand".
" LEFT JOIN Game On Hand.game_id=Game.id".
- " WHERE Hand.user_id=
'$id'"
.
- " AND ( Game.player=
'$id'
OR ISNULL(Game.player) )".
+ " WHERE Hand.user_id=
".DB_quote_smart($id)
.
+ " AND ( Game.player=
".DB_quote_smart($id)."
OR ISNULL(Game.player) )".
" AND ( Game.status='pre' OR Game.status='play' )".
" ORDER BY Game.session" );
" AND ( Game.status='pre' OR Game.status='play' )".
" ORDER BY Game.session" );