layout.php 6.44 KB
Newer Older
Pino Matranga's avatar
Pino Matranga committed
1
<!DOCTYPE html>
DeaVulTan's avatar
DeaVulTan committed
2 3
<html>
  <head>
4
  <meta charset="utf-8">
Pino Matranga's avatar
Pino Matranga committed
5
  <title><?php echo CONFIG_SITE_NAME; ?> - <?php echo CONFIG_SITE_SLOGAN; ?></title>
6 7 8
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
Pino Matranga's avatar
Pino Matranga committed
9 10
  <meta name="description" content="<?php echo CONFIG_SITE_DESCRIPTION; ?>">
  <meta name="author"   content="<?php echo CONFIG_SITE_AUTOR; ?>">
11 12 13 14 15 16 17 18
  <!-- Meta data to help Facebook generate the right advertisement -->
  <meta property="og:type"        content="article" />
  <meta property="og:title"       content="The best choice for security experts, developers and crypto-addicted people." />
  <meta property="og:site_name"   content="Parrot Security"/>
  <meta property="og:url"         content="https://www.parrotsec.org" />
  <meta property="og:image"       content="https://www.parrotsec.org/img/facebook-preview.png" />
  <meta property="og:description" content="Discover our awesome cyber security GNU/Linux environment. It includes a full portable laboratory for security and digital forensics experts, but it also includes all you need to develop your own softwares or protect your privacy with anonymity and crypto tools." />
  <meta property="fb:app_id"      content="">
19
  <link rel="stylesheet" href="css/unified.min.css" />
Pino Matranga's avatar
Pino Matranga committed
20
  <link rel="icon" href="img/logo.png" type="image/png" />
21 22 23 24 25 26 27 28 29 30 31 32
  <style>
  #features-table {
	padding: 100px 0;
}
#features-table h2{
    font-family: 'Ubuntu', sans-serif;
    font-weight: 700;
    font-size: 35px;
    color: #fff;
    text-align: center;
}
#features-table table{
h0tw4t3r's avatar
h0tw4t3r committed
33
	max-width:1200px;
34 35 36 37 38
	margin: 0 auto;
}

.tabco1 {
  background: #222;
39
  width: 25%;
40 41 42 43 44 45 46 47 48
  padding: 10px !important;
}
th.tabco1 {
	background: #222;
	padding: 32px 10px !important;
	font-size: 18px;
	color: #fff;
}
</style>
49 50 51 52
</head>

<body>
  <nav id="topNav" class="navbar navbar-default navbar-fixed-top">
DeaVulTan's avatar
DeaVulTan committed
53
      <div class="container-fluid">
54 55
          <div class="navbar-header">
              <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-navbar">
Pino Matranga's avatar
Pino Matranga committed
56
                  <span class="sr-only"><?php echo $lang['nav-1']; ?></span>
57 58 59 60 61
                  <span class="icon-bar"></span>
                  <span class="icon-bar"></span>
                  <span class="icon-bar"></span>
              </button>
              <a class="navbar-brand page-scroll" href="index.php">
Pino Matranga's avatar
Pino Matranga committed
62
                <b><img src="img/logo.png" width="20" height="20" /> <?php echo $lang['nav-2']; ?></b>
63 64 65 66
              </a>
          </div>
          <div class="navbar-collapse collapse" id="bs-navbar">
              <ul class="nav navbar-nav">
67
                  <li class="dropdown">
Lorenzo Faletra's avatar
Lorenzo Faletra committed
68
                  <a href="/download.php" class="dropdown-toggle" data-toggle="dropdown"><?php echo $lang['nav-3']; ?><span class="caret"></span></a>
69 70 71 72 73 74 75 76
                  <ul class="dropdown-menu">
                    <li>
                      <a class="page-scroll" href="/download-home.php">Home Edition</a>
                  	</li>
                  	<li>
                      <a class="page-scroll" href="/download-security.php">Security Edition</a>
                  	</li>
                  	<li>
77
					<a class="page-scroll" href="/download-other.php"><?php echo $lang['nav-17']; ?></a>
78
                  	</li>
Lorenzo Faletra's avatar
Lorenzo Faletra committed
79
                  	<li>
80
					<a href="/download.php"><span class="flag-icon flag-icon-gb"></span><?php echo $lang['nav-18']; ?></a>
Lorenzo Faletra's avatar
Lorenzo Faletra committed
81
                    </li>
82 83
                  </ul>
                </li>
84
                  <li>
85
                      <a class="page-scroll" href="/blog/"><?php echo $lang['nav-4']; ?></a>
86 87
                  </li>
                  <li>
88
                      <a class="page-scroll" href="/docs/"><?php echo $lang['nav-5']; ?></a>
89 90
                  </li>
                  <li>
Lorenzo Faletra's avatar
Lorenzo Faletra committed
91
                      <a class="page-scroll" href="https://nest.parrotsec.org" target="_blank"><?php echo $lang['nav-6']; ?></a>
92 93
                  </li>
                  <li>
94
                      <a class="page-scroll" href="/docs/community/"><?php echo $lang['nav-7']; ?></a>
95 96
                  </li>
                  <li>
97
                      <a class="page-scroll" href="/docs/partners"><?php echo $lang['nav-8']; ?></a>
98 99
                  </li>
                  <li>
Lorenzo Faletra's avatar
Lorenzo Faletra committed
100
                      <a class="page-scroll" href="/docs/team"><?php echo $lang['nav-9']; ?></a>
101 102
                  </li>
                  <li>
103
                      <a class="page-scroll" href="/docs/donate"><?php echo $lang['nav-10']; ?></a>
104 105
                  </li>
                  <li>
106
                      <a class="page-scroll" href="/docs/faq"><?php echo $lang['nav-11']; ?></a>
107 108 109 110
                  </li>
              </ul>
              <ul class="nav navbar-nav navbar-right">
                  <li>
Pino Matranga's avatar
Pino Matranga committed
111 112 113
                      <a href="#" class="dropdown-toggle" type="button" id="languageDropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"><?php echo $lang['nav-16']; ?><span class="caret"></span></a>
                      <ul class="dropdown-menu language-navbar" aria-labelledby="languageDropdown">
                          <?php
114
                            foreach($languages as $key => $value) {
h0tw4t3r's avatar
h0tw4t3r committed
115
                                $link = 'https://' . 'parrotsec.org' . $_SERVER['REQUEST_URI'];
Pino Matranga's avatar
Pino Matranga committed
116
                                if(!strpos($link, "?lang="))
117
                                    $final_link = "$link?lang=$key";
Pino Matranga's avatar
Pino Matranga committed
118 119 120
                                else {
                                    $language = $_GET['lang'];
                                    $search = "?lang=$language";
121
                                    $replace = "?lang=$key";
Pino Matranga's avatar
Pino Matranga committed
122 123
                                    $final_link = str_replace($search, $replace, $link);
                                }
Pino Matranga's avatar
Pino Matranga committed
124
                                echo "<li><a href='$final_link' style='height: auto'><span style='color: #fff'>$value</span><img src='img/lang/$key.png' class='pull-right'/></a></li>";
Pino Matranga's avatar
Pino Matranga committed
125 126 127 128
                            }
                          ?>
                      </ul>
                </li>
Lorenzo Faletra's avatar
Lorenzo Faletra committed
129
                <li><a class="page-scroll" href="https://nest.parrotsec.org/parrot-organization/parrotsec.org" target="_blank" id="nav-15"></a></li>
Pino Matranga's avatar
Pino Matranga committed
130 131 132
              </ul>
              <ul class="nav navbar-nav navbar-right">
                  <li>
Lorenzo Faletra's avatar
Lorenzo Faletra committed
133
                      <a class="page-scroll" href="https://nest.parrotsec.org/parrot-organization/parrotsec.org" target="_blank"><?php echo $lang['nav-12']; ?></a>
134 135 136
                  </li>
              </ul>
          </div>
DeaVulTan's avatar
DeaVulTan committed
137
      </div>
138
  </nav>