'; $ad_350_1 = ''; $ad_tower =' '; $search_box = ''; ?> " /> " /> <?php if($_GET['title']) { echo"$otrs_title"; } else { echo"$page_title";} ?>

    $faf[$kode]"; $explo = explode(" ","$faf[$kode]"); $vai_ir = count(explode(" ","$faf[$kode]")); if($vai_ir!=0) { echo"
      "; if($explo[0]) { $dabut_sub = mysql_query("SELECT $kode, page, id, cat FROM cats WHERE $kode LIKE '%$explo[0]%' AND page = '$majaslapa' ORDER BY RAND() LIMIT 5"); } if($explo[1]) { $dabut_sub = mysql_query("SELECT $kode, page, id, cat FROM cats WHERE $kode LIKE '%$explo[0]%' AND page = '$majaslapa' OR $kode LIKE '%$explo[1]%' AND page = '$majaslapa' ORDER BY RAND() LIMIT 5"); } if($explo[2]) { $dabut_sub = mysql_query("SELECT $kode, page, id, cat FROM cats WHERE $kode LIKE '%$explo[0]%' AND page = '$majaslapa' OR $kode LIKE '%$explo[1]%' AND page = '$majaslapa' OR $kode LIKE '%$explo[2]%' AND page = '$majaslapa' ORDER BY RAND() LIMIT 5"); } if($explo[3]) { $dabut_sub = mysql_query("SELECT $kode, page, id, cat FROM cats WHERE $kode LIKE '%$explo[0]%' AND page = '$majaslapa' OR $kode LIKE '%$explo[1]%' AND page = '$majaslapa' OR $kode LIKE '%$explo[2]%' AND page = '$majaslapa' OR $kode LIKE '%$explo[3]%' AND page = '$majaslapa' ORDER BY RAND() LIMIT 5"); } while($fifa = mysql_fetch_array($dabut_sub)) { echo"
    • $fifa[$kode]
    • "; } echo"
    "; } echo""; } ?>

$ad_wide
"; ?>

$page_title

$search_box"; ?>
"; echo"
$ad_350_1
"; if($_GET['cat']){ $cik_pant = mysql_num_rows(mysql_query("SELECT id FROM pantini WHERE page = '$majaslapa' AND cat = '$_GET[id]' LIMIT 1")); if($cik_pant==0) { $kodes = mysql_fetch_array(mysql_query("SELECT $kode FROM cats WHERE cat = '$_GET[id]' LIMIT 1")); $explo = explode(" ","$kodes[$kode]"); if($explo[0]) { $selec = mysql_query("SELECT $kode, page, id, cat FROM pantini WHERE $kode LIKE '%$explo[0]%' ORDER BY RAND() LIMIT 5"); } if($explo[1]) { $selec = mysql_query("SELECT $kode, page, id, cat FROM pantini WHERE $kode LIKE '%$explo[0]%' OR $kode LIKE '%$explo[1]%' ORDER BY RAND() LIMIT 5"); } if($explo[2]) { $selec = mysql_query("SELECT $kode, page, id, cat FROM pantini WHERE $kode LIKE '%$explo[0]%' OR $kode LIKE '%$explo[1]%' OR $kode LIKE '%$explo[2]%' ORDER BY RAND() LIMIT 5"); } if($explo[3]) { $selec = mysql_query("SELECT $kode, page, id, cat FROM pantini WHERE $kode LIKE '%$explo[0]%' OR $kode LIKE '%$explo[1]%' OR $kode LIKE '%$explo[2]%' OR $kode LIKE '%$explo[3]%' ORDER BY RAND() LIMIT 5"); } } else { $selec = mysql_query("SELECT $kode, cat, id FROM pantini WHERE page = '$majaslapa' AND cat = '$_GET[id]' LIMIT 20"); } } else { $explo = explode(" ","$page_title"); if($explo[0]) { $selec = mysql_query("SELECT $kode, page, id, cat FROM pantini WHERE $kode LIKE '%$explo[0]%' ORDER BY id DESC LIMIT 20"); } if($explo[1]) { $selec = mysql_query("SELECT $kode, page, id, cat FROM pantini WHERE $kode LIKE '%$explo[0]%' OR $kode LIKE '%$explo[1]%' ORDER BY RAND() LIMIT 5"); } if($explo[2]) { $selec = mysql_query("SELECT $kode, page, id, cat FROM pantini WHERE $kode LIKE '%$explo[0]%' OR $kode LIKE '%$explo[1]%' OR $kode LIKE '%$explo[2]%' ORDER BY RAND() LIMIT 5"); } if($explo[3]) { $selec = mysql_query("SELECT $kode, page, id, cat FROM pantini WHERE $kode LIKE '%$explo[0]%' OR $kode LIKE '%$explo[1]%' OR $kode LIKE '%$explo[2]%' OR $kode LIKE '%$explo[3]%' ORDER BY RAND() LIMIT 5"); } } echo""; $nr = 0; while($row = mysql_fetch_array($selec)) { $text = nl2br("$row[$kode]"); echo""; $nr = $nr +1; if($nr==2) { echo""; $nr = 0; } } echo"
$row[$kode]
"; $fetch = mysql_Fetch_array(mysql_query("SELECT id, cat, $kode FROM cats WHERE cat = '$row[cat]' LIMIT 1")); if($fetch['id']) { echo"-- $fetch[$kode] --"; } echo"
"; echo"
$ad_tower
"; echo""; $cats = mysql_query("SELECT $kode, page, id, cat FROM cats WHERE page = '$majaslapa' AND $kode != '' LIMIT 19"); while($faf = mysql_fetch_array($cats)){ echo"
  • "; if($faf['cat']==$_GET['id']&&$_GET['id']){ echo""; } echo"$faf[$kode]"; if($faf['cat']==$_GET['id']&&$_GET['id']){ echo""; } echo"
  • "; } echo""; ?>