<!DOCTYPE HTML>
<!--[if IE 8]> <html class="ie8 no-js"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--> <html class="no-js"> <!--<![endif]-->
<!--#include file ="veriables.asp"-->
<!--#include file ="sayac.asp"-->
<% 
if request.querystring("lang")<>"" then

if request.querystring("lang")="es" then
session("lang")="tr"
end if
if request.querystring("lang")="en" then
session("lang")="en"
end if
if request.querystring("lang")="fr" then
session("lang")="fr"
end if
if request.querystring("lang")="de" then
session("lang")="ru"
end if
if request.querystring("lang")="it" then
session("lang")="ar"
end if

end if

Response.ContentType = "text/html" 
Response.Charset = "UTF-8" 

veritabanidizin="db/"&datayol&".mdb"

Set Baglanti = Server.CreateObject("ADODB.Connection")

Baglanti.open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath(veritabanidizin)

Dim Ayarlar
Set Ayarlar = Server.CreateObject("Adodb.Recordset")
sql="Select * From admin"
Ayarlar.Open sql,Baglanti,1,3

if session("lang")="" then
dil="tr"
session("lang")="tr"
else
dil=session("lang")
end if

tr = ayarlar("tr")
en = ayarlar("en")
fr = ayarlar("fr")
ru = ayarlar("ru")
ar = ayarlar("ar")

logo = ayarlar("logo")
background = ayarlar("background")
facebook=ayarlar("googleanaliz")
twitter=ayarlar("kutucuk")
rss=ayarlar("reklam")
seemail = ayarlar("form")
seephone = ayarlar("telefon")

slider = ayarlar("slider")
galeri = ayarlar("galeri")
urun = ayarlar("urun")
referans = ayarlar("referans")
hizmet = ayarlar("hizmet")
bg1 = ayarlar("image1")
bg2 = ayarlar("image2")
harita = ayarlar("harita")

if dil="tr" then
keywords = ayarlar("anahtartr")
sitebaslik = ayarlar("sitebasliktr")
description = ayarlar("faaliyettr")
slogan = ayarlar("slogantr")
end if
if dil="en" then
keywords = ayarlar("anahtaren")
sitebaslik = ayarlar("sitebasliken")
description = ayarlar("faaliyeten")
slogan = ayarlar("sloganen")
end if
if dil="fr" then
keywords = ayarlar("anahtarfr")
sitebaslik = ayarlar("sitebaslikfr")
description = ayarlar("faaliyetfr")
slogan = ayarlar("sloganfr")
end if
if dil="ru" then
keywords = ayarlar("anahtarru")
sitebaslik = ayarlar("sitebaslikru")
description = ayarlar("faaliyetru")
slogan = ayarlar("sloganru")
end if
if dil="ar" then
keywords = ayarlar("anahtarar")
sitebaslik = ayarlar("sitebaslikar")
description = ayarlar("faaliyetar")
slogan = ayarlar("sloganar")
end if

Response.ContentType = "text/html" 
Response.Charset = "UTF-8" 

if dil="tr" then
id="21"
end if
if dil="en" then
id="22"
end if
if dil="fr" then
id="23"
end if
if dil="ru" then
id="24"
end if
if dil="ar" then
id="25"
end if

Set yazi=Server.CreateObject("Adodb.Recordset")
ysorgu="Select * From sayfalar WHERE id =" & id
yazi.open ysorgu,baglanti,1,3
do while not yazi.eof
%>
<head>
	<!-- begin meta -->
	<meta charset="utf-8">
	<meta name="description" content="<%=yazi("description")%>">
	<meta name="keywords" content="<%=yazi("keywords")%> ">
	<meta name="author" content="hyldrm">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<!-- end meta -->
	
	<!-- begin CSS -->
	<link href="style.css" type="text/css" rel="stylesheet">
<style type="text/css">
	/* ---------------------------------------------------------------------- */
	/* Generic
	/* ---------------------------------------------------------------------- */
	* {
	margin: 0;
	padding: 0;
	outline: none;
	}

	body {
	font-family: arial;
	font-size: 12px;
	line-height: 1.5em; /* 18px */
	color: #383838;
	background-image:url(images/bg/<%=bg1%>.png);
	background-repeat: repeat;
	background-position: left top;
	/* Fix for webkit rendering */
	-webkit-font-smoothing: antialiased; 
	-webkit-text-size-adjust: 100%;
	}

	iframe, img, video, audio {
	display: block;	
	}

	/*img,*/ embed, object, video { /* Note: keeping IMG here will cause problems if you're using foreground images as sprites. */
	max-width: 100%;
	}

	video {
	width: 100%;
    height: auto;
	}

	ul {
	list-style: none;	
	}

	/* Clearfix */

	.clear {
	clear: both;
	display: block;
	height: 0;
	overflow: hidden; 
	visibility: hidden;
	width: 0;
	}
	
	/* ---------------------------------------------------------------------- */
	/* Containers
	/* ---------------------------------------------------------------------- */
	#outer {
	border-top: 5px solid #383838;
	padding-top: 30px;
	overflow: hidden;
	width:1020px;
	margin: 0 auto;
	background-color: white;
	background-image:url(images/bg/<%=bg2%>.png);
	background-repeat: repeat;
	background-position: left top;
	box-shadow: 0 0 8px rgba(0,0,0,0.24);
	}

	.container {
	width: 940px;
	margin: 0 auto;
	}

	#content {
	margin: 0;	
	}

	</style>
	<!--[if IE]> <link href="css/ie.css" type="text/css" rel="stylesheet"> <![endif]-->
	<link href="css/colors/<%=background%>.css" type="text/css" rel="stylesheet" id="colors">
    <link href="style-switcher/style-switcher.css" type="text/css" rel="stylesheet">
	<!-- end CSS -->
	
	<link href="images/favicon.ico" type="image/x-icon" rel="shortcut icon">
	
	<!-- begin JS -->
    <!--<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>-->
    <!--<script src="js/respond.min.js"></script>-->

    <script src="js/jquery-1.7.2.min.js" type="text/javascript"></script> <!-- jQuery -->
    <script src="js/ie.js" type="text/javascript"></script> <!-- IE detection -->
    <script src="js/jquery.easing.1.3.js" type="text/javascript"></script> <!-- jQuery easing -->
	<script src="js/modernizr.custom.js" type="text/javascript"></script> <!-- Modernizr -->
    <!--[if IE 8]><script src="js/respond.min.js" type="text/javascript"></script><![endif]--> <!-- Respond -->
    <!-- begin language switcher -->
	<script src="js/persist-min.js" type="text/javascript"></script>
    <script src="js/jquery.timer.js" type="text/javascript"></script>
	<script src="js/jquery.polyglot.language.switcher.js" type="text/javascript"></script>
    <!-- end language switcher -->
    <!-- begin drop-down menu -->
    <script src="js/ddlevelsmenu.js" type="text/javascript"></script>
    <script type="text/javascript">
		ddlevelsmenu.setup("nav", "topbar") //ddlevelsmenu.setup("mainmenuid", "topbar|sidebar")
	</script>
    <!-- end drop-down menu -->
    <script src="js/tinynav.min.js" type="text/javascript"></script> <!-- tiny nav -->
    <script src="js/jquery.flexslider-min.js" type="text/javascript"></script> <!-- slider -->
    <script src="js/jquery.jcarousel.min.js" type="text/javascript"></script> <!-- carousel -->
    <script src="js/jquery.ui.totop.min.js" type="text/javascript"></script> <!-- scroll to top -->
    <script src="js/jquery.fancybox.pack.js" type="text/javascript"></script> <!-- lightbox -->
    <script src="js/jquery.cycle.all.js" type="text/javascript"></script> <!-- entry slider -->
    <script src="js/mediaelement-and-player.min.js" type="text/javascript"></script> <!-- Video Player -->
    <script src="js/jquery.fitvids.js" type="text/javascript"></script> <!-- responsive video embeds -->
    <script src="js/jquery.tweet.js" type="text/javascript"></script> <!-- Twitter widget -->
    <script src="js/jquery.touchSwipe.min.js" type="text/javascript"></script> <!-- touchSwipe -->
    <script src="js/custom.js" type="text/javascript"></script> <!-- jQuery initialization -->
	
	<!-- end JS -->
	
	<title><%=yazi("title")%></title>
</head>

<body>
<!-- begin container -->
<div id="outer">
	<!-- begin centered container -->
	<div class="container">
        <!-- begin header -->
        <!--#INCLUDE file="inc/menu-logo-dil.asp"--> 
        <!-- end header -->
        
      
	    <section id="content" class="clearfix">
        	<!-- begin page header -->
            <header id="page-header">
            	<h1 id="page-title"><%=yazi("baslik")%></h1>	
            </header>
            <!-- end page header -->
        	
            <!-- begin main content -->
            <% sayfa = request.QueryString("run") %>
 <% if sayfa = "error" then %>
 <p><b>Mesaj&#305;n&#305;z gönderilemedi.<br>Lütfen tüm alanlar&#305; doldurunuz.</b></p>
 <% end if %>
 <% if sayfa = "thanks" then %>
 <p>Te&#351;ekkür ederiz <b><%=request.QueryString("name")%></b>!</p>
 <p>Mesaj&#305;n taraf&#305;m&#305;za ula&#351;m&#305;&#351;t&#305;r. </p>
 <p>En k&#305;sa sürede mesaj içeri&#287;ine göre seninle irtibata geçece&#287;iz. </p>
 <% end if %>
            <!-- begin google map --> 
            <section>
                <div>
		<%=harita%>	
                </div>
		    </section>
            <!-- end google map -->
            
            <!-- begin main -->
            <section id="main" class="three-fourths">
            <!-- begin contact form -->
            <h2><% 
					dil=session("lang") 
					if dil="tr" then 
					%>İletişim Formu<% 
					end if 
					if dil="en" then 
					%>Contact form<% 
					end if 
					if dil="fr" then 
					%>Formulaire de contact<% 
					end if 
					if dil="ru" then 
					%>Контактный формуляр<%
					end if 
					if dil="ar" then 
					%>نموذج الاتصال<% 
					end if 
					%></h2>
            <p><% 
					dil=session("lang") 
					if dil="tr" then 
					%>Değerli Ziyaretçimiz....<% 
					end if 
					if dil="en" then 
					%>Dear visitor....<% 
					end if 
					if dil="fr" then 
					%>Cher visiteur....<% 
					end if 
					if dil="ru" then 
					%>Уважаемый посетитель....<%
					end if 
					if dil="ar" then 
					%>عزيزي الزائر ....<% 
					end if 
					%><br>
                    <% 
					dil=session("lang") 
					if dil="tr" then 
					%>Aşağıdaki formu doldurarak görüş, öneri, şikayet ve eleştirilerinizi bizimle paylaşabilirsiniz.<% 
					end if 
					if dil="en" then 
					%>By filling out the form below to ideas, suggestions, complaints and criticisms to share with us.<% 
					end if 
					if dil="fr" then 
					%>En remplissant le formulaire ci-dessous pour des idées, des suggestions, plaintes et critiques à partager avec nous.<% 
					end if 
					if dil="ru" then 
					%>Заполнив форму ниже, чтобы идеи, предложения, жалобы и критику поделиться с нами.<%
					end if 
					if dil="ar" then 
					%>عن طريق ملء النموذج أدناه لأفكار والاقتراحات والشكاوى والانتقادات للمشاركة معنا<% 
					end if 
					%>
                    
</p>

            <div class="notification-box notification-box-success" style="display: none;">
                <p>Your message has been successfully sent. We will get back to you as soon as possible.</p>
                <a href="#" class="notification-close notification-close-success">x</a>
            </div>
            
            <div class="notification-box notification-box-error " style="display: none;">
                <p>Your message couldn't be sent because a server error occurred. Please try again.</p>
                <a href="#" class="notification-close notification-close-error">x</a>
            </div>
            <form id="contact-form" class="content-form" method="post" action="mailsend.asp">
                <p>
                    <label for="name">İsim:<span class="note">*</span></label>
                    <input id="name" type="text" name="isim" value="<%=request.QueryString("isim")%>" class="required">
                </p>
                <p>
                    <label for="email">E-mail:<span class="note">*</span></label>
                    <input id="email" type="email" value="<%=request.QueryString("mail")%>" name="mail" class="required">
                </p>
                <p>
                    <label for="url">Web siteniz:</label>
                    <input id="url" type="url" name="site">
                </p>
                <p>
                    <label for="subject">Konu:<span class="note">*</span></label>
                    <input id="subject" type="text" name="konu" class="required">
                </p>
                <p>
                    <label for="message">Mesajınız:<span class="note">*</span></label>
                    <textarea id="message" cols="68" rows="8" name="mesaj" class="required"></textarea>
                </p>
                <p>
                    <input id="submit" class="button" type="submit" name="submit" value="Gönder">
                </p>
            </form>
            <p><span class="note">*</span> <% 
					dil=session("lang") 
					if dil="tr" then 
					%>Doldurulması Zorunlu Alanlar<% 
					end if 
					if dil="en" then 
					%>Required Fields<% 
					end if 
					if dil="fr" then 
					%>Les champs obligatoires<% 
					end if 
					if dil="ru" then 
					%>Обязательные поля<%
					end if 
					if dil="ar" then 
					%>عالحقول المطلوبة<% 
					end if 
					%></p>
            <!-- end contact form -->
            </section>
            <!-- end main -->
            
            <!-- begin sidebar -->
            <aside id="sidebar" class="one-fourth column-last">
            	<div class="widget contact-info">
                    <h3><%=yazi("baslik")%></h3>
                    <p><%=yazi("icerik")%>
                    </p>
                </div>
            </aside>
            <!-- end sidebar -->
            
            <!-- end main content -->
        </section>
		   
		   
		   
		<% 
yazi.movenext
loop
yazi.close
Set yazi=Nothing
%>
		   
		   
       
	</div>
    
    
	<!-- begin footer -->
	<footer id="footer">
    	<div class="container">
            <!-- begin footer top -->
            <!-- end footer top -->
            <!-- begin footer bottom -->
<!--#INCLUDE file="inc/alt-menu.asp"-->
            <!-- end footer bottom -->
      </div>
	</footer>
	<!-- end footer -->
</div>
<!-- end container -->
</body>
</html>