$link = mysqli_connect("127.0.0.1", "huzurevi", "y9x3?Bj2", "hekyad_web");
mysqli_set_charset($link, "utf8");
if (! isset($_GET["id"]))
$id = 0;
else
$id = $_GET["id"];
if (! isset($_GET["sz"]))
$sz = 1;
else
$sz = $_GET["sz"];
if (! isset($_GET["sp"]))
$sp = 1;
else
$sp = $_GET["sp"];
if (! isset($_GET["gid"]))
$gid = 0;
else
$gid = $_GET["gid"];
if (! isset($_GET["dil"]))
$dil = "TR";
else
$dil = $_GET["dil"];
if ($dil!="TR" || $dil!="EN")
$dil = "TR";
if (!is_numeric($id))
$id = 0;
if (!is_numeric($sz))
$sz = 1;
if (!is_numeric($sp))
$sp = 1;
if (!is_numeric($gid))
$gid = 0;
/*
if ($id>0 && $id<900000 && ($id%100000==0) && $id!=800000)
{
if ($id==200000 || $id==300000)
$yon = $id+5000;
else
$yon = $id+10000;
header ("Location: http://www.huzurevleri.org.tr/index.php?id=$yon&dil=$dil");
exit;
}
*/
include ("HzrEvTemp/HzrEvL.php");
include ("aciklamalar.php");
$query_c = 'SELECT * FROM he_statik WHERE aktif=1 and id = '.$id;
$result_c = mysqli_query($link,$query_c);
$row_c = mysqli_fetch_assoc($result_c);
$alt_text = str_replace('
',' ',$row_c["baslik$dil"]);
if ($id>0)
$title = " - ".$alt_text;
else
$title = "";
?>
if ($dil=="EN")
{
?>
Huzurevleri Kurma ve Yasatma Dernegi - Istanbul, Turkey
}
else
{
?>
Huzurevleri Kurma ve Yaşatma Derneği - İstanbul
}
?>
include("HzrEvTemp/bolum1.php");
?>
|
|
include("HzrEvTemp/bolum2.php");
?>
|
|
|
include("HzrEvTemp/bolum3.php");
mysqli_close($link);
?>
|
|
|