1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
5 <title>${lang("search.htmltitle")}</title>
8 <body bgcolor="White" text="Black" link="#006600" vlink="#666666" alink="Red">
10 <table width="100%" border="0" cellspacing="0" cellpadding="4" bgcolor="#cccccc">
12 <td align="center" bgcolor="#666666">
13 <font color="White">${lang("search.title")}</font></td>
16 <td bgcolor="#eeeeee"><font color="#000000">
18 <form method="get" action="/Mir/servlet/OpenMir">
19 <input type="hidden" name="do" value="search"/>
20 <h2>Search for the following in title,content, or description:</h2>
21 <input type="text" name="search_content" value="${data.search_content}" /><br><br>
23 <h2>all words or any of the words?</h2>
24 <if data.search_boolean == "and">
25 <input type="radio" name="search_boolean" value="and" checked="true">all words
26 <input type="radio" name="search_boolean" value="or">any of the words
28 <input type="radio" name="search_boolean" value="and">all words
29 <input type="radio" name="search_boolean" value="or" checked="true">any of the words
32 <h2>Search for articles written by:</h2>
33 <input type="text" name="search_creator" value="${data.search_creator}" /><br><br>
35 <h2>Search in the following topic only:</h2>
36 <select name="search_topic">
37 <if (!data.search_topic) || (data.search_topic == "") >
38 <option value="" selected>All topics
40 <option value="">All topics
42 <list data.topics as topic>
43 <if topic.value != "--" >
44 <if data.search_topic == topic.value>
45 <option selected>${topic.value}
47 <option>${topic.value}
53 <h2>only return content with images?</h2>
54 <if data.search_hasImages == "y">
55 <input type="radio" name="search_hasImages" value="y" checked="true">Yes
56 <input type="radio" name="search_hasImages" value="n">No
58 <input type="radio" name="search_hasImages" value="y">Yes
59 <input type="radio" name="search_hasImages" value="n" checked="true">No
62 <h2>only return content with audio?</h2>
63 <if data.search_hasAudio == "y">
64 <input type="radio" name="search_hasAudio" value="y" checked="true">Yes
65 <input type="radio" name="search_hasAudio" value="n">No
67 <input type="radio" name="search_hasAudio" value="y">Yes
68 <input type="radio" name="search_hasAudio" value="n" checked="true">No
71 <h2>only return content with video?</h2>
72 <if data.search_hasVideo == "y">
73 <input type="radio" name="search_hasVideo" value="y" checked="true">Yes
74 <input type="radio" name="search_hasVideo" value="n">No
76 <input type="radio" name="search_hasVideo" value="y">Yes
77 <input type="radio" name="search_hasVideo" value="n" checked="true">No
79 <h2>how would you like the results sorted?</h2>
80 <input type="radio" name="search_sort" value="score" <if data.search_sort =="score" || !data.search_sort || data.search_sort == "" >checked="true"</if>>By score
81 <input type="radio" name="search_sort" value="date_desc" <if data.search_sort =="date_desc">checked="true"</if>>Newest first
82 <input type="radio" name="search_sort" value="date_asc" <if data.search_sort =="date_asc">checked="true"</if>>Oldest first
87 <input type="submit" name="search_submit" value="Search!" />
88 Previous Lucene Query was: ${data.queryString} <br>
89 <if data.hasPrevious=="y">
90 <input type="submit" name="search_submit" value="Back" />
92 <if data.hasNext=="y">
93 <input type="submit" name="search_submit" value="Forward" />
98 ${lang("search.info")}
100 Number of hits = ${data.numberOfHits}
102 <list data.hits as h>
103 Title: <a href='/${lang("langcode")}${h.where}'>${h.title}</a>
105 <img src="/img/audio_big.gif">
107 <if h.hasVideo == "y">
108 <img src="/img/video_big.gif">
111 Author: ${h.creator}<br >
112 Date: ${h.webdb_create_formatted}<br>
113 Description: ${h.description}<br >
114 <list h.images as image>
124 <td valign="top" align="center" bgcolor="#666666">
125 <a href="javascript:history.go(-2)"><font color="White"><b>>> ${lang("postingdone.back")}</b></font></a>