Bulgarian Web sites search
<html><head><title>Free Search</title></head>
<body>
<STYLE type='text/css'>
FONT {
font : 11px Verdana; color : black; }
:link { color : #666666; text-decoration : bold; }
:visited { color : gray; text-decoration : none; }
A:hover { color : gray; }
.form {
background-color : white;
border-bottom : 1px solid black;
border-left : 1px solid black;
border-right : 1px solid black;
border-top : 1px solid black;
color : black;
cursor : auto;
font-family : Verdana;
font-size : 11px;
}
.button {
background-color : #e1e1e1;
border-bottom : 1px solid #e1e1e1;
border-left : 1px solid #e1e1e1;
border-right : 1px solid #e1e1e1;
border-top : 1px solid #e1e1e1;
color : black;
cursor : auto;
font-family : Tahoma;
font-size : 8pt;
}
</STYLE>
<?
echo "<FONT>
Òúðñà÷êàòà òúðñè â HIT.BG , Search.bg , Portal.bg , Index.bg
<form action=?>
<input class=form name=q type=text size=25>
<input class=button type=submit value=Submit><P>
";
if(isset($_GET['q']) && $_GET['q'] != "") {
$string = $_GET['q'];
echo "<FONT>Òúðñåíå íà <B>$string</B>:<P>";
echo "<TABLE bgcolor=#EBCF5F cellSpacing=1 cellPadding=1 width=100%>
<TR><TD><FONT>HIT.BG</TABLE><BR>";
$url = "http://search.hit.bg/?what=$string&where=3";
$file = fopen("$url", "r");
$rf1 = fread($file, 40000);
$grab1 = ereg('<p class="mag"><font size="2">(.*)<br><i>', $rf1, $printing1);
echo $printing1[1];
fclose($file);
echo "</TABLE></TABLE></TABLE></FONT></DD></DL>";
echo "<TABLE bgcolor=#EBCF5F cellSpacing=1 cellPadding=1 width=100%>
<TR><TD><FONT>Search.bg</TABLE><BR>";
$url = "http://www.search.bg/search.php?query=$string";
$file = fopen("$url", "r");
$rf2 = fread($file, 40000);
$grab2 = ereg('<td width=620 valign=top class=cnt1><br><br>(.*)</dd></dl>', $rf2, $printing2);
echo $printing2[1];
fclose($file);
echo "</TABLE></TABLE></TABLE></FONT></DD></DL>";
echo "<TABLE bgcolor=#EBCF5F cellSpacing=1 cellPadding=1 width=100%>
<TR><TD><FONT>Portal.BG</TABLE><BR>";
$url = "http://portal.bg/cgi-bin/search?words=$string&config=Bulgaria&method=and&format=long&x=19&y=13";
$file = fopen("$url", "r");
$rf3 = fread($file, 40000);
$grab3 = ereg('<!-- HEADER END -->(.*)</dd></dl>', $rf3, $printing3);
echo $printing3[1];
fclose($file);
echo "</TABLE></TABLE></TABLE></FONT></DD></DL>";
echo "<TABLE bgcolor=#EBCF5F cellSpacing=1 cellPadding=1 width=100%>
<TR><TD><FONT>Index.BG</TABLE><BR>";
$url = "http://index.bg/linx/ls.php3?KeyWords=$string&Search=Search";
$file = fopen("$url", "r");
$rf4 = fread($file, 40000);
$grab4 = ereg('</td></tr></table></center>(.*)<table BORDER=0 WIDTH="760">', $rf4, $printing4);
echo $printing4[1];
fclose($file);
echo "</TABLE></TABLE></TABLE></FONT></DD></DL>";
}
?>