<?php

	require("search/config/config.php");

	$installBase = ereg_replace("(^.*)[/\\]$", "\\1", $config["installBase"]);

	/* Display header if set. */
	$header = $config["header"];
	if ($header) {
		if ($header[0] != $config["fileSeparator"] && $header[0] != ".")
			$header = $installBase . $config["fileSeparator"] . "config" . $config["fileSeparator"] . $header;
		if (is_readable($header)) {
			include($header);
		} else {
			printf("Error: Unable to access header '%s'. Verify \$config[\"installBase\"] is correct.<BR>\n", $header);
		}
	}

?>

<P>

<TABLE><TR><TD CLASS=shadow><SPAN CLASS=title>SEARCH THIS SITE</SPAN></TD></TR></TABLE>
<BR>
Kami menyadari bahwa jumlah halaman di website kami hampir mencapai ratusan halaman, sehingga kami melengkapi website kami
dengan fasilitas pencarian untuk menemukan servis atau informasi yang Anda butuhkan.
<BR><BR>
Silakan masukkan 1 atau 2 kata yang Anda cari di form di bawah ini:
<BR><P>

<TABLE WIDTH=100% CELLSPACING=0 CELLPADDING=0 BORDER=0>
 <FORM METHOD=GET ACTION=http://techscape.co.id/support/search/search.ts TARGET="_self">
 <TR>
  <TD ALIGN=CENTER>
   
   <TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
    <TR>
     <TD><INPUT NAME=q SIZE=30 CLASS=boxdefault>&nbsp;</TD>
     <TD><INPUT TYPE=SUBMIT VALUE=Search CLASS=boxstandard>&nbsp;</TD>
     <TD><SELECT NAME=r CLASS=boxdefault2>
  	<OPTION VALUE=0>All results
	<OPTION VALUE=5>5 results
	<OPTION SELECTED VALUE=10>10 results
	<OPTION VALUE=20>20 results
	<OPTION VALUE=30>30 results
	<OPTION VALUE=50>50 results
	</SELECT>
     </TD>
    </TR>
    </FORM>
   </TABLE>

  </TD>
 </TR>
</TABLE>

<B><P>

<?php

	/* Display footer if set. */
	$footer = $config["footer"];
	if ($footer) {
		if ($footer[0] != $config["fileSeparator"] && $footer[0] != ".")
			$footer = $installBase . $config["fileSeparator"] . "config" . $config["fileSeparator"] . $footer;
		if (is_readable($footer)) {
			include($footer);
		} else {
			printf("Error: Unable to access footer '%s'. Verify \$config[\"installBase\"] is correct.<BR>\n", $footer);
		}
	}

?>
