<?php
defined('BASEPATH') OR exit('No direct script access allowed');
$millis = round(microtime(true) * 1000);
?><!DOCTYPE html>
<html>
	<head>
		<title>CasinoCity888 | <?php echo $page_title; ?> <?php if(isset($game)) : ?><?php echo $game?><?php endif; ?></title>
		<script src=<?php echo base_url()."assets/js/jquery-3.3.1.js"?>></script>
		<script src=<?php echo base_url()."assets/js/bootstrap.js"?>></script>
		<script src=<?php echo base_url()."assets/js/bootstrap-slider.js"?>></script>
		<link rel="stylesheet" href=<?php echo base_url()."assets/css/bootstrap-grid.css"?>>
		<link rel="stylesheet" href=<?php echo base_url()."assets/css/bootstrap-reboot.css"?>>
		<link rel="stylesheet" href=<?php echo base_url()."assets/css/bootstrap.css"?>>
		<link rel="stylesheet" href=<?php echo base_url()."assets/css/bootstrap-slider.css"?>>
		<link href="//netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
		<link rel="stylesheet" href=<?php echo base_url()."assets/css/main.css?v=".$millis?>>

		<link rel="shortcut icon" href=<?php echo base_url()."assets/media/static/favicon.ico?v=".$millis?> type="image/x-icon">
		<link rel="icon" href=<?php echo base_url()."assets/media/static/favicon.ico?v=".$millis?> type="image/x-icon">

		<meta name="viewport" content="width=device-width, initial-scale=1.0">
	</head>
	<body>
		<header>
			<div class="header">
				<div class="container">
					<div class="row justify-content-center">
						<div class="col-auto mr-md-auto mr-0">
							<a href="<?php echo base_url()?>" class="align-items-center d-flex col-auto">
								<img src=<?php echo base_url()."assets/media/static/logo.png?v=".$millis?> class="img-responsive img-fluid px-4 py-2" alt="CasinoCity888 Logo" style="min-height:80px; max-width:122px;">
							</a>
						</div>
						<div class="col-auto d-flex align-items-center my-2 my-md-0 p-0">
							<p class="mb-0 pl-1 footer-contact align-items-center d-flex AvenirBlack">
								<a href="http://CasinoCity888.ewasap.com" class="align-items-center d-flex col-auto header-contact" target="blank">
									<img src=<?php echo base_url()."assets/media/static/whatsapp2.svg"?> class="img-responsive footer-logo" alt="Whatsapp">&nbsp;&nbsp;<?php echo $whatsapp;?>
								</a>
								<a href="#" class="align-items-center d-flex col-auto header-contact">
									<img src=<?php echo base_url()."assets/media/static/wechat.svg"?> class="img-responsive footer-logo" alt="WeChat">&nbsp;&nbsp;<?php echo $wechat;?>
								</a>
							</p>
						</div>
					</div>
				</div>
			</div>
			<div class="w-100 header-menu">
				<div class="container">
					<nav class="navbar navbar-expand-lg navbar-light p-lg-0">
						<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
							<span class="navbar-toggler-icon"></span>
						</button>

						<div class="collapse navbar-collapse" id="navbarSupportedContent">
							<ul class="navbar-nav col-lg-12">
								<li <?php if(strcasecmp($page_title, "home") == 0) echo 'class="nav-item col-lg-auto mx-lg-auto py-1 px-0 active"'; else echo 'class="nav-item col-lg-auto mx-lg-auto py-1 px-0"'?>>
                                                                    <a class="nav-link text-uppercase px-4 Helvetica-LT-STD-Bold" href="<?php echo base_url()?>">Home <span class="sr-only">(current)</span></a>
								</li>
								<li <?php if(strcasecmp($page_title, "deposit") == 0) echo 'class="nav-item col-lg-auto mx-lg-auto py-1 px-0 active"'; else echo 'class="nav-item col-lg-auto mx-lg-auto py-1 px-0"'?>>
									<a class="nav-link text-uppercase px-4 Helvetica-LT-STD-Bold" href="<?php echo base_url()?>deposit">How to deposit</a>
								</li>
								<li <?php if(strcasecmp($page_title, "withdraw") == 0) echo 'class="nav-item col-lg-auto mx-lg-auto py-1 px-0 active"'; else echo 'class="nav-item col-lg-auto mx-lg-auto py-1 px-0"'?>>
									<a class="nav-link text-uppercase px-4 Helvetica-LT-STD-Bold" href="<?php echo base_url()?>withdraw">How to withdraw</a>
								</li>
								<li <?php if(strcasecmp($page_title, "games") == 0) echo 'class="nav-item col-lg-auto mx-lg-auto py-1 px-0 dropdown active"'; else echo 'class="nav-item col-lg-auto mx-lg-auto py-1 px-0 dropdown"'?>>
									<a class="nav-link dropdown-toggle text-uppercase px-4 Helvetica-LT-STD-Bold" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
										Games
									</a>
									<div class="dropdown-menu mt-lg-0 text-center" aria-labelledby="navbarDropdown">
										<a <?php if(isset($game) && strcasecmp($game, "918kiss") == 0) echo 'class="dropdown-item text-uppercase py-lg-1 active"'; else echo 'class="dropdown-item text-uppercase py-lg-1"'?> href="<?php echo base_url()?>games/NineOneEightKiss">918 kiss</a>
										<a <?php if(isset($game) && strcasecmp($game, "LuckyPalace") == 0) echo 'class="dropdown-item text-uppercase py-lg-1 active"'; else echo 'class="dropdown-item text-uppercase py-lg-1"'?> href="<?php echo base_url()?>games/LuckyPalace">lucky palace</a>
										<a <?php if(isset($game) && strcasecmp($game, "Rollex") == 0) echo 'class="dropdown-item text-uppercase py-lg-1 active"'; else echo 'class="dropdown-item text-uppercase py-lg-1"'?> href="<?php echo base_url()?>games/Rollex">rollex</a>
										<a <?php if(isset($game) && strcasecmp($game, "Suncity") == 0) echo 'class="dropdown-item text-uppercase py-lg-1 active"'; else echo 'class="dropdown-item text-uppercase py-lg-1"'?> href="<?php echo base_url()?>games/Suncity">suncity</a>
										<a <?php if(isset($game) && strcasecmp($game, "Joker") == 0) echo 'class="dropdown-item text-uppercase py-lg-1 active"'; else echo 'class="dropdown-item text-uppercase py-lg-1"'?> href="<?php echo base_url()?>games/Joker">joker</a>
										<a <?php if(isset($game) && strcasecmp($game, "Sky777") == 0) echo 'class="dropdown-item text-uppercase py-lg-1 active"'; else echo 'class="dropdown-item text-uppercase py-lg-1"'?> href="<?php echo base_url()?>games/Sky777">sky777</a>
										<a <?php if(isset($game) && strcasecmp($game, "Live22") == 0) echo 'class="dropdown-item text-uppercase py-lg-1 active"'; else echo 'class="dropdown-item text-uppercase py-lg-1"'?> href="<?php echo base_url()?>games/Live22">live22</a>
										<a <?php if(isset($game) && strcasecmp($game, "3Win8") == 0) echo 'class="dropdown-item text-uppercase py-lg-1 active"'; else echo 'class="dropdown-item text-uppercase py-lg-1"'?> href="<?php echo base_url()?>games/ThreeWinEight">3win8</a>
										<a <?php if(isset($game) && strcasecmp($game, "Mega888") == 0) echo 'class="dropdown-item text-uppercase py-lg-1 active"'; else echo 'class="dropdown-item text-uppercase py-lg-1"'?> href="<?php echo base_url()?>games/Mega888">mega888</a>
									</div>
								</li>
								<li <?php if(strcasecmp($page_title, "promotions") == 0) echo 'class="nav-item col-lg-auto mx-lg-auto py-1 px-0 active"'; else echo 'class="nav-item col-lg-auto mx-lg-auto py-1 px-0"'?>>
									<a class="nav-link text-uppercase px-4 Helvetica-LT-STD-Bold" href="<?php echo base_url()?>promotions">Promotions</a>
								</li>
								<li <?php if(strcasecmp($page_title, "download") == 0) echo 'class="nav-item col-lg-auto mx-lg-auto py-1 px-0 active"'; else echo 'class="nav-item col-lg-auto mx-lg-auto py-1 px-0"'?>>
									<a class="nav-link text-uppercase px-4 Helvetica-LT-STD-Bold" href="<?php echo base_url()?>download">Download now</a>
								</li>
							</ul>
						</div>
					</nav>
				</div>
			</div>
		</header>