<mef:set title="Forum Search" container="forums" forum_header_type="index" /> <script type="text/javascript" src="/js/forums/search.js"></script> <script type="text/javascript" src="/js/select-user.js"></script> <div class="forum-table"> <table id="table-search" cellspacing="0" cellpadding="0" border="0" width="100%" summary="main table"> <thead> <tr> <td> Forum Search</td> </tr> </thead> <tbody> <tr> <td class="content"> <mef:if expr="keywords = '' && hash = ''"> <mef:true> <div style="margin: 1em; padding-bottom: 0.5em; border-bottom: solid #ccc 1px;"> <input id="rad-google" type="radio" name="searchtype" onclick="document.getElementById('google-search').style.display='block'; document.getElementById('allegro-search').style.display='none';" /><label for="rad-google">Google Search Engine</label> <input id="rad-allegro" type="radio" name="searchtype" checked="checked" onclick="document.getElementById('google-search').style.display='none'; document.getElementById('allegro-search').style.display='block';" /><label for="rad-allegro">Allegro.cc Search Engine</label> </div> <div id="google-search" style="padding: 3em; display: none;"> <form method="get" action="http://www.google.com/custom" target="_top"> <table border="0"> <tr> <td nowrap="nowrap" valign="top" align="left" height="32"> <a href="http://www.google.com/"> <img src="http://www.google.com/logos/Logo_25wht.gif" border="0" alt="Google" /></a> </td> <td nowrap="nowrap"> <input type="hidden" name="domains" value="www.allegro.cc" /> <input type="text" name="q" size="31" maxlength="255" value="" /> <input type="submit" name="sa" value="Search" /> </td> </tr> <tr> <td> </td> <td nowrap="nowrap"> <table> <tr> <td> <input type="radio" name="sitesearch" value="" /> <font size="-1" color="#000000">Web</font> </td> <td> <input type="radio" name="sitesearch" value="www.allegro.cc" checked="checked" /> <font size="-1" color="#000000">www.allegro.cc</font> </td> </tr> </table> <input type="hidden" name="client" value="pub-5206787690556560" /> <input type="hidden" name="forid" value="1" /> <input type="hidden" name="ie" value="ISO-8859-1" /> <input type="hidden" name="oe" value="ISO-8859-1" /> <input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:FFFFFF;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;LH:56;LW:293;L:http://www.allegro.cc/templates/classic/media/logo.png;S:http://www.allegro.cc;LP:1;FORID:1;" /> <input type="hidden" name="hl" value="en" /> </td> </tr> </table> </form> </div> <div id="allegro-search"> <blockquote> <form method="get" name="search_form"> <table summary="search layout"> <tr> <td valign="top"> <table summary="search box"> <tr> <td valign="top">Keywords:</td> <td><input type="input" name="keywords" size="40" value="{keywords|encode}" /></td> </tr> <tr> <td valign="top">Posted by:</td> <td> <div><mef:include file="select-user" name="member_name" multiple="{false}" /></div> <input id="o" type="checkbox" name="o" value="1" mef:attributes="checked if o" /><label for="o">started thread</label> </td> </tr> <tr> <td>Order by:</td> <td> <select name="order"> <option value="new" mef:attributes="selected if order = 'new'">Newer Threads First</option> <option value="old" mef:attributes="selected if order = 'old'">Older Threads First</option> <option value="rel" mef:attributes="selected if order = 'rel'">Relevance</option> <option value="size" mef:attributes="selected if order = 'size'">Thread Size</option> </select> </td> </tr> <tr> <td></td> <td><input type="submit" value="Search" /></td> </tr> </table> </td> <td valign="top"> <div style="margin-left: 1em;"> <fieldset> <legend>Forums</legend> <div style="margin: 0.5em;"> <input mef:attributes="checked if forum_all" id="forum_all" name="forum_all" type="checkbox" value="1" onclick="validate_forums();" /><label for="forum_all"><b>All Forums</b></label><br /> <hr /> <mef:loop collection="board_name" id="b_id" item="b_name"> <mef:if expr="b_id < 8"><input id="forum_{b_id}" name="forum[]" type="checkbox" value="{b_id}" mef:attributes="checked if forum[b_id]" /><label for="forum_{b_id}">{b_name}</label><br /></mef:if> </mef:loop> </div> </fieldset> </div> </td> </tr> </table> </form> </blockquote> <div style="margin-left: 1em; font-size: 80%;"> <p> <b>Syntax examples:</b> </p> <ul> <li><tt>pixel perfect</tt> - both words</li> <li><tt>pixel OR perfect</tt> - either word</li> <li><tt>pixel -perfect</tt> - pixel, but not perfect</li> <li><tt>"pixel perfect"</tt> - the exact phrase</li> <li><tt>"pixel perfect"^3</tt> - the phrase with up to three words in between pixel and perfect</li> <li><tt>title:"pixel perfect"</tt> - the phrase must appear in the title</li> <li><tt>(pixel perfect) OR (collision detection)</tt> - either set of words</li> <li><tt>pixel^2 perfect</tt> - boost the relevancy of the word 'pixel'</li> </ul> </div> </div> </mef:true> <mef:false> <mef:if expr="!total"> <mef:true> <div style="margin: 1em;"> <p mef:if="!message">There are no results for your search.</p> <p mef:if="message">{message}</p> <a href="/forums/search/">Back to Search Page</a> </div> </mef:true> <mef:false> <div style="margin: 1em;">Showing Results <b>{start}</b> to <b>{end}</b> of {total} for <b>{keywords|encode}</b>. (<a href="http://www.allegro.cc/forums/search/{hash}" title="Copy this address if you want to send the results to another person." style="cursor: help;">Search Link</a>)</div> <mef:capture name="navbar"><a href="/forums/search/">New Search</a> | <mef:if expr="page > 0"><mef:true><a href="/forums/search/{hash}/{page-1}">Previous</a></mef:true><mef:false>Previous</mef:false></mef:if> | <mef:if expr="end < total"><mef:true><a href="/forums/search/{hash}/{page+1}">Next</a></mef:true><mef:false>Next</mef:false></mef:if> </mef:capture> <div style="border-bottom: dotted #aaa 1px; padding-bottom: 0.5em; margin: 1em;">{navbar}</div> <div style="float: right; margin: 2em;"> <script type="text/javascript"><!-- google_ad_client = "pub-5206787690556560"; google_ad_width = 160; google_ad_height = 600; google_ad_format = "160x600_as"; google_ad_type = "text_image"; //2007-04-23: search skyscraper google_ad_channel = "2900563851"; google_color_border = "CCCCCC"; google_color_bg = "F8F8F8"; google_color_link = "336699"; google_color_url = "008000"; google_color_text = "000000"; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </div> <div style="margin: 1em;"> <mef:loop collection="results" item="thread"> <div><b><a href="/forums/thread/{thread.id}" style="font-size: 120%;">{thread.topic}</a></b></div> <div style="margin-right: 4em; margin-bottom: 0.25em;">{thread.html|remove_br|ppm|strip_tags}</div> <div style="margin-left: 2em; margin-bottom: 1.5em;"> <mef:loop collection="thread.posts" item="post"> <div style="margin-left: 1em;"><a href="/forums/thread/{post.thread_id}/{post.post_id}#target">{post.poster}</a>: {post.html|remove_br|ppm|strip_tags|center_on_text(keywords)}</div> </mef:loop> <div style="margin-right: 4em; margin-top: 0.50em; padding-top: 0.25em; border-top: dashed #999 1px;"> <font color="#666666">Forum: <b>{board_name[thread.board_id]}</b></font><br /> <font color="#339933">{thread.poster} - {thread.reply_count} Replies - {thread.post_dt|localtime}</font> </div> </div> </mef:loop> </div> <div style="border-top: dotted #aaa 1px; padding-top: 0.5em; margin: 1em;">{navbar}</div> </mef:false> </mef:if> </mef:false> </mef:if> </td> </tr> </tbody> </table> </div> <script type="text/javascript">validate_forums();</script>