website diff index.php @ rev 1173

clean up main index, add files and now waiting on CGI/SHell support
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jan 08 11:11:43 2014 +0100 (2014-01-08)
parents 3d26c92b1820
children de926b623824
line diff
     1.1 --- a/index.php	Wed Jan 08 11:04:32 2014 +0100
     1.2 +++ b/index.php	Wed Jan 08 11:11:43 2014 +0100
     1.3 @@ -1,182 +1,5 @@
     1.4 -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     1.5 -	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     1.6 -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
     1.7 +<html>
     1.8  <head>
     1.9 -	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
    1.10 -	<title>SliTaz GNU/Linux</title>
    1.11 -	<meta name="description" content="SliTaz GNU/Linux LiveCD operating system" />
    1.12 -	<meta name="keywords" lang="en" content="slitaz, gnu, linux, opensource, livecd, live usb" />
    1.13 -	<meta name="author" content="Christophe Lincoln" />
    1.14 -	<meta name="verify-v1" content="qieECDfB5l+EBkG8QMNuHOGfol0/MEe4U22/4iVupNw=" />
    1.15 -	<?php include("lib/html/meta-link.html"); ?>
    1.16 -	<!-- Link to Forum and SCN feed -->
    1.17 -	<link rel="alternate" type="application/rss+xml" title="SliTaz Forum Feed" href="http://forum.slitaz.org/rss" />
    1.18 -	<link rel="alternate" type="application/rss+xml" title="SliTaz SCN Feed" href="http://scn.slitaz.org/feed/" />
    1.19 +	<meta http-equiv="refresh" content="0; URL=en/">
    1.20  </head>
    1.21 -<body>
    1.22 -
    1.23 -<?php
    1.24 -include("config.php");
    1.25 -include("lib/html/header.html");
    1.26 -?>
    1.27 -
    1.28 -<!-- Block -->
    1.29 -<div id="block">
    1.30 -	<!-- Navigation -->
    1.31 -	<div id="block_nav" style="text-align: center; padding: 10px;">
    1.32 -		<?php include("lib/random-image.php"); ?>
    1.33 -	</div>
    1.34 -	<!-- Information/image -->
    1.35 -	<div id="block_info">
    1.36 -		<h4>About SliTaz</h4>
    1.37 -		<p>
    1.38 -			SliTaz is an open source and free operating system providing
    1.39 -			a fully featured desktop or server in less than 35 MB. SliTaz
    1.40 -			is simple to use, fast and stable. We have an active community
    1.41 -			and contributors from all over the world making SliTaz finer
    1.42 -			every day.
    1.43 -		</p>
    1.44 -		<div class="button" style="text-align: left;">
    1.45 -			Download:
    1.46 -			<?php echo "<a href='$stable_iso'>SliTaz $stable_ver</a>
    1.47 -				<a href='$cooking_iso'>SliTaz $cooking</a>"; ?>
    1.48 -		</div>
    1.49 -	</div>
    1.50 -</div>
    1.51 -
    1.52 -<?php include "lib/lang.php" ?>
    1.53 -
    1.54 -<!-- Content -->
    1.55 -<div id="content">
    1.56 -
    1.57 -<!--<div class="box-up">
    1.58 -	<p>
    1.59 -		Check out our <a href="http://usbkey.slitaz.org/">USB Key Project</a>!
    1.60 -	</p>
    1.61 -</div>-->
    1.62 -
    1.63 -<!-- Featured sponsor -->
    1.64 -<div id="sponsor">
    1.65 -	<p><strong>Featured sponsor</strong></p>
    1.66 -	<?php include("lib/rand-sponsor.php"); ?>
    1.67 -	<p><a href="/en/sponsor/">Become a sponsor</a></p>
    1.68 -</div>
    1.69 -
    1.70 -<!-- We just keep the last 5 web site news -->
    1.71 -<div class="news" style="margin-right: 220px;">
    1.72 -
    1.73 -<h2>Latest Release</h2>
    1.74 -
    1.75 -<ul>
    1.76 -	<li><strong><a href="en/#d20120410">SliTaz 4.0 Release</a></strong>
    1.77 -		<span>— 10 Apr 2012</span></li>
    1.78 -	<li><strong><a href="en/#d20120303">SliTaz 4.0 RC2 is out</a></strong>
    1.79 -		<span>— 03 Mar 2012</span></li>
    1.80 -	<li><strong><a href="en/#d20120223">SliTaz 4.0 RC1 is out</a></strong>
    1.81 -		<span>— 23 Feb 2012</span></li>
    1.82 -	<li><strong><a href="en/news/#d20110531">New and fresh Cooking 20110531</a></strong>
    1.83 -		<span>— 31 May 2011</span></li>
    1.84 -	<li><strong><a href="en/news/#d20110329">New Cooking 20110329</a></strong>
    1.85 -		<span>— 29 March 2011</span></li>
    1.86 -</ul>
    1.87 -
    1.88 -<!-- End of news -->
    1.89 -</div>
    1.90 -
    1.91 -<h2>Project Activity</h2>
    1.92 -
    1.93 -<?php require_once("lib/get-feeds.php"); ?>
    1.94 -
    1.95 -<div class="activity">
    1.96 -	<p>
    1.97 -		<a href="http://scn.slitaz.org/activity/"><img
    1.98 -			src="images/users.png" alt="*" /></a>
    1.99 -		Community activity
   1.100 -		<?php get_feed("scn.xml"); ?>
   1.101 -	</div>
   1.102 -	<p class="activity_more">
   1.103 -		<a href="http://scn.slitaz.org/activity/">More activity</a>
   1.104 -	</p>
   1.105 -</div>
   1.106 -
   1.107 -<div class="activity">
   1.108 -	<p>
   1.109 -		<a href="http://forum.slitaz.org/"><img
   1.110 -			src="/images/support.png" alt="*" /></a>
   1.111 -		Forum activity
   1.112 -		<?php get_feed_forum("forum.xml"); ?>
   1.113 -	</div>
   1.114 -	<p class="activity_more">
   1.115 -		<a href="http://forum.slitaz.org/">More support</a>
   1.116 -	</p>
   1.117 -</div>
   1.118 -
   1.119 -<div class="activity">
   1.120 -	<p>
   1.121 -		<a href="http://hg.slitaz.org/?sort=lastchange"><img
   1.122 -			src="images/development.png" alt="*" /></a>
   1.123 -		Latest commits in wok
   1.124 -		<?php get_feed("wok.xml"); ?>
   1.125 -	</div>
   1.126 -	<p class="activity_more">
   1.127 -		<a href="http://hg.slitaz.org/?sort=lastchange">More commits</a>
   1.128 -	</p>
   1.129 -</div>
   1.130 -
   1.131 -<h2>Blog Posts</h2>
   1.132 -
   1.133 -<div class="news">
   1.134 -	<?php get_feed_blog("blog.xml"); ?>
   1.135 -</div>
   1.136 -
   1.137 -<div id="twitter">
   1.138 -<a class="twitter-timeline"  href="https://twitter.com/slitaz"  data-widget-id="420830244551938048">Tweets by @slitaz</a>
   1.139 -    <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>
   1.140 -</div>
   1.141 -
   1.142 -<h2>Spread SliTaz</h2>
   1.143 -
   1.144 -<p>
   1.145 -	One way to help the project is to make SliTaz even more popular.
   1.146 -	Blog, Tweet this page, share and talk about the project. SliTaz
   1.147 -	is also social, you can join us, share artwork or post a blog on the
   1.148 -	<a href="http://scn.slitaz.org/">SliTaz Community Network</a>,
   1.149 -	"Like" the official SliTaz Facebook page and get involved!
   1.150 -</p>
   1.151 -
   1.152 -<?php include("lib/html/social.html"); ?>
   1.153 -
   1.154 -<h2>Monetary support</h2>
   1.155 -
   1.156 -<p>
   1.157 -	SliTaz is made by volunteers and there is no company behind
   1.158 -	the project, but we desperately need some money to maintain the
   1.159 -	project infrastructure and services such as the main server and
   1.160 -	build host. You can help with a micropayment via Flattr or a
   1.161 -	Paypal donation to the SliTaz <a href="en/asso/">Association</a>,
   1.162 -	that way we can keep our freedom and autonomy without having any
   1.163 -	ads on our sites.
   1.164 -</p>
   1.165 -
   1.166 -<?php include("lib/html/donate.html"); ?>
   1.167 -
   1.168 -<h2>Internationalization</h2>
   1.169 -
   1.170 -<p>
   1.171 -The SliTaz web site is available in several languages and maintained by the
   1.172 -<a href="i18n.php">internationalization</a> team (i18n). Help is often
   1.173 -needed and you're welcome to join us if you would like to see the website
   1.174 -translated into your language.
   1.175 -</p>
   1.176 -<p>
   1.177 -	<img src="images/users.png" alt="*" />
   1.178 -	<a href="http://scn.slitaz.org/groups/i18n/">Join i18n group on SCN</a>
   1.179 -</p>
   1.180 -
   1.181 -<!-- End of content -->
   1.182 -</div>
   1.183 -
   1.184 -<?php include("lib/html/footer.html"); ?>
   1.185 -
   1.186 -</body>
   1.187  </html>