/[corp_html]/templates/swish.tpl
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 /templates/swish.tpl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations)
Thu Mar 28 14:00:10 2002 UTC (22 years, 1 month ago) by dpavlin
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines
*** empty log message ***

1 dpavlin 1.1 <center>
2    
3     <FORM METHOD=GET ACTION="{$php_self}">
4     <table width=100%>
5     <tr><td>
6    
7     Search for <INPUT TYPE="text" NAME="q" SIZE=30 VALUE="{$q}">
8    
9     and show
10    
11     <select name="n">
12     {html_options values=$n_arr output=$n_arr selected=$n}
13     </select>
14    
15     results per page.
16    
17     <INPUT TYPE="submit" VALUE="Go!">
18    
19    
20     </td></tr>
21    
22     <!-- end of stl options -->
23    
24     </table>
25     </form>
26     </center>
27    
28     <hr width="100%" size="1" color="#808080" noshade>
29    
30     {if $q == ""}
31     <p align="center">
32     <FONT COLOR=red>You should give at least one word to search for.</FONT>
33     </center>
34     {/if}
35    
36     {if $t == 0}
37     <p align="center">
38     Sorry, but search for '{$q_kw}' returned no results.<br>
39     <I>Try to produce less restrictive search query.</I>
40     </p>
41     {else}
42    
43     Search results for '{$q_kw}' ({$search_time}, {$run_time} seconds)
44     <br>
45     Displaying documents {$f}-{$l} of total <B>{$t}</B> found.
46     <hr width="100%" size="1" color="#808080" noshade>
47    
48     <dl>
49     {section name=res loop=$res}
50     <dt>
51     <b>{$res/res.NR}.</b> <a href="{$res/res.URL}"><b>{$res/res.TITLE}</b></a></dt>
52 dpavlin 1.2 <dd>{if $res/res.DESC}{$res/res.DESC}...<br>{/if}
53     <A HREF="{$res/res.URL}"><span class="silver">{$res/res.URL}</span></A>
54 dpavlin 1.1 <span class="silver"> <i>{$res/res.DOCSIZE} bytes</i> [<b>{$res/res.SCORE}</b>] </span>
55     </dd>
56     {/section}
57     </dl>
58    
59     <hr width="100%" size="1" color="#808080" noshade>
60    
61     <TABLE BORDER=0 align="center"><TR>
62    
63     <td>
64     {if $prev_page}
65     <A HREF="{$php_self}?{$prev_page.url}">
66     <img src="t/nazad.gif" width="38" height="14" alt="&lt;&lt;" border="0">
67     </A>
68     {else}
69     <img src="t/nikud.gif" width="38" height="14" alt="" border="0">
70     {/if}
71     </td>
72    
73     {section name=p loop=$pages}
74     <TD>
75     {if $p/pages.current}
76     <span class="orange">{$p/pages.page}</span>
77     {else}
78     <A HREF="{$php_self}?{$p/pages.url}"><span class="font">{$p/pages.page}</span></A>
79     {/if}
80     </TD>
81     {/section}
82    
83     <td>
84     {if $next_page}
85     <A HREF="{$php_self}?{$next_page.url}">
86     <img src="t/napred.gif" width="38" height="14" alt="&gt;&gt;" border="0">
87     </A>
88     {else}
89     <img src="t/nikud.gif" width="38" height="14" alt="" border="0">
90     {/if}
91     </td>
92    
93     </TR></TABLE>
94    
95     {/if}
96    

  ViewVC Help
Powered by ViewVC 1.1.26