function Headers() { $theme = 'css/basic.css'; if (isset($_GET['theme'])) { if ($_GET['theme'] == 'basic' || $_GET['theme'] == 'asian_chick' || $_GET['theme'] == 'chick' || $_GET['theme'] == 'angelina' || $_GET['theme'] == 'alba' || $_GET['theme'] == 'reid') { $theme = 'css/' . $_GET['theme'] . '.css'; setcookie('theme', $_GET['theme']); } } elseif (isset($_COOKIE['theme'])) { if ($_COOKIE['theme'] == 'basic' || $_COOKIE['theme'] == 'asian_chick' || $_COOKIE['theme'] == 'chick' || $_COOKIE['theme'] == 'angelina' || $_COOKIE['theme'] == 'alba' || $_COOKIE['theme'] == 'reid') { $theme = 'css/' . $_COOKIE['theme'] . '.css'; } } echo(' # '); }