website view index.php @ rev 924

fr: Update main page and news goes PHP
author Christophe Lincoln <pankso@slitaz.org>
date Mon Mar 12 01:19:45 2012 +0100 (2012-03-12)
parents fc144258f2b7
children 41992b4f5268
line source
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4 <head>
5 <title>SliTaz GNU/Linux</title>
6 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
7 <meta name="description" content="SliTaz GNU/Linux LiveCD operating system" />
8 <meta name="keywords" lang="en" content="slitaz, gnu, linux, opensource, livecd, live usb" />
9 <meta name="robots" content="index, follow, all" />
10 <meta name="modified" content="<?php echo (date( "Y-m-d H:i:s", getlastmod())); ?>" />
11 <meta name="author" content="Christophe Lincoln" />
12 <meta name="verify-v1" content="qieECDfB5l+EBkG8QMNuHOGfol0/MEe4U22/4iVupNw=" />
13 <link rel="shortcut icon" href="favicon.ico" />
14 <link rel="stylesheet" type="text/css" href="slitaz.css" />
15 <link rel="alternate" type="application//rss.xml" title="SliTaz Website feed" href="/rss.xml" />
16 <link rel="alternate" type="application/atom+xml" title="SliTaz Forum feed" href="http://forum.slitaz.org/rss" />
17 <link rel="alternate" type="application//rss.xml" title="SliTaz SCN feed" href="http://scn.slitaz.org//rss.xml" />
18 </head>
19 <body>
21 <?php
22 include("config.php");
23 include("lib/html/header.html");
24 ?>
26 <!-- Block -->
27 <div id="block">
28 <!-- Navigation -->
29 <div id="block_nav" style="text-align: center; padding: 10px;">
30 <?php include("lib/random-image.php"); ?>
31 </div>
32 <!-- Information/image -->
33 <div id="block_info">
34 <h4>About SliTaz</h4>
35 <p>
36 SliTaz is an open source and free operating system providing
37 a fully featured desktop or server in less than 35 MB. SliTaz
38 is simple to use, fast and stable. We have an active community
39 and contributors from all over the world making SliTaz finer
40 every day.
41 </p>
42 <div class="button" style="text-align: left;">
43 Download:
44 <?php echo "<a href='$stable_iso'>SliTaz $stable_ver</a>
45 <a href='$cooking_iso'>SliTaz $cooking</a>"; ?>
46 </div>
47 </div>
48 </div>
50 <!-- Languages -->
51 <div id="lang">
52 <a href="i18n.php"><img src="images/locale.png" alt="locale.png" /></a>
53 <a href="da/">Dansk</a>
54 <a href="de/">Deutsch</a>
55 <a href="en/">English</a>
56 <a href="es/">Español</a>
57 <a href="fr/">Français</a>
58 <a href="id/">Indonesian</a>
59 <a href="it/">Italiano</a>
60 <a href="pt/">Português</a>
61 <a href="cn/">Chinese</a>
62 </div>
64 <!-- Content -->
65 <div id="content">
67 <div class="box">
68 <img src="images/update.png" style="float: left; margin-right: 10px; " />
69 <p>
70 Help us get a dedicated server - Check out our
71 <a href="http://www.gofundme.com/3ql70">online fundraising</a>
72 </p>
73 </div>
75 <!-- We just keep the last 4 web site news -->
76 <div class="news">
78 <h2>Latest News</h2>
80 <ul>
81 <li><strong><a href="en/#news">SliTaz 4.0 RC2 is out</a></strong>
82 <span>- 03 Mar 2012</span></li>
83 <li><strong><a href="en/#20120223">SliTaz 4.0 RC1 is out</a></strong>
84 <span>- 23 Feb 2012</span></li>
85 <li><strong><a href="en/#20110531">New and fresh Cooking 20110531</a></strong>
86 <span>- 31 May 2011</span></li>
87 <li><strong><a href="en/#20110329">New Cooking 20110329</a></strong>
88 <span>- 29 March 2011</span></li>
89 </ul>
91 <!-- End of news -->
92 </div>
94 <h2>Project Activity</h2>
95 <?php require_once("lib/get-feeds.php"); ?>
97 <div class="activity">
98 <p>
99 <a href="http://scn.slitaz.org/activity/"><img
100 src="images/users.png" alt="users.png" /></a>
101 Community activity
102 <?php get_feed("scn.xml"); ?>
103 </div>
104 <p class="activity_more">
105 <a href="http://scn.slitaz.org/activity/">More activity</a>
106 </p>
107 </div>
109 <div class="activity">
110 <p>
111 <a href="http://hg.slitaz.org/">
112 <img src="images/development.png" alt="development.png" /></a>
113 Latest commits in wok
114 <?php get_feed("wok.xml"); ?>
115 </div>
116 <p class="activity_more">
117 <a href="http://hg.slitaz.org/">More commits</a>
118 </p>
119 </div>
121 <h2>Blog Posts</h2>
123 <div class="news">
124 <?php get_feed_blog("blog.xml"); ?>
125 </div>
127 <h2>Latest Tweet</h2>
128 <div id="twitter">
129 <script src="http://widgets.twimg.com/j/2/widget.js"></script>
130 <script>
131 new TWTR.Widget({
132 version: 2,
133 type: 'profile',
134 rpp: 4,
135 interval: 6000,
136 width: '100%',
137 height: 200,
138 theme: {
139 shell: {
140 background: '#eaeaea',
141 color: '#000000'
142 },
143 tweets: {
144 background: '#ffffff',
145 color: '#000000',
146 links: '#3a4885'
147 }
148 },
149 features: {
150 scrollbar: false,
151 loop: false,
152 live: false,
153 hashtags: true,
154 timestamp: true,
155 avatars: false,
156 behavior: 'all'
157 }
158 }).render().setUser('slitaz').start();
159 </script>
160 </div>
162 <h2>Spread SliTaz</h2>
163 <p>
164 One way to help the project is to make SliTaz even more popular.
165 Blog, Tweet this page, share and talk about the project. SliTaz
166 is also social, you can join us, share artwork or post a blog on the
167 <a href="http://scn.slitaz.org/">SliTaz Community Network</a>,
168 "Like" the official SliTaz Facebook page and get involved!
169 </p>
171 <?php include("lib/html/social.html"); ?>
173 <h2>Monetary support</h2>
174 <p>
175 SliTaz is made by volunteers and there is no company behind
176 the project, but we desperately need some money to maintain the
177 project infrastructure and services such as the main server and
178 build host. You can help with a micropayment via Flattr or a
179 Paypal donation to the SliTaz <a href="en/asso/">Association</a>,
180 that way we can keep our freedom and autonomy without having any
181 ads on our sites.
182 </p>
184 <?php include("lib/html/donate.html"); ?>
186 <h2>Internationalization</h2>
187 <p>
188 The SliTaz web site is available in several languages and maintained by the
189 <a href="i18n.php">internationalization</a> team (i18n). Help is often
190 needed and you're welcome to join us if you would like to see the website
191 translated into your language.
192 </p>
193 <p>
194 <img src="images/users.png" alt="users.png" />
195 <a href="http://scn.slitaz.org/groups/i18n/">Join i18n group on SCN</a>
196 </p>
198 <!-- End of content -->
199 </div>
201 <?php include("lib/html/footer.html"); ?>
203 </body>
204 </html>