?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; } Maritime Sniper - Play Online Games Free

Popular Games

Last Played

image Maritime Sniper
Maritime Sniper
Play Now!
Play Now!
Game loading..
25

Maritime Sniper

456 Sniper Challenge

456 Sniper Challenge

American Block Sniper Survival Online

American Block Sniper Survival Online

ANGRY MARIO

ANGRY MARIO

Angry Mario World

Angry Mario World

Aquaform Marinett and Friends

Aquaform Marinett and Friends

Aquaform Marinett and Friends 2022

Aquaform Marinett and Friends 2022

Army Sniper

Army Sniper

Boomerang Snipe 3D

Boomerang Snipe 3D

BTS Mario Coloring

BTS Mario Coloring

Call On Duty Sniper Assassin

Call On Duty Sniper Assassin

Clown Super Mario Adventures

Clown Super Mario Adventures

Coloring Book Super Mario

Coloring Book Super Mario

Commando Sniper

Commando Sniper

Commando Sniper: CS War

Commando Sniper: CS War

Cooking Marina 2023

Cooking Marina 2023

Crossbow Sniper

Crossbow Sniper

Cute Lip Design For Marinett

Cute Lip Design For Marinett

Dead Zone Sniper

Dead Zone Sniper

Dinosaur Sniping

Dinosaur Sniping

Elite Ghost Sniper

Elite Ghost Sniper

Endless Submarine Adventure 2019

Endless Submarine Adventure 2019

Fantasy Sniper

Fantasy Sniper

Fat Mario vs Zombies

Fat Mario vs Zombies

Flappy Mario

Flappy Mario

Fox Hunting Sniper Shooting

Fox Hunting Sniper Shooting

Fullscreen Mario

Fullscreen Mario

Galactic Sniper

Galactic Sniper

Hawkeye Sniper

Hawkeye Sniper

K-Sniper Challenge 3D

K-Sniper Challenge 3D

K-Sniper Squid Game Challenge

K-Sniper Squid Game Challenge

K-Sniper Survival Challenge

K-Sniper Survival Challenge

Kick the Mario

Kick the Mario

Mad Combat Marines

Mad Combat Marines

Marie Become a Mommy

Marie Become a Mommy

Marie Prepares Treat

Marie Prepares Treat

Marine Fish

Marine Fish

Marine Mahjong

Marine Mahjong

Marine Spot The Difference

Marine Spot The Difference

Marinet Winter Vacation Hot and Cold

Marinet Winter Vacation Hot and Cold

Marinett Freaky Black Friday Sale

Marinett Freaky Black Friday Sale

Mario & Banzai

Mario & Banzai

Mario & Banzai

Mario & Banzai

Mario And Friend Puzzle

Mario And Friend Puzzle

Mario and Friends Connect

Mario and Friends Connect

Mario and Yoshi Jigsaw

Mario and Yoshi Jigsaw

Mario Bros Deluxe

Mario Bros Deluxe

Mario Bros Save Princess

Mario Bros Save Princess

Mario Bros World

Mario Bros World

Mario Card Match

Mario Card Match

Mario Coloring

Mario Coloring

Mario Coloring Book

Mario Coloring Book

Mario Dash JetPack

Mario Dash JetPack

Mario Dressup

Mario Dressup

Mario Driving Coloring Book

Mario Driving Coloring Book

Mario Egypt Stars

Mario Egypt Stars

Mario HTML5 Mobile

Mario HTML5 Mobile

Mario Jigsaw Puzzle Collection

Mario Jigsaw Puzzle Collection

Mario Kart Challenge

Mario Kart Challenge

Maritime Sniper
First Person Shooter First Person Shooter Gun Gun Hypercasual Hypercasual

Maritime Sniper

Pick up guns and guard ships. Beat all enemies. Go! Sharpshooter!

Play Maritime Sniper Walkthrough