website view index.php @ rev 1040

Check whole website in W3C Validator (again), separate lib/follow, hide js in cdata
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Apr 08 11:47:30 2012 +0300 (2012-04-08)
parents 5bf6a1f55638
children 48c326b5198d
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 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
6 <title>SliTaz GNU/Linux</title>
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="author" content="Christophe Lincoln" />
10 <meta name="verify-v1" content="qieECDfB5l+EBkG8QMNuHOGfol0/MEe4U22/4iVupNw=" />
11 <?php include("lib/html/meta-link.html"); ?>
12 <!-- Link to Forum and SCN feed -->
13 <link rel="alternate" type="application/rss+xml" title="SliTaz Forum Feed" href="http://forum.slitaz.org/rss" />
14 <link rel="alternate" type="application/rss+xml" title="SliTaz SCN Feed" href="http://scn.slitaz.org/feed/" />
15 </head>
16 <body>
18 <?php
19 include("config.php");
20 include("lib/html/header.html");
21 ?>
23 <!-- Block -->
24 <div id="block">
25 <!-- Navigation -->
26 <div id="block_nav" style="text-align: center; padding: 10px;">
27 <?php include("lib/random-image.php"); ?>
28 </div>
29 <!-- Information/image -->
30 <div id="block_info">
31 <h4>About SliTaz</h4>
32 <p>
33 SliTaz is an open source and free operating system providing
34 a fully featured desktop or server in less than 35 MB. SliTaz
35 is simple to use, fast and stable. We have an active community
36 and contributors from all over the world making SliTaz finer
37 every day.
38 </p>
39 <div class="button" style="text-align: left;">
40 Download:
41 <?php echo "<a href='$stable_iso'>SliTaz $stable_ver</a>
42 <a href='$cooking_iso'>SliTaz $cooking</a>"; ?>
43 </div>
44 </div>
45 </div>
47 <?php include "lib/lang.php" ?>
49 <!-- Content -->
50 <div id="content">
52 <div class="box-up">
53 <p>
54 Help us get a dedicated server — Check out our
55 <a href="http://www.gofundme.com/3ql70">online fundraising</a>,
56 <a href="http://usbkey.slitaz.org/">USB Key Project</a> or
57 become an official <a href="/en/sponsor/">sponsor</a>
58 </p>
59 </div>
61 <!-- Featured sponsor -->
62 <div id="sponsor">
63 <p><strong>Featured sponsor</strong></p>
64 <?php include("lib/rand-sponsor.php"); ?>
65 <p><a href="/en/sponsor/">Become a sponsor</a></p>
66 </div>
68 <!-- We just keep the last 4 web site news -->
69 <div class="news" style="margin-right: 220px;">
71 <h2>Latest News</h2>
73 <ul>
74 <li><strong><a href="en/#news">SliTaz 4.0 RC2 is out</a></strong>
75 <span>— 03 Mar 2012</span></li>
76 <li><strong><a href="en/#20120223">SliTaz 4.0 RC1 is out</a></strong>
77 <span>— 23 Feb 2012</span></li>
78 <li><strong><a href="en/#20110531">New and fresh Cooking 20110531</a></strong>
79 <span>— 31 May 2011</span></li>
80 <li><strong><a href="en/#20110329">New Cooking 20110329</a></strong>
81 <span>— 29 March 2011</span></li>
82 </ul>
84 <!-- End of news -->
85 </div>
87 <h2>Project Activity</h2>
89 <?php require_once("lib/get-feeds.php"); ?>
91 <div class="activity">
92 <p>
93 <a href="http://scn.slitaz.org/activity/"><img
94 src="images/users.png" alt="*" /></a>
95 Community activity
96 <?php get_feed("scn.xml"); ?>
97 </div>
98 <p class="activity_more">
99 <a href="http://scn.slitaz.org/activity/">More activity</a>
100 </p>
101 </div>
103 <div class="activity">
104 <p>
105 <a href="http://forum.slitaz.org/"><img
106 src="/images/support.png" alt="*" /></a>
107 Forum activity
108 <?php get_feed_forum("forum.xml"); ?>
109 </div>
110 <p class="activity_more">
111 <a href="http://forum.slitaz.org/">More support</a>
112 </p>
113 </div>
115 <div class="activity">
116 <p>
117 <a href="http://hg.slitaz.org/">
118 <img src="images/development.png" alt="*" /></a>
119 Latest commits in wok
120 <?php get_feed("wok.xml"); ?>
121 </div>
122 <p class="activity_more">
123 <a href="http://hg.slitaz.org/">More commits</a>
124 </p>
125 </div>
127 <h2>Blog Posts</h2>
129 <div class="news">
130 <?php get_feed_blog("blog.xml"); ?>
131 </div>
133 <h2>Latest Tweet</h2>
135 <div id="twitter">
136 <script src="http://widgets.twimg.com/j/2/widget.js"></script>
137 <script>
138 new TWTR.Widget({
139 version: 2,
140 type: 'profile',
141 rpp: 4,
142 interval: 6000,
143 width: '100%',
144 height: 200,
145 theme: {
146 shell: {
147 background: '#efefef',
148 color: '#000000'
149 },
150 tweets: {
151 background: '#ffffff',
152 color: '#000000',
153 links: '#3a4885'
154 }
155 },
156 features: {
157 scrollbar: false,
158 loop: false,
159 live: false,
160 hashtags: true,
161 timestamp: true,
162 avatars: false,
163 behavior: 'all'
164 }
165 }).render().setUser('slitaz').start();
166 </script>
167 </div>
169 <h2>Spread SliTaz</h2>
171 <p>
172 One way to help the project is to make SliTaz even more popular.
173 Blog, Tweet this page, share and talk about the project. SliTaz
174 is also social, you can join us, share artwork or post a blog on the
175 <a href="http://scn.slitaz.org/">SliTaz Community Network</a>,
176 "Like" the official SliTaz Facebook page and get involved!
177 </p>
179 <?php include("lib/html/social.html"); ?>
181 <h2>Monetary support</h2>
183 <p>
184 SliTaz is made by volunteers and there is no company behind
185 the project, but we desperately need some money to maintain the
186 project infrastructure and services such as the main server and
187 build host. You can help with a micropayment via Flattr or a
188 Paypal donation to the SliTaz <a href="en/asso/">Association</a>,
189 that way we can keep our freedom and autonomy without having any
190 ads on our sites.
191 </p>
193 <?php include("lib/html/donate.html"); ?>
195 <h2>Internationalization</h2>
197 <p>
198 The SliTaz web site is available in several languages and maintained by the
199 <a href="i18n.php">internationalization</a> team (i18n). Help is often
200 needed and you're welcome to join us if you would like to see the website
201 translated into your language.
202 </p>
203 <p>
204 <img src="images/users.png" alt="*" />
205 <a href="http://scn.slitaz.org/groups/i18n/">Join i18n group on SCN</a>
206 </p>
208 <!-- End of content -->
209 </div>
211 <?php include("lib/html/footer.html"); ?>
213 </body>
214 </html>