Commit 1e37d1b3 authored by Pino Matranga's avatar Pino Matranga 💬

Big improvement

parent 1ad14249
......@@ -541,3 +541,12 @@ img::-moz-selection {
background-size: cover;
-o-background-size: cover;
}
.langauge-select {
width: 40px;
height: 40px;
}
.language-navbar {
background-color: rgba(34, 34, 34, 0.9);
}
\ No newline at end of file
<?php
require('include/parrot.inc.php');
echo '<section class="bg-primary" id="one">
<?php require(__DIR__ . '/include/parrot.inc.php'); ?>
<section class="bg-primary" id="one">
<div class="container">
<div class="row text-center">
<div class="col-lg-12"><h2 class="margin-top-0 text-primary wow fadeInDown"><?php echo $lang['download-home-1'] . " " . CONFIG_SYSTEM_VERSION; ?></h2><br/><br/></div>
</div>
<div class="row">
<div class="col-lg-6 col-lg-offset-3 col-md-8 col-md-offset-2 text-center">
<h2 class="margin-top-0 text-primary wow fadeInDown">',$lang['download-lite-1'],CONFIG_SYSTEM_VERSION,'</h2>
<br>
<p class="text-faded wow fadeInRight">
',$lang['download-lite-2'],'
</p>
<p class="text-faded wow fadeInUp">
',$lang['download-lite-3'],'
</p>
<p class="text-faded wow fadeInLeft">
',$lang['download-lite-4'],'
</p>
<p>
<img width="400" src="',CONFIG_SITE_URL_STATIC_RESOURCES,'img/desktop.jpg" />
<div class="col-lg-6 text-center">
<p class="text-faded wow fadeInRight"><?php echo $lang['download-home-2']; ?></p>
<p class="text-faded wow fadeInUp"><?php echo $lang['download-home-3']; ?></p>
<p class="text-faded wow fadeInLeft"><?php echo $lang['download-home-4']; ?>
</p>
</div>
<div class="col-lg-6 text-center">
<p><img width="400" src="img/desktop.jpg"/></p>
</div><br/><br/><br/>
</div>
<div class="row">
<div class="col-lg-3 col-md-3 text-center">
......@@ -56,28 +49,28 @@ echo '<section class="bg-primary" id="one">
<div class="col-lg-4 col-md-4 text-center">
<div class="panel download panel-blue">
<div class="panel-heading arrow_box text-center">
<h3>',$lang['download-lite-5'],'</h3>
<h3><?php echo $lang['download-home-5']; ?></h3>
</div>
<div class="panel-body text-center">
<p class="lead" style="font-size:40px"><strong>64BIT</strong></p>
</div>
<ul class="list-group list-group-flush text-center">
<li class="list-group-item"><i class="icon-ok text-info"></i>',$lang['download-lite-6'],'</li>
<li class="list-group-item"><i class="icon-ok text-info"></i>',$lang['download-lite-7'],'</li>
<li class="list-group-item"><i class="icon-ok text-info"></i>',$lang['download-lite-8'],'</li>
<li class="list-group-item"><i class="icon-ok text-info"></i>',$lang['download-lite-9'],PARROT_LITE_SIZE_64,'</li>
<li class="list-group-item"><i class="icon-ok text-info"></i><?php echo $lang['download-home-6']; ?></li>
<li class="list-group-item"><i class="icon-ok text-info"></i><?php echo $lang['download-home-7']; ?></li>
<li class="list-group-item"><i class="icon-ok text-info"></i><?php echo $lang['download-home-8']; ?></li>
<li class="list-group-item"><i class="icon-ok text-info"></i><?php echo $lang['download-home-9'] . " " . PARROT_LITE_SIZE_64; ?></li>
</ul>
<div class="panel-footer">
<a class="btn btn-lg btn-block btn-info" href="https://cdimage.parrotsec.org/parrot/iso/3.11/Parrot-home-3.11_amd64.iso">',$lang['index-3'],'</a>
<a class="btn btn-lg btn-block btn-info" href="https://cdimage.parrotsec.org/parrot/iso/3.11/Parrot-home-3.11_amd64.iso"><?php echo $lang['index-3']; ?></a>
</div>
<div class="panel-footer">
<a class="btn btn-lg btn-block btn-info" target="_blank" href="https://cdimage.parrotsec.org/parrot/iso/3.11/Parrot-home-3.11_amd64.iso.mirrorlist">',$lang['download-lite-10'],'</a>
<a class="btn btn-lg btn-block btn-info" target="_blank" href="https://cdimage.parrotsec.org/parrot/iso/3.11/Parrot-home-3.11_amd64.iso.mirrorlist"><?php echo $lang['download-home-10']; ?></a>
</div>
<div class="panel-footer">
<a class="btn btn-lg btn-block btn-info" href="https://cdimage.parrotsec.org/parrot/iso/3.11/Parrot-home-3.11_amd64.iso.torrent">',$lang['download-lite-11'],'</a>
<a class="btn btn-lg btn-block btn-info" href="https://cdimage.parrotsec.org/parrot/iso/3.11/Parrot-home-3.11_amd64.iso.torrent"><?php echo $lang['download-home-11']; ?></a>
</div>
<div class="panel-footer">
<a class="btn btn-lg btn-block btn-info" target="_blank" href="https://cdimage.parrotsec.org/parrot/iso/3.11/signed-hashes.txt">',$lang['download-lite-12'],'</a>
<a class="btn btn-lg btn-block btn-info" target="_blank" href="https://cdimage.parrotsec.org/parrot/iso/3.11/signed-hashes.txt"><?php echo $lang['download-home-12']; ?></a>
</div>
</div>
</div>
......@@ -85,28 +78,28 @@ echo '<section class="bg-primary" id="one">
<div class="col-lg-3 col-md-3 text-center">
<div class="panel download panel-blue">
<div class="panel-heading arrow_box text-center">
<h3>',$lang['download-lite-5'],'</h3>
<h3><?php echo $lang['download-home-5']; ?></h3>
</div>
<div class="panel-body text-center">
<p class="lead" style="font-size:40px"><strong>32BIT</strong></p>
</div>
<ul class="list-group list-group-flush text-center">
<li class="list-group-item"><i class="icon-ok text-info"></i>',$lang['download-lite-13'],'</li>
<li class="list-group-item"><i class="icon-ok text-info"></i>',$lang['download-lite-7'],'</li>
<li class="list-group-item"><i class="icon-ok text-info"></i>',$lang['download-lite-8'],'</li>
<li class="list-group-item"><i class="icon-ok text-info"></i>',$lang['download-lite-9'],PARROT_LITE_SIZE_32,'</li>
<li class="list-group-item"><i class="icon-ok text-info"></i><?php echo $lang['download-home-13']; ?></li>
<li class="list-group-item"><i class="icon-ok text-info"></i><?php echo $lang['download-home-7']; ?></li>
<li class="list-group-item"><i class="icon-ok text-info"></i><?php echo $lang['download-home-8']; ?></li>
<li class="list-group-item"><i class="icon-ok text-info"></i><?php echo $lang['download-home-9'] . " " . PARROT_LITE_SIZE_32; ?></li>
</ul>
<div class="panel-footer">
<a class="btn btn-lg btn-block btn-info" href="https://cdimage.parrotsec.org/parrot/iso/3.11/Parrot-home-3.11_i386.iso">',$lang['index-3'],'</a>
<a class="btn btn-lg btn-block btn-info" href="https://cdimage.parrotsec.org/parrot/iso/3.11/Parrot-home-3.11_i386.iso"><?php echo $lang['index-3']; ?></a>
</div>
<div class="panel-footer">
<a class="btn btn-lg btn-block btn-info" target="_blank" href="https://cdimage.parrotsec.org/parrot/iso/3.11/Parrot-home-3.11_i386.iso.mirrorlist">',$lang['download-lite-10'],'</a>
<a class="btn btn-lg btn-block btn-info" target="_blank" href="https://cdimage.parrotsec.org/parrot/iso/3.11/Parrot-home-3.11_i386.iso.mirrorlist"><?php echo $lang['download-home-10']; ?></a>
</div>
<div class="panel-footer">
<a class="btn btn-lg btn-block btn-info" href="https://cdimage.parrotsec.org/parrot/iso/3.11/Parrot-home-3.11_i386.iso.torrent">',$lang['download-lite-11'],'</a>
<a class="btn btn-lg btn-block btn-info" href="https://cdimage.parrotsec.org/parrot/iso/3.11/Parrot-home-3.11_i386.iso.torrent"><?php echo $lang['download-home-11']; ?></a>
</div>
<div class="panel-footer">
<a class="btn btn-lg btn-block btn-info" target="_blank" href="https://cdimage.parrotsec.org/parrot/iso/3.11/signed-hashes.txt">',$lang['download-lite-12'],'</a>
<a class="btn btn-lg btn-block btn-info" target="_blank" href="https://cdimage.parrotsec.org/parrot/iso/3.11/signed-hashes.txt"><?php echo $lang['download-home-12']; ?></a>
</div>
</div>
</div>
......@@ -114,8 +107,5 @@ echo '<section class="bg-primary" id="one">
</div>
</div>
</section>';
require('include/foot.php');
?>
</section>
<?php require(__DIR__ . '/include/foot.php'); ?>
<?php
require('include/parrot.inc.php');
echo '<section class="bg-primary" id="one">
<?php require(__DIR__ . '/include/parrot.inc.php'); ?>
<section class="bg-primary" id="one">
<div class="container">
<div class="row text-center">
<div class="col-lg-12"><h2 class="margin-top-0 text-primary wow fadeInDown"><?php echo $lang['download-other-1']; ?></h2><br/><br/></div>
</div>
<div class="row">
<div class="col-lg-6 col-lg-offset-3 col-md-8 col-md-offset-2 text-center">
<h2 class="margin-top-0 text-primary wow fadeInDown">',$lang['download-other-1'],'</h2>
<br>
<p class="text-faded wow fadeInRight">
',$lang['download-other-2'],'
</p>
<p class="text-faded wow fadeInUp">
',$lang['download-other-3'],'
</p>
<p class="text-faded wow fadeInLeft">
',$lang['download-other-4'],'
</p>
<p>
<img class="rounded mx-auto d-block float-left" style="width:500px" src="',CONFIG_SITE_URL_STATIC_RESOURCES,'img/arm-soc.jpg" />
<div class="col-lg-6 text-center">
<p class="text-faded wow fadeInRight"><?php echo $lang['download-other-2']; ?></p>
<p class="text-faded wow fadeInUp"><?php echo $lang['download-other-3']; ?></p>
<p class="text-faded wow fadeInLeft"><?php echo $lang['download-other-4']; ?>
</p>
</div>
<div class="col-lg-6 text-center">
<p><img class="rounded mx-auto d-block float-left" style="width:500px" src="img/arm-soc.jpg" /></p>
</div><br/><br/><br/>
</div>
<div class="row">
<div class="col-lg-4 col-md-4 text-center">
<div class="panel download panel-blue">
<div class="panel-heading arrow_box text-center">
<h3>',$lang['download-other-19'],'</h3>
<h3><?php echo $lang['download-other-19']; ?></h3>
</div>
<div class="panel-body text-center">
<p class="lead" style="font-size:40px"><strong>',$lang['download-other-20'],'</strong></p>
<p class="lead" style="font-size:40px"><strong><?php echo $lang['download-other-20']; ?></strong></p>
</div>
<ul class="list-group list-group-flush text-center">
<li class="list-group-item"><i class="icon-ok text-info"></i>',$lang['download-other-21'],'</li>
<li class="list-group-item"><i class="icon-ok text-info"></i>',$lang['download-other-22'],'</li>
<li class="list-group-item"><i class="icon-ok text-info"></i><?php echo $lang['download-other-21']; ?></li>
<li class="list-group-item"><i class="icon-ok text-info"></i><?php echo $lang['download-other-22']; ?></li>
</ul>
<div class="panel-footer">
<a class="btn btn-lg btn-block btn-info" href="https://cdimage.parrotsec.org/parrot/iso/arm/rpi">',$lang['download-other-23'],'</a>
<a class="btn btn-lg btn-block btn-info" href="https://cdimage.parrotsec.org/parrot/iso/arm/rpi"><?php echo $lang['download-other-23']; ?></a>
</div>
</div>
</div>
......@@ -45,18 +38,18 @@ echo '<section class="bg-primary" id="one">
<div class="col-lg-4 col-md-4 text-center">
<div class="panel download panel-blue">
<div class="panel-heading arrow_box text-center">
<h3>',$lang['download-other-24'],'</h3>
<h3><?php echo $lang['download-other-24']; ?></h3>
</div>
<div class="panel-body text-center">
<p class="lead" style="font-size:40px"><strong>',$lang['download-other-20'],'</strong></p>
<p class="lead" style="font-size:40px"><strong><?php echo $lang['download-other-20']; ?></strong></p>
</div>
<ul class="list-group list-group-flush text-center">
<li class="list-group-item"><i class="icon-ok text-info"></i>',$lang['download-other-25'],'</li>
<li class="list-group-item"><i class="icon-ok text-info"></i>',$lang['download-other-26'],'</li>
<li class="list-group-item"><i class="icon-ok text-info"></i>',$lang['download-other-27'],'</li>
<li class="list-group-item"><i class="icon-ok text-info"></i><?php echo $lang['download-other-25']; ?></li>
<li class="list-group-item"><i class="icon-ok text-info"></i><?php echo $lang['download-other-26']; ?></li>
<li class="list-group-item"><i class="icon-ok text-info"></i><?php echo $lang['download-other-27']; ?></li>
</ul>
<div class="panel-footer">
<a class="btn btn-lg btn-block btn-info" href="https://cdimage.parrotsec.org/parrot/iso/arm/opi">',$lang['download-other-23'],'</a>
<a class="btn btn-lg btn-block btn-info" href="https://cdimage.parrotsec.org/parrot/iso/arm/opi"><?php echo $lang['download-other-23']; ?></a>
</div>
</div>
</div>
......@@ -64,51 +57,27 @@ echo '<section class="bg-primary" id="one">
<div class="col-lg-4 col-md-4 text-center">
<div class="panel download panel-blue">
<div class="panel-heading arrow_box text-center">
<h3>',$lang['download-other-28'],'</h3>
<h3><?php echo $lang['download-other-28']; ?></h3>
</div>
<div class="panel-body text-center">
<p class="lead" style="font-size:40px"><strong>',$lang['download-other-20'],'</strong></p>
<p class="lead" style="font-size:40px"><strong><?php echo $lang['download-other-20']; ?></strong></p>
</div>
<ul class="list-group list-group-flush text-center">
<li class="list-group-item"><i class="icon-ok text-info"></i>',$lang['download-other-29'],'</li>
<li class="list-group-item"><i class="icon-ok text-info"></i>',$lang['download-other-28'],'</li>
<li class="list-group-item"><i class="icon-ok text-info"></i>',$lang['download-other-30'],'</li>
<li class="list-group-item"><i class="icon-ok text-info"></i>',$lang['download-other-31'],'</li>
<li class="list-group-item"><i class="icon-ok text-info"></i>',$lang['download-other-32'],'</li>
<li class="list-group-item"><i class="icon-ok text-info"></i><?php echo $lang['download-other-29']; ?></li>
<li class="list-group-item"><i class="icon-ok text-info"></i><?php echo $lang['download-other-28']; ?></li>
<li class="list-group-item"><i class="icon-ok text-info"></i><?php echo $lang['download-other-30']; ?></li>
<li class="list-group-item"><i class="icon-ok text-info"></i><?php echo $lang['download-other-31']; ?></li>
<li class="list-group-item"><i class="icon-ok text-info"></i><?php echo $lang['download-other-32']; ?></li>
</ul>
<div class="panel-footer">
<a class="btn btn-lg btn-block btn-info" href="https://cdimage.parrotsec.org/parrot/iso/arm/pine64">',$lang['download-other-23'],'</a>
<a class="btn btn-lg btn-block btn-info" href="https://cdimage.parrotsec.org/parrot/iso/arm/pine64"><?php echo $lang['download-other-23']; ?></a>
</div>
</div>
</div>
</div>
<div class="col-lg-4 col-md-4 text-center">
<div class="panel download panel-blue">
<div class="panel-heading arrow_box text-center">
<h3>Orange Pi</h3>
</div>
<div class="panel-body text-center">
<p class="lead" style="font-size:40px"><strong>',$lang['download-other-20'],'</strong></p>
</div>
<ul class="list-group list-group-flush text-center">
<li class="list-group-item"><i class="icon-ok text-info"></i>',$lang['download-other-25'],'</li>
<li class="list-group-item"><i class="icon-ok text-info"></i>',$lang['download-other-26'],'</li>
<li class="list-group-item"><i class="icon-ok text-info"></i>',$lang['download-other-27'],'</li>
</ul>
<div class="panel-footer">
<a class="btn btn-lg btn-block btn-info" href="https://cdimage.parrotsec.org/parrot/iso/arm/opi">',$lang['download-other-23'],'</a>
</div>
</div>
</div>
</div>
</div>
</section>';
require('include/foot.php');
?>
</section>
<?php require(__DIR__ . '/include/foot.php'); ?>
<?php
require('include/parrot.inc.php');
echo '<section class="bg-primary" id="one">
<?php require(__DIR__ . '/include/parrot.inc.php'); ?>
<section class="bg-primary" id="one">
<div class="container">
<div class="row text-center">
<div class="col-lg-12"><h2 class="margin-top-0 text-primary wow fadeInDown"><?php echo $lang['download-security-1'] . " " . CONFIG_SYSTEM_VERSION; ?></h2><br/><br/></div>
</div>
<div class="row">
<div class="col-lg-6 col-lg-offset-3 col-md-8 col-md-offset-2 text-center">
<h2 class="margin-top-0 text-primary wow fadeInDown">',$lang['download-full-1'],CONFIG_SYSTEM_VERSION,'</h2>
<br>
<p class="text-faded wow fadeInRight">
',$lang['download-full-2'],'
</p>
<p class="text-faded wow fadeInUp">
',$lang['download-full-3'],'
</p>
<p>
<img width="400px" src="',CONFIG_SITE_URL_STATIC_RESOURCES,'img/menu-full.jpg" />
</p>
<div class="col-lg-6 text-center">
<p class="text-faded wow fadeInRight"><?php echo $lang['download-security-2']; ?></p>
<p class="text-faded wow fadeInUp"><?php echo $lang['download-security-3']; ?></p>
</div>
</div>
<div class="col-lg-6 text-center"><p><img width="400px" src="/img/menu-full.jpg"/></p></div>
</div><br/><br/><br/>
<div class="row">
<div class="col-lg-3 col-md-3 col-md-offset-2 col-lg-offset-2 text-center">
<div class="panel download panel-blue">
<div class="panel-heading arrow_box text-center">
<h3>',$lang['download-full-4'],'</h3>
<h3><?php echo $lang['download-security-4']; ?></h3>
</div>
<div class="panel-body text-center">
<p class="lead" style="font-size:40px"><strong>64BIT</strong></p>
</div>
<ul class="list-group list-group-flush text-center">
<li class="list-group-item"><i class="icon-ok text-info"></i>',$lang['download-full-5'],'</li>
<li class="list-group-item"><i class="icon-ok text-info"></i>',$lang['download-full-6'],'</li>
<li class="list-group-item"><i class="icon-ok text-info"></i>',$lang['download-full-7'],'</li>
<li class="list-group-item"><i class="icon-ok text-info"></i>',$lang['download-full-8'],PARROT_FULL_SIZE_64,'</li>
<li class="list-group-item"><i class="icon-ok text-info"></i><?php echo $lang['download-security-5']; ?></li>
<li class="list-group-item"><i class="icon-ok text-info"></i><?php echo $lang['download-security-6']; ?></li>
<li class="list-group-item"><i class="icon-ok text-info"></i><?php echo $lang['download-security-7']; ?></li>
<li class="list-group-item"><i class="icon-ok text-info"></i><?php echo $lang['download-security-8'] . " " . PARROT_FULL_SIZE_64; ?></li>
</ul>
<div class="panel-footer">
<a class="btn btn-lg btn-block btn-info" href="https://cdimage.parrotsec.org/parrot/iso/3.11/Parrot-security-3.11_amd64.iso">',$lang['index-3'],'</a>
<a class="btn btn-lg btn-block btn-info" href="https://cdimage.parrotsec.org/parrot/iso/3.11/Parrot-security-3.11_amd64.iso"><?php echo $lang['index-3']; ?></a>
</div>
<div class="panel-footer">
<a class="btn btn-lg btn-block btn-info" target="_blank" href="https://cdimage.parrotsec.org/parrot/iso/3.11/Parrot-security-3.11_amd64.iso.mirrorlist">',$lang['download-full-9'],'</a>
<a class="btn btn-lg btn-block btn-info" target="_blank" href="https://cdimage.parrotsec.org/parrot/iso/3.11/Parrot-security-3.11_amd64.iso.mirrorlist"><?php echo $lang['download-security-9']; ?></a>
</div>
<div class="panel-footer">
<a class="btn btn-lg btn-block btn-info" href="https://cdimage.parrotsec.org/parrot/iso/3.11/Parrot-security-3.11_amd64.iso.torrent">',$lang['download-full-10'],'</a>
<a class="btn btn-lg btn-block btn-info" href="https://cdimage.parrotsec.org/parrot/iso/3.11/Parrot-security-3.11_amd64.iso.torrent"><?php echo $lang['download-security-10']; ?></a>
</div>
<div class="panel-footer">
<a class="btn btn-lg btn-block btn-info" target="_blank" href="https://cdimage.parrotsec.org/parrot/iso/3.11/signed-hashes.txt">',$lang['download-full-11'],'</a>
<a class="btn btn-lg btn-block btn-info" target="_blank" href="https://cdimage.parrotsec.org/parrot/iso/3.11/signed-hashes.txt"><?php echo $lang['download-security-11']; ?></a>
</div>
</div>
</div>
......@@ -53,28 +45,28 @@ echo '<section class="bg-primary" id="one">
<div class="col-lg-3 col-md-3 col-md-offset-2 col-lg-offset-2 text-center">
<div class="panel download panel-blue">
<div class="panel-heading arrow_box text-center">
<h3>',$lang['download-full-4'],'</h3>
<h3><?php echo $lang['download-security-4']; ?></h3>
</div>
<div class="panel-body text-center">
<p class="lead" style="font-size:40px"><strong>32BIT</strong></p>
</div>
<ul class="list-group list-group-flush text-center">
<li class="list-group-item"><i class="icon-ok text-info"></i>',$lang['download-full-12'],'</li>
<li class="list-group-item"><i class="icon-ok text-info"></i>',$lang['download-full-6'],'</li>
<li class="list-group-item"><i class="icon-ok text-info"></i>',$lang['download-full-7'],'</li>
<li class="list-group-item"><i class="icon-ok text-info"></i>',$lang['download-full-8'],PARROT_FULL_SIZE_32,'</li>
<li class="list-group-item"><i class="icon-ok text-info"></i><?php echo $lang['download-security-12']; ?></li>
<li class="list-group-item"><i class="icon-ok text-info"></i><?php echo $lang['download-security-6']; ?></li>
<li class="list-group-item"><i class="icon-ok text-info"></i><?php echo $lang['download-security-7']; ?></li>
<li class="list-group-item"><i class="icon-ok text-info"></i><?php echo $lang['download-security-8'] . " " . PARROT_FULL_SIZE_32; ?></li>
</ul>
<div class="panel-footer">
<a class="btn btn-lg btn-block btn-info" href="https://cdimage.parrotsec.org/parrot/iso/3.11/Parrot-security-3.11_i386.iso">',$lang['index-3'],'</a>
<a class="btn btn-lg btn-block btn-info" href="https://cdimage.parrotsec.org/parrot/iso/3.11/Parrot-security-3.11_i386.iso"><?php echo $lang['index-3']; ?></a>
</div>
<div class="panel-footer">
<a class="btn btn-lg btn-block btn-info" target="_blank" href="https://cdimage.parrotsec.org/parrot/iso/3.11/Parrot-security-3.11_i386.iso.mirrorlist">',$lang['download-full-9'],'</a>
<a class="btn btn-lg btn-block btn-info" target="_blank" href="https://cdimage.parrotsec.org/parrot/iso/3.11/Parrot-security-3.11_i386.iso.mirrorlist"><?php echo $lang['download-security-9']; ?></a>
</div>
<div class="panel-footer">
<a class="btn btn-lg btn-block btn-info" href="https://cdimage.parrotsec.org/parrot/iso/3.11/Parrot-security-3.11_i386.iso.torrent">',$lang['download-full-10'],'</a>
<a class="btn btn-lg btn-block btn-info" href="https://cdimage.parrotsec.org/parrot/iso/3.11/Parrot-security-3.11_i386.iso.torrent"><?php echo $lang['download-security-10']; ?></a>
</div>
<div class="panel-footer">
<a class="btn btn-lg btn-block btn-info" target="_blank" href="https://cdimage.parrotsec.org/parrot/iso/3.11/signed-hashes.txt">',$lang['download-full-11'],'</a>
<a class="btn btn-lg btn-block btn-info" target="_blank" href="https://cdimage.parrotsec.org/parrot/iso/3.11/signed-hashes.txt"><?php echo $lang['download-security-11']; ?></a>
</div>
</div>
</div>
......@@ -82,8 +74,5 @@ echo '<section class="bg-primary" id="one">
</div>
</div>
</section>';
require('include/foot.php');
?>
</section>
<?php require(__DIR__ . '/include/foot.php'); ?>
This diff is collapsed.
<?php
echo
'<footer id="footer">
<footer id="footer">
<div class="container-fluid">
<div class="row">
<div class="col-xs-6 col-sm-3 column">
<h4>',$lang['foot-9'],'</h4>
<h4><?php echo $lang['foot-9']; ?></h4>
<ul class="list-unstyled">
<li><a href="https://docs.parrotsec.org/terms-and-conditions">',$lang['foot-2'],'</a></li>
<li><a href="https://docs.parrotsec.org/partners">',$lang['foot-3'],'</a></li>
<li><a href="https://docs.parrotsec.org/developers">',$lang['foot-4'],'</a></li>
<li><a href="https://docs.parrotsec.org/terms-and-conditions"><?php echo $lang['foot-2']; ?></a></li>
<li><a href="https://docs.parrotsec.org/partners"><?php echo $lang['foot-3']; ?></a></li>
<li><a href="https://docs.parrotsec.org/developers"><?php echo $lang['foot-4']; ?></a></li>
</ul>
</div>
<div class="col-xs-6 col-sm-3 column">
<h4>',$lang['foot-10'],'</h4>
<h4><?php echo $lang['foot-10']; ?></h4>
<ul class="list-unstyled">
<li><a href="https://en.wikipedia.org/wiki/Parrot_Security_OS">',$lang['foot-5'],'</a></li>
<li><a href="https://distrowatch.com/table.php?distribution=parrotsecurity">',$lang['foot-6'],'</a></li>
<li><a href="http://linux.softpedia.com/get/System/Operating-Systems/Linux-Distributions/Parrot-security-OS-102936.shtml">',$lang['foot-7'],'</a></li>
<li><a href="https://wiki.debian.org/Derivatives/Census/ParrotSecurity">',$lang['foot-8'],'</a></li>
<li><a href="https://en.wikipedia.org/wiki/Parrot_Security_OS"><?php echo $lang['foot-5']; ?></a></li>
<li><a href="https://distrowatch.com/table.php?distribution=parrotsecurity"><?php echo $lang['foot-6']; ?></a></li>
<li><a href="http://linux.softpedia.com/get/System/Operating-Systems/Linux-Distributions/Parrot-security-OS-102936.shtml"><?php echo $lang['foot-7']; ?></a></li>
<li><a href="https://wiki.debian.org/Derivatives/Census/ParrotSecurity"><?php echo $lang['foot-8']; ?></a></li>
</ul>
</div>
<div class="col-xs-12 col-sm-3 text-right">
<h4>',$lang['foot-11'],'</h4>
<h4><?php echo $lang['foot-11']; ?></h4>
<ul class="list-inline">
<li><a rel="nofollow" href="https://twitter.com/parrotsec" title="Twitter"><i class="icon-lg ion-social-twitter-outline"></i></a>&nbsp;</li>
<li><a rel="nofollow" href="https://www.facebook.com/parrotsec" title="Facebook"><i class="icon-lg ion-social-facebook-outline"></i></a>&nbsp;</li>
......@@ -51,11 +48,10 @@ echo
</div>
</div>
<!--scripts loaded here -->
<script src="',CONFIG_SITE_URL_STATIC_RESOURCES,'js/jquery.min.js"></script>
<script src="',CONFIG_SITE_URL_STATIC_RESOURCES,'js/bootstrap.min.js"></script>
<script src="',CONFIG_SITE_URL_STATIC_RESOURCES,'js/jquery.easing.min.js"></script>
<script src="',CONFIG_SITE_URL_STATIC_RESOURCES,'js/wow.js"></script>
<script src="',CONFIG_SITE_URL_STATIC_RESOURCES,'js/scripts.js"></script>
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.easing.min.js"></script>
<script src="js/wow.js"></script>
<script src="js/scripts.js"></script>
</body>
</html>';
?>
</html>
<?php
$languages = array('it', 'en', 'ru', 'uz');
#get browser language
$language = htmlentities(substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2));
if(isset($_GET['lang'])){
$language = $_GET['lang'];
} else {
$language = 'en';
}
$file_path = "languages/core_$language.php";
if(file_exists($file_path))
include_once($file_path);
#include default english language
include_once('languages/core_en.php');
#override english strings with localized translations if available
if ($language == "ar") {
include_once('languages/core_ar.php');
}
elseif ($language == "de") {
include_once('languages/core_de.php');
}
elseif ($language == "fr") {
include_once('languages/core_fr.php');
}
elseif ($language == "it") {
include_once('languages/core_it.php');
}
elseif ($language == "nl") {
include_once('languages/core_nl.php');
}
elseif ($language == "ro") {
include_once('languages/core_ro.php');
}
elseif ($language == "ru") {
include_once('languages/core_ru.php');
}
elseif ($language == "uz") {
include_once('languages/core_uz.php');
}
else
include_once('languages/core_en.php');
?>
<?php
echo
'<!DOCTYPE html>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>',CONFIG_SITE_NAME, ' - ', CONFIG_SITE_SLOGAN,'</title>
<title><?php echo CONFIG_SITE_NAME; ?> - <?php echo CONFIG_SITE_SLOGAN; ?></title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="',CONFIG_SITE_DESCRIPTION,'">
<meta name="author" content="',CONFIG_SITE_AUTOR,'">
<meta name="description" content="<?php echo CONFIG_SITE_DESCRIPTION; ?>">
<meta name="author" content="<?php echo CONFIG_SITE_AUTOR; ?>">
<!-- 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." />
......@@ -19,14 +16,14 @@ echo
<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="">
<link rel="stylesheet" href="',CONFIG_SITE_URL_STATIC_RESOURCES,'css/bootstrap.min.css" />
<link rel="stylesheet" href="',CONFIG_SITE_URL_STATIC_RESOURCES,'css/animate.min.css" />
<link rel="stylesheet" href="',CONFIG_SITE_URL_STATIC_RESOURCES,'css/ionicons.min.css" />
<link rel="stylesheet" href="',CONFIG_SITE_URL_STATIC_RESOURCES,'css/features-table.css" />
<link rel="stylesheet" href="',CONFIG_SITE_URL_STATIC_RESOURCES,'css/panel-download.css" />
<link rel="stylesheet" href="',CONFIG_SITE_URL_STATIC_RESOURCES,'css/font-awesome.min.css">
<link rel="stylesheet" href="',CONFIG_SITE_URL_STATIC_RESOURCES,'css/styles.css" />
<link rel="icon" href="',CONFIG_SITE_URL_STATIC_RESOURCES,'img/logo.png" type="image/png" />
<link rel="stylesheet" href="css/bootstrap.min.css" />
<link rel="stylesheet" href="css/animate.min.css" />
<link rel="stylesheet" href="css/ionicons.min.css" />
<link rel="stylesheet" href="css/features-table.css" />
<link rel="stylesheet" href="css/panel-download.css" />
<link rel="stylesheet" href="css/font-awesome.min.css">
<link rel="stylesheet" href="css/styles.css" />
<link rel="icon" href="img/logo.png" type="image/png" />
</head>
<body>
......@@ -34,52 +31,72 @@ echo
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-navbar">
<span class="sr-only">',$lang['nav-1'],'</span>
<span class="sr-only"><?php echo $lang['nav-1']; ?></span>
<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">
<b><img src="',CONFIG_SITE_URL_STATIC_RESOURCES,'img/logo.png" width="20" height="20" /> ',$lang['nav-2'],'</b>
<b><img src="img/logo.png" width="20" height="20" /> <?php echo $lang['nav-2']; ?></b>
</a>
</div>
<div class="navbar-collapse collapse" id="bs-navbar">
<ul class="nav navbar-nav">
<li>
<a class="page-scroll" href="',CONFIG_SITE_URL_STATIC_RESOURCES,'download.fx">',$lang['nav-3'],'</a>
<a class="page-scroll" href="/download.php"><?php echo $lang['nav-3']; ?></a>
</li>
<li>
<a class="page-scroll" href="https://blog.parrotsec.org">',$lang['nav-4'],'</a>
<a class="page-scroll" href="https://blog.parrotsec.org"><?php echo $lang['nav-4']; ?></a>
</li>
<li>
<a class="page-scroll" href="https://docs.parrotsec.org">',$lang['nav-5'],'</a>
<a class="page-scroll" href="https://docs.parrotsec.org"><?php echo $lang['nav-5']; ?></a>
</li>
<li>
<a class="page-scroll" href="https://dev.parrotsec.org" target="_blank">',$lang['nav-6'],'</a>
<a class="page-scroll" href="https://dev.parrotsec.org" target="_blank"><?php echo $lang['nav-6']; ?></a>
</li>
<li>
<a class="page-scroll" href="https://docs.parrotsec.org/community">',$lang['nav-7'],'</a>
<a class="page-scroll" href="https://docs.parrotsec.org/community"><?php echo $lang['nav-7']; ?></a>
</li>
<li>
<a class="page-scroll" href="https://docs.parrotsec.org/partners">',$lang['nav-8'],'</a>
<a class="page-scroll" href="https://docs.parrotsec.org/partners"><?php echo $lang['nav-8']; ?></a>
</li>
<li>
<a class="page-scroll" href="https://docs.parrotsec.org/developers">',$lang['nav-9'],'</a>
<a class="page-scroll" href="https://docs.parrotsec.org/developers"><?php echo $lang['nav-9']; ?></a>
</li>
<li>
<a class="page-scroll" href="https://docs.parrotsec.org/donate">',$lang['nav-10'],'</a>
<a class="page-scroll" href="https://docs.parrotsec.org/donate"><?php echo $lang['nav-10']; ?></a>
</li>
<li>
<a class="page-scroll" href="https://docs.parrotsec.org/FAQ">',$lang['nav-11'],'</a>
<a class="page-scroll" href="https://docs.parrotsec.org/FAQ"><?php echo $lang['nav-11']; ?></a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a class="page-scroll" href="https://dev.parrotsec.org/parrot/parrotsec.org" target="_blank">',$lang['nav-12'],'</a>
<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
for($i=0; $i<count($languages); $i++) {
$link = 'http://' . $_SERVER[HTTP_HOST] . $_SERVER[REQUEST_URI];
if(!strpos($link, "?lang="))
$final_link = $link.'?lang=' . $languages[$i];
else {
$language = $_GET['lang'];
$search = "?lang=$language";
$replace = "?lang=$languages[$i]";
$final_link = str_replace($search, $replace, $link);
}
echo "<li><a href='$final_link'><img src='img/lang/$languages[$i].ico' class='langauge-select'/><span style='color: #fff'>$languages[$i]</span></a></li>";
}
?>
</ul>
</li>
<li><a class="page-scroll" href="https://dev.parrotsec.org/parrot/parrotsec.org" target="_blank" id="nav-15"></a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a class="page-scroll" href="https://dev.parrotsec.org/parrot/parrotsec.org" target="_blank"><?php echo $lang['nav-12']; ?></a>
</li>
</ul>
</div>
</div>
</nav>';
?>
</nav>
\ No newline at end of file
<?php
require('include/parrot.inc.php');
echo
'<header id="first">
<?php require(__DIR__ . '/include/parrot.inc.php'); ?>
<header id="first">
<div class="header-content">
<div class="inner">
<h3 class="text-center wow fadeInDown">',$lang['index-1'],'</h2>
<h5 class="text-center wow fadeInUp">',$lang['index-2'],'</h3>
<h3 class="text-center wow fadeInDown"><?php echo $lang['index-1']; ?></h2>
<h5 class="text-center wow fadeInUp"><?php echo $lang['index-2']; ?></h3>
<hr>
<a href="',CONFIG_SITE_URL_STATIC_RESOURCES,'download.fx" class="btn btn-primary btn-xl">',$lang['index-3'],'</a> &nbsp; <a href="#one" class="btn btn-primary btn-xl page-scroll">',$lang['index-4'],'</a>
<a href="download.php" class="btn btn-primary btn-xl"><?php echo $lang['index-3']; ?></a> &nbsp; <a href="#one" class="btn btn-primary btn-xl page-scroll"><?php echo $lang['index-4']; ?></a>
</div>
</div>
</header>
......@@ -16,15 +13,15 @@ echo
<div class="container">
<div class="row">
<div class="col-lg-6 col-lg-offset-3 col-md-8 col-md-offset-2 text-center">
<h2 class="margin-top-0 text-primary wow fadeInDown">',$lang['index-5'],'</h2>
<h2 class="margin-top-0 text-primary wow fadeInDown"><?php echo $lang['index-5']; ?></h2>