<?php 
require_once('includes/page-start.php');
?>
<!DOCTYPE html>
<html lang="en">
<head>
	<title>EWIN Malaysia Official Download - Mobile Online Casino App<?php foreach($setting['gamelist'] as $gdata){ if($gdata['code']!='IBC') echo ' | '.$gdata['title'][$lang]; } ?></title>	
	<meta name="description" content="Welcome to EWIN MALAYSIA Official download page, Malaysia's LEADING Online Casino Mobile App! Dijamin Cuci, Servis Cepat 24 Jam!" />
	<link rel="canonical" href="<?php echo $setting['link']['main'].basename($_SERVER['REQUEST_URI'], '?'.$_SERVER['QUERY_STRING']); ?>" />
	
	<!-- start: Facebook Open Graph -->
	<meta property="og:title" content="EWIN Malaysia Official Download - Mobile Online Casino App<?php foreach($setting['gamelist'] as $gdata){ if($gdata['code']!='IBC') echo ' | '.$gdata['title'][$lang]; } ?>"/>
	<meta property="og:description" content="Welcome to EWIN MALAYSIA Official download page, Malaysia's LEADING Online Casino Mobile App! Dijamin Cuci, Servis Cepat 24 Jam!"/>
	<meta property="og:type" content="Website"/>
	<meta property="og:url" content="<?php echo $setting['link']['main'].basename($_SERVER['REQUEST_URI'], '?'.$_SERVER['QUERY_STRING']); ?>"/>
	<meta property="og:image" content="images/favicon.jpg"/>
	<!-- end: Facebook Open Graph -->		
	
	<?php require_once('includes/page-meta.php'); ?>
</head>	
<body>
<?php require_once('includes/page-header.php'); ?>
		<!--start: Container -->
    	<div class="container">
		
      		<!-- start: Row -->
      		<div class="row">
				<div class="content">
					<h1>Join Us and Enjoy Up To 50% Welcome Bonus!</h1>
					<h2>Download EWIN MALAYSIA now!</h2>
					<div class="qrcode">
						<img src="images/ewinqr.jpg" title="Scan dan download applikasi" alt="Scan dan download applikasi" />
					</div>	
					<div>
						<button id="button_apk" type="button" class="button" onfocus="this.blur()">
							Download Android APK <img src="images/icon_download.png" />
						</button>				
					</div>				
				</div>
			</div>
		</div>	
	<?php require_once('includes/page-footer.php'); ?>
</body>
</html>

<script> 
    
    var _urlAPK = "<?php if( empty($_GET['source']) ){ ?>http://www.ewin2u.com/ewinscr888.apk<?php }elseif( $_GET['source']=='apps' ){ ?>http://www.ewin2u.com/ewinscr888m.apk<?php } ?>";
    $(function() {

        $("#button_apk").click(function() {
            self.location = _urlAPK;
        });

    });

</script>