ayar.php içeriği
$dil_get=$_GET['lang'];
if ($_SESSION[lang]!='') {
if ($dil_get=='TR') {$_SESSION[lang]='TR'; $_SESSION[lang_ek]='';}
elseif ($dil_get=='ENG') {$_SESSION[lang]='ENG'; $_SESSION[lang_ek]='_eng';}
elseif ($dil_get=='RUS') {$_SESSION[lang]='RUS'; $_SESSION[lang_ek]='_rus';}
elseif ($dil_get=='DE') {$_SESSION[lang]='DE'; $_SESSION[lang_ek]='_de';}
}else{$_SESSION[lang]='TR'; $_SESSION[lang_ek]='';}
?>
<script>
$.cookie("dil", "=$_SESSION['lang'];?>", {expires:7});
</script>
$include = "include/main.php";
include "$include";
$goster = new sistem;
$icerik = $_GET['icerik'];
$anasayfa_id_sql = mysql_fetch_array(mysql_query("select * from $ana_sayfa_tbl"));
$anasayfa_id = $anasayfa_id_sql['baslik_id'];
$site_bilgi_bul_sql = mysql_fetch_array(mysql_query("select * from $site_bilgileri_tbl where id = '1'"));
$GLOBALS[sef]=$site_bilgi_bul_sql[sef];?>