diff --git a/index.php b/index.php index 6f12925..ff6276b 100644 --- a/index.php +++ b/index.php @@ -82,16 +82,24 @@ if (isset($_SESSION['user_id'])) { $page_regex = '//s'; +$page_style_regex = '//s'; -if(preg_match($page_regex, $page_data, $matches)){ +if (preg_match($page_regex, $page_data, $matches)) { $page_name = $matches[1]; $page_data = preg_replace($page_regex, '', $page_data); -} -else{ +} else { $page_name = ucfirst($page); } -$output = str_replace('