website view cn/search.php @ rev 1020

lib/get-feeds: fix if we on main page; cn: clear code
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Mar 31 17:52:18 2012 +0300 (2012-03-31)
parents 7bb8568e1c75
children 1290786561fd
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="cn" lang="cn">
4 <head>
5 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
6 <title>SliTaz - 搜索</title>
7 <meta name="description" content="SliTaz GNU/Linux 自定义搜索引擎" />
8 <meta name="keywords" lang="cn" content="about slitaz, gnu, linux, mini distro, livecd, 关于Slitaz, Slitaz是什么, 介绍" />
9 <meta name="author" content="Draplater" />
10 <?php include("../lib/html/meta-link.html"); ?>
11 </head>
12 <body>
14 <?php include("../lib/html/header.html"); ?>
16 <!-- Block -->
17 <div id="block">
18 <?php include("../lib/html/nav.cn.html"); ?>
19 <!-- Information/image -->
20 <div id="block_info">
21 <h4>搜索</h4>
22 <p>
23 这个网页可以搜索Slitaz网站、邮件列表、论坛中的内容。
24 这个网页由Google自定义搜索为Slitaz创建。
25 </p>
26 </div>
27 </div>
29 <?php include("../lib/lang.php"); ?>
31 <!-- Content -->
32 <div id="content">
34 <div class="searchbox">
35 <div id="cse-search-form" style="width: 100%;">Loading</div>
36 <script src="http://www.google.com/jsapi" type="text/javascript"></script>
37 <script type="text/javascript">
38 google.load('search', '1', {language : 'cn', style : google.loader.themes.MINIMALIST});
39 google.setOnLoadCallback(function() {
40 var customSearchControl = new google.search.CustomSearchControl('000868395082919927601:nddq7yjdcxg');
41 customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
42 var options = new google.search.DrawOptions();
43 options.setSearchFormRoot('cse-search-form');
44 customSearchControl.draw('cse', options);
45 }, true);
46 </script>
47 </div>
49 <div id="cse" style="width:100%;"></div>
51 <!-- End of content -->
52 </div>
54 <?php include("../lib/html/footer.html"); ?>
56 </body>
57 </html>