summaryrefslogtreecommitdiffstats
path: root/pages/home.php
diff options
context:
space:
mode:
Diffstat (limited to 'pages/home.php')
-rw-r--r--pages/home.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/pages/home.php b/pages/home.php
index 869c4d1..f263c2b 100644
--- a/pages/home.php
+++ b/pages/home.php
@@ -101,6 +101,16 @@ $mergesolution = $map;
echo $solutiondiv;
echo $topscorediv;
+
+
+ if ($_SESSION['accepted'] != 1) {
+ echo "
+ <div style='text-align: center; margin-top: 20px'>
+ <a href='?page=login'>Sign in</a> to have your best solution saved.
+ </div>
+ ";
+ }
+
?>
<div id="fb">