monero-site/language.php

91 lines
3.2 KiB
PHP
Raw Normal View History

2015-01-02 16:35:38 +00:00
<?php
date_default_timezone_set('Africa/Johannesburg');
if (isset($_COOKIE["MONERO_LANG"]))
{
if ($_COOKIE["MONERO_LANG"] == "en")
{
header('Location: /home');
die();
}
else
{
header('Location: /'.$_COOKIE["MONERO_LANG"]);
die();
}
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Monero - secure, private, and untraceable</title>
<meta name="description" content="Monero is a digital currency that is secure, private, and untraceable.">
<meta name="keywords" content="monero, xmr, bitmonero, cryptocurrency">
<meta property="og:title" content="Monero - secure, private, untraceable"/>
<meta property="og:description" content="Monero is a digital currency that is secure, private, and untraceable.">
<meta property="og:image" content="http://static.getmonero.org/images/opengraph/logo.png">
<meta property="og:site_name" content="getmonero.org, The Monero Project">
<meta property="og:url" content="https://getmonero.org/language.php">
<meta property="og:type" content="website">
2015-01-02 16:35:38 +00:00
2015-10-02 16:40:41 +00:00
<link href="//static.getmonero.org/style.css?1" rel="stylesheet">
2015-01-02 16:35:38 +00:00
</head>
<body class="body-language">
<!-- Static navbar -->
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container" style="padding-bottom: 0px;">
2015-01-02 16:35:38 +00:00
<div class="navbar-header">
<a class="navbar-brand" href="/"><img class="logo" src="//static.getmonero.org/images/logo.svg"></a>
2015-01-02 16:35:38 +00:00
</div>
</div>
</div>
<div class="container main-content">
<div class="row">
<div class="col-md-4">
2015-01-02 16:35:38 +00:00
<ul class="nav nav-pills nav-stacked flag-select">
<li><a href="/home"><h3><img class="flag" src="//static.getmonero.org/images/flags/english_combined.png"> English</h3></a></li>
2015-01-02 16:35:38 +00:00
</ul>
</div>
<div class="col-md-4">
<ul class="nav nav-pills nav-stacked flag-select">
<li><a href="/cn/"><h3><img class="flag" src="//static.getmonero.org/images/flags/china.png"> 简体中文</h3></a></li>
</ul>
</div>
<div class="col-md-4">
<ul class="nav nav-pills nav-stacked flag-select">
<li><h3 style="line-height: 50px; padding: 10px 20px;"><img class="flag" src="//static.getmonero.org/images/flags/allflags.png"> More to come...</h3></li>
2015-01-02 16:35:38 +00:00
</ul>
</div>
</div>
</div>
<div class="footer">
<div class="container">
<p>
Copyright &copy; <strong>The Monero Project, <?php echo date("Y"); ?></strong>
</p>
</div>
</div>
<!-- JS -->
2015-10-02 16:40:41 +00:00
<script src="//static.getmonero.org/scripts.js"></script>
2015-02-25 09:06:53 +00:00
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-53312765-1', 'auto');
ga('require', 'linkid', 'linkid.js');
ga('send', 'pageview');
</script>
2015-01-02 16:35:38 +00:00
</body>
</html>