-
Notifications
You must be signed in to change notification settings - Fork 1
/
en.php
139 lines (125 loc) · 5.84 KB
/
en.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
<!DOCTYPE HTML>
<html lang="en">
<head>
<style>
body {
background:url('./bg/background<?php echo(rand(1,count(glob("../../bg/*.*"))))?>.png');
}
</style>
<title>Solaris Project - 3D Space Simulations Online</title>
<meta charset="utf-8" />
<meta name="robots" content="index, follow" />
<meta name="description" content="The Solaris Project is a collection of 3D space simulations which permit you to discover the solar system and more." />
<meta name="viewport" content="width=device-width, user-scalable=no">
<link rel="stylesheet" href="css/home.min.css" />
<link rel="icon" type="image/x-icon" href="icon.ico" />
<?php
if(isset($_GET["v"]) && $_GET["v"]) {
$compteur = fopen("compteur.txt","r+");
$visites = fgets($compteur);
fclose($compteur);
} else {
$compteur = fopen("compteur.txt","r+");
$visites = fgets($compteur);
$visites += 1;
fseek($compteur,0);
fputs($compteur,$visites);
fclose($compteur);
}
?>
</head>
<body id="corps">
<h1 id="titre">Solaris Project <br/><span class="soustitre">3D space simulations online</span></h1>
<p id="contact"><a href="contact-en.php">Feedback</a></p>
<div id="news">
<p><a href="news-en.php">What's new ?</a></p>
<div id="news-content">
<p>Version 2<span class="point">.</span>9
<br/>- Added an ambient music
<br/>- You can now disable the ambient music by pressing [M]
<br/>- You can now toggle the information pannel by pressing [I]
<br/>- You can now set a new date by pressing [T]
<br/>- Improved interface on PC
<br/>- Improved interface on mobile
<br/>- You can now access the information pannel on mobile
<br/>- Improved Galaxies
<br/>- Little Fixes
<br/>- Added new backgrounds
<br/>- Change patch note's font (seriously, that was unreadable ^^)
</p>
</div>
</div>
<div id="start">Start</div>
<div id="qualcontrol">
<a href="simulations/solaris/en.php?q=low" id="low">
<img src="data/menu/low.png" alt="Solar System (lightened)"/>
<h3>Solar System <br/>(lightened) </h3>
</a>
<a href="simulations/solaris/en.php?q=high" id="high">
<img src="data/menu/high.png" alt="Solar System"/>
<h3>Solar System </h3>
</a>
<a href="simulations/galaxy/en.php" id="galaxy">
<img src="data/menu/galaxy.png" alt="Galaxy"/>
<h3>Galaxy </h3>
</a>
<a href="simulations/scales/en.php" id="scales">
<img src="data/menu/scales.png" alt="Universe's scales"/>
<h3>Universe's scales </h3>
</a>
<a href="simulations/moon-earth/en.php" id="terre">
<img src="data/menu/moon-earth.png" alt="Earth and Moon"/>
<h3>Earth and Moon </h3>
</a>
<a href="simulations/hyperspace/en.php" id="hyperspace">
<img src="data/menu/hyperspace.png" alt="HyperSpace"/>
<h3>HyperSpace Travel </h3>
</a>
<a href="simulations/jupiter/en.php" id="jupiter">
<img src="data/menu/jupiter.png" alt="Jupiter and its satellites"/>
<h3>Jupiter and its satellites </h3>
</a>
<a href="simulations/saturne/en.php" id="saturne">
<img src="data/menu/saturne.png" alt="Saturne and its satellites"/>
<h3>Saturn and its satellites </h3>
</a>
<a href="simulations/mars/en.php" id="mars">
<img src="data/menu/mars.png" alt="Mars"/>
<h3>Mars (4 billion years ago) </h3>
</a>
<a href="simulations/pulsar/en.php" id="pulsar">
<img src="data/menu/pulsar.png" alt="Pulsar"/>
<h3>Pulsars </h3>
</a>
<a href="simulations/uranus/en.php" id="uranus">
<img src="data/menu/uranus.png" alt="Uranus and its saltellites"/>
<h3>Uranus and its satellites </h3>
</a>
<a href="gallery.php" id="gallery">
<img src="data/menu/gallery.png" alt="Gallery"/>
<h3>Gallery </h3>
</a>
</div>
<a href="https://twitter.com/ProjetSolaris" class="twitter-follow-button" data-show-count="false" data-size="large" data-dnt="true">Follow @ProjetSolaris</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
<a href="index.php?v=true"><img alt="french" class="flag" src="data/menu/french.png"/></a>
<?php include("includes/en/footer.html"); ?>
<script>
document.getElementById("start").addEventListener("click", () => {
document.getElementById("start").style.display = "none";
document.getElementById("qualcontrol").classList.toggle("showMenu");
for(let elm of document.querySelectorAll("#qualcontrol a")) {
elm.classList.toggle("toTop");
setTimeout(() => elm.style.transitionDelay = "0s", 1000);
}
});
</script>
<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','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-91827071-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>