1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-10 18:54:08 +02:00

In goes initial search engine

git-svn-id: file:///svn/phpbb/trunk@368 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen
2001-05-29 14:25:09 +00:00
parent e19e832e1c
commit 74c48b861f
3 changed files with 645 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
<div align="center"><table width="70%" cellspacing="0" cellpadding="4" border="0">
<tr>
<td align="left"><font face="{T_FONTFACE1}" size="{T_FONTSIZE1}" color="{T_FONTCOLOR1}"><a href="{U_INDEX}">{SITENAME}&nbsp;{L_INDEX}</a></font></td>
</tr>
</table></div>
<div align="center"><table border="0" cellpadding="1" cellspacing="0" width="70%">
<tr><form action="{S_SEARCH_ACTION}" method="post">
<td bgcolor="{T_TH_COLOR1}"><table border="0" cellpadding="4" cellspacing="1" width="100%">
<tr>
<td colspan="2" bgcolor="{T_TH_COLOR3}" align="center"><font face="{T_FONTFACE1}" size="{T_FONTSIZE2}" color="{T_FONTCOLOR1}">&nbsp;<b>{L_SEARCH}</b>&nbsp;</font></td>
</tr>
<tr>
<td bgcolor="{T_TD_COLOR1}" align="right"><font face="{T_FONTFACE1}" size="{T_FONTSIZE2}" color="{T_FONTCOLOR1}">Search query:&nbsp;</td>
<td bgcolor="{T_TD_COLOR1}"><input type="text" name="querystring" size="40"><br><input type="radio" name="addterms" value="any" checked><font face="{T_FONTFACE1}" size="{T_FONTSIZE1}" color="{T_FONTCOLOR1}">{L_SEARCH_ANY_TERMS}<br><input type="radio" name="addterms" value="all">{L_SEARCH_ALL_TERMS}</td>
</tr>
<tr>
<td bgcolor="{T_TD_COLOR1}" align="right"><font face="{T_FONTFACE1}" size="{T_FONTSIZE2}" color="{T_FONTCOLOR1}">{L_SEARCH_AUTHOR}:&nbsp;</td>
<td bgcolor="{T_TD_COLOR1}"><input type="text" name="authorstring"></td>
</tr>
<tr>
<td bgcolor="{T_TD_COLOR1}" align="right"><font face="{T_FONTFACE1}" size="{T_FONTSIZE2}" color="{T_FONTCOLOR1}">{L_FORUM}:&nbsp;</td>
<td bgcolor="{T_TD_COLOR1}"><select name="searchforum">{S_FORUM_OPTIONS}</select></td>
</tr>
<tr>
<td bgcolor="{T_TD_COLOR1}" align="right"><font face="{T_FONTFACE1}" size="{T_FONTSIZE2}" color="{T_FONTCOLOR1}">{L_LIMIT_CHARACTERS}:&nbsp;</td>
<td bgcolor="{T_TD_COLOR1}"><select name="charsreqd">{S_CHARACTER_OPTIONS}</select></td>
</tr>
<tr>
<td bgcolor="{T_TD_COLOR1}" align="right"><font face="{T_FONTFACE1}" size="{T_FONTSIZE2}" color="{T_FONTCOLOR1}">{L_SORT_BY}:&nbsp;</td>
<td bgcolor="{T_TD_COLOR1}" valign="middle"><font face="{T_FONTFACE1}" size="{T_FONTSIZE1}" color="{T_FONTCOLOR1}"><select name="sortby">{S_SORT_OPTIONS}</select>&nbsp;&nbsp;<input type="radio" name="sortdir" value="ASC">&nbsp;{L_SORT_ASCENDING}&nbsp;&nbsp;&nbsp;<input type="radio" name="sortdir" value="DESC" checked>&nbsp;{L_SORT_DECENDING}&nbsp;</td>
</tr>
<tr>
<td colspan="2" bgcolor="{T_TH_COLOR2}" align="center">{S_HIDDEN_FIELDS}<input type="submit" value="{L_SEARCH}"></td>
</tr>
</table></td>
</form></tr>
</table></div>
<div align="center"><table width="70%" border="0">
<tr>
<td align="left" valign="top"><font face="{T_FONTFACE1}" size="{T_FONTSIZE1}"><b>{S_TIMEZONE}</b></font></td>
<td align="right" valign="top" nowrap>{JUMPBOX}</td>
</tr>
</table>

View File

@@ -0,0 +1,70 @@
<div align="center"><table width="98%" cellspacing="0" cellpadding="4" border="0">
<tr>
<td align="left"><font face="{T_FONTFACE1}" size="{T_FONTSIZE1}" color="{T_FONTCOLOR1}"><a href="{U_INDEX}">{SITENAME}&nbsp;{L_INDEX}</a></font></td>
</tr>
</table></div>
<div align="center"><table border="0" cellpadding="1" cellspacing="0" width="98%">
<tr>
<td bgcolor="{T_TH_COLOR1}"><table border="0" cellpadding="4" cellspacing="1" width="100%">
<tr>
<td colspan="2" bgcolor="{T_TH_COLOR3}" align="center"><font face="{T_FONTFACE1}" size="{T_FONTSIZE2}" color="{T_FONTCOLOR1}">&nbsp;<b>{L_SEARCH} - {SEARCH_MATCHES} Matches</b>&nbsp;</font></td>
</tr>
</table></td>
</tr>
</table></div>
<br clear="all">
<div align="center"><table border="0" cellpadding="1" cellspacing="0" width="98%">
<tr>
<td bgcolor="{T_TH_COLOR1}"><table border="0" cellpadding="0" cellspacing="1" width="100%">
<!-- BEGIN searchresults -->
<tr>
<td colspan="2" bgcolor="{T_TH_COLOR2}" align="left"><table cellpadding="4" cellspacing="1" border="0">
<tr>
<td><font face="{T_FONTFACE1}" size="{T_FONTSIZE2}" color="{T_FONTCOLOR1}"><img src="images/folder.gif">&nbsp;{L_FORUM}:&nbsp;<a href="{U_FORUM}">{searchresults.FORUM_NAME}</a></td>
</tr>
</table></td>
</tr>
<tr>
<td rowspan="2" width="20%" bgcolor="{T_TD_COLOR1}"><table height="100%" cellspacing="0" cellpadding="4" border="0">
<tr>
<td valign="top"><font face="{T_FONTFACE1}" size="{T_FONTSIZE2}"><b><a href="{searchresults.U_USER_PROFILE}">{searchresults.POSTER_NAME}</a></b></font><br><br><font face="{T_FONTFACE2}" size="{T_FONTSIZE2}">{L_REPLIES}: <b>{searchresults.TOPIC_REPLIES}</b><br>{L_VIEWS}: <b>{searchresults.TOPIC_VIEWS}</b><br></td>
</tr>
</table></td>
<td width="80%"><table width="100%" cellspacing="0" cellpadding="4" border="0">
<tr>
<td bgcolor="{T_TD_COLOR1}"><font face="{T_FONTFACE1}" size="{T_FONTSIZE2}">{L_TOPIC}:&nbsp;<a href="{searchresults.U_TOPIC}">{searchresults.TOPIC_TITLE}</a></font></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" height="100%" cellspacing="0" cellpadding="4" border="0">
<tr>
<td bgcolor="{T_TD_COLOR2}"><img src="images/posticon.gif" alt="Post image icon"><font face="{T_FONTFACE1}" size="{T_FONTSIZE1}">{L_POSTED}: {searchresults.POST_DATE}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Post Subject: {searchresults.POST_SUBJECT}</font><hr></td>
</tr>
<tr>
<td height="100%" bgcolor="{T_TD_COLOR2}"><font face="{T_FONTFACE3}" size="{T_FONTSIZE2}" color="{T_FONTCOLOR1}">{searchresults.MESSAGE}</font><br><br></td>
</tr>
</table></td>
</tr>
<!-- END searchresults -->
<tr>
<td colspan="2" bgcolor="{T_TH_COLOR2}"><table width="100%" cellspacing="0" cellpadding="4" border="0">
<tr>
<td align="left" valign="middle">&nbsp;<font face="{T_FONTFACE1}" size="{T_FONTSIZE2}">{L_PAGE} <b>{ON_PAGE}</b> {L_OF} <b>{TOTAL_PAGES}</b></font>&nbsp;</td>
<td align="right" valign="middle"><font face="{T_FONTFACE2}" size="{T_FONTSIZE2}">{L_GOTO_PAGE}:&nbsp;{PAGINATION}</font></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></div>
<div align="center"><table width="98%" border="0">
<tr>
<td align="left" valign="top"><font face="{T_FONTFACE1}" size="{T_FONTSIZE1}"><b>{S_TIMEZONE}</b></font></td>
<td align="right" valign="top" nowrap>{JUMPBOX}</td>
</tr>
</table>