diff --git a/css/style.css b/css/style.css index 0e31865f6..812ccca7b 100644 --- a/css/style.css +++ b/css/style.css @@ -49,6 +49,14 @@ header { #main ul#links li { display: inline; } + +#main ul#links li a.current { + -webkit-border-radius: 2px; + border-radius: 2px; + background-color: #040707; + color: #F1F1F1; +} + #links a, .backhome a{ text-decoration: none; padding: 5px 10px; diff --git a/index.php b/index.php index 399dec784..1e402896f 100755 --- a/index.php +++ b/index.php @@ -101,6 +101,7 @@ switch ($view) default: $sql = "SELECT * FROM entries WHERE is_read=? ORDER BY id desc"; $params = array(0); + $view = 'index'; break; } @@ -141,9 +142,9 @@ catch (Exception $e)