Gente eu quebrado a cuca aqui, eu tenho um script e gostaria de coloca-lo para fz pesquisas no zoom....
Código: Selecionar todos
<?php
echo "<a href=\"index.php\"><-".$index_hjem."</a>";
if($_GET["tlf"]){
if(empty($_GET["tlf"])){
echo $tlfsok_empty;
}else{
$sok=strtr($_GET["tlf"], ' ', '+');
$tlf = file_get_contents("http://www.gulesider.no/gsi/whiteSearch.do?mode=&linje=1&sort=2&spraak=1&drill=&etter=".$sok."&x=23&y=11");
$split = split('<table width="100%" height="20" border="0" cellpadding="0" cellspacing="0">', $tlf);
$txt = split("</table>", $split[1]);
if(empty($txt[0]) && empty($txt[0])){
echo "<br><br>".$tlfsok_null;
}else{
echo "<br>".strip_tags($txt[0])."<br>".strip_tags($txt[1]);
}
echo "<br><a href=\"index.php?tlfs=s\"><-".$tlfsok_nyttsok."</a>";
}}else{
?>
<form action="index.php?tlfs=s" method="get">
<input name="tlf" type="text">
<br>
<input name="submit" type="submit" value="<?php echo $tlfsok_submit; ?>">
</form>
<?php
}
?>
Cique