hier is het benodigde script:
Code: Selecteer alles
<script type="text/javascript">
<!--
function checkSearch()
{
if (document.form_search.search_engine.value == 'google')
{
window.open('http://www.google.com/search?q=' + document.form_search.search_keywords.value, '_google', '');
return false;
}
return true;
}
//-->
</script>
</head>
<body link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<a name="top"></a>
<table class="mainwindow" height="100%" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td>
<table width="100%" height="100%" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" height="100%">
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td class="title"><table width="100%" height="100%" cellpadding="0" cellspacing="0"><tr>
<td valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="25%" align="right">
<form name="form_search" action="search.php?sid=f795f84be78e497cbf339455fc3be652" method="post">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="./templates/alexisOrange/images/search_left.gif" width="15" height="30"></td>
<td align="center" width="100%" class="toplist2" background="./templates/alexisOrange/images/search_back.gif">
Forum Search
</td>
<td align="right"><img src="./templates/alexisOrange/images/search_back.gif" height="30"></td>
<td align="right"><img src="./templates/alexisOrange/images/search_right_up.gif" height="30"></td>
</tr>
<tr>
<td><img src="./templates/alexisOrange/images/search_left.gif" width="15" height="30"></td>
<td align="center" width="100%" class="toplist2" background="./templates/alexisOrange/images/search_back.gif">
<input class="gensmall" type="text" name="search_keywords" size="20" /> <input type="submit" class="liteoption" value="OK" onclick="return checkSearch()" />
</td>
<td align="right"><img src="./templates/alexisOrange/images/search_back.gif" height="30"></td>
<td align="right"><img src="./templates/alexisOrange/images/search_right.gif" height="30"></td>
</tr>
</table>
</form>
</td>
<td width="46%" align="center" valign="bottom"><a href="./profile.php?mode=register"><img src="./images/logo.gif" border="0"></a></td>
<td width="25%" align="right">
<form name="form_search" action="search.php?sid=f795f84be78e497cbf339455fc3be652" method="post">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="./templates/alexisOrange/images/google_left_up.gif" width="15" height="30"></td>
<td align="center" width="100%" class="toplist2" background="./templates/alexisOrange/images/google_back.gif">
Google Search
</td>
<td align="right"><img src="./templates/alexisOrange/images/search_back.gif" height="30"></td>
<td align="right"><img src="./templates/alexisOrange/images/google_right.gif" height="30"></td>
</tr>
<tr>
<td><img src="./templates/alexisOrange/images/google_left.gif" width="15" height="30"></td>
<td align="center" width="100%" class="toplist2" background="./templates/alexisOrange/images/google_back.gif">
<input class="gensmall" type="text" name="search_keywords" size="20" /> <input type="hidden" value="google" /><input type="submit" class="liteoption" value="OK" onclick="return checkSearch()" />
</td>
<td align="right"><img src="./templates/alexisOrange/images/google_back.gif" height="30"></td>
<td align="right"><img src="./templates/alexisOrange/images/google_right.gif" height="30"></td>
</tr>
</table>
</form>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>