This repository has been archived by the owner on Feb 9, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.php
161 lines (156 loc) · 8.95 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
<?php
include('version.php');
function getOS() {
$os = 'unknown';
if(preg_match('/windows/i', $_SERVER['HTTP_USER_AGENT']))
$os = 'windows';
elseif(preg_match('/macintosh|mac os x/i', $_SERVER['HTTP_USER_AGENT']))
$os = 'mac';
elseif(preg_match('/ubuntu/i', $_SERVER['HTTP_USER_AGENT']))
$os = 'ubuntu';
elseif(preg_match('/debian/i', $_SERVER['HTTP_USER_AGENT']))
$os = 'debian';
elseif(preg_match('/archlinux/i', $_SERVER['HTTP_USER_AGENT']))
$os = 'arch';
elseif(preg_match('/linux/i', $_SERVER['HTTP_USER_AGENT']))
$os = 'linux'.getArch();
return $os;
}
$osstring = getOS();
?>
<!DOCTYPE html>
<html>
<head>
<!-- meta info -->
<meta charset="utf-8">
<title>Nightingale - The tune of life, the tune of yours</title>
<?php include "../static.getnightingale.com/php/head.php"; ?>
<!-- structured data -->
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebSite",
"about": {
"@type": "SoftwareApplication",
"name": "Nightingale",
"applicationCategory": "Entertanment",
"applicationSubCategory": "Media Player",
"featureList": "http://getnightingale.com/features",
"operatingSystem": "Windows Vista, Windows 7, OSX 10.6, Linux",
"processorRequirements": "x86, amd64, x86_64",
"releaseNotes": "http://firstrun.getnightingale.com/release-notes/<?php echo $version ?>",
"softwareVersion": "<?php echo $version ?>",
"license": "https://www.gnu.org/licenses/gpl-2.0.html",
"offers": {
"@type": "Offer",
"price": "0.00 USD"
}
},
"name": "Nightingale",
"alternateName": "Nightingale Media Player",
"url": "http://getnightingale.com",
"isFamilyFriendly": true,
"author": {
"@type": "Organization",
"name": "Nightingale Media Player Community",
"url": "http://getnightingale.com",
"logo": "http://static.getnightingale.com/images/nightingale_official_text_outline.png"
"sameAs": [
"https://twitter.com/getnightingale",
"https://facebook.com/getnightingale",
"https://plus.google.com/+Getnightingale"
]
}
}
</script>
</head>
<body>
<div id="instructions">
<section>
<ol type="1">
<li data-l10n-id="ubuntu_firstStep">Open a terminal window</li>
<li><span data-l10n-id="ubuntu_secondStep_pre">Type</span> <code>sudo add-apt-repository ppa:nightingaleteam/nightingale-release</code> <span data-l10n-id="ubuntu_secondStep_post"></span></li>
<li><span data-l10n-id="ubuntu_thirdStep_pre">Then</span> <code>sudo apt-get update</code> <span data-l10n-id="ubuntu_thirdStep_post"></span></span></li>
<li><span data-l10n-id="ubuntu_fourthStep_pre">And finally</span> <a href="apt://nightingale"><code id="ubuntuInstallCode" data-l10n-id="ubuntu_fourthStep_code" data-l10n-args='{"name":"nightingale"}'>sudo apt-get install nightingale</code></a> <span data-l10n-id="ubuntu_fourthStep_post"></span></li>
</ol>
</section>
</div>
<div id="overlay">
</div>
<div id="ngalemainheadwrapper" class="wrapper">
<?php $current = "main";
include "../static.getnightingale.com/php/header.php"; ?>
</div>
</div>
<div class="wrapper" id="wrapper">
<main id="main" class="container">
<div id="contentleft" class="twocolumns">
<div id="screenshots">
<iframe width="702" height="395" src="//www.youtube.com/embed/9Na3CqM6bRg" frameborder="0" allowfullscreen></iframe>
<!--<img src="http://lorempixel.com/702/300" class="twocolumnimage">-->
<div class="relativecenterwrapper">
<div class="realtivecenter">
<button id="downloadbutton" class="download" <?php echo ($download[$osstring]['popup'] ? 'data-popup data-popup-name="'.$download[$osstring]['popupPackageName'].'"':'data-url="'.$download[$osstring]['url'].'"'); ?>>
<img src="<?php echo $download[$osstring]['img']; ?>"
alt="<?php echo $download[$osstring]['osname']; ?> Icon"
data-l10n-id="main_downloadButton_image"
data-l10n-args='{"osName":"<?php echo $download[$osstring]['osname']; ?>"}'
data-hdpi>
<div><b data-l10n-id="main_downloadButton_label">Download Nightingale</b><br>
<small><?php
if($osstring!='unknown') {
echo $download[$osstring]['arch'].'-bit | '.$download[$osstring]['osname'].' <span data-l10n-id="downloads_'.$osstring.'_package">'.$download[$osstring]['package'].'</span>';
}
else {
echo $download[$osstring]['osname'];
}
?></small>
</div>
</button>
<?php
if($osstring!='unknown')
echo '<br><a href="download" id="moredownloadslink" data-l10n-id="main_otherPlattforms">Other platforms and architectures</a>';
?>
</div>
</div>
</div>
<div id="description" data-l10n-id="main_description">
Nightingale is a community support project for the powerful media player Songbird. It is developed by a proud community and we are equally proud to bring you the most extensible and feature-rich media experience. Freaturing smart playlists, an equalizer, Last.fm integration, a customizeable look and hundreds of add-ons. Nightingale has it all.
</div>
</div>
<aside class="column alt-full">
<h2 data-l10n-id="main_aside_title">Why Nightingale?</h2>
<figure class="feature">
<img src="http://lorempixel.com/400/400" alt="" data-l10n-id="main_firstFeature_image">
<figcaption data-l10n-id="main_firstFeature">Wide variety of supported media formats including <abbr title="MPEG-1/2 Audio Layer III">MP3</abbr>, Ogg, <abbr title="Free Lossless Audio Codec">FLAC</abbr>, <abbr title="Waveform Audio File Format">WAV</abbr> and <a href="features#audio_formats">many more</a>.</figcaption>
</figure>
<figure class="feature">
<img src="http://lorempixel.com/404/404" alt="" data-l10n-id="main_secondFeature_image">
<figcaption data-l10n-id="main_secondFeature">Highly customizable user interface due to hundreds of <a href="//addons.getnightingale.com">themes and add-ons</a>.</figcaption>
</figure>
<figure class="feature">
<img src="http://lorempixel.com/401/401" alt="" data-l10n-id="main_thirdFeature_image">
<figcaption data-l10n-id="main_thirdFeature">Slick and easy to understand design. The interface stays out of your way while still enabling easy management of big libraries. <!-- link to screenshots --></figcaption>
</figure>
</aside>
</main>
</div>
<div class="wrapper" id="ngalemainfooterwrapper">
<?php include "../static.getnightingale.com/php/footer.php"; ?>
</div>
<!-- Piwik -->
<script type="application/javascript">
var _paq = _paq || [];
_paq.push(["trackPageView"]);
_paq.push(["enableLinkTracking"]);
(function() {
var u=(("https:" == document.location.protocol) ? "https" : "http") + "://stats.getnightingale.com/";
_paq.push(["setTrackerUrl", u+"piwik.php"]);
_paq.push(["setSiteId", "2"]);
var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="application/javascript";
g.defer=true; g.async=true; g.src=u+"piwik.js"; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Piwik Code -->
</body>
</html>