Ok, I lied
Now that you showed me the search page, I can see that it will require a little javascript. Add this to the head of the search page.
Code:
<script type="text/javascript">
function getQueryValue(name) {
var match = (new RegExp('[?&;]' + name + '=([^&;#]*)')).exec(document.URL);
return match ? unescape(match[1]) : null;
}
function load(){
engine1(getQueryValue('engine'),getQueryValue('go'));
}
window.load = load;
</script>
And your search form on the other page should look like this.
Code:
<DIV id="tabcontentcontainer">
<div id="sc1" class="tabcontent">
<center>
<form method="get" action="search.html">
<span class="set_as">Set as default torrent engine:</span>
<input type="checkbox" onclick="setDefault()" name="dodefault" />
<select name="engine" class="drop_down">
<option value="-1" selected="selected">Torrent Search</option>
<option value="15">Mini Nova</option>
<option value="26">Torrent Spy</option>
<option value="25">Iso Hunt </option>
<option value="12">Bit Junkie</option>
<option value="18">Demonoid</option>
<option value="10">My Bittorrent</option>
<option value="9">MegaNova</option>
<option value="20">Bit Nova</option>
<option value="2">New Torrents</option>
<option value="4">Piratic</option>
<option value="37">The Pirate Bay</option>
<option value="21">Torrentbox</option>
<option value="1">Torrent Reactor</option>
<option value="24">Torrent Valley</option>
<option value="8">2 Torrents</option>
<option value="28">Monova</option>
<option value="3">Bittorrent.com</option>
<option value="6">Nova Torrents</option>
<option value="7">Linux Tracker</option>
<option value="11">Download Anime</option>
<option value="13">Frozen layer</option>
<option value="22">Torrents Bol</option>
<option value="23">Zomb Tracker</option>
<option value="0">H33t</option>
<option value="38">Smart Torrent</option>
<option value="31">Bt Emuparadise</option>
<option value="27">Indy Torrents</option>
<option value="32">Hunt Park Insider</option>
<option value="35">Ultimate Bit Board</option>
<option value="36">Arab Files</option>
</select>
<input name="go" class="text_field" type="text" id="tx1"
onKeyUp="document.form2.tx2.value=this.value;document.form3.tx3.value=this.value; document.form4.tx4.value=this.value;">
<input name="submit" type="submit" class="search_button" value="Search" />
</form>
</center>
<center><div id="reminder">Not sure what to do? Then read our comprehensive step by step <a href="http://easyfilesearch.com/forums/viewtopic.php?t=27">Bittorrent tutorial</a>.</div>
</center>
</div>
<div id="sc2" class="tabcontent">
<center>
<form method="get" action="search.html">
<span class="set_as">Set as default irc engine:</span>
<input type="checkbox" onclick="setDefault()" name="dodefault2" />
<select name="engine" class="drop_down">
<option value="-1" selected="selected">Irc Search</option>
<option value="54">Irc Spy</option>
<option value="49">Packet News</option>
<option value="50">Search Irc</option>
<option value="51">My Downloader</option>
<option value="52">Gogloom</option>
<option value="53">Irc Netsplit</option>
</select>
<input name="go" class="text_field" type="text" id="tx2" onKeyUp= "document.form1.tx1.value=this.value;document.form3.tx3.value=this.value; document.form4.tx4.value=this.value;">
<input name="submit" type="submit" class="search_button" value="Search" />
</form>
<div id="reminder">Not sure what to do? Then read our comprehensive step by step <a href="#" onclick="MM_popupMsg('Sorry but the IRC Tutorials are under construction , please check back soon!')">IRC tutorial</a>.</div>
</center>
</div>
<div id="sc3" class="tabcontent">
<center>
<form method="get" action="search.html">
<span class="set_as">Set as default ftp engine:</span>
<input type="checkbox" onclick="setDefault()" name="dodefault3" />
<select name="engine" class="drop_down">
<option value="-1" selected="selected">FTP Search</option>
<option value="61">Rambler</option>
<option value="62">File Watcher</option>
<option value="63">Free Ware Web</option>
<option value="64">FTP Search Elmundo</option>
<option value="66">File Searching</option>
</select>
<input name="go" class="text_field" type="text" id="tx3" onKeyUp= "document.form1.tx1.value=this.value;document.form2.tx2.value=this.value;document.form4.tx4.value=this.value;">
<input name="submit" type="submit" class="search_button" value="Search" />
</form>
<div id="reminder">Not sure what to do? Then read our comprehensive step by step <a href="#" onclick="MM_popupMsg('Sorry but the FTP Tutorials are under construction, please check back soon')">FTP tutorial</a>.</div>
</center>
</div>
<div id="sc4" class="tabcontent">
<center>
<form method="get" action="search.html">
<span class="set_as">Set as default search engine:</span>
<input type="checkbox" onclick="setDefault()" name="dodefault4" />
<select name="engine" class="drop_down">
<option value="-1" selected="selected">Search Engines</option>
<option value="73">Google</option>
<option value="74">Yahoo</option>
<option value="75">Windows Live</option>
<option value="76">All The Web</option>
<option value="78">Altavista</option>
<option value="79">Ask</option>
</select>
<input name="go" class="text_field" type="text" id="tx4"
onKeyUp="document.form2.tx2.value=this.value;document.form3.tx3.value=this.value; document.form1.tx1.value=this.value;">
<input name="submit" type="submit" class="search_button" value="Search" />
</form>
</center>
<center><div id="reminder">Not sure what to do? Then read our comprehensive step by step <a href="http://easyfilesearch.com/forums/viewtopic.php?t=27">Search Engines tutorial</a>.</div>
</center>
</div>
</DIV>
It still needs the javascript files though.
PS: This code is very bad accessibility wise. However, the code before was just as bad, so whatever.
Bookmarks