prepare(" REPLACE INTO lang SET language = :language, hash = :hash, description = :description"); $sorgu->execute(array( "language"=> $language, "hash"=> $hash, "description"=> $value )); } function cevir( $tablo,$kayit,$language){ global $dbh; $id=$kayit["id"]; foreach($kayit as $hucreanahtar=>$hucreveri){ $hash=dilhash($language,$tablo,$hucreanahtar,$id); $sorgu = $dbh->prepare("SELECT * FROM lang Where hash=:id"); $sorgu->execute(array( "id"=> $hash )); $sonuc = $sorgu->fetch(); if(isset($sonuc["description"])){ $kayit[$hucreanahtar]=$sonuc["description"]; } } return $kayit; }prepare($sql); $f ->execute(); $_SESSION["current_page"] = $current_page; } } else { //set a session variable so we know that this visitor is being tracked //insert a new row into the database for this person $sql = "INSERT INTO visitor_tracking (ip_address, page_name, query_string) VALUES ('$ip_address', '$page_name', '$query_string')"; $f = $dbh->prepare($sql); $f ->execute(); //find the next available visitor_id for the database //to assign to this person $_SESSION["tracking"] = true; $entry_id = $dbh->lastInsertId(); $lowest_sql = ($dbh->prepare("SELECT MAX(visitor_id) as next FROM visitor_tracking")); $lowest_sql->execute(); $lowest_sql = $lowest_sql->fetch(PDO::FETCH_ASSOC); $lowest = $lowest_sql["next"]; if(!isset($lowest)) $lowest = 1; else $lowest++; //update the visitor entry with the new visitor id //Note, that we do it in this way to prevent a "race condition" ($dbh->prepare("UPDATE visitor_tracking SET visitor_id = '$lowest' WHERE entry_id = '$entry_id'"))->execute(); //place the current visitor_id into the session so we can use it on //subsequent visits to track this person $_SESSION["visitor_id"] = $lowest; //save the current page to session so we don't track if someone just refreshes the page $_SESSION["current_page"] = $current_page; }

ANTALYA / TÜRKİYE

Loreipsum 5

Loreipsum 2Yaygın inancın tersine, Lorem Ipsum rastgele sözcüklerden oluşmaz. Kökleri M.Ö. 45 tarihinden bu yana klasik Latin edebiyatına kadar uzanan 2000 yıllık bir geçmişi vardır. Virginia'daki Hampden-Sydney College'dan Latince profesörü Richard McClintock, bir Lorem Ipsum pasajında geçen ve anlaşılması en güç sözcüklerden biri olan 'consectetur' sözcüğünün klasik edebiyattaki örneklerini incelediğinde kesin bir kaynağa ulaşmıştır. Lorm Ipsum, Çiçero tarafından M.Ö. 45 tarihinde kaleme alınan "de Finibus Bonorum et Malorum" (İyi ve Kötünün Uç Sınırları) eserinin 1.10.32 ve 1.10.33 sayılı bölümlerinden gelmektedir. Bu kitap, ahlak kuramı üzerine bir tezdir ve Rönesans döneminde çok popüler olmuştur. Lorem Ipsum pasajının ilk satırı olan "Lorem ipsum dolor sit amet" 1.10.32 sayılı bölümdeki bir satırdan gelmektedir.

Hizmet Görselleri