/[webpac]/trunk2/out/search.html
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /trunk2/out/search.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 391 - (hide annotations)
Wed Jul 21 16:45:47 2004 UTC (16 years ago) by dpavlin
File MIME type: text/html
File size: 1968 byte(s)
placeholder for output

1 dpavlin 391 <!DOCTYPE html PUBLIC
2     "-//W3C//DTD XHTML 1.0 Strict//EN"
3     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4     <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5     <head>
6     <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2"/>
7     <title>HIDRA Eurovoc CD</title>
8     <script src="js/getargs.js" type="text/javascript"></script>
9     <script src="js/search.js" type="text/javascript"></script>
10     <script src="js/usage.js" type="text/javascript"></script>
11     </head>
12    
13     <body>
14    
15     <script type="text/javascript">
16     var args=getArgs();
17     function select_option(value,text,selected) {
18     document.write('<option value="'+value+'"');
19     if (value == selected) document.write(' selected');
20     document.write('>'+text+'</option>');
21     }
22     </script>
23    
24     <form name="search" onsubmit="return go(this);">
25     <script type="text/javascript">
26     document.write('<select name="index_name">');
27     select_option("index/DescriptorHR","Hrvatski",args.index_name);
28     select_option("index/DescriptorEN","Engleski",args.index_name);
29     select_option("index/DescriptorFR","Francuski",args.index_name);
30     select_option("index/DescriptorGE","Njemaèki",args.index_name);
31     select_option("index/AllThes","Sve rijeèi",args.index_name);
32     document.write('</select>');
33     </script>
34     <script type="text/javascript">
35     document.write("<input name=\"query\" value=\"");
36    
37     if (args.query) {
38     var search_string = args.query.replace(/\+/gi," ");
39     document.write(search_string);
40     }
41    
42     document.write("\" type=\"text\" size=\"30\"/>\n");
43     </script>
44    
45     <input type="SUBMIT" value="Pretra¾i"/><br/>
46     </form>
47    
48     <script type="text/javascript">
49    
50     if (args.query) {
51     document.write("<div id=\"results\"><h2>Please wait...</h2></div>\n");
52     doSearch(args.index_name, args.query, printResults);
53     }
54    
55     </script>
56    
57     </body>
58     </html>

  ViewVC Help
Powered by ViewVC 1.1.26