<!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")

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

if dil="tr" then
id="31"
end if
if dil="en" then
id="32"
end if
if dil="fr" then
id="33"
end if
if dil="ru" then
id="34"
end if
if dil="ar" then
id="35"
end if

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

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: 'Open Sans', sans-serif;
	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="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 -->
    <script src="js/jquery.fancybox.pack.js" type="text/javascript"></script> <!-- lightbox -->
    <!-- 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.ui.totop.min.js" type="text/javascript"></script> <!-- scroll to top -->
	<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 -->
        
        <!-- begin content -->
        <section id="content" class="clearfix">
        	<!-- begin slider -->
          
          <br>

		    <section id="main" class="blog-entry-list three-fourths">
            	<article class="entry clearfix">
            	  <div class="entry-body">
                        <h2 class="entry-title"><%=yazi("baslik")%></h2>
                        <div class="entry-content">
						<% if yazi("resim")<>"" then %><div class="entry-image float-left"><a class="fancybox" href="admin/<%=yazi("resim")%>" title="<%=yazi("baslik")%>"><span class="overlay zoom"></span><img src="admin/<%=yazi("resim")%>" style="max-width:300px;" title="<%=yazi("baslik")%>"></a></div><% end if %>
            <p><%=yazi("icerik")%></p>
                        </div>
                    </div>
				</article>
		   </section>   <% 
yazi.movenext
loop
%>
		    <aside id="sidebar" class="one-fourth column-last">
		      <!--#INCLUDE file="inc/hizmetler.asp"-->
				</aside>
		   
		     
	
       
	</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>