setSql("SELECT id FROM `kurumsal` WHERE $seflink_k = '$seflink'"); $dbo->runSql(); $row = $dbo->getRow(); if ($row->id){ include ('kurumsal.php'); exit(); } $seflink_k = "seflink_".$dil; $dbo->setSql("SELECT id FROM `haberler` WHERE $seflink_k = '$seflink'"); $dbo->runSql(); $row = $dbo->getRow(); if ($row->id){ include ('haber-detay.php'); exit(); } $seflink_k = "seflink_".$dil; $dbo->setSql("SELECT id FROM `urunler` WHERE $seflink_k = '$seflink'"); $dbo->runSql(); $row = $dbo->getRow(); if ($row->id){ include ('urunler.php'); exit(); } $seflink_k = "seflink_".$dil; $dbo->setSql("SELECT id FROM `kalite` WHERE $seflink_k = '$seflink'"); $dbo->runSql(); $row = $dbo->getRow(); if ($row->id){ include ('kalite.php'); exit(); } $seflink_k = "seflink_".$dil; $dbo->setSql("SELECT id FROM `ik` WHERE $seflink_k = '$seflink'"); $dbo->runSql(); $row = $dbo->getRow(); if ($row->id){ include ('ik.php'); exit(); } header('Location: /404.php');