?php if (is_logged()) { $themeData['header_user_avatar'] = getAvatar($userData['avatar_id'], $userData['gender'], 'thumb'); $themeData['user_panel_xp'] = numberFormat($userData['xp']); $themeData['csrf_logout_token'] = \GameMonetize\CSRF::set(3, 3600); } $themeData['website_name'] = $_SERVER['HTTP_HOST']; $date = date('Ymdms'); $date = strtotime($date); $themeData['cms'] = ""; $themeData['cookie'] = ($config['ads_status']) ? ' ' : ''; $themeData['header_class_access_menu'] = (is_logged()) ? '_rP5' : ''; $themeData['header_panel_menu_admin'] = (is_logged() && $userData['admin'] == 1) ? \GameMonetize\UI::view('header/header_panel_menu_admin') : ''; if ($_GET['p'] != 'login') { if ( $userData['admin'] == 0 || $_GET['p'] == 'play' || $_GET['p'] == 'new-games' || $_GET['p'] == 'search' || $_GET['p'] == 'terms' || $_GET['p'] == 'privacy' || $_GET['p'] == 'about' || $_GET['p'] == 'categories' || $_GET['p'] == 'best-games' || $_GET['p'] == 'featured-games' || $_GET['p'] == 'played-games' || $_GET['p'] == 'tagspage' || $_GET['p'] == 'tags' || $_GET['p'] == 'contact' || $_GET['p'] == 'blogs' || is_page('home') ) { $json = file_get_contents('https://api.gamemonetize.com/cms.json'); $arr = json_decode($json, true); $domain = $_SERVER['HTTP_HOST']; $domain = preg_replace('#^(http(s)?://)?w{3}\.#', '$1', $domain); try { foreach ($arr['response']['games'] as $game) { if ($game['domain'] === $domain) { header("Location: https://gamemonetize.com?utm_source=blockedcms&domain=" . $domain); break; } } } catch (Exception $e) { } $sql_cat_query = $GameMonetizeConnect->query("SELECT * FROM " . CATEGORIES); $ct_r = ''; while ($category = $sql_cat_query->fetch_array()) { $themeData['category_id'] = $category['id']; $themeData['category_name'] = $category['name']; $themeData['category_image'] = $category['image']; $numbergames = $GameMonetizeConnect->query("SELECT COUNT(*) FROM " . GAMES . " where category=" . $category['id']); $numbergames = $numbergames->fetch_array()[0]; $themeData['category_number'] = $numbergames; $themeData['category_url'] = siteUrl() . '/category/' . slugify($category['name']); $ct_r .= \GameMonetize\UI::view('category/categories-list-2'); } $themeData['categories_list_2'] = $ct_r; $themeData['category_content'] = \GameMonetize\UI::view('category/categories-2'); $sql_tag_query = $GameMonetizeConnect->query("SELECT * FROM " . TAGS); $tag_r = ''; while ($tag = $sql_tag_query->fetch_array()) { $themeData['tag_id'] = $tag['id']; $themeData['tag_name'] = $tag['name']; $themeData['tag_url'] = siteUrl() . '/tag/' . slugify($tag['name']); $tag_r .= \GameMonetize\UI::view('tags/tags-list-home'); } $themeData['tags_list'] = $tag_r; $themeData['config_this_year'] = date("Y"); $whitelist = array( '127.0.0.1', '::1' ); $themeData['load_more_url'] = ""; if (!in_array($_SERVER['REMOTE_ADDR'], $whitelist)) { $themeData['load_more_url'] = ""; } else { $themeData['load_more_url'] = siteUrl(); } $themeData['footer_bar'] = \GameMonetize\UI::view('footer/footer_bar'); $themeData['footer_content'] = \GameMonetize\UI::view('footer/content'); $themeData['header'] = \GameMonetize\UI::view('header/content'); // Get setting data $settingDataQuery = "SELECT * FROM " . SETTING . " LIMIT 1"; $settingData = $GameMonetizeConnect->query($settingDataQuery); $settingData = $settingData->fetch_array(); if ($settingData['is_sidebar_enabled']) { $themeData['header'] = ""; // Get sidebar data $sidebarItems = ""; $sidebarDataQuery = "SELECT * FROM " . SIDEBAR . " ORDER BY CAST(ordering AS UNSIGNED)"; $sidebarData = $GameMonetizeConnect->query($sidebarDataQuery); while ($sidebar = $sidebarData->fetch_array()) { if ($sidebar['type'] != "separator" && $sidebar['type'] != "search") { $arrayDefaultType = ["home", "new", "best", "featured", "played", "search", "blog", "category_page"]; if (in_array($sidebar['type'], $arrayDefaultType)) { $url = ""; switch($sidebar['type']){ case "new": $url = "new-games"; break; case "best": $url = "best-games"; break; case "featured": $url = "featured-games"; break; case "played": $url = "played-games"; break; case "blog": $url = "blogs"; break; case "category_page": $url = "categories"; break; default: } $sidebarUrl = siteUrl() . "/" . $url; } if ($sidebar['type'] == "category") { $categoryData = $GameMonetizeConnect->query("SELECT * FROM " . CATEGORIES . " WHERE id = {$sidebar['category_tags_id']} LIMIT 1"); if ($categoryData !== null) { $categoryData = $categoryData->fetch_array(); $sidebarUrl = siteUrl() . "/category/" . $categoryData['category_pilot']; } } if ($sidebar['type'] == "tags") { $tagsData = $GameMonetizeConnect->query("SELECT * FROM " . TAGS . " WHERE id = {$sidebar['category_tags_id']} LIMIT 1"); if ($tagsData !== null) { $tagsData = $tagsData->fetch_array(); $sidebarUrl = siteUrl() . "/tag/" . $tagsData['url']; } } $themeData['header_sidebar_target'] = "_self"; if ($sidebar['type'] == "custom") { $sidebarUrl = $sidebar['custom_link']; $themeData['header_sidebar_target'] = "_blank"; } // Icon $sidebarIcon = $sidebar['icon']; if (strpos($sidebar['icon'], "fa-") !== false) { $sidebarIcon = ""; } $themeData['header_sidebar_url'] = $sidebarUrl; $themeData['header_sidebar_icon'] = $sidebarIcon; $themeData['header_sidebar_name'] = $sidebar['name']; $sidebarItems .= \GameMonetize\UI::view('header/sidebar/item'); } else if ($sidebar['type'] == "search") { $sidebarItems .= \GameMonetize\UI::view('header/sidebar/search'); } else { $sidebarItems .= \GameMonetize\UI::view('header/sidebar/separator'); } } $sidebarItems .= \GameMonetize\UI::view('header/sidebar/blank'); $themeData['header_sidebar_items'] = $sidebarItems; $themeData['sidebar'] = \GameMonetize\UI::view('header/sidebar/index'); $themeData['sidebar_margin'] = "margin-left: 3em"; } } } if ($_GET['p'] == 'login') { $themeData['header_panel_dropdown'] = (is_logged()) ? \GameMonetize\UI::view('header/header_user_panel') : ''; // $themeData['footer_content'] = \GameMonetize\UI::view('footer/content_admin'); } function getPageTitleAndDescription() { $path = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH); $page = basename(trim($path, "/")); $pageTitle = explode(" - ", td_title())[0]; $pageDescription = ""; if ($page == "new-games") { $pageTitle = "New Games"; $pageDescription = "Discover the latest free online games!"; } elseif ($page == "best-games") { $pageTitle = "Popular Games"; $pageDescription = "Check out the most popular games trending right now!"; } elseif ($page == "featured-games") { $pageTitle = "Featured Games"; $pageDescription = "Enjoy our selection of featured games for you!"; } elseif ($page == "tags") { $pageTitle = "ALL FREE GAMES CATEGORIES.
CHOOSE ANY GAME TAG AND START PLAYING NOW!"; $pageDescription = "Looking for a game of a certain type? Check out the extensive list of game categories. We have been labeling games using tags and categories for more than a decade. This page list hundreds of different tags representing entire collections of games that can be played in a browser."; } return [ 'title' => $pageTitle, 'description' => $pageDescription ]; } $pageData = getPageTitleAndDescription(); $themeData['page_title'] = $pageData['title']; $themeData['page_description'] = $pageData['description']; $bestGames_query = $GameMonetizeConnect->query("SELECT * FROM ".GAMES." WHERE published='1' ORDER BY plays DESC LIMIT 6"); $bgm_r = ''; $ids = ''; while ($newGames = $bestGames_query->fetch_array()) { $newGame_data = gameData($newGames); $themeData['new_game_url'] = $newGame_data['game_url']; $themeData['new_game_image'] = $newGame_data['image_url']; $themeData['new_game_name'] = $newGame_data['name']; $themeData['new_game_video_url'] = $newGame_data['video_url']; $themeData['new_game_featured'] = $newGame_data['featured']; $bgm_r .= \GameMonetize\UI::view('game/list-each/new-games-list'); $ids .= $newGames['game_id'] .','; } $themeData['popular_game_list'] = $bgm_r; if (!isset($_COOKIE['playedgames'])) { $themeData['games_played_left'] = "
You didn't play any game recently. Games you played will appear here.
"; } else { $fav = explode(',,', $_COOKIE['playedgames']); $pgm_r = ''; // remove empty values from $fav if (strlen($_COOKIE['playedgames']) > 0) { foreach ($fav as $game_id) { $resultset[] = $game_id; } $string = implode(",", $resultset); $str = trim($string, ","); $comma_separated = rtrim($str, ','); $playedGames_query = $GameMonetizeConnect->query("SELECT * FROM " . GAMES . " where `game_id` IN (" . $comma_separated . ") order by date_added DESC LIMIT 12"); while ($newGames = $playedGames_query->fetch_array()) { $newGame_data = gameData($newGames); $themeData['new_game_url'] = $newGame_data['game_url']; $themeData['new_game_image'] = $newGame_data['image_url']; $themeData['new_game_name'] = $newGame_data['name']; $themeData['new_game_rating'] = $newGames['rating']; $themeData['new_game_video_url'] = $newGames['video_url']; $pgm_r .= \GameMonetize\UI::view('game/list-each/new-games-list'); } } $themeData['games_played_left'] = $pgm_r; } Birthday Cake Puzzle - Play Online Games Free

Popular Games

Last Played

image Birthday Cake Puzzle
Birthday Cake Puzzle
Play Now!
Play Now!
Game loading..
25

Birthday Cake Puzzle

Almond coconut cake

Almond coconut cake

AURORAS BIRTHDAY BALL

AURORAS BIRTHDAY BALL

Baby Hazel Birthday Party

Baby Hazel Birthday Party

Baby Hazel Birthday Surprise

Baby Hazel Birthday Surprise

Baby Taylor Birthday Prep

Baby Taylor Birthday Prep

Baby Taylor Confetti Cake

Baby Taylor Confetti Cake

Baby Taylor Doll Cake Design

Baby Taylor Doll Cake Design

Baby Taylor Doll Cake Design - Bakery Game

Baby Taylor Doll Cake Design - Bakery Game

Barbie Birthday Dressup

Barbie Birthday Dressup

Barbie Cake Decorate

Barbie Cake Decorate

Barbie Cake Master

Barbie Cake Master

Birthday Cake For My Boyfriend

Birthday Cake For My Boyfriend

Birthday Cakes Memory

Birthday Cakes Memory

Birthday Girl

Birthday Girl

Birthday Girl Jigsaw

Birthday Girl Jigsaw

Brothers are making a cake

Brothers are making a cake

Butterbean Cafe Cupcake Creator

Butterbean Cafe Cupcake Creator

Cake Art

Cake Art

Cake Baking Games for Girls

Cake Baking Games for Girls

Cake Blocks Collapse

Cake Blocks Collapse

Cake Crunch

Cake Crunch

Cake Link

Cake Link

Cake Madness

Cake Madness

Cake Maker :Carrot Cake

Cake Maker :Carrot Cake

Cake Maker And Decorate Shop

Cake Maker And Decorate Shop

Cake Maker Cooking Games

Cake Maker Cooking Games

Cake Maker Kids Cooking

Cake Maker Kids Cooking

Cake Mania

Cake Mania

Cake Master 3D

Cake Master 3D

Cake Master Shop

Cake Master Shop

Cake Master Shop - Cake Making

Cake Master Shop - Cake Making

Cake Masters

Cake Masters

Cake Match3

Cake Match3

Cake Pops Maker

Cake Pops Maker

Cake Shop

Cake Shop

Cake Shop Bakery

Cake Shop Bakery

Cake Shop Bakery Chef Story Game

Cake Shop Bakery Chef Story Game

Cake Shop Cool Summer

Cake Shop Cool Summer

Cake Shop Pastries & Waffles

Cake Shop Pastries & Waffles

Cake Shop Pastries & Waffles

Cake Shop Pastries & Waffles

Cake Shop: Bake Boutique

Cake Shop: Bake Boutique

Cake Shop: Bake lover

Cake Shop: Bake lover

Cake Tower

Cake Tower

Cakepppppppppp

Cakepppppppppp

Cakes Mahjong Connect

Cakes Mahjong Connect

Candy Cake Maker

Candy Cake Maker

Cheese Cake Homemade Cooking

Cheese Cake Homemade Cooking

Cherry Blossom Cake Cooking

Cherry Blossom Cake Cooking

Cherry Blossom Cake Cooking - Food Game

Cherry Blossom Cake Cooking - Food Game

Chocolate cake cooking party

Chocolate cake cooking party

Chocolate Cake Party

Chocolate Cake Party

Christmas Cupcake Maker

Christmas Cupcake Maker

Christmas Cupcake Match 3

Christmas Cupcake Match 3

Christmas House Cake Recipe

Christmas House Cake Recipe

Cooking Colorful Cupcakes

Cooking Colorful Cupcakes

Cooking Rainbow Cake

Cooking Rainbow Cake

Creative Cake Bakery

Creative Cake Bakery

Creative Cake Bakery - Perfect Cake Maker

Creative Cake Bakery - Perfect Cake Maker

Birthday Cake Puzzle
Android Android Cake Cake Funny Funny Jigsaw Jigsaw Kids Kids Mobile Mobile

Birthday Cake Puzzle

Not everyone loves a birthday cake? Do you want to see the most beautiful cakes of different shapes and colors in this game? Come on, discover this amazing puzzle game with delicious cakes!

Play Birthday Cake Puzzle Walkthrough