website rev 934
Add lib/html/nav.cn.html and switch get page to PHP
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Mar 13 00:14:12 2012 +0100 (2012-03-13) |
parents | 2d0a6d134a55 |
children | 828f0aab6109 |
files | cn/get/index.php lib/html/nav.cn.html |
line diff
1.1 --- a/cn/get/index.php Mon Mar 12 23:50:14 2012 +0100 1.2 +++ b/cn/get/index.php Tue Mar 13 00:14:12 2012 +0100 1.3 @@ -4,55 +4,21 @@ 1.4 <head> 1.5 <title>SliTaz (cn) - Download</title> 1.6 <meta http-equiv="content-type" content="text/html; charset=utf-8" /> 1.7 - <meta name="description" content="SliTaz GNU/Linux 关于信息" /> 1.8 - <meta name="keywords" lang="cn" content="slitaz artwork" /> 1.9 - <meta name="robots" content="index, follow, all" /> 1.10 - <meta name="modified" content="<?php echo (date( "Y-m-d H:i:s", getlastmod())); ?>" /> 1.11 - <meta name="author" content="Draplater" /> 1.12 - <link rel="shortcut icon" href="../../favicon.ico" /> 1.13 - <link rel="stylesheet" type="text/css" href="../../slitaz.css" /> 1.14 + <meta name="description" content="SliTaz GNU/Linux 关于信息" /> 1.15 + <meta name="keywords" lang="cn" content="slitaz artwork" /> 1.16 + <meta name="author" content="Draplater" /> 1.17 + <?php include("../../lib/html/meta-link.html"); ?> 1.18 </head> 1.19 <body> 1.20 1.21 -<!-- Header --> 1.22 -<div id="header"> 1.23 - <div id="logo"></div> 1.24 - <div id="network"> 1.25 - <a href="http://www.slitaz.org/netmap.php"> 1.26 - <img src="../../images/network.png" alt="network.png" /></a> 1.27 - <a href="http://scn.slitaz.org/">Community</a> 1.28 - <a href="http://doc.slitaz.org/">Doc</a> 1.29 - <a href="http://forum.slitaz.org/">Forum</a> 1.30 - <a href="http://bugs.slitaz.org">Bugs</a> 1.31 - <a href="http://hg.slitaz.org/">Hg</a> 1.32 - </div> 1.33 - <h1><a href="http://www.slitaz.org/">SliTaz GNU/Linux</a></h1> 1.34 -</div> 1.35 +<?php 1.36 +include("../../config.php"); 1.37 +include("../../lib/html/header.html"); 1.38 +?> 1.39 1.40 <!-- Block --> 1.41 <div id="block"> 1.42 - <!-- Navigation --> 1.43 - <div id="block_nav"> 1.44 - <h4>美术资源</h4> 1.45 - <div class="right_box"> 1.46 - <ul> 1.47 - <li><a href="../../en/mailing-list.html">邮件列表 (en)</a></li> 1.48 - <li><a href="../../en/devel/">开发 (en)</a></li> 1.49 - <li><a href="../packages/">软件包</a></li> 1.50 - <li><a href="../artwork/">美工</a></li> 1.51 - <li><a href="../search.html">搜索</a></li> 1.52 - </ul> 1.53 - </div> 1.54 - <div class="left_box"> 1.55 - <ul> 1.56 - <li><a href="../">头条</a></li> 1.57 - <li><a href="../about/">关于</a></li> 1.58 - <li><a href="../get/">下载</a></li> 1.59 - <li><a href="../../en/asso/">捐赠 (en)</a></li> 1.60 - <li><a href="../doc/">文档</a></li> 1.61 - </ul> 1.62 - </div> 1.63 - </div> 1.64 + <?php include("../../lib/html/nav.cn.html"); ?> 1.65 <!-- Information/image --> 1.66 <div id="block_info"> 1.67 <h4>下载</h4> 1.68 @@ -62,8 +28,8 @@ 1.69 </p> 1.70 <div class="button"> 1.71 Quick Download: 1.72 - <a href="http://mirror.slitaz.org/iso/3.0/slitaz-3.0.iso">SliTaz 3.0</a> 1.73 - <a href="http://mirror.slitaz.org/iso/cooking/slitaz-4.0-RC2.iso">SliTaz 4.0-RC2</a> 1.74 + <?php echo "<a href='$stable_iso'>SliTaz $stable_ver</a> 1.75 + <a href='$cooking_iso'>SliTaz $cooking</a>"; ?> 1.76 </div> 1.77 </div> 1.78 </div> 1.79 @@ -96,6 +62,13 @@ 1.80 从LiveCD、USB设备启动的可启动软盘镜像。</li> 1.81 <li><a href="flavors.html">新鲜玩意</a> - loram版本,衍生版本。</li> 1.82 </ul> 1.83 + 1.84 +<div class="box"> 1.85 + <p> 1.86 + 通过一个小的捐赠帮助的项目,或成为官方<a href="/en/asso/sponsor.php">赞助商 (en)</a>. 1.87 + </p> 1.88 + <?php include("../../lib/html/donate.html"); ?> 1.89 +</div> 1.90 1.91 <h3>下载提示</h3> 1.92 <p> 1.93 @@ -112,9 +85,6 @@ 1.94 <a href="http://mirror.switch.ch/ftp/mirror/slitaz/">HTTP</a> 1.95 <a href="ftp://mirror.switch.ch/mirror/slitaz/">FTP</a></li> 1.96 1.97 - <li>法国 - Mésobius提供的软件源 (100 Mps) 1.98 - <a href="http://slitazmirror.linuxembarque.com">HTTP</a></li> 1.99 - 1.100 <li>法国 - TuxFamily提供的软件源 1.101 <a href="http://download.tuxfamily.org/slitaz/">HTTP</a> 1.102 <a href="ftp://download.tuxfamily.org/slitaz/">FTP</a></li> 1.103 @@ -145,28 +115,29 @@ 1.104 <a name="stable"></a> 1.105 <h2>LiveCD - 稳定版</h2> 1.106 <p> 1.107 -Slitaz稳定版提供一个成熟的操作系统。这个操作系统已经经过严格的测试,基本上没有BUG。 1.108 -LiveCD。这个版本选择了许多有用的软件,是一个用途广泛、强大的操作系统。这个版本较为稳定, 1.109 -不过更新频率较慢。建议服务器用户或追求稳定的个人用户使用这个版本。 1.110 -当前最新的稳定版本是3.0版,在2010年3月28日发布。 1.111 + Slitaz稳定版提供一个成熟的操作系统。这个操作系统已经经过严格的测试,基本上没有BUG。 1.112 + LiveCD。这个版本选择了许多有用的软件,是一个用途广泛、强大的操作系统。这个版本较为稳定, 1.113 + 不过更新频率较慢。建议服务器用户或追求稳定的个人用户使用这个版本。 1.114 + <?php echo "当前最新的稳定版本是$stable_ver版, $stable_rel 发布。"; ?> 1.115 </p> 1.116 1.117 <p class="box"> 1.118 -SliTaz GNU/Linux 3.0 (30 MB) - 1.119 -<a href="http://mirror.slitaz.org/iso/3.0/slitaz-3.0.iso" 1.120 ->slitaz-3.0.iso</a> 1.121 -[ <a href="http://mirror.slitaz.org/iso/3.0/slitaz-3.0.md5" 1.122 ->md5</a> ] 1.123 + <img src="/images/download.png" height="48px" width="48px" alt="[ DL ]" /> 1.124 + <?php echo "SliTaz GNU/Linux $stable_ver ($stable_size) - 1.125 + <a href='$stable_iso'>slitaz-$stable_ver.iso</a> 1.126 + [ <a href='$mirror/$stable_ver/slitaz-$stable_ver.md5'>md5</a> ]"; ?> 1.127 </p> 1.128 1.129 <p> 1.130 -提供给2.0版本的,包含所有软件包的可启动CD镜像每天都会创建。它也包含Slitaz官方网站的副本,在无网络的情况下可以通过install.sh使用。 1.131 +提供给<?php echo "$stable_ver"; ?>版本的,包含所有软件包的可启动CD镜像每天都会创建。 1.132 +它也包含Slitaz官方网站的副本,在无网络的情况下可以通过install.sh使用。 1.133 </p> 1.134 1.135 <p class="box"> 1.136 -SliTaz GNU/Linux 3.0 软件包集合 (< 2Gb) - 1.137 -<a href="http://mirror.switch.ch/ftp/mirror/slitaz/iso/3.0/packages-3.0.iso">packages-3.0.iso</a> 1.138 -[ <a href="http://mirror.switch.ch/ftp/mirror/slitaz/iso/3.0/packages-3.0.md5">md5</a> ] 1.139 + <img src="/images/download.png" height="48px" width="48px" alt="[ DL ]" /> 1.140 + <?php echo "SliTaz GNU/Linux $stable_ver 软件包集合 ($stable_pkgs) 1.141 + - <a href='$pkgs_mirror/$stable_ver/packages-$stable_ver.iso'>packages-$stable_ver.iso</a> 1.142 + [ <a href='$pkgs_mirror/$stable_ver/packages-$stable_ver.md5'>md5</a> ]"; ?> 1.143 </p> 1.144 1.145 <a name="cooking"></a> 1.146 @@ -176,22 +147,22 @@ 1.147 </p> 1.148 1.149 <p class="box"> 1.150 -SliTaz GNU/Linux 开发版-20110531 (30 MB) - 1.151 -<a href="http://mirror.slitaz.org/iso/cooking/slitaz-cooking.iso" 1.152 ->slitaz-cooking.iso</a> 1.153 -[ <a href="http://mirror.slitaz.org/iso/cooking/slitaz-cooking.md5" 1.154 ->md5</a> ] 1.155 + <img src="/images/download.png" height="48px" width="48px" alt="[ DL ]" /> 1.156 + <?php echo "SliTaz GNU/Linux Cooking $cooking_ver ($cooking_size) - 1.157 + <a href='$cooking_iso'>slitaz-$cooking.iso</a> 1.158 + [ <a href='$mirror/cooking/slitaz-$cooking.md5'>md5</a> ]"; ?> 1.159 </p> 1.160 1.161 <p> 1.162 -提供给开发版的,包含所有软件包的可启动DVD镜像每天都会创建。它也包含Slitaz官方网站的副本,在无网络的情况下可以通过install.sh使用。这个镜像可以安装到USB设备中,不过会格式化U盘。 1.163 - 1.164 +提供给开发版的,包含所有软件包的可启动DVD镜像每天都会创建。它也包含Slitaz官方网站的副本, 1.165 +在无网络的情况下可以通过install.sh使用。这个镜像可以安装到USB设备中,不过会格式化U盘。 1.166 </p> 1.167 1.168 -<p class="get"> 1.169 -SliTaz GNU/Linux 开发版软件包集合 (< 4Gb) - 1.170 -<a href="http://mirror.slitaz.org/iso/cooking/packages-cooking.iso">packages-cooking.iso</a> 1.171 -[ <a href="http://mirror.slitaz.org/iso/cooking/packages-cooking.md5">md5</a> ] 1.172 +<p class="box"> 1.173 + <img src="/images/download.png" height="48px" width="48px" alt="[ DL ]" /> 1.174 + <?php echo "SliTaz GNU/Linux Cooking 开发版软件包集合 ($cooking_pkgs) 1.175 + - <a href='$pkgs_mirror/cooking/packages-cooking.iso'>packages-cooking.iso</a> 1.176 + [ <a href='$pkgs_mirror/cooking/packages-cooking.md5'>md5</a> ]"; ?> 1.177 </p> 1.178 1.179 <a name="floppy"></a> 1.180 @@ -201,33 +172,16 @@ 1.181 </p> 1.182 1.183 <p class="box"> 1.184 -软盘镜像(1,44 Mb) - 1.185 -<a href="http://mirror.slitaz.org/boot/floppy-grub4dos">镜像</a> 1.186 -[ <a href="http://mirror.slitaz.org/boot/floppy-grub4dos.md5">md5</a> ] 1.187 + <img src="/images/download.png" height="48px" width="48px" alt="[ DL ]" /> 1.188 + 软盘镜像(1,44 Mb) - 1.189 + <a href="http://mirror.slitaz.org/boot/floppy-grub4dos">镜像</a> 1.190 + [ <a href="http://mirror.slitaz.org/boot/floppy-grub4dos.md5">md5</a> ] 1.191 </p> 1.192 1.193 <!-- End of content --> 1.194 </div> 1.195 1.196 -<!-- Footer --> 1.197 -<div id="footer"> 1.198 - Copyright © <span class="year"></span> 1.199 - <a href="http://www.slitaz.org/">SliTaz</a> - Network: 1.200 - <a href="http://scn.slitaz.org/">Community</a> 1.201 - <a href="http://doc.slitaz.org/">Doc</a> 1.202 - <a href="http://forum.slitaz.org/">Forum</a> 1.203 - <a href="http://pkgs.slitaz.org/">Packages</a> 1.204 - <a href="http://bugs.slitaz.org">Bugs</a> 1.205 - <a href="http://hg.slitaz.org/">Hg</a> 1.206 - <p> 1.207 - SliTaz @ 1.208 - <a href="http://twitter.com/slitaz">Twitter</a> 1.209 - <a href="http://www.facebook.com/slitaz">Facebook</a> 1.210 - <a href="http://distrowatch.com/slitaz">Distrowatch</a> 1.211 - <a href="http://en.wikipedia.org/wiki/SliTaz">Wikipedia</a> 1.212 - <a href="http://flattr.com/profile/slitaz">Flattr</a> 1.213 - </p> 1.214 -</div> 1.215 +<?php include("../../lib/html/footer.html"); ?> 1.216 1.217 </body> 1.218 </html>
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/lib/html/nav.cn.html Tue Mar 13 00:14:12 2012 +0100 2.3 @@ -0,0 +1,23 @@ 2.4 +<!-- Navigation --> 2.5 + <div id="block_nav"> 2.6 + <h4>美术资源</h4> 2.7 + <div class="right_box"> 2.8 + <ul> 2.9 + <li><a href="/en/mailing-list.html">邮件列表 (en)</a></li> 2.10 + <li><a href="/en/devel/">开发 (en)</a></li> 2.11 + <li><a href="/cn/packages/">软件包</a></li> 2.12 + <li><a href="/cn/artwork/">美工</a></li> 2.13 + <li><a href="/cn/search.html">搜索</a></li> 2.14 + </ul> 2.15 + </div> 2.16 + <div class="left_box"> 2.17 + <ul> 2.18 + <li><a href="/cn/">头条</a></li> 2.19 + <li><a href="/cn/about/">关于</a></li> 2.20 + <li><a href="/cn/get/">下载</a></li> 2.21 + <li><a href="/cn/doc/">文档</a></li> 2.22 + <li><a href="/en/asso/">捐赠 (en)</a></li> 2.23 + <li><a href="/en/asso/sponsor.php">赞助 (en)</a></li> 2.24 + </ul> 2.25 + </div> 2.26 + </div>