global $config, $template, $user; $template->assign_vars(array( 'CAMBER_MAIN_BACKGROUND' => "{$config['camber_main_background']}", 'CAMBER_MAIN_OVERLAY' => "{$config['camber_main_overlay']}", 'CAMBER_MAIN_PATTERN' => "{$config['camber_main_pattern']}", 'CAMBER_MAIN_TEXT' => "{$config['camber_main_text']}", 'CAMBER_MAIN_LINK' => "{$config['camber_main_link']}", 'CAMBER_MAIN_ACCENT' => "{$config['camber_main_accent']}", 'CAMBER_TOPBLOCK_BACKGROUND' => "{$config['camber_topblock_background']}", 'CAMBER_TOPBLOCK_OVERLAY' => "{$config['camber_topblock_overlay']}", 'CAMBER_TOPBLOCK_WIDTH' => "{$config['camber_topblock_width']}", 'CAMBER_TOPBLOCK_TEXT' => "{$config['camber_topblock_text']}", 'CAMBER_TOPBLOCK_LINK' => "{$config['camber_topblock_link']}", 'CAMBER_TOPBLOCK_ACCENT' => "{$config['camber_topblock_accent']}", 'CAMBER_BODY_BACKGROUND' => "{$config['camber_body_background']}", 'CAMBER_BODY_WIDTH' => "{$config['camber_body_width']}", 'CAMBER_BODY_TEXT' => "{$config['camber_body_text']}", 'CAMBER_BODY_LINK' => "{$config['camber_body_link']}", 'CAMBER_BODY_ACCENT' => "{$config['camber_body_accent']}", 'CAMBER_FOOTERBLOCK_BACKGROUND' => "{$config['camber_footerblock_background']}", 'CAMBER_FOOTERBLOCK_OVERLAY' => "{$config['camber_footerblock_overlay']}", 'CAMBER_FOOTERBLOCK_WIDTH' => "{$config['camber_footerblock_width']}", 'CAMBER_FOOTERBLOCK_TEXT' => "{$config['camber_footerblock_text']}", 'CAMBER_FOOTERBLOCK_LINK' => "{$config['camber_footerblock_link']}", 'CAMBER_FOOTERBLOCK_ACCENT' => "{$config['camber_footerblock_accent']}", 'CAMBER_LOGO_STYLE' => "{$config['camber_logo_style']}", 'CAMBER_LOGO_PATTERN' => "{$config['camber_logo_pattern']}", 'CAMBER_TYPOGRAPHY_STYLE' => "{$config['camber_typography_style']}", 'CAMBER_FONTFACE' => "{$config['camber_fontface']}", )); if (!isset($config['camber_topblock_width'])) { $template->assign_vars(array( 'CAMBER_TOPBLOCK_WIDTH' => "full" ) ); } if (!isset($config['camber_body_width'])) { $template->assign_vars(array( 'CAMBER_BODY_WIDTH' => "wrapped" ) ); } if (!isset($config['camber_footerblock_width'])) { $template->assign_vars(array( 'CAMBER_FOOTERBLOCK_WIDTH' => "full" ) ); } $current_theme = $user->theme['theme_path']; $easy_theme = $_GET['ntheme']; $bg_level = $_GET['bg_level']; $body_level = $_GET['body_level']; if(!isset($_COOKIE[$current_theme."-tstyle"])) { $color_variation = $config['camber_style']; } if(!isset($_COOKIE[$current_theme."-bg_level"])) { $bg_level = $config['camber_bg_level']; } if(!isset($_COOKIE[$current_theme."-body_level"])) { $body_level = $config['camber_body_level']; } if(!empty($easy_theme)) { ob_start(); setcookie($current_theme."-tstyle", $easy_theme, time()+31536000); /* Expires in a year */ setcookie($current_theme."-bg_level", $bg_level, time()+31536000); /* Expires in a year */ setcookie($current_theme."-body_level", $body_level, time()+31536000); /* Expires in a year */ header("Location: ". $_SERVER['PHP_SELF']); exit; ob_end_flush(); } if(isset($_COOKIE[$current_theme."-tstyle"])) { $color_variation = $_COOKIE[$current_theme."-tstyle"]; } if(isset($_COOKIE[$current_theme."-bg_level"])) { $bg_level = $_COOKIE[$current_theme."-bg_level"]; } if(isset($_COOKIE[$current_theme."-body_level"])) { $body_level = $_COOKIE[$current_theme."-body_level"]; } switch ($_COOKIE[$current_theme."-tstyle"]) { case style1: $color_variation = "style1"; $template->assign_vars(array( 'CAMBER_MAIN_BACKGROUND' => "#CBD1D1", 'CAMBER_MAIN_OVERLAY' => "light", 'CAMBER_MAIN_PATTERN' => "noise", 'CAMBER_MAIN_TEXT' => "#5D6769", 'CAMBER_MAIN_LINK' => "#2C8BA6", 'CAMBER_MAIN_ACCENT' => "#2C8BA6", 'CAMBER_TOPBLOCK_BACKGROUND' => "#F1F3F2", 'CAMBER_TOPBLOCK_OVERLAY' => "light", 'CAMBER_TOPBLOCK_WIDTH' => "full", 'CAMBER_TOPBLOCK_TEXT' => "#748082", 'CAMBER_TOPBLOCK_LINK' => "#2C8BA6", 'CAMBER_TOPBLOCK_ACCENT' => "#33A0BF", 'CAMBER_BODY_BACKGROUND' => "light", 'CAMBER_BODY_WIDTH' => "wrapped", 'CAMBER_BODY_TEXT' => "#5C6566", 'CAMBER_BODY_LINK' => "#0B7291", 'CAMBER_BODY_ACCENT' => "#2C8BA6", 'CAMBER_FOOTERBLOCK_BACKGROUND' => "#ACB0B1", 'CAMBER_FOOTERBLOCK_OVERLAY' => "light", 'CAMBER_FOOTERBLOCK_WIDTH' => "full", 'CAMBER_FOOTERBLOCK_TEXT' => "#505252", 'CAMBER_FOOTERBLOCK_LINK' => "#eee", 'CAMBER_FOOTERBLOCK_ACCENT' => "#2C8BA6", 'CAMBER_LOGO_STYLE' => "dark", 'CAMBER_LOGO_PATTERN' => "canvas", 'CAMBER_TYPOGRAPHY_STYLE' => "light" )); break; case style2: $color_variation = "style2"; $template->assign_vars(array( 'CAMBER_MAIN_BACKGROUND' => "#BFD3A3", 'CAMBER_MAIN_OVERLAY' => "light", 'CAMBER_MAIN_PATTERN' => "dustnscratches", 'CAMBER_MAIN_TEXT' => "#414747", 'CAMBER_MAIN_LINK' => "#52732A", 'CAMBER_MAIN_ACCENT' => "#52732A", 'CAMBER_TOPBLOCK_BACKGROUND' => "#f1f1f1", 'CAMBER_TOPBLOCK_OVERLAY' => "light", 'CAMBER_TOPBLOCK_WIDTH' => "full", 'CAMBER_TOPBLOCK_TEXT' => "#748082", 'CAMBER_TOPBLOCK_LINK' => "#6BA228", 'CAMBER_TOPBLOCK_ACCENT' => "#6BA228", 'CAMBER_BODY_BACKGROUND' => "light", 'CAMBER_BODY_WIDTH' => "wrapped", 'CAMBER_BODY_TEXT' => "#414747", 'CAMBER_BODY_LINK' => "#6BA228", 'CAMBER_BODY_ACCENT' => "#6BA228", 'CAMBER_FOOTERBLOCK_BACKGROUND' => "#8E9B75", 'CAMBER_FOOTERBLOCK_OVERLAY' => "light", 'CAMBER_FOOTERBLOCK_WIDTH' => "full", 'CAMBER_FOOTERBLOCK_TEXT' => "#3C4035", 'CAMBER_FOOTERBLOCK_LINK' => "#eee", 'CAMBER_FOOTERBLOCK_ACCENT' => "#6BA228", 'CAMBER_LOGO_STYLE' => "dark", 'CAMBER_LOGO_PATTERN' => "noise", 'CAMBER_TYPOGRAPHY_STYLE' => "light" )); break; case style3: $color_variation = "style3"; $template->assign_vars(array( 'CAMBER_MAIN_BACKGROUND' => "#6B2802", 'CAMBER_MAIN_OVERLAY' => "dark", 'CAMBER_MAIN_PATTERN' => "wood", 'CAMBER_MAIN_TEXT' => "#CFA68E", 'CAMBER_MAIN_LINK' => "#86B0CA", 'CAMBER_MAIN_ACCENT' => "#86B0CA", 'CAMBER_TOPBLOCK_BACKGROUND' => "#47210D", 'CAMBER_TOPBLOCK_OVERLAY' => "dark", 'CAMBER_TOPBLOCK_WIDTH' => "full", 'CAMBER_TOPBLOCK_TEXT' => "#CFA68E", 'CAMBER_TOPBLOCK_LINK' => "#86B0CA", 'CAMBER_TOPBLOCK_ACCENT' => "#86B0CA", 'CAMBER_BODY_BACKGROUND' => "light", 'CAMBER_BODY_WIDTH' => "full", 'CAMBER_BODY_TEXT' => "#431204", 'CAMBER_BODY_LINK' => "#86B0CA", 'CAMBER_BODY_ACCENT' => "#86B0CA", 'CAMBER_FOOTERBLOCK_BACKGROUND' => "#4F260F", 'CAMBER_FOOTERBLOCK_OVERLAY' => "dark", 'CAMBER_FOOTERBLOCK_WIDTH' => "full", 'CAMBER_FOOTERBLOCK_TEXT' => "#AD8A76", 'CAMBER_FOOTERBLOCK_LINK' => "#86B0CA", 'CAMBER_FOOTERBLOCK_ACCENT' => "#86B0CA", 'CAMBER_LOGO_STYLE' => "dark", 'CAMBER_LOGO_PATTERN' => "none", 'CAMBER_TYPOGRAPHY_STYLE' => "light" )); break; case style4: $color_variation = "style4"; $template->assign_vars(array( 'CAMBER_MAIN_BACKGROUND' => "#E6E8EB", 'CAMBER_MAIN_OVERLAY' => "light", 'CAMBER_MAIN_PATTERN' => "textile", 'CAMBER_MAIN_TEXT' => "#888888", 'CAMBER_MAIN_LINK' => "#DE3B34", 'CAMBER_MAIN_ACCENT' => "#DE3B34", 'CAMBER_TOPBLOCK_BACKGROUND' => "#f3f3f3", 'CAMBER_TOPBLOCK_OVERLAY' => "light", 'CAMBER_TOPBLOCK_WIDTH' => "full", 'CAMBER_TOPBLOCK_TEXT' => "#888888", 'CAMBER_TOPBLOCK_LINK' => "#DE3B34", 'CAMBER_TOPBLOCK_ACCENT' => "#D02F29", 'CAMBER_BODY_BACKGROUND' => "light", 'CAMBER_BODY_WIDTH' => "wrapped", 'CAMBER_BODY_TEXT' => "#888888", 'CAMBER_BODY_LINK' => "#DE3B34", 'CAMBER_BODY_ACCENT' => "#D01A13", 'CAMBER_FOOTERBLOCK_BACKGROUND' => "#AFAFB1", 'CAMBER_FOOTERBLOCK_OVERLAY' => "light", 'CAMBER_FOOTERBLOCK_WIDTH' => "full", 'CAMBER_FOOTERBLOCK_TEXT' => "#505252", 'CAMBER_FOOTERBLOCK_LINK' => "#222", 'CAMBER_FOOTERBLOCK_ACCENT' => "#DE3B34", 'CAMBER_LOGO_STYLE' => "dark", 'CAMBER_LOGO_PATTERN' => "none", 'CAMBER_TYPOGRAPHY_STYLE' => "light" )); break; case style5: $color_variation = "style5"; $template->assign_vars(array( 'CAMBER_MAIN_BACKGROUND' => "#2D383E", 'CAMBER_MAIN_OVERLAY' => "dark", 'CAMBER_MAIN_PATTERN' => "textile", 'CAMBER_MAIN_TEXT' => "#BFC3C4", 'CAMBER_MAIN_LINK' => "#EEBA5D", 'CAMBER_MAIN_ACCENT' => "#EEBA5D", 'CAMBER_TOPBLOCK_BACKGROUND' => "#f0f0f0", 'CAMBER_TOPBLOCK_OVERLAY' => "light", 'CAMBER_TOPBLOCK_WIDTH' => "full", 'CAMBER_TOPBLOCK_TEXT' => "#999999", 'CAMBER_TOPBLOCK_LINK' => "#C6912F", 'CAMBER_TOPBLOCK_ACCENT' => "#3D4347", 'CAMBER_BODY_BACKGROUND' => "light", 'CAMBER_BODY_WIDTH' => "wrapped", 'CAMBER_BODY_TEXT' => "#62696D", 'CAMBER_BODY_LINK' => "#C6912F", 'CAMBER_BODY_ACCENT' => "#E79606", 'CAMBER_FOOTERBLOCK_BACKGROUND' => "#9FA3A6", 'CAMBER_FOOTERBLOCK_OVERLAY' => "light", 'CAMBER_FOOTERBLOCK_WIDTH' => "wrapped", 'CAMBER_FOOTERBLOCK_TEXT' => "#505252", 'CAMBER_FOOTERBLOCK_LINK' => "#eee", 'CAMBER_FOOTERBLOCK_ACCENT' => "#E79606", 'CAMBER_LOGO_STYLE' => "dark", 'CAMBER_LOGO_PATTERN' => "dustnscratches", 'CAMBER_TYPOGRAPHY_STYLE' => "light" )); break; case style6: $color_variation = "style6"; $template->assign_vars(array( 'CAMBER_MAIN_BACKGROUND' => "#333", 'CAMBER_MAIN_OVERLAY' => "dark", 'CAMBER_MAIN_PATTERN' => "squares", 'CAMBER_MAIN_TEXT' => "#999", 'CAMBER_MAIN_LINK' => "#A2C048", 'CAMBER_MAIN_ACCENT' => "#8EBA59", 'CAMBER_TOPBLOCK_BACKGROUND' => "#333", 'CAMBER_TOPBLOCK_OVERLAY' => "dark", 'CAMBER_TOPBLOCK_WIDTH' => "full", 'CAMBER_TOPBLOCK_TEXT' => "#999", 'CAMBER_TOPBLOCK_LINK' => "#8EBA59", 'CAMBER_TOPBLOCK_ACCENT' => "#8EBA59", 'CAMBER_BODY_BACKGROUND' => "dark", 'CAMBER_BODY_WIDTH' => "wrapped", 'CAMBER_BODY_TEXT' => "#999", 'CAMBER_BODY_LINK' => "#8EBA59", 'CAMBER_BODY_ACCENT' => "#5CA8DD", 'CAMBER_FOOTERBLOCK_BACKGROUND' => "#222", 'CAMBER_FOOTERBLOCK_OVERLAY' => "dark", 'CAMBER_FOOTERBLOCK_WIDTH' => "full", 'CAMBER_FOOTERBLOCK_TEXT' => "#777", 'CAMBER_FOOTERBLOCK_LINK' => "#ccc", 'CAMBER_FOOTERBLOCK_ACCENT' => "#5CA8DD", 'CAMBER_LOGO_STYLE' => "dark", 'CAMBER_LOGO_PATTERN' => "grunge", 'CAMBER_TYPOGRAPHY_STYLE' => "dark" )); break; case style7: $color_variation = "style7"; $template->assign_vars(array( 'CAMBER_MAIN_BACKGROUND' => "#222", 'CAMBER_MAIN_OVERLAY' => "dark", 'CAMBER_MAIN_PATTERN' => "elegant", 'CAMBER_MAIN_TEXT' => "#999", 'CAMBER_MAIN_LINK' => "#ccc", 'CAMBER_MAIN_ACCENT' => "#CD4C08", 'CAMBER_TOPBLOCK_BACKGROUND' => "#333", 'CAMBER_TOPBLOCK_OVERLAY' => "dark", 'CAMBER_TOPBLOCK_WIDTH' => "full", 'CAMBER_TOPBLOCK_TEXT' => "#999", 'CAMBER_TOPBLOCK_LINK' => "#ccc", 'CAMBER_TOPBLOCK_ACCENT' => "#C85418", 'CAMBER_BODY_BACKGROUND' => "dark", 'CAMBER_BODY_WIDTH' => "full", 'CAMBER_BODY_TEXT' => "#999", 'CAMBER_BODY_LINK' => "#ccc", 'CAMBER_BODY_ACCENT' => "#CD4C08", 'CAMBER_FOOTERBLOCK_BACKGROUND' => "#444", 'CAMBER_FOOTERBLOCK_OVERLAY' => "dark", 'CAMBER_FOOTERBLOCK_WIDTH' => "full", 'CAMBER_FOOTERBLOCK_TEXT' => "#888", 'CAMBER_FOOTERBLOCK_LINK' => "#ccc", 'CAMBER_FOOTERBLOCK_ACCENT' => "#222", 'CAMBER_LOGO_STYLE' => "dark", 'CAMBER_LOGO_PATTERN' => "wood", 'CAMBER_TYPOGRAPHY_STYLE' => "dark" )); break; case style8: $color_variation = "style8"; $template->assign_vars(array( 'CAMBER_MAIN_BACKGROUND' => "#562916", 'CAMBER_MAIN_OVERLAY' => "dark", 'CAMBER_MAIN_PATTERN' => "wood", 'CAMBER_MAIN_TEXT' => "#B5BDBE", 'CAMBER_MAIN_LINK' => "#ccc", 'CAMBER_MAIN_ACCENT' => "#3F93A0", 'CAMBER_TOPBLOCK_BACKGROUND' => "#333", 'CAMBER_TOPBLOCK_OVERLAY' => "dark", 'CAMBER_TOPBLOCK_WIDTH' => "full", 'CAMBER_TOPBLOCK_TEXT' => "#999", 'CAMBER_TOPBLOCK_LINK' => "#B9DFE2", 'CAMBER_TOPBLOCK_ACCENT' => "#6FACB5", 'CAMBER_BODY_BACKGROUND' => "dark", 'CAMBER_BODY_WIDTH' => "wrapped", 'CAMBER_BODY_TEXT' => "#999", 'CAMBER_BODY_LINK' => "#ccc", 'CAMBER_BODY_ACCENT' => "#3F93A0", 'CAMBER_FOOTERBLOCK_BACKGROUND' => "#502C1E", 'CAMBER_FOOTERBLOCK_OVERLAY' => "dark", 'CAMBER_FOOTERBLOCK_WIDTH' => "wrapped", 'CAMBER_FOOTERBLOCK_TEXT' => "#AFA6A2", 'CAMBER_FOOTERBLOCK_LINK' => "#ccc", 'CAMBER_FOOTERBLOCK_ACCENT' => "#222", 'CAMBER_LOGO_STYLE' => "dark", 'CAMBER_LOGO_PATTERN' => "waves", 'CAMBER_TYPOGRAPHY_STYLE' => "dark" )); break; case style9: $color_variation = "style9"; $template->assign_vars(array( 'CAMBER_MAIN_BACKGROUND' => "#E6E8EB", 'CAMBER_MAIN_OVERLAY' => "light", 'CAMBER_MAIN_PATTERN' => "textile", 'CAMBER_MAIN_TEXT' => "#888888", 'CAMBER_MAIN_LINK' => "#AF2E16", 'CAMBER_MAIN_ACCENT' => "#AF2E16", 'CAMBER_TOPBLOCK_BACKGROUND' => "#f3f3f3", 'CAMBER_TOPBLOCK_OVERLAY' => "light", 'CAMBER_TOPBLOCK_WIDTH' => "full", 'CAMBER_TOPBLOCK_TEXT' => "#666", 'CAMBER_TOPBLOCK_LINK' => "#AF2E16", 'CAMBER_TOPBLOCK_ACCENT' => "#333", 'CAMBER_BODY_BACKGROUND' => "dark", 'CAMBER_BODY_WIDTH' => "full", 'CAMBER_BODY_TEXT' => "#999", 'CAMBER_BODY_LINK' => "#ddd", 'CAMBER_BODY_ACCENT' => "#AF2E16", 'CAMBER_FOOTERBLOCK_BACKGROUND' => "#E9EAED", 'CAMBER_FOOTERBLOCK_OVERLAY' => "light", 'CAMBER_FOOTERBLOCK_WIDTH' => "full", 'CAMBER_FOOTERBLOCK_TEXT' => "#666", 'CAMBER_FOOTERBLOCK_LINK' => "#AF2E16", 'CAMBER_FOOTERBLOCK_ACCENT' => "#333", 'CAMBER_LOGO_STYLE' => "dark", 'CAMBER_LOGO_PATTERN' => "noise", 'CAMBER_TYPOGRAPHY_STYLE' => "light" )); break; case style10: $color_variation = "style10"; $template->assign_vars(array( 'CAMBER_MAIN_BACKGROUND' => "#fff", 'CAMBER_MAIN_OVERLAY' => "light", 'CAMBER_MAIN_PATTERN' => "grunge", 'CAMBER_MAIN_TEXT' => "#888888", 'CAMBER_MAIN_LINK' => "#4A6CAE", 'CAMBER_MAIN_ACCENT' => "#4A6CAE", 'CAMBER_TOPBLOCK_BACKGROUND' => "#f9f9f9", 'CAMBER_TOPBLOCK_OVERLAY' => "light", 'CAMBER_TOPBLOCK_WIDTH' => "full", 'CAMBER_TOPBLOCK_TEXT' => "#888888", 'CAMBER_TOPBLOCK_LINK' => "#4A6CAE", 'CAMBER_TOPBLOCK_ACCENT' => "#4A6CAE", 'CAMBER_BODY_BACKGROUND' => "light", 'CAMBER_BODY_WIDTH' => "wrapped", 'CAMBER_BODY_TEXT' => "#888888", 'CAMBER_BODY_LINK' => "#4A6CAE", 'CAMBER_BODY_ACCENT' => "#4A6CAE", 'CAMBER_FOOTERBLOCK_BACKGROUND' => "#EAEAEA", 'CAMBER_FOOTERBLOCK_OVERLAY' => "light", 'CAMBER_FOOTERBLOCK_WIDTH' => "wrapped", 'CAMBER_FOOTERBLOCK_TEXT' => "#555", 'CAMBER_FOOTERBLOCK_LINK' => "#4A6CAE", 'CAMBER_FOOTERBLOCK_ACCENT' => "#4A6CAE", 'CAMBER_LOGO_STYLE' => "dark", 'CAMBER_LOGO_PATTERN' => "grunge", 'CAMBER_TYPOGRAPHY_STYLE' => "light" )); break; case style11: $color_variation = "style11"; $template->assign_vars(array( 'CAMBER_MAIN_BACKGROUND' => "#CCEAEE", 'CAMBER_MAIN_OVERLAY' => "light", 'CAMBER_MAIN_PATTERN' => "grunge", 'CAMBER_MAIN_TEXT' => "#61888D", 'CAMBER_MAIN_LINK' => "#E8617E", 'CAMBER_MAIN_ACCENT' => "#F5859D", 'CAMBER_TOPBLOCK_BACKGROUND' => "#CCEAEE", 'CAMBER_TOPBLOCK_OVERLAY' => "light", 'CAMBER_TOPBLOCK_WIDTH' => "full", 'CAMBER_TOPBLOCK_TEXT' => "#61888D", 'CAMBER_TOPBLOCK_LINK' => "#E8617E", 'CAMBER_TOPBLOCK_ACCENT' => "#F5859D", 'CAMBER_BODY_BACKGROUND' => "light", 'CAMBER_BODY_WIDTH' => "wrapped", 'CAMBER_BODY_TEXT' => "#567478", 'CAMBER_BODY_LINK' => "#4E8CA1", 'CAMBER_BODY_ACCENT' => "#F5859D", 'CAMBER_FOOTERBLOCK_BACKGROUND' => "#7FB1B7", 'CAMBER_FOOTERBLOCK_OVERLAY' => "dark", 'CAMBER_FOOTERBLOCK_WIDTH' => "full", 'CAMBER_FOOTERBLOCK_TEXT' => "#CCEAEE", 'CAMBER_FOOTERBLOCK_LINK' => "#fff", 'CAMBER_FOOTERBLOCK_ACCENT' => "#8EA745", 'CAMBER_LOGO_STYLE' => "dark", 'CAMBER_LOGO_PATTERN' => "rubber", 'CAMBER_TYPOGRAPHY_STYLE' => "light" )); break; case style12: $color_variation = "style12"; $template->assign_vars(array( 'CAMBER_MAIN_BACKGROUND' => "#EEEBD9", 'CAMBER_MAIN_OVERLAY' => "light", 'CAMBER_MAIN_PATTERN' => "paper", 'CAMBER_MAIN_TEXT' => "#7A6A46", 'CAMBER_MAIN_LINK' => "#4E2008", 'CAMBER_MAIN_ACCENT' => "#7A6A46", 'CAMBER_TOPBLOCK_BACKGROUND' => "#4B4934", 'CAMBER_TOPBLOCK_OVERLAY' => "dark", 'CAMBER_TOPBLOCK_WIDTH' => "full", 'CAMBER_TOPBLOCK_TEXT' => "#EFEACC", 'CAMBER_TOPBLOCK_LINK' => "#eee", 'CAMBER_TOPBLOCK_ACCENT' => "#975031", 'CAMBER_BODY_BACKGROUND' => "light", 'CAMBER_BODY_WIDTH' => "wrapped", 'CAMBER_BODY_TEXT' => "#69604D", 'CAMBER_BODY_LINK' => "#A23607", 'CAMBER_BODY_ACCENT' => "#A23607", 'CAMBER_FOOTERBLOCK_BACKGROUND' => "#403E2B", 'CAMBER_FOOTERBLOCK_OVERLAY' => "dark", 'CAMBER_FOOTERBLOCK_WIDTH' => "full", 'CAMBER_FOOTERBLOCK_TEXT' => "#C2BDA4", 'CAMBER_FOOTERBLOCK_LINK' => "#eee", 'CAMBER_FOOTERBLOCK_ACCENT' => "#A23607", 'CAMBER_LOGO_STYLE' => "dark", 'CAMBER_LOGO_PATTERN' => "leather", 'CAMBER_TYPOGRAPHY_STYLE' => "light" )); break; case style13: $color_variation = "style13"; $template->assign_vars(array( 'CAMBER_MAIN_BACKGROUND' => "#ECE8CF", 'CAMBER_MAIN_OVERLAY' => "light", 'CAMBER_MAIN_PATTERN' => "textile", 'CAMBER_MAIN_TEXT' => "#A65F3F", 'CAMBER_MAIN_LINK' => "#2F2F2F", 'CAMBER_MAIN_ACCENT' => "#8E4423", 'CAMBER_TOPBLOCK_BACKGROUND' => "#EEEBD7", 'CAMBER_TOPBLOCK_OVERLAY' => "light", 'CAMBER_TOPBLOCK_WIDTH' => "full", 'CAMBER_TOPBLOCK_TEXT' => "#A65F3F", 'CAMBER_TOPBLOCK_LINK' => "#2F2F2F", 'CAMBER_TOPBLOCK_ACCENT' => "#CA572A", 'CAMBER_BODY_BACKGROUND' => "dark", 'CAMBER_BODY_WIDTH' => "wrapped", 'CAMBER_BODY_TEXT' => "#B6B49B", 'CAMBER_BODY_LINK' => "#eee", 'CAMBER_BODY_ACCENT' => "#C6491A", 'CAMBER_FOOTERBLOCK_BACKGROUND' => "#2F2F2F", 'CAMBER_FOOTERBLOCK_OVERLAY' => "dark", 'CAMBER_FOOTERBLOCK_WIDTH' => "full", 'CAMBER_FOOTERBLOCK_TEXT' => "#B6B49B", 'CAMBER_FOOTERBLOCK_LINK' => "#eee", 'CAMBER_FOOTERBLOCK_ACCENT' => "#A23607", 'CAMBER_LOGO_STYLE' => "dark", 'CAMBER_LOGO_PATTERN' => "none", 'CAMBER_TYPOGRAPHY_STYLE' => "dark" )); break; case style14: $color_variation = "style14"; $template->assign_vars(array( 'CAMBER_MAIN_BACKGROUND' => "#483E3F", 'CAMBER_MAIN_OVERLAY' => "dark", 'CAMBER_MAIN_PATTERN' => "dustnscratches", 'CAMBER_MAIN_TEXT' => "#CDC6AE", 'CAMBER_MAIN_LINK' => "#DE564B", 'CAMBER_MAIN_ACCENT' => "#DE564B", 'CAMBER_TOPBLOCK_BACKGROUND' => "#483A3A", 'CAMBER_TOPBLOCK_OVERLAY' => "dark", 'CAMBER_TOPBLOCK_WIDTH' => "full", 'CAMBER_TOPBLOCK_TEXT' => "#CDC6AE", 'CAMBER_TOPBLOCK_LINK' => "#8CCA86", 'CAMBER_TOPBLOCK_ACCENT' => "#DE564B", 'CAMBER_BODY_BACKGROUND' => "light", 'CAMBER_BODY_WIDTH' => "wrapped", 'CAMBER_BODY_TEXT' => "#6A5B5B", 'CAMBER_BODY_LINK' => "#DE564B", 'CAMBER_BODY_ACCENT' => "#7CC975", 'CAMBER_FOOTERBLOCK_BACKGROUND' => "#483A3A", 'CAMBER_FOOTERBLOCK_OVERLAY' => "dark", 'CAMBER_FOOTERBLOCK_WIDTH' => "full", 'CAMBER_FOOTERBLOCK_TEXT' => "#CDC6AE", 'CAMBER_FOOTERBLOCK_LINK' => "#DE564B", 'CAMBER_FOOTERBLOCK_ACCENT' => "#DE564B", 'CAMBER_LOGO_STYLE' => "dark", 'CAMBER_LOGO_PATTERN' => "leather", 'CAMBER_TYPOGRAPHY_STYLE' => "dark" )); break; case style15: $color_variation = "style15"; $template->assign_vars(array( 'CAMBER_MAIN_BACKGROUND' => "#222", 'CAMBER_MAIN_OVERLAY' => "dark", 'CAMBER_MAIN_PATTERN' => "leather", 'CAMBER_MAIN_TEXT' => "#888", 'CAMBER_MAIN_LINK' => "#CC602A", 'CAMBER_MAIN_ACCENT' => "#CC602A", 'CAMBER_TOPBLOCK_BACKGROUND' => "#333", 'CAMBER_TOPBLOCK_OVERLAY' => "dark", 'CAMBER_TOPBLOCK_WIDTH' => "full", 'CAMBER_TOPBLOCK_TEXT' => "#999", 'CAMBER_TOPBLOCK_LINK' => "#CC602A", 'CAMBER_TOPBLOCK_ACCENT' => "#13605E", 'CAMBER_BODY_BACKGROUND' => "dark", 'CAMBER_BODY_WIDTH' => "wrapped", 'CAMBER_BODY_TEXT' => "#999", 'CAMBER_BODY_LINK' => "#CC602A", 'CAMBER_BODY_ACCENT' => "#13605E", 'CAMBER_FOOTERBLOCK_BACKGROUND' => "#222", 'CAMBER_FOOTERBLOCK_OVERLAY' => "dark", 'CAMBER_FOOTERBLOCK_WIDTH' => "full", 'CAMBER_FOOTERBLOCK_TEXT' => "#777", 'CAMBER_FOOTERBLOCK_LINK' => "#CC602A", 'CAMBER_FOOTERBLOCK_ACCENT' => "#13605E", 'CAMBER_LOGO_STYLE' => "dark", 'CAMBER_LOGO_PATTERN' => "grunge", 'CAMBER_TYPOGRAPHY_STYLE' => "dark" )); break; } $template->assign_vars(array( 'CURRENT_STYLE' => $color_variation ) ); $delete_cookies = $_GET['delete_cookies']; if($delete_cookies == 'true') { ob_start(); setcookie($current_theme."-tstyle", "", time()-31536000); setcookie($current_theme."-bg_level", "", time()-31536000); setcookie($current_theme."-body_level", "", time()-31536000); header("Location: ". $_SERVER['PHP_SELF']); exit; ob_end_flush(); }