language.php 2.54 KB
Newer Older
Riccardo Spagni's avatar
Riccardo Spagni committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
<?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">

24 25 26 27 28 29 30 31 32 33
    <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">
Riccardo Spagni's avatar
Riccardo Spagni committed
34

Riccardo Spagni's avatar
Riccardo Spagni committed
35
    <link href="//static.getmonero.org/style.css?1" rel="stylesheet">
Riccardo Spagni's avatar
Riccardo Spagni committed
36 37 38 39 40
  </head>

  <body class="body-language">
    <!-- Static navbar -->
    <div class="navbar navbar-default navbar-fixed-top" role="navigation">
41
      <div class="container" style="padding-bottom: 0px;">
Riccardo Spagni's avatar
Riccardo Spagni committed
42
        <div class="navbar-header">
43
          <a class="navbar-brand" href="/"><img class="logo" src="//static.getmonero.org/images/logo.svg"></a>
Riccardo Spagni's avatar
Riccardo Spagni committed
44 45 46 47 48 49
        </div>
      </div>
    </div>

    <div class="container main-content">
      <div class="row">
Riccardo Spagni's avatar
Riccardo Spagni committed
50
        <div class="col-md-4 col-md-offset-2">
Riccardo Spagni's avatar
Riccardo Spagni committed
51
          <ul class="nav nav-pills nav-stacked flag-select">
52
            <li><a href="/home"><h3><img class="flag" src="//static.getmonero.org/images/flags/english_combined.png"> English</h3></a></li>
Riccardo Spagni's avatar
Riccardo Spagni committed
53 54 55 56
          </ul>
        </div>
        <div class="col-md-4">
          <ul class="nav nav-pills nav-stacked flag-select">
57
            <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>
Riccardo Spagni's avatar
Riccardo Spagni committed
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
          </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 -->
Riccardo Spagni's avatar
Riccardo Spagni committed
73
    <script src="//static.getmonero.org/scripts.js"></script>
Riccardo Spagni's avatar
Riccardo Spagni committed
74 75
  </body>
</html>