|
1 | 1 | <?php
|
2 |
| - if(isset($_GET["OS"]) ) |
3 |
| - $OS = $_GET["OS"] ; |
4 |
| - $os = $OS; ?> |
5 |
| - |
| 2 | +require 'fragments/file-buttons.php'; |
| 3 | +$version = "3.0"; |
| 4 | + |
| 5 | +if (isset ( $_GET ["OS"] )) |
| 6 | + $OS = $_GET ["OS"]; |
| 7 | +$os = strtolower ( substr ( $OS, 0, 3 ) ); |
| 8 | +?> |
| 9 | + |
6 | 10 | <!DOCTYPE html>
|
7 | 11 | <html lang="en">
|
8 |
| - <head> |
9 |
| - <meta charset="utf-8"> |
10 |
| - <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
11 |
| - <meta name="viewport" content="width=device-width, initial-scale=1"> |
12 |
| - <meta name="description" content=""> |
13 |
| - <meta name="author" content="Roberto Lo Giacco"> |
14 |
| - <link rel="shortcut icon" href="http://eclipse.baeyens.it/favicon.ico"> |
| 12 | +<head> |
| 13 | +<meta charset="utf-8"> |
| 14 | +<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| 15 | +<meta name="viewport" content="width=device-width, initial-scale=1"> |
| 16 | +<meta name="description" content=""> |
| 17 | +<meta name="author" content="Roberto Lo Giacco"> |
| 18 | +<link rel="shortcut icon" href="http://eclipse.baeyens.it/favicon.ico"> |
15 | 19 |
|
16 | 20 |
|
17 | 21 | <?php echo "<title>Arduino Eclipse IDE - $OS Latest Stable</title>"; ?>
|
18 | 22 |
|
19 | 23 | <!-- Bootstrap core CSS and theme -->
|
20 |
| - <link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css"> |
21 |
| - <link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap-theme.min.css"> |
| 24 | +<link rel="stylesheet" |
| 25 | + href="https://netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css"> |
| 26 | +<link rel="stylesheet" |
| 27 | + href="https://netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap-theme.min.css"> |
22 | 28 |
|
23 |
| - <!-- Custom styles --> |
24 |
| - <link href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,600italic,600,300|Open+Sans+Condensed:300,700|Ubuntu+Mono:400,700,400italic,700italic' rel='stylesheet' type='text/css'> |
25 |
| - <link href="css/theme.css" rel="stylesheet"> |
| 29 | +<!-- Custom styles --> |
| 30 | +<link |
| 31 | + href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,600italic,600,300|Open+Sans+Condensed:300,700|Ubuntu+Mono:400,700,400italic,700italic' |
| 32 | + rel='stylesheet' type='text/css'> |
| 33 | +<link href="css/theme.css" rel="stylesheet"> |
26 | 34 |
|
27 |
| - </head> |
| 35 | +</head> |
28 | 36 |
|
29 |
| - <body role="document" > |
| 37 | +<body role="document"> |
30 | 38 |
|
31 |
| - <!-- Fixed navbar --> |
32 |
| - <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation"> |
| 39 | + <!-- Fixed navbar --> |
| 40 | + <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation"> |
33 | 41 | <?php include 'fragments/navbar.html';?>
|
34 | 42 | </nav>
|
35 | 43 |
|
36 |
| - <div class="container" role="main"> |
37 |
| - <div class="page-header"> |
| 44 | + <div class="container" role="main"> |
| 45 | + <div class="page-header"> |
38 | 46 | <?php echo "<h1>$OS Latest Stable <small>runs smoothly and nicely</small></h1>"; ?>
|
39 | 47 | <a name="top"> </a>
|
| 48 | + </div> |
| 49 | + <p>This is the latest stable build of Arduino Eclipse IDE and it's |
| 50 | + available as a product and a plugin: pick the one you prefer!</p> |
| 51 | + <h3>Product bundle</h3> |
| 52 | + <a name="product"> </a> |
| 53 | + <p>Strongly advised when you are new to the Arduino eclipse IDE.</p> |
| 54 | + <p>This is the simplest way to start using Arduino Eclipse as it |
| 55 | + bundles in one single download a complete setup including a stable |
| 56 | + version of the Eclipse CDT and the latest stable build of our great |
| 57 | + Arduino eclipse IDE!</p> |
| 58 | + <p>Watch this movie to see how easy it is to get started:</p> |
| 59 | + <iframe width="560" height="315" |
| 60 | + src="https://www.youtube.com/embed/HE5iYxv-B-o" frameborder="0" |
| 61 | + allowfullscreen></iframe> |
| 62 | + <div class="row"> |
| 63 | + <?php listFiles("V" . $version . '_' . $os);?> |
40 | 64 | </div>
|
41 |
| - <p>This is the latest stable build of Arduino Eclipse IDE and it's available as a product and a plugin: pick the one you prefer!</p> |
42 |
| - <h3>Product bundle</h3> |
43 |
| - <a name="product"> </a> |
44 |
| - <p>Strongly advised when you are new to the Arduino eclipse IDE.</p> |
45 |
| - <p>This is the simplest way to start using Arduino Eclipse as it bundles in one single download a complete setup including a stable version of the Eclipse CDT and the latest stable build of our great Arduino eclipse IDE!</p> |
46 |
| - <p>Watch this movie to see how easy it is to get started:</p> |
47 |
| - <iframe width="560" height="315" src="https://www.youtube.com/embed/HE5iYxv-B-o" frameborder="0" allowfullscreen></iframe> |
48 |
| - <div class="row"> |
49 |
| - <?php include 'fragments/file-buttons.php?arch=$OS&ver=3.0';?> |
50 |
| - </div> |
51 |
| - <a href="#top" scroll-to="top">Back to top</a> |
52 |
| - <h3>Plugin update site</h3><a name="plugin"> </a> |
53 |
| - <p>If you want to pick a different version of the Eclipse CDT than the one included in the product bundle or you want to add the Arduino Eclipse plugin to an existing installation this is the way to go.</p> |
54 |
| - <div class="row"> |
55 |
| - <div class="col-md-4 col-md-offset-4"> |
56 |
| - <div class="well text-center">http://www.baeyens.it/eclipse/V3</div> |
57 |
| - </div> |
58 |
| - </div> |
59 |
| - </div><!-- /container --> |
| 65 | + <a href="#top" scroll-to="top">Back to top</a> |
| 66 | + <h3>Plugin update site</h3> |
| 67 | + <a name="plugin"> </a> |
| 68 | + <p>If you want to pick a different version of the Eclipse CDT than the |
| 69 | + one included in the product bundle or you want to add the Arduino |
| 70 | + Eclipse plugin to an existing installation this is the way to go.</p> |
| 71 | + <div class="row"> |
| 72 | + <div class="col-md-4 col-md-offset-4"> |
| 73 | + <div class="well text-center">http://www.baeyens.it/eclipse/V3</div> |
| 74 | + </div> |
| 75 | + </div> |
| 76 | + </div> |
| 77 | + <!-- /container --> |
60 | 78 |
|
61 |
| - <div id="footer"> |
| 79 | + <div id="footer"> |
62 | 80 | <?php include 'fragments/footer.html';?>
|
63 | 81 | </div>
|
64 |
| - </body> |
| 82 | +</body> |
65 | 83 |
|
66 |
| - <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> |
67 |
| - <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.1.0/js/bootstrap.min.js"></script> |
68 |
| - <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angular.min.js"></script> |
69 |
| - <script src="js/marked.min.js"></script> |
70 |
| - <script src="js/angular-marked.min.js"></script> |
71 |
| - <script src="js/ui-bootstrap-tpls.js"></script> |
72 |
| - <script src="js/app.js"></script> |
| 84 | +<script |
| 85 | + src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> |
| 86 | +<script |
| 87 | + src="https://maxcdn.bootstrapcdn.com/bootstrap/3.1.0/js/bootstrap.min.js"></script> |
| 88 | +<script |
| 89 | + src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angular.min.js"></script> |
| 90 | +<script src="js/marked.min.js"></script> |
| 91 | +<script src="js/angular-marked.min.js"></script> |
| 92 | +<script src="js/ui-bootstrap-tpls.js"></script> |
| 93 | +<script src="js/app.js"></script> |
73 | 94 | </html>
|
0 commit comments