diff options
-rw-r--r-- | css/page.css | 2 | ||||
-rw-r--r-- | pages/home.php | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/css/page.css b/css/page.css index d38a21b..f4fb112 100644 --- a/css/page.css +++ b/css/page.css @@ -82,7 +82,7 @@ a:hover { #difficulties {
width: 100%;
text-align: center;
- margin-bottom: 25px;
+ margin-bottom: 35px;
}
#difficulties a {
margin: 0 10px;
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">
|