aboutsummaryrefslogtreecommitdiff
path: root/src/scoretable.php
diff options
context:
space:
mode:
authorCassio de Campos <cassiopc@gmail.com>2017-07-26 13:32:39 +0000
committerCassio de Campos <cassiopc@gmail.com>2017-07-26 13:32:39 +0000
commit245505a089a7a2776c01e392b2a93f8123d8063c (patch)
treeaa22c2ae8c81c456d30568e8abea0ff10790abf6 /src/scoretable.php
parent0e038de05e8d8d223f31528d207d5b2540e3f135 (diff)
downloadboca-245505a089a7a2776c01e392b2a93f8123d8063c.tar.gz
boca-245505a089a7a2776c01e392b2a93f8123d8063c.zip
flags
Diffstat (limited to 'src/scoretable.php')
-rw-r--r--src/scoretable.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/scoretable.php b/src/scoretable.php
index 89392e7..6ed81af 100644
--- a/src/scoretable.php
+++ b/src/scoretable.php
@@ -314,7 +314,11 @@ if($redo) {
else {
*/
$_SESSION["scoreblink"][$score[$e]["username"]."-".$score[$e]["site"]]=0;
- $strtmp .= " <td nowrap>" . $score[$e]["username"]."/".$score[$e]["site"] . " </td>";
+ if( $score[$e]["userflag"] != '')
+ $strtmp .= " <td nowrap><img alt=\"" . $score[$e]["userflag"]. "\" width=\"18\" src=\"" . $loc. '/images/flags/' .
+ $score[$e]["userflag"] . ".png\"> " . $score[$e]["username"]."/".$score[$e]["site"] . " </td>";
+ else
+ $strtmp .= " <td nowrap>" . $score[$e]["username"]."/".$score[$e]["site"] . " </td>";
$strtmp .= "<td>" . $score[$e]["userfullname"];
// }
$_SESSION["scorepos"][$score[$e]["username"]."-".$score[$e]["site"]] = $cg2;