summaryrefslogtreecommitdiff
path: root/htdocs/search.php
blob: b8db8693167545c2683fa72d39ca29002b6ed463 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
<?php
// global search page, search for tips and search for scripts
require_once("include/init.inc");
require_once("scripts/include/script.inc");
$page_title = "search";

include("header.php");
?>

<table cellpadding="3" cellspacing="0" border="0" width="100%">
<tr>
    <td class="lightbg"><span class="txth1">&nbsp;&nbsp;Google Search on Vim pages</span></td>
</tr>
</table>
<p>
<form action="http://www.google.com/cse" id="cse-search-box">
  <div>
    <IMG SRC="http://www.google.com/logos/Logo_40wht.gif" border=0 ALT="Google" align=middle>
    <input type="hidden" name="cx" value="partner-pub-3005259998294962:bvyni59kjr1" />
    <input type="hidden" name="ie" value="ISO-8859-1" />
    <input type="text" name="q" size="30" />
    <input type="submit" name="sa" value="Search Vim sites" />
  </div>
</form>
<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
<p>

<table cellpadding="3" cellspacing="0" border="0" width="100%">
<tr>
    <td class="lightbg"><span class="txth1">&nbsp;&nbsp;Search for Vim Scripts</span></td>
</tr>
</table>
<p>
<!-- Google Code Search -->
<span class="prompt">on the web and the Vim website:</span>
<form method="get" action="http://www.google.com/codesearch">
<input size=35 name="as_q">
<!-- The "Search" button -->
<input type=submit value="Google Code Search">
<input type=hidden name="as_lang" value="vim"><br>
<font face="arial,sans-serif" size=-1>
You can use a regexp pattern, e.g.,
<a href="http://www.google.com/codesearch?as_q=go{2}gle&as_lang=vim">go{2}gle</a>,
<a href="http://www.google.com/codesearch?as_q=h[ea]llo&as_lang=vim">h[ea]llo</a>.
</font>
<font size=-2>
(<a href="http://www.google.com/intl/en/help/faq_codesearch.html#regexp">more about regexp patterns</a>)
</font>
</form>
<!-- Google Code Search -->
<p>

<span class="prompt">on the Vim website only</span>

      <form name="search" action="scripts/script_search_results.php">
        <table cellpadding="2" cellspacing="0" border="0">
          <tr>
	    <td class="prompt">keywords</td>
	    <td colspan="2"><input type="text" name="keywords" size="40"></td>
	  </tr>
          <tr>
            <td class="prompt">type</td>
            <td>
              <select name="script_type">
                <option value="">-- all -- </option>
                <?=getScriptTypeDropDown("")?>
              </select>
            </td>
          </tr>
          <tr>
            <td class="prompt">sort by</td>
            <td>
  	    <select name="order_by">
                <option value="rating">Rating</option>
                <option value="downloads">Downloads</option>
                <option value="script_name">Script Name</option>
                <option value="creation_date">Creation Date</option>
              </select>
              <select name="direction">
                <option value="descending">Descending</option>
                <option value="ascending">Ascending</option>
              </select>
	    </td>
	    <td align="right">
              <input type="submit" name="search" value="search">
              <input type="submit" name="cancel" value="cancel">
	    </td>
          </tr>
        </table>
      </form>
<p>


<table cellpadding="3" cellspacing="0" border="0" width="100%">
  <tr>
    <td class="lightbg"><span class="txth1">&nbsp;&nbsp;Search for Vim Tips</span></td>
  </tr>
</table>
<p>

<span class="prompt">on the Vim website only:</span>
<font size=-1>
(you can also search the
<a href="http://vim.wikia.com/wiki/Vim_Tips_Wiki">Vim Tips wiki</a>.
)
</font>

<form name="search" action="tips/tip_search_results.php">
<table cellpadding="2" cellspacing="0" border="0">
<tr>
  <td class="prompt">keywords</td>
  <td colspan="2"><input type="text" name="keywords" size="40"></td>
</tr>
<tr>
  <td class="prompt">sort by</td>
  <td>
    <select name="order_by">
        <option value="rating">Rating</option>
        <option value="views">Views</option>
        <option value="creation_date">Creation Date</option>
    </select>
    <select name="direction">
        <option value="descending">Descending</option>
        <option value="ascending">Ascending</option>
    </select>
  </td>
  <td align="right">
    <input type="submit" name="search" value="search">
    <input type="submit" name="cancel" value="cancel">
  </td>
</tr>
</table>
</form>
<p>


<table cellpadding="3" cellspacing="0" border="0" width="100%">
  <tr>
    <td class="lightbg"><span class="txth1">&nbsp;&nbsp;Search for user</span></td>
  </tr>
</table>
<p>

<form name="search" action="account/user_search_results.php">
<table cellpadding="2" cellspacing="0" border="0">
<tr>
  <td class="prompt">user name</td>
  <td><input type="text" name="username" size="40"></td>
</tr>
<tr>
  <td class="prompt">last name</td>
  <td><input type="text" name="lastname" size="40"></td>
</tr>
<tr>
  <td></td>
  <td align="right">
    <input type="submit" name="search" value="search">
    <input type="submit" name="cancel" value="cancel">
  </td>
</tr>
</table>
</form>

<table cellpadding="3" cellspacing="0" border="0" width="100%">
<tr>
    <td class="lightbg"><span class="txth1">&nbsp;&nbsp;Search the Vim online pages with Atomz</span></td>
</tr>
</table>
<p>

<!-- Atomz.com Advanced Search HTML for Vi IMproved -->
<form method="get" action="http://search.atomz.com/search/">
<table cellspacing=0 cellpadding=0 border=0>
<tr><td colspan=2>
<b>Search For:</b><br>
<input size=35 name="sp-q">
<!-- The "Search" button -->
<input type=submit value="Search">
<input type=hidden name="sp-a" value="00070988-sp00000000">
<input type=hidden name="sp-advanced" value=1>
</td></tr>
<!-- Allow "any," "all," or "phrase" -->
<tr><td valign=top>
<b>Match:&nbsp;</b>
</td><td>
<input type=radio name="sp-p" value="any" checked>Any&nbsp;word
<input type=radio name="sp-p" value="all">All&nbsp;words
<input type=radio name="sp-p" value="phrase">Exact&nbsp;phrase<br>
<!-- Checkbox enables sound-alike matching -->
<input type=hidden name="sp-w-control" value=1>
<input type=checkbox name="sp-w" value="alike" checked>
Sound-alike&nbsp;matching
</td></tr>
<!-- List box selects the search field -->
<tr><td valign=top>
<b>Within:&nbsp;</b>
</td><td><select name="sp-x" size=1>
<option value="any" selected	>Anywhere</option>
<option value="title"		>Title</option>
<option value="desc"		>Description</option>
<option value="keys"		>Keywords</option>
<option value="body"		>Body</option>
<option value="alt"		>Alternate text</option>
<option value="url"		>URL</option>
</select>
</td></tr>
<!-- List box selects number of results to show per page -->
<tr><td valign=top>
<b>Show:&nbsp;</b>
</td><td><select name="sp-c" size=1>
<option value=5>5</option>
<option value=10 selected>10</option>
<option value=25>25</option>
<option value=50>50</option>
<option value=100>100</option>
</select>&nbsp;results&nbsp;
<!-- Show or hide summaries in search results -->
<select name="sp-m" size=1>
<option value=1 selected>with</option>
<option value=0>without</option>
</select>&nbsp;summaries<br>
</td></tr>
<!-- Sort results by score or by date -->
<tr><td valign=top>
<b>Sort&nbsp;by:&nbsp;</b>
</td><td><select name="sp-s" size=1>
<option value=0 selected>score</option>
<option value=1>date</option>
</select>
</td></tr>
</table>
</form>


<!-- fill up with spaces to make the main field wide enough -->
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;

<?php
$google_ads = "big";
include("footer.php");
?>