?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; } Fortune Cookies - Play Online Games Free

Popular Games

Last Played

image Fortune Cookies
Fortune Cookies
Play Now!
Play Now!
Game loading..
25

Fortune Cookies

Amazing Cook

Amazing Cook

Baby Cooking Chef

Baby Cooking Chef

Baby Food Cooking

Baby Food Cooking

Baby Food Cooking Game

Baby Food Cooking Game

Baby Halen Cook Style

Baby Halen Cook Style

Baby Hazel Cooking Time

Baby Hazel Cooking Time

Baby Panda Breakfast Cooking

Baby Panda Breakfast Cooking

Baby Snack Factory - Fun Cooking

Baby Snack Factory - Fun Cooking

Baby Taylor Cooking Camp

Baby Taylor Cooking Camp

Baby Taylor Cooking Camp Game

Baby Taylor Cooking Camp Game

Baby Taylor Healthy Diet - Food Cooking

Baby Taylor Healthy Diet - Food Cooking

Baby Taylor Sushi Cooking

Baby Taylor Sushi Cooking

Baking Cooking Fun

Baking Cooking Fun

Besties Fishing and Cooking

Besties Fishing and Cooking

Biryani Cooking Indian Super Chef Food Game

Biryani Cooking Indian Super Chef Food Game

Buger Cooking Food Shop

Buger Cooking Food Shop

Cake Maker Cooking Games

Cake Maker Cooking Games

Cake Maker Kids Cooking

Cake Maker Kids Cooking

Carnival Chef Cooking

Carnival Chef Cooking

Carnival Chef Cooking 2

Carnival Chef Cooking 2

Cheese Cake Homemade Cooking

Cheese Cake Homemade Cooking

Chef Twins Summer Dessert Cooking

Chef Twins Summer Dessert Cooking

Cherry Blossom Cake Cooking

Cherry Blossom Cake Cooking

Cherry Blossom Cake Cooking - Food Game

Cherry Blossom Cake Cooking - Food Game

Chinese Food Cooking Game 2

Chinese Food Cooking Game 2

Chocolate cake cooking party

Chocolate cake cooking party

Chocolate Cookie Maker

Chocolate Cookie Maker

Christmas Cookies Match 3

Christmas Cookies Match 3

Coloring Book for Fortnite

Coloring Book for Fortnite

Cook Chinese Food Asian Cooking

Cook Chinese Food Asian Cooking

Cook Chinese Food Asian Cooking Gmaes

Cook Chinese Food Asian Cooking Gmaes

Cook Madness

Cook Madness

Cook Up! Yummy Kitchen

Cook Up! Yummy Kitchen

Cook Up! Yummy Kitchen Cooking

Cook Up! Yummy Kitchen Cooking

Cookie Baker

Cookie Baker

Cookie Blast

Cookie Blast

Cookie Busting

Cookie Busting

Cookie Crush Pokemon

Cookie Crush Pokemon

Cookie Crush Saga 2

Cookie Crush Saga 2

Cookie Maker for Kids

Cookie Maker for Kids

Cookie Master

Cookie Master

Cookie Match

Cookie Match

Cookie Merge

Cookie Merge

Cookie Rush

Cookie Rush

Cooking  Food Games 2023

Cooking Food Games 2023

Cooking burger Maker Chef

Cooking burger Maker Chef

Cooking Cafe

Cooking Cafe

Cooking Center-Restaurant Game

Cooking Center-Restaurant Game

Cooking Challenge

Cooking Challenge

Cooking Christmas Traditional Food

Cooking Christmas Traditional Food

Cooking Colorful Cupcakes

Cooking Colorful Cupcakes

Cooking Crush - cooking games

Cooking Crush - cooking games

Cooking Fest : Cooking Games

Cooking Fest : Cooking Games

Cooking Fever

Cooking Fever

Cooking Fever Happy Chef

Cooking Fever Happy Chef

Cooking Fever: Restaurant Game

Cooking Fever: Restaurant Game

Cooking Games For Kids

Cooking Games For Kids

Cooking Ice Cream And Gelato

Cooking Ice Cream And Gelato

Fortune Cookies
2D 2D Cooking Cooking Mobile Mobile WebGL WebGL

Fortune Cookies

Fortune Cookies is a fantastic cooking game with amazing graphics and customization. Play Fortune Cookies now to bake your favorite food!

Play Fortune Cookies Walkthrough