1 | <div id="content"> |
---|
2 | |
---|
3 | <div class="titrePage"> |
---|
4 | <ul class="categoryActions"> |
---|
5 | <li><a href="{U_HELP}" onclick="popuphelp(this.href); return false;" title="{lang:Help}"><img src="{themeconf:icon_dir}/help.png" class="button" alt="(?)"></a></li> |
---|
6 | <li><a href="{U_HOME}" title="{lang:return to homepage}" rel="home"><img src="{themeconf:icon_dir}/home.png" class="button" alt="{lang:home}"/></a></li> |
---|
7 | </ul> |
---|
8 | <h2>{lang:Search}</h2> |
---|
9 | </div> |
---|
10 | |
---|
11 | <!-- TO DO --> |
---|
12 | <form method="post" name="post" action="{S_SEARCH_ACTION}"> |
---|
13 | <!-- BEGIN errors --> |
---|
14 | <div class="errors"> |
---|
15 | <ul> |
---|
16 | <!-- BEGIN error --> |
---|
17 | <li>{errors.error.ERROR}</li> |
---|
18 | <!-- END error --> |
---|
19 | </ul> |
---|
20 | </div> |
---|
21 | <!-- END errors --> |
---|
22 | <table width="100%" align="center" cellpadding="2"> |
---|
23 | <tr> |
---|
24 | <td width="50%" colspan="2"><b>{L_SEARCH_KEYWORDS} : </b> |
---|
25 | <td colspan="2" valign="top"> |
---|
26 | <input type="text" style="width: 300px" name="search_allwords" size="30" /> |
---|
27 | <br /> |
---|
28 | <input type="radio" name="mode" value="AND" checked="checked" /> {L_SEARCH_ALL_TERMS}<br /> |
---|
29 | <input type="radio" name="mode" value="OR" /> {L_SEARCH_ANY_TERMS} |
---|
30 | </td> |
---|
31 | </tr> |
---|
32 | <tr> |
---|
33 | <td colspan="2"><b>{L_SEARCH_AUTHOR} :</b> |
---|
34 | <td colspan="2" valign="middle"> |
---|
35 | <input type="text" style="width: 300px" name="search_author" size="30" /> |
---|
36 | </td> |
---|
37 | </tr> |
---|
38 | |
---|
39 | <tr> |
---|
40 | <td colspan="2"><b>{lang:Search tags} :</b></td> |
---|
41 | <td colspan="2" valign="middle"> |
---|
42 | {TAG_SELECTION} |
---|
43 | <br /><label><input type="radio" name="tag_mode" value="AND" checked="checked" /> {lang:All tags}</label> |
---|
44 | <br /><label><input type="radio" name="tag_mode" value="OR" /> {lang:Any tag}</label> |
---|
45 | </td> |
---|
46 | </tr> |
---|
47 | |
---|
48 | <tr> |
---|
49 | <td colspan="2"><b>{L_SEARCH_DATE} :</b> |
---|
50 | <td colspan="2" valign="middle"> |
---|
51 | <table> |
---|
52 | <tr> |
---|
53 | <td>{L_SEARCH_DATE_FROM} :</td> |
---|
54 | <td> |
---|
55 | <select name="start_day"> |
---|
56 | <!-- BEGIN start_day --> |
---|
57 | <option {start_day.SELECTED} value="{start_day.VALUE}">{start_day.OPTION}</option> |
---|
58 | <!-- END start_day --> |
---|
59 | </select> |
---|
60 | <select name="start_month"> |
---|
61 | <!-- BEGIN start_month --> |
---|
62 | <option {start_month.SELECTED} value="{start_month.VALUE}">{start_month.OPTION}</option> |
---|
63 | <!-- END start_month --> |
---|
64 | </select> |
---|
65 | <input name="start_year" type="text" size="4" maxlength="4"> |
---|
66 | <a href="#" name="#" onClick="document.post.start_day.value={TODAY_DAY};document.post.start_month.value={TODAY_MONTH};document.post.start_year.value={TODAY_YEAR};" />{L_TODAY}</a> |
---|
67 | </td> |
---|
68 | </tr> |
---|
69 | <tr> |
---|
70 | <td>{L_SEARCH_DATE_TO} :</td> |
---|
71 | <td> |
---|
72 | <select name="end_day"> |
---|
73 | <!-- BEGIN end_day --> |
---|
74 | <option {end_day.SELECTED} value="{end_day.VALUE}">{end_day.OPTION}</option> |
---|
75 | <!-- END end_day --> |
---|
76 | </select> |
---|
77 | <select name="end_month"> |
---|
78 | <!-- BEGIN end_month --> |
---|
79 | <option {end_month.SELECTED} value="{end_month.VALUE}">{end_month.OPTION}</option> |
---|
80 | <!-- END end_month --> |
---|
81 | </select> |
---|
82 | <input name="end_year" type="text" size="4" maxlength="4"> |
---|
83 | <a href="#" name="#" onClick="document.post.end_day.value={TODAY_DAY};document.post.end_month.value={TODAY_MONTH};document.post.end_year.value={TODAY_YEAR};" />{L_TODAY}</a> |
---|
84 | </td> |
---|
85 | </tr> |
---|
86 | </table> |
---|
87 | </td> |
---|
88 | </tr> |
---|
89 | <tr class="admin"> |
---|
90 | <th colspan="4">{L_SEARCH_OPTIONS}</th> |
---|
91 | </tr> |
---|
92 | <tr> |
---|
93 | <td width="25%" ><b>{L_SEARCH_CATEGORIES} : </b> |
---|
94 | <td width="25%" nowrap="nowrap"> |
---|
95 | <select style="width:200px" name="cat[]" multiple="multiple" size="8"> |
---|
96 | <!-- BEGIN category_option --> |
---|
97 | <option value="{category_option.VALUE}">{category_option.OPTION}</option> |
---|
98 | <!-- END category_option --> |
---|
99 | </select> |
---|
100 | </td> |
---|
101 | <td width="25%" nowrap="nowrap"><b>{L_SEARCH_SUBFORUMS} : </b></td> |
---|
102 | <td width="25%" nowrap="nowrap"> |
---|
103 | <input type="radio" name="subcats-included" value="1" checked="checked" />{L_YES} |
---|
104 | <input type="radio" name="subcats-included" value="0" />{L_NO} |
---|
105 | </td> |
---|
106 | </tr> |
---|
107 | <tr> |
---|
108 | <td width="25%" nowrap="nowrap"><b>{L_SEARCH_DATE_TYPE} : </b></td> |
---|
109 | <td width="25%" nowrap="nowrap"> |
---|
110 | <input type="radio" name="date_type" value="date_creation" checked="checked" />{lang:Creation date}<br /> |
---|
111 | <input type="radio" name="date_type" value="date_available" />{lang:Post date} |
---|
112 | </td> |
---|
113 | <td><b>{L_RESULT_SORT} : </b></td> |
---|
114 | <td nowrap="nowrap"> |
---|
115 | <input type="radio" name="sd" value="AND" />{L_SORT_ASCENDING}<br /> |
---|
116 | <input type="radio" name="sd" value="d" checked="checked" />{L_SORT_DESCENDING} |
---|
117 | </td> |
---|
118 | </tr> |
---|
119 | <!-- <tr> |
---|
120 | <td width="25%" nowrap="nowrap"><b>{L_SEARCH_WITHIN} : </b></td> |
---|
121 | <td width="25%" nowrap="nowrap"> |
---|
122 | <input type="radio" name="search_fields" value="all" checked="checked" />{L_SEARCH_ALL}<br /> |
---|
123 | <input type="radio" name="search_fields" value="imgonly" />{L_SEARCH_IMG_ONLY}<br /> |
---|
124 | <input type="radio" name="search_fields" value="commentsonly" />{L_SEARCH_COMMENTS_ONLY} |
---|
125 | </td> |
---|
126 | </tr> |
---|
127 | <tr> |
---|
128 | <td><b>{L_RESULT_SORT} : </b></td> |
---|
129 | <td nowrap="nowrap"> |
---|
130 | {S_SELECT_SORT_KEY}<br /> |
---|
131 | <input type="radio" name="sd" value="a" />{L_SORT_ASCENDING}<br /> |
---|
132 | <input type="radio" name="sd" value="d" checked="checked" />{L_SORT_DESCENDING} |
---|
133 | </td> |
---|
134 | <td nowrap="nowrap"><b>{L_DISPLAY_RESULTS} : </b></td> |
---|
135 | <td nowrap="nowrap"> |
---|
136 | <input type="radio" name="show_results" value="images" checked="checked" />{L_IMAGES} |
---|
137 | <input type="radio" name="show_results" value="comments" /> {L_COMMENTS} |
---|
138 | </td> |
---|
139 | </tr> |
---|
140 | --> |
---|
141 | <tr> |
---|
142 | <td align="center" valign="bottom" colspan="4" height="38"> |
---|
143 | <input type="submit" name="submit" value="{L_SUBMIT}" class="bouton" /> |
---|
144 | <input type="reset" value="{L_RESET}" class="bouton" /> |
---|
145 | </td> |
---|
146 | </table> |
---|
147 | </form> |
---|
148 | |
---|
149 | </div> <!-- content --> |
---|