From a44a0e047a7582fe7e31743e1b03a17cf2987f73 Mon Sep 17 00:00:00 2001 From: Carson Fleming Date: Thu, 9 Mar 2017 00:28:02 -0500 Subject: Created the ability to post ads, rating framework --- dash/header.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'dash/header.php') diff --git a/dash/header.php b/dash/header.php index 737d177..65de171 100644 --- a/dash/header.php +++ b/dash/header.php @@ -29,8 +29,10 @@ if (!empty($extra_head)) echo $extra_head; $title) { $link = $navlinks[$k]; + $test = '/'.$link; + $selected = ($_SERVER['SCRIPT_NAME'] == $test || $_SERVER['REQUEST_URI'] == $test); ?> - + href="">