website view cn/search.php @ rev 1034

add loader.gif for search.php
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Apr 04 11:25:47 2012 +0300 (2012-04-04)
parents 47055e938c85
children 9ed0bfb74392
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%;"><img
36 src="/images/loader.gif" alt="*" /> Loading</div>
37 <script src="http://www.google.com/jsapi" type="text/javascript"></script>
38 <script type="text/javascript">
39 google.load('search', '1', {language : 'cn', style : google.loader.themes.MINIMALIST});
40 google.setOnLoadCallback(function() {
41 var customSearchControl = new google.search.CustomSearchControl('000868395082919927601:nddq7yjdcxg');
42 customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
43 var options = new google.search.DrawOptions();
44 options.setSearchFormRoot('cse-search-form');
45 customSearchControl.draw('cse', options);
46 }, true);
47 </script>
48 </div>
50 <div id="cse" style="width:100%;"></div>
52 <!-- End of content -->
53 </div>
55 <?php include("../lib/html/footer.html"); ?>
57 </body>
58 </html>