<!--#include file="head.asp"-->
<%
Response.ContentType = "text/html" 
Response.Charset = "UTF-8" 
%>

<!--#include file ="../veriables.asp"-->
<%
page = Request.Querystring("page")
set baglanti = server.CreateObject("adodb.connection")
baglanti.open "Provider=Microsoft.Jet.oledb.4.0;Data Source=" & server.Mappath("../db/"&datayol&".mdb")

if page="genel" then
Dim Guncelle
Set Guncelle = Server.CreateObject("Adodb.Recordset")
sql="Select * From admin"
Guncelle.Open sql,Baglanti,1,3
IF Request.ServerVariables("REQUEST_METHOD")="POST" Then
Guncelle("kullaniciadi") = Request.Form("kullaniciadi")
Guncelle("sifre") = Request.Form("sifre")
Guncelle("slogantr") = Request.Form("slogantr")
Guncelle("sloganen") = Request.Form("sloganen")
Guncelle("sloganfr") = Request.Form("sloganfr")
Guncelle("sloganru") = Request.Form("sloganru")
Guncelle("sloganar") = Request.Form("sloganar")
Guncelle("sitebasliktr") = Request.Form("sitebasliktr")
Guncelle("sitebasliken") = Request.Form("sitebasliken")
Guncelle("sitebaslikfr") = Request.Form("sitebaslikfr")
Guncelle("sitebaslikru") = Request.Form("sitebaslikru")
Guncelle("sitebaslikar") = Request.Form("sitebaslikar")
Guncelle("faaliyettr") = Request.Form("faaliyettr")
Guncelle("faaliyeten") = Request.Form("faaliyeten")
Guncelle("faaliyetfr") = Request.Form("faaliyetfr")
Guncelle("faaliyetru") = Request.Form("faaliyetru")
Guncelle("faaliyetar") = Request.Form("faaliyetar")
Guncelle("anahtartr") = Request.Form("anahtartr")
Guncelle("anahtaren") = Request.Form("anahtaren")
Guncelle("anahtarfr") = Request.Form("anahtarfr")
Guncelle("anahtarru") = Request.Form("anahtarru")
Guncelle("anahtarar") = Request.Form("anahtarar")
Guncelle("form") = Request.Form("form")
Guncelle("telefon") = Request.Form("telefon")
Guncelle("panel") = Request.Form("panel")
Guncelle("duyuruaciklama") = Request.Form("duyuruaciklama")
Guncelle("tr") = Request.Form("tr")
Guncelle("en") = Request.Form("en")
Guncelle("fr") = Request.Form("fr")
Guncelle("ru") = Request.Form("ru")
Guncelle("ar") = Request.Form("ar")
Guncelle("slider") = Request.Form("slider")
Guncelle("harita") = Request.Form("harita")
Guncelle("galeri") = Request.Form("galeri")
Guncelle("urun") = Request.Form("urun")
Guncelle("referans") = Request.Form("referans")
Guncelle("hizmet") = Request.Form("hizmet")
Guncelle("ads") = Request.Form("ads")
Guncelle("ads1") = Request.Form("ads1")
Guncelle("ads2") = Request.Form("ads2")
Guncelle.Update
session("plang")=Request.Form("panel")
response.redirect "panel.asp?box=success&text=Ayarlar%20kaydedildi.&second=2&url=ayarlar.asp?page=genel"
End IF
%>
			
<div class="block small left">
			
				<div class="block_head">
					<div class="bheadl"></div>
					<div class="bheadr"></div>
					
					<h2><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Genel ayarlar<% 
					end if 
					if dil="en" then 
					%>GENERAL SETTINGS<% 
					end if 
					if dil="fr" then 
					%>paramètres généraux<% 
					end if 
					if dil="ru" then 
					%>общие параметры<%
					end if 
					if dil="ar" then 
					%>إعدادات عامة<% 
					end if 
					%></h2>	
				</div>		<!-- .block_head ends -->
				
				
				
				<div class="block_content">
				<form action="?page=genel" method="post">
  
					<p>
                    <label><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Panel kullan&#305;c&#305; ad&#305;<% 
					end if 
					if dil="en" then 
					%>Panel username:<% 
					end if 
					if dil="fr" then 
					%>Nom d'utilisateur Panel<% 
					end if 
					if dil="ru" then 
					%>Панель имя пользователя<%
					end if 
					if dil="ar" then 
					%>اسم المستخدم لوحة<% 
					end if 
					%>:</label><br />
					<input type="text"  class="text" name="kullaniciadi" size="70" value="<%=Guncelle("kullaniciadi")%>"><br>
                    </p>
                    
					<p>
                    <label><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Panel &#351;ifresi<% 
					end if 
					if dil="en" then 
					%>Panel password<% 
					end if 
					if dil="fr" then 
					%>Mot de passe du panneau<% 
					end if 
					if dil="ru" then 
					%>Панель пароль<%
					end if 
					if dil="ar" then 
					%>كلمة السر لوحة<% 
					end if 
					%>:</label><br />
					<input type="password" class="text" name="sifre" size="70" value="<%=Guncelle("sifre")%>"><br>
                    </p>
                    
                    <hr />
                    
                    <p>
                    <label><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Slogan (TR) : (Firmanizi temsil eden kisa slogan)<% 
					end if 
					if dil="en" then 
					%>The Motto (TR): (representing your company slogan)<% 
					end if 
					if dil="fr" then 
					%>Le Motto (TR): (représentant le slogan de votre société)<% 
					end if 
					if dil="ru" then 
					%>Девиз (TR): (представляет ваша компания лозунг)<%
					end if 
					if dil="ar" then 
					%>شعار (TR): (يمثل شعار الشركة الخاصة بك)<% 
					end if 
					%></label><br />
					<input type="text" class="text" name="slogantr" size="70" value="<%=Guncelle("slogantr")%>"><br>
                    </p>
                    
                    <p>
                    <label><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Slogan<% 
					end if 
					if dil="en" then 
					%>The Motto<% 
					end if 
					if dil="fr" then 
					%>Le Motto<% 
					end if 
					if dil="ru" then 
					%>Девиз <%
					end if 
					if dil="ar" then 
					%>شعار<% 
					end if 
					%> (EN) :</label><br />
					<input type="text" class="text" name="sloganen" size="70" value="<%=Guncelle("sloganen")%>"><br>
                    </p>
                    
                    <p>
                    <label><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Slogan<% 
					end if 
					if dil="en" then 
					%>The Motto<% 
					end if 
					if dil="fr" then 
					%>Le Motto<% 
					end if 
					if dil="ru" then 
					%>Девиз <%
					end if 
					if dil="ar" then 
					%>شعار<% 
					end if 
					%> (FR) :</label><br />
					<input type="text" class="text" name="sloganfr" size="70" value="<%=Guncelle("sloganfr")%>"><br>
                    </p>
                    
                    <p>
                    <label><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Slogan<% 
					end if 
					if dil="en" then 
					%>The Motto<% 
					end if 
					if dil="fr" then 
					%>Le Motto<% 
					end if 
					if dil="ru" then 
					%>Девиз <%
					end if 
					if dil="ar" then 
					%>شعار<% 
					end if 
					%> (RU) :</label><br />
					<input type="text" class="text" name="sloganru" size="70" value="<%=Guncelle("sloganru")%>"><br>
                    </p>
                    
                    <p>
                    <label><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Slogan<% 
					end if 
					if dil="en" then 
					%>The Motto<% 
					end if 
					if dil="fr" then 
					%>Le Motto<% 
					end if 
					if dil="ru" then 
					%>Девиз <%
					end if 
					if dil="ar" then 
					%>شعار<% 
					end if 
					%> (AR) :</label><br />
					<input type="text" class="text" name="sloganar" size="70" value="<%=Guncelle("sloganar")%>"><br>
                    </p>
                    
                    <hr />
                    
                    <p>
                    <label><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Site Basligi (TR) : (Google'da cikacak olan tanitim basligi)<% 
					end if 
					if dil="en" then 
					%>Site title (TR) (promotional title which will be released in Google)<% 
					end if 
					if dil="fr" then 
					%>Titre du site (TR) (titre promotionnel qui sera publié dans Google)<% 
					end if 
					if dil="ru" then 
					%>Название сайта (TR) (рекламные титул, который будет выпущен в Google)<%
					end if 
					if dil="ar" then 
					%>عنوان الموقع (TR) (عنوان الترويجية التي سيتم الافراج عنهم في جوجل)<% 
					end if 
					%></label><br />
					<input type="text" class="text" name="sitebasliktr" size="70" value="<%=Guncelle("sitebasliktr")%>"><br>
                    </p>
                    
                    <p>
                    <label><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Site Basligi<% 
					end if 
					if dil="en" then 
					%>Site title<% 
					end if 
					if dil="fr" then 
					%>Titre du site<% 
					end if 
					if dil="ru" then 
					%>Название сайта<%
					end if 
					if dil="ar" then 
					%>عنوان الموقع<% 
					end if 
					%> (EN) :</label><br />
					<input type="text" class="text" name="sitebasliken" size="70" value="<%=Guncelle("sitebasliken")%>"><br>
                    </p>
                    
                    <p>
                    <label><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Site Basligi<% 
					end if 
					if dil="en" then 
					%>Site title<% 
					end if 
					if dil="fr" then 
					%>Titre du site<% 
					end if 
					if dil="ru" then 
					%>Название сайта<%
					end if 
					if dil="ar" then 
					%>عنوان الموقع<% 
					end if 
					%> (FR) :</label><br />
					<input type="text" class="text" name="sitebaslikfr" size="70" value="<%=Guncelle("sitebaslikfr")%>"><br>
                    </p>
                    
                    <p>
                    <label><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Site Basligi<% 
					end if 
					if dil="en" then 
					%>Site title<% 
					end if 
					if dil="fr" then 
					%>Titre du site<% 
					end if 
					if dil="ru" then 
					%>Название сайта<%
					end if 
					if dil="ar" then 
					%>عنوان الموقع<% 
					end if 
					%> (RU) :</label><br />
					<input type="text" class="text" name="sitebaslikru" size="70" value="<%=Guncelle("sitebaslikru")%>"><br>
                    </p>
                    
                    <p>
                    <label><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Site Basligi<% 
					end if 
					if dil="en" then 
					%>Site title<% 
					end if 
					if dil="fr" then 
					%>Titre du site<% 
					end if 
					if dil="ru" then 
					%>Название сайта<%
					end if 
					if dil="ar" then 
					%>عنوان الموقع<% 
					end if 
					%> (AR) :</label><br />
					<input type="text" class="text" name="sitebaslikar" size="70" value="<%=Guncelle("sitebaslikar")%>"><br>
                    </p>
                    
                    <hr />
                    
                    <p>
                    <label><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Site Faaliyet Konusu (TR) : (Google'da cikacak olan tanitim metni)<% 
					end if 
					if dil="en" then 
					%>Site of Activity (TR): (Google, promotional text, which will be released in)<% 
					end if 
					if dil="fr" then 
					%>Site de l'activité (TR): (Google, texte promotionnel, qui sera publié en)<% 
					end if 
					if dil="ru" then 
					%>Сайт активности (TR): (Google, рекламный текст, который будет выпущен в)<%
					end if 
					if dil="ar" then 
					%>موقع آخر (TR): (جوجل، نص الترويجية، الذي سيصدر في)<% 
					end if 
					%></label><br />
					<input type="text" class="text" name="faaliyettr" size="70" value="<%=Guncelle("faaliyettr")%>"><br>
                    </p>
                    
                    <p>
                    <label><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Site Faaliyet Konusu<% 
					end if 
					if dil="en" then 
					%>Site of Activity<% 
					end if 
					if dil="fr" then 
					%>Site de l'activité <% 
					end if 
					if dil="ru" then 
					%>Сайт активности<%
					end if 
					if dil="ar" then 
					%>موقع آخر<% 
					end if 
					%> (EN) :</label><br />
					<input type="text" class="text" name="faaliyeten" size="70" value="<%=Guncelle("faaliyeten")%>"><br>
                    </p>
                    
                    <p>
                    <label><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Site Faaliyet Konusu<% 
					end if 
					if dil="en" then 
					%>Site of Activity<% 
					end if 
					if dil="fr" then 
					%>Site de l'activité <% 
					end if 
					if dil="ru" then 
					%>Сайт активности<%
					end if 
					if dil="ar" then 
					%>موقع آخر<% 
					end if 
					%> (FR) :</label><br />
					<input type="text" class="text" name="faaliyetfr" size="70" value="<%=Guncelle("faaliyetfr")%>"><br>
                    </p>
                    
                    <p>
                    <label><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Site Faaliyet Konusu<% 
					end if 
					if dil="en" then 
					%>Site of Activity<% 
					end if 
					if dil="fr" then 
					%>Site de l'activité <% 
					end if 
					if dil="ru" then 
					%>Сайт активности<%
					end if 
					if dil="ar" then 
					%>موقع آخر<% 
					end if 
					%> (RU) :</label><br />
					<input type="text" class="text" name="faaliyetru" size="70" value="<%=Guncelle("faaliyetru")%>"><br>
                    </p>
                    
                    <p>
                    <label><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Site Faaliyet Konusu<% 
					end if 
					if dil="en" then 
					%>Site of Activity<% 
					end if 
					if dil="fr" then 
					%>Site de l'activité <% 
					end if 
					if dil="ru" then 
					%>Сайт активности<%
					end if 
					if dil="ar" then 
					%>موقع آخر<% 
					end if 
					%> (AR) :</label><br />
					<input type="text" class="text" name="faaliyetar" size="70" value="<%=Guncelle("faaliyetar")%>"><br>
                    </p>
                    
                    <hr />
                    
                    <p>
                    <label><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Anahtar Kelimeler (TR) : (Google'da aratilinca bulunmak istenen kelimeler)<% 
					end if 
					if dil="en" then 
					%>Key Words (TR): (Google Raised a red flag to make the desired words)<% 
					end if 
					if dil="fr" then 
					%>Mots clés (TR): (Google hissé un drapeau rouge pour faire les mots souhaités)<% 
					end if 
					if dil="ru" then 
					%>Ключевые слова (TR): (Google поднятый красный флаг, чтобы сделать нужные слова)<%
					end if 
					if dil="ar" then 
					%>الكلمات الدالة (TR): (المجمعة جوجل راية حمراء لجعل الكلمات المطلوب)<% 
					end if 
					%></label><br />
					<input type="text" class="text" name="anahtartr" size="70" value="<%=Guncelle("anahtartr")%>"><br>
                    </p>
                    
                    <p>
                    <label><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Anahtar Kelimeler (TR)<% 
					end if 
					if dil="en" then 
					%>Key Words<% 
					end if 
					if dil="fr" then 
					%>Mots clés<% 
					end if 
					if dil="ru" then 
					%>Ключевые слова<%
					end if 
					if dil="ar" then 
					%>الكلمات الدالة<% 
					end if 
					%> (EN) :</label><br />
					<input type="text" class="text" name="anahtaren" size="70" value="<%=Guncelle("anahtaren")%>"><br>
                    </p>
                    
                    <p>
                    <label><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Anahtar Kelimeler (TR)<% 
					end if 
					if dil="en" then 
					%>Key Words<% 
					end if 
					if dil="fr" then 
					%>Mots clés<% 
					end if 
					if dil="ru" then 
					%>Ключевые слова<%
					end if 
					if dil="ar" then 
					%>الكلمات الدالة<% 
					end if 
					%> (FR) :</label><br />
					<input type="text" class="text" name="anahtarfr" size="70" value="<%=Guncelle("anahtarfr")%>"><br>
                    </p>
                    
                    <p>
                    <label><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Anahtar Kelimeler (TR)<% 
					end if 
					if dil="en" then 
					%>Key Words<% 
					end if 
					if dil="fr" then 
					%>Mots clés<% 
					end if 
					if dil="ru" then 
					%>Ключевые слова<%
					end if 
					if dil="ar" then 
					%>الكلمات الدالة<% 
					end if 
					%> (RU) :</label><br />
					<input type="text" class="text" name="anahtarru" size="70" value="<%=Guncelle("anahtarru")%>"><br>
                    </p>
                    
                    <p>
                    <label><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Anahtar Kelimeler (TR)<% 
					end if 
					if dil="en" then 
					%>Key Words<% 
					end if 
					if dil="fr" then 
					%>Mots clés<% 
					end if 
					if dil="ru" then 
					%>Ключевые слова<%
					end if 
					if dil="ar" then 
					%>الكلمات الدالة<% 
					end if 
					%> (AR) :</label><br />
					<input type="text" class="text" name="anahtarar" size="70" value="<%=Guncelle("anahtarar")%>"><br>
                    </p>

<hr />

		<p>
                    <label><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Mudurden mesajlar:<% 
					end if 
					if dil="en" then 
					%>Messages for director:<% 
					end if 
					if dil="fr" then 
					%>Messages for director:<% 
					end if 
					if dil="ru" then 
					%>Messages for director:<%
					end if 
					if dil="ar" then 
					%>Messages for director:<% 
					end if 
					%></label><br />
					<textarea name="duyuruaciklama"><%=Guncelle("duyuruaciklama")%></textarea><br>
                    </p>	

                    
                    <hr />

		<p>
                    <label><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Google maps code:<% 
					end if 
					if dil="en" then 
					%>Google maps code:<% 
					end if 
					if dil="fr" then 
					%>Google maps code:<% 
					end if 
					if dil="ru" then 
					%>Google maps code:<%
					end if 
					if dil="ar" then 
					%>Google maps code:<% 
					end if 
					%></label><br />
					<textarea name="harita"><%=Guncelle("harita")%></textarea><br>
                    </p>	
                    
                    <p>
                    <label><% 
					dil=session("plang") 
					if dil="tr" then 
					%>İletişim formunun gelmesini istediğiniz mail adresi<% 
					end if 
					if dil="en" then 
					%>Contact form that you want the e-mail address<% 
					end if 
					if dil="fr" then 
					%>Formulaire de contact que vous souhaitez que l'adresse e-mail<% 
					end if 
					if dil="ru" then 
					%>Контактная форма, что вы хотите адрес электронной почты<%
					end if 
					if dil="ar" then 
					%>الاتصال النموذج الذي تريده عنوان البريد الإلكتروني<% 
					end if 
					%> :</label><br />
					<input type="text" class="text" name="form" size="70" value="<%=Guncelle("form")%>"><br>
                    </p>
                    
                    <p>
                    <label><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Telefon numaranız<% 
					end if 
					if dil="en" then 
					%>Your telephone number<% 
					end if 
					if dil="fr" then 
					%>Telephone<% 
					end if 
					if dil="ru" then 
					%>Telephone<%
					end if 
					if dil="ar" then 
					%>Telephone<% 
					end if 
					%> :</label><br />
					<input type="text" class="text" name="telefon" size="70" value="<%=Guncelle("telefon")%>"><br>
                    </p>
                    
                    <hr />
                     
                    <p><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Panel dili<% 
					end if 
					if dil="en" then 
					%>Panel language<% 
					end if 
					if dil="fr" then 
					%>Panneau de langue<% 
					end if 
					if dil="ru" then 
					%>Язык панели<%
					end if 
					if dil="ar" then 
					%>لغة لوحة<% 
					end if 
					%> :</p>
                    
                    <p>
                    <input type="radio" name="panel" value="tr" class="radio" id="rad1" <% if Guncelle("panel")="tr" then%>checked<%end if%>/> <label for="rad1">Türkçe</label>
                    <input type="radio" name="panel" value="en" class="radio" id="rad2" <% if Guncelle("panel")="en" then%>checked<%end if%>/> <label for="rad2">English</label>
                    <input type="radio" name="panel" value="fr" class="radio" id="rad3" <% if Guncelle("panel")="fr" then%>checked<%end if%>/> <label for="rad3">Français</label>
                    <input type="radio" name="panel" value="ru" class="radio" id="rad4" <% if Guncelle("panel")="ru" then%>checked<%end if%>/> <label for="rad4">Pусский</label>
                    <input type="radio" name="panel" value="ar" class="radio" id="rad5" <% if Guncelle("panel")="ar" then%>checked<%end if%>/> <label for="rad5">العربية</label>
                    </p>
                    
                    <hr />
                    
                    <p><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Sitede bulunmasını istediginiz diller<% 
					end if 
					if dil="en" then 
					%>Languages ​​you want to include on the site<% 
					end if 
					if dil="fr" then 
					%>Langues que vous souhaitez inclure sur le site<% 
					end if 
					if dil="ru" then 
					%>Языки, которые необходимо включить на сайте<%
					end if 
					if dil="ar" then 
					%>اللغات التي تريد أن تدرج على الموقع<% 
					end if 
					%> :</p>
                    
                    <p>
                    <input type="checkbox" name="tr" value="1" class="radio" id="che1" <% if Guncelle("tr")="1" then%>checked<%end if%>/> <label for="che1">Türkçe</label>
                    <input type="checkbox" name="en" value="1" class="radio" id="che2" <% if Guncelle("en")="1" then%>checked<%end if%>/> <label for="che2">English</label>
                    <input type="checkbox" name="fr" value="1" class="radio" id="che3" <% if Guncelle("fr")="1" then%>checked<%end if%>/> <label for="che3">Français</label>
                    <input type="checkbox" name="ru" value="1" class="radio" id="che4" <% if Guncelle("ru")="1" then%>checked<%end if%>/> <label for="che4">Pусский</label>
                    <input type="checkbox" name="ar" value="1" class="radio" id="che5" <% if Guncelle("ar")="1" then%>checked<%end if%>/> <label for="che5">العربية</label>
                    </p>
                    
                    <hr />
                    
                    <p><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Sitedeki sayfa ve moduller<% 
					end if 
					if dil="en" then 
					%>Site pages and modules<% 
					end if 
					if dil="fr" then 
					%>Les pages du site et des modules<% 
					end if 
					if dil="ru" then 
					%>Страницы сайта и модулей<%
					end if 
					if dil="ar" then 
					%>صفحات الموقع وحدات<% 
					end if 
					%> :</p>
                    
                    <p>
                    <input type="checkbox" name="slider" value="1" class="radio" id="say1" <% if Guncelle("slider")="1" then%>checked<%end if%>> <label for="say1"><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Slider<% 
					end if 
					if dil="en" then 
					%>Slider<% 
					end if 
					if dil="fr" then 
					%>Curseur<% 
					end if 
					if dil="ru" then 
					%>ползунок<%
					end if 
					if dil="ar" then 
					%>المنزلق<% 
					end if 
					%></label>
                    <input type="checkbox" name="galeri" value="1" class="radio" id="say2" <% if Guncelle("galeri")="1" then%>checked<%end if%>> <label for="say2"><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Galeri<% 
					end if 
					if dil="en" then 
					%>Gallery<% 
					end if 
					if dil="fr" then 
					%>Galerie<% 
					end if 
					if dil="ru" then 
					%>галерея<%
					end if 
					if dil="ar" then 
					%>رواق<% 
					end if 
					%></label>
                    <input type="checkbox" name="urun" value="1" class="radio" id="say3" <% if Guncelle("urun")="1" then%>checked<%end if%>> <label for="say3"><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Ürünler<% 
					end if 
					if dil="en" then 
					%>Products<% 
					end if 
					if dil="fr" then 
					%>Produits<% 
					end if 
					if dil="ru" then 
					%>продукты<%
					end if 
					if dil="ar" then 
					%>المنتجات<% 
					end if 
					%></label>
                    <input type="checkbox" name="referans" value="1" class="radio" id="say4" <% if Guncelle("referans")="1" then%>checked<%end if%>> <label for="say4"><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Referanslar<% 
					end if 
					if dil="en" then 
					%>References<% 
					end if 
					if dil="fr" then 
					%>Références<% 
					end if 
					if dil="ru" then 
					%>ссылки<%
					end if 
					if dil="ar" then 
					%>المراجع<% 
					end if 
					%></label>
                    <input type="checkbox" name="hizmet" value="1" class="radio" id="say5" <% if Guncelle("hizmet")="1" then%>checked<%end if%>> <label for="say5"><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Hizmetler<% 
					end if 
					if dil="en" then 
					%>Services<% 
					end if 
					if dil="fr" then 
					%>Services<% 
					end if 
					if dil="ru" then 
					%>услуги<%
					end if 
					if dil="ar" then 
					%>االخدمات<% 
					end if 
					%></label>
                    </p>
                    
                    <hr />
                    
                    <p><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Sitedeki reklamlar<% 
					end if 
					if dil="en" then 
					%>Site ads<% 
					end if 
					if dil="fr" then 
					%>Les pages des ads<% 
					end if 
					if dil="ru" then 
					%>Страницы сайта и модулей<%
					end if 
					if dil="ar" then 
					%>صفحات الموقع وحدات<% 
					end if 
					%> :</p>
                    
                    <p>
                    <input type="checkbox" name="ads" value="1" class="radio" id="ads" <% if Guncelle("ads")="1" then%>checked<%end if%>> <label for="ads"><% 
					dil=session("plang") 
					if dil="tr" then 
					%> Reklamlar aktif/pasif<% 
					end if 
					if dil="en" then 
					%> Ads on/off<% 
					end if 
					if dil="fr" then 
					%>Curseur<% 
					end if 
					if dil="ru" then 
					%>ползунок<%
					end if 
					if dil="ar" then 
					%>المنزلق<% 
					end if 
					%></label></p>
                    
                    <p>
                    <label><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Sol reklam kodu :<% 
					end if 
					if dil="en" then 
					%>Left ads code :<% 
					end if 
					if dil="fr" then 
					%>Google maps code:<% 
					end if 
					if dil="ru" then 
					%>Google maps code:<%
					end if 
					if dil="ar" then 
					%>Google maps code:<% 
					end if 
					%></label><br />
					<textarea name="ads1"><%=Guncelle("ads1")%></textarea><br>
                    </p>	
                    
                    <p>
                    <label><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Sağ reklam kodu :<% 
					end if 
					if dil="en" then 
					%>Right ads code :<% 
					end if 
					if dil="fr" then 
					%>Google maps code:<% 
					end if 
					if dil="ru" then 
					%>Google maps code:<%
					end if 
					if dil="ar" then 
					%>Google maps code:<% 
					end if 
					%></label><br />
					<textarea name="ads2"><%=Guncelle("ads2")%></textarea><br>
                    </p>	
                    
                    <hr />
            
            		<p><input type="submit" class="submit mid" name="guncelle" value="<% 
					dil=session("plang") 
					if dil="tr" then 
					%>Düzenle<% 
					end if 
					if dil="en" then 
					%>Edit<% 
					end if 
					if dil="fr" then 
					%>Modifier<% 
					end if 
					if dil="ru" then 
					%>редактировать<%
					end if 
					if dil="ar" then 
					%>تعديل<% 
					end if 
					%>"></p>
                
				</form>
         
            
            
            		</div>		<!-- .block_content ends -->
				
				<div class="bendl"></div>
				<div class="bendr"></div>
				
			</div>		<!-- .block.small.left ends -->
			
			
			
			<div class="block small right">
			
				<div class="block_head">
					<div class="bheadl"></div>
					<div class="bheadr"></div>
					
					<h2><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Görsel ayarlar<% 
					end if 
					if dil="en" then 
					%>Skin settings<% 
					end if 
					if dil="fr" then 
					%>Réglages de la peau<% 
					end if 
					if dil="ru" then 
					%>форма настройки<%
					end if 
					if dil="ar" then 
					%>إعدادات الجلد<% 
					end if 
					%></h2>
				</div>		<!-- .block_head ends -->
				
				
				
				<div class="block_content">
                <form action="?page=genel2" method="post">
<script type="text/javascript" src="upload/highslide/highslide-with-html.js"></script>
<link rel="stylesheet" type="text/css" href="upload/highslide/highslide.css" />
<script type="text/javascript">
hs.graphicsDir = 'upload/highslide/graphics/';
hs.outlineType = 'rounded-white';
hs.wrapperClassName = 'draggable-header';
</script>
			<p><label><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Site logosu<% 
					end if 
					if dil="en" then 
					%>Site logo<% 
					end if 
					if dil="fr" then 
					%>Logo du site<% 
					end if 
					if dil="ru" then 
					%>логотип сайта<%
					end if 
					if dil="ar" then 
					%>شعار الموقع<% 
					end if 
					%></label><br />
            <% if Guncelle("logo")="" then %><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Yüklü değil<% 
					end if 
					if dil="en" then 
					%>Not Installed<% 
					end if 
					if dil="fr" then 
					%>Non installé<% 
					end if 
					if dil="ru" then 
					%>не установлен<%
					end if 
					if dil="ar" then 
					%>غير مثبت<% 
					end if 
					%><% else %><img src="<%=Guncelle("logo")%>" /><br />
            <a href="ayarlar.asp?page=genel2&sil=logo"><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Sil<% 
					end if 
					if dil="en" then 
					%>Delete<% 
					end if 
					if dil="fr" then 
					%>Effacer<% 
					end if 
					if dil="ru" then 
					%>Очистить<%
					end if 
					if dil="ar" then 
					%>سيل<% 
					end if 
					%></a><% end if %><br />
            <a onClick="return hs.htmlExpand(this, { objectType: 'iframe' } )" href="upload/logo_up.asp?durum=resimsifir"><img src="images/add.png" /> <% dil=session("plang") 
					if dil="tr" then 
					%>Bilgisayarımdan yükle<% 
					end if 
					if dil="en" then 
					%>Upload my computer<% 
					end if 
					if dil="fr" then 
					%>Télécharger une photo<% 
					end if 
					if dil="ru" then 
					%>Загрузить фото<%
					end if 
					if dil="ar" then 
					%>رفع صورة<% 
					end if 
					%></a>
            <input type="hidden" class="text" name="logo" value="<%=Guncelle("logo")%>">
            </p>
        
        	<hr />
        
        	<p><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Renk<% 
					end if 
					if dil="en" then 
					%>Couleur<% 
					end if 
					if dil="fr" then 
					%>Langues que vous souhaitez inclure sur le site<% 
					end if 
					if dil="ru" then 
					%>цвет<%
					end if 
					if dil="ar" then 
					%>اللون<% 
					end if 
					%> :</p>
                    
                    <p>
                    <input type="radio" name="background" value="yellow" class="radio" id="che1" <% if Guncelle("background")="yellow" then%>checked<%end if%>/> <label for="che1">Sarı</label>
                    <input type="radio" name="background" value="teal" class="radio" id="che2" <% if Guncelle("background")="teal" then%>checked<%end if%>/> <label for="che2">Teal</label>
                    <input type="radio" name="background" value="red" class="radio" id="che3" <% if Guncelle("background")="red" then%>checked<%end if%>/> <label for="che3">Kırmızı</label>
                    <input type="radio" name="background" value="blue" class="radio" id="che4" <% if Guncelle("background")="blue" then%>checked<%end if%>/> <label for="che4">Mavi</label>
                    <input type="radio" name="background" value="green" class="radio" id="che5" <% if Guncelle("background")="green" then%>checked<%end if%>/> <label for="che5">Yeşil</label><br>
                    <input type="radio" name="background" value="orange" class="radio" id="che6" <% if Guncelle("background")="orange" then%>checked<%end if%>/> <label for="che6">Turuncu</label>
                    <input type="radio" name="background" value="pink" class="radio" id="che7" <% if Guncelle("background")="pink" then%>checked<%end if%>/> <label for="che7">Pembe</label>
                    <input type="radio" name="background" value="purple" class="radio" id="che8" <% if Guncelle("background")="purple" then%>checked<%end if%>/> <label for="che8">Purple</label>
                    <input type="radio" name="background" value="gri" class="radio" id="che9" <% if Guncelle("background")="gri" then%>checked<%end if%>/> <label for="che9">Gri</label>
                    </p>
        
        
       		<hr>
            
        <p>
        <label class="left w120" for="bg1">Background dış</label>
		<select name="bg1" id="bg1" class="styled">
    	<option value="1" <% if Guncelle("image1")="1" then%>selected<%end if%>>1. image</option>
		<option value="2" <% if Guncelle("image1")="2" then%>selected<%end if%>>2. image</option>
		<option value="3" <% if Guncelle("image1")="3" then%>selected<%end if%> >3. image</option>
		<option value="4" <% if Guncelle("image1")="4" then%>selected<%end if%> >4. image</option>
		<option value="5" <% if Guncelle("image1")="5" then%>selected<%end if%> >5. image</option>
		<option value="6" <% if Guncelle("image1")="6" then%>selected<%end if%> >6. image</option>
		<option value="7" <% if Guncelle("image1")="7" then%>selected<%end if%> >7. image</option>
		<option value="8" <% if Guncelle("image1")="8" then%>selected<%end if%> >8. image</option>
		<option value="9" <% if Guncelle("image1")="9" then%>selected<%end if%> >9. image</option>
		<option value="10" <% if Guncelle("image1")="10" then%>selected<%end if%> >10. image</option>
		<option value="11" <% if Guncelle("image1")="11" then%>selected<%end if%> >11. image</option>
		<option value="12" <% if Guncelle("image1")="12" then%>selected<%end if%> >12. image</option>
		<option value="13" <% if Guncelle("image1")="13" then%>selected<%end if%> >13. image</option>
		<option value="14" <% if Guncelle("image1")="14" then%>selected<%end if%> >14. image</option>
		<option value="15" <% if Guncelle("image1")="15" then%>selected<%end if%> >15. image</option>
		<option value="16" <% if Guncelle("image1")="16" then%>selected<%end if%> >16. image</option>
		<option value="17" <% if Guncelle("image1")="17" then%>selected<%end if%> >17. image</option>
		<option value="18" <% if Guncelle("image1")="18" then%>selected<%end if%> >18. image</option>
		<option value="19" <% if Guncelle("image1")="19" then%>selected<%end if%> >19. image</option>
		<option value="20" <% if Guncelle("image1")="20" then%>selected<%end if%> >20. image</option>
		<option value="21" <% if Guncelle("image1")="21" then%>selected<%end if%> >21. image</option>
		<option value="22" <% if Guncelle("image1")="22" then%>selected<%end if%> >22. image</option>
		<option value="23" <% if Guncelle("image1")="23" then%>selected<%end if%> >23. image</option>
		<option value="24" <% if Guncelle("image1")="24" then%>selected<%end if%> >24. image</option>
		<option value="25" <% if Guncelle("image1")="25" then%>selected<%end if%> >25. image</option>
		<option value="26" <% if Guncelle("image1")="26" then%>selected<%end if%> >26. image</option>
		<option value="27" <% if Guncelle("image1")="27" then%>selected<%end if%> >27. image</option>
		<option value="28" <% if Guncelle("image1")="28" then%>selected<%end if%> >28. image</option>
		<option value="29" <% if Guncelle("image1")="29" then%>selected<%end if%> >29. image</option>
		<option value="30" <% if Guncelle("image1")="30" then%>selected<%end if%> >30. image</option>
		<option value="31" <% if Guncelle("image1")="31" then%>selected<%end if%> >31. image</option>
		<option value="32" <% if Guncelle("image1")="32" then%>selected<%end if%> >32. image</option>
		<option value="33" <% if Guncelle("image1")="33" then%>selected<%end if%> >33. image</option>
		<option value="34" <% if Guncelle("image1")="34" then%>selected<%end if%> >34. image</option>
		<option value="35" <% if Guncelle("image1")="35" then%>selected<%end if%> >35. image</option>
		<option value="36" <% if Guncelle("image1")="36" then%>selected<%end if%> >36. image</option>
		<option value="37" <% if Guncelle("image1")="37" then%>selected<%end if%> >37. image</option>
		<option value="38" <% if Guncelle("image1")="38" then%>selected<%end if%> >38. image</option>
		<option value="39" <% if Guncelle("image1")="39" then%>selected<%end if%> >39. image</option>
		<option value="40" <% if Guncelle("image1")="40" then%>selected<%end if%> >40. image</option>
		<option value="41" <% if Guncelle("image1")="41" then%>selected<%end if%> >41. image</option>
		<option value="42" <% if Guncelle("image1")="42" then%>selected<%end if%> >42. image</option>
		<option value="43" <% if Guncelle("image1")="43" then%>selected<%end if%> >43. image</option>
		<option value="44" <% if Guncelle("image1")="44" then%>selected<%end if%> >44. image</option>
		<option value="45" <% if Guncelle("image1")="45" then%>selected<%end if%> >45. image</option>
		<option value="46" <% if Guncelle("image1")="46" then%>selected<%end if%> >46. image</option>
		<option value="47" <% if Guncelle("image1")="47" then%>selected<%end if%> >47. image</option>
        </select>
        </p>
        <p>
        <label class="left w120" for="bg2">Background iç</label>
		<select name="bg2" id="bg2" class="styled">
    	<option value="1" <% if Guncelle("image2")="1" then%>selected<%end if%>>1. image</option>
		<option value="2" <% if Guncelle("image2")="2" then%>selected<%end if%>>2. image</option>
		<option value="3" <% if Guncelle("image2")="3" then%>selected<%end if%> >3. image</option>
		<option value="4" <% if Guncelle("image2")="4" then%>selected<%end if%> >4. image</option>
		<option value="5" <% if Guncelle("image2")="5" then%>selected<%end if%> >5. image</option>
		<option value="6" <% if Guncelle("image2")="6" then%>selected<%end if%> >6. image</option>
		<option value="7" <% if Guncelle("image2")="7" then%>selected<%end if%> >7. image</option>
		<option value="8" <% if Guncelle("image2")="8" then%>selected<%end if%> >8. image</option>
		<option value="9" <% if Guncelle("image2")="9" then%>selected<%end if%> >9. image</option>
		<option value="10" <% if Guncelle("image2")="10" then%>selected<%end if%> >10. image</option>
		<option value="11" <% if Guncelle("image2")="11" then%>selected<%end if%> >11. image</option>
		<option value="12" <% if Guncelle("image2")="12" then%>selected<%end if%> >12. image</option>
		<option value="13" <% if Guncelle("image2")="13" then%>selected<%end if%> >13. image</option>
		<option value="14" <% if Guncelle("image2")="14" then%>selected<%end if%> >14. image</option>
		<option value="15" <% if Guncelle("image2")="15" then%>selected<%end if%> >15. image</option>
		<option value="16" <% if Guncelle("image2")="16" then%>selected<%end if%> >16. image</option>
		<option value="17" <% if Guncelle("image2")="17" then%>selected<%end if%> >17. image</option>
		<option value="18" <% if Guncelle("image2")="18" then%>selected<%end if%> >18. image</option>
		<option value="19" <% if Guncelle("image2")="19" then%>selected<%end if%> >19. image</option>
		<option value="20" <% if Guncelle("image2")="20" then%>selected<%end if%> >20. image</option>
		<option value="21" <% if Guncelle("image2")="21" then%>selected<%end if%> >21. image</option>
		<option value="22" <% if Guncelle("image2")="22" then%>selected<%end if%> >22. image</option>
		<option value="23" <% if Guncelle("image2")="23" then%>selected<%end if%> >23. image</option>
		<option value="24" <% if Guncelle("image2")="24" then%>selected<%end if%> >24. image</option>
		<option value="25" <% if Guncelle("image2")="25" then%>selected<%end if%> >25. image</option>
		<option value="26" <% if Guncelle("image2")="26" then%>selected<%end if%> >26. image</option>
		<option value="27" <% if Guncelle("image2")="27" then%>selected<%end if%> >27. image</option>
		<option value="28" <% if Guncelle("image2")="28" then%>selected<%end if%> >28. image</option>
		<option value="29" <% if Guncelle("image2")="29" then%>selected<%end if%> >29. image</option>
		<option value="30" <% if Guncelle("image2")="30" then%>selected<%end if%> >30. image</option>
		<option value="31" <% if Guncelle("image2")="31" then%>selected<%end if%> >31. image</option>
		<option value="32" <% if Guncelle("image2")="32" then%>selected<%end if%> >32. image</option>
		<option value="33" <% if Guncelle("image2")="33" then%>selected<%end if%> >33. image</option>
		<option value="34" <% if Guncelle("image2")="34" then%>selected<%end if%> >34. image</option>
		<option value="35" <% if Guncelle("image2")="35" then%>selected<%end if%> >35. image</option>
		<option value="36" <% if Guncelle("image2")="36" then%>selected<%end if%> >36. image</option>
		<option value="37" <% if Guncelle("image2")="37" then%>selected<%end if%> >37. image</option>
		<option value="38" <% if Guncelle("image2")="38" then%>selected<%end if%> >38. image</option>
		<option value="39" <% if Guncelle("image2")="39" then%>selected<%end if%> >39. image</option>
		<option value="40" <% if Guncelle("image2")="40" then%>selected<%end if%> >40. image</option>
		<option value="41" <% if Guncelle("image2")="41" then%>selected<%end if%> >41. image</option>
		<option value="42" <% if Guncelle("image2")="42" then%>selected<%end if%> >42. image</option>
		<option value="43" <% if Guncelle("image2")="43" then%>selected<%end if%> >43. image</option>
		<option value="44" <% if Guncelle("image2")="44" then%>selected<%end if%> >44. image</option>
		<option value="45" <% if Guncelle("image2")="45" then%>selected<%end if%> >45. image</option>
		<option value="46" <% if Guncelle("image2")="46" then%>selected<%end if%> >46. image</option>
		<option value="47" <% if Guncelle("image2")="47" then%>selected<%end if%> >47. image</option>
        </select>
        </p>
        
        <p>Background önizlemeleri için <a href="?page=background">tıklayın</a>.</p>
        
        <hr>
		    
		<p><input type="submit" class="submit mid" name="guncelle" value="<% 
					dil=session("plang") 
					if dil="tr" then 
					%>Düzenle<% 
					end if 
					if dil="en" then 
					%>Edit<% 
					end if 
					if dil="fr" then 
					%>Modifier<% 
					end if 
					if dil="ru" then 
					%>редактировать<%
					end if 
					if dil="ar" then 
					%>تعديل<% 
					end if 
					%>"></p>
   
</form>
 
            </div>		<!-- .block_content ends -->
				
				<div class="bendl"></div>
				<div class="bendr"></div>
				
			</div>		<!-- .block.small.right ends -->
            
          
<% 
elseif page="background" then %>
<div class="block">
			
				<div class="block_head">
					<div class="bheadl"></div>
					<div class="bheadr"></div>
					
					<h2><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Genel ayarlar<% 
					end if 
					if dil="en" then 
					%>GENERAL SETTINGS<% 
					end if 
					if dil="fr" then 
					%>paramètres généraux<% 
					end if 
					if dil="ru" then 
					%>общие параметры<%
					end if 
					if dil="ar" then 
					%>إعدادات عامة<% 
					end if 
					%></h2>	
				</div>		<!-- .block_head ends -->
				
				
				
				<div class="block_content">
                <center>
                <img src="images/bgs.jpg"></center>
                
            </div>		<!-- .block_content ends -->
				
				<div class="bendl"></div>
				<div class="bendr"></div>
				
			</div>		<!-- .block.small.right ends -->
<%
elseif page="genel2" then
page = Request.Querystring("page")
			set baglanti = server.CreateObject("adodb.connection")
			baglanti.open "Provider=Microsoft.Jet.oledb.4.0;Data Source=" & server.Mappath("../db/"&datayol&".mdb")
			Set Guncelle = Server.CreateObject("Adodb.Recordset")
			sql="Select * From Admin"
Guncelle.Open sql,Baglanti,1,3
IF Request.ServerVariables("REQUEST_METHOD")="POST" Then

	if SESSION("logo") = "" then
    logo = Request.form("logo")
    else
    logo = SESSION("logo")
    end if
	
	image1 = Request.form("bg1")
	image2 = Request.form("bg2")
    background = Request.form("background")
	
Guncelle("logo") = logo
Guncelle("background") = background
Guncelle("image1") = image1
Guncelle("image2") = image2
Guncelle.Update
response.redirect "panel.asp?box=success&text=Ayarlar%20kaydedildi.&second=2&url=ayarlar.asp?page=genel"
End IF

if request.QueryString("sil")="logo" then
Guncelle("logo") = ""
Guncelle.Update
response.redirect "panel.asp?box=success&text=Logo%20silindi.&second=2&url=ayarlar.asp?page=genel"
end if

if request.QueryString("sil")="background" then
Guncelle("background") = ""
Guncelle.Update
response.redirect "panel.asp?box=success&text=Background%20silindi.&second=2&url=ayarlar.asp?page=genel"
end if

elseif page="social" then
%>
 <div class="block">
<!--#include file ="../veriables.asp"-->
			<%
			page = Request.Querystring("page")
			set baglanti = server.CreateObject("adodb.connection")
			baglanti.open "Provider=Microsoft.Jet.oledb.4.0;Data Source=" & server.Mappath("../db/"&datayol&".mdb")
			Set Guncelle = Server.CreateObject("Adodb.Recordset")
			sql="Select * From Admin"
			Guncelle.Open sql,Baglanti,1,3
			IF Request.ServerVariables("REQUEST_METHOD")="POST" Then
			Guncelle("googleanaliz") = Request.Form("facebook")
			Guncelle("kutucuk") = Request.Form("twitter")
			Guncelle("reklam") = Request.Form("rss")
			Guncelle.Update
			response.redirect "panel.asp?box=success&text=Ayarlar%20basariyla%20guncellendi.&second=2&url=ayarlar.asp?page=" & request("where")
			End IF
			%>
			

				<div class="block_head">

					<div class="bheadl"></div>

					<div class="bheadr"></div>
					<h2><% 
					dil=session("plang") 
					if dil="tr" then 
					%>Sosyal linkler<% 
					end if 
					if dil="en" then 
					%>Social links<% 
					end if 
					if dil="fr" then 
					%>Liens sociaux<% 
					end if 
					if dil="ru" then 
					%>социальных связей<%
					end if 
					if dil="ar" then 
					%>الروابط الاجتماعية<% 
					end if 
					%></h2>
					</div>		<!-- .block_head ends -->
					<div class="block_content">

		
					<form action="?page=social" method="post">
					
                    <label>Twitter :</label><br />
					<input name="twitter" type="text" value="<%=Guncelle("kutucuk")%>" class="text medium"></input></p>
                    <p>
                    <label>Facebook :</label><br />
					<input name="facebook" type="text" value="<%=Guncelle("googleanaliz")%>" class="text medium"></input></p>
                    <p>
                    <label>Rss :</label><br />
					<input name="rss" type="text" value="<%=Guncelle("reklam")%>" class="text medium"></input></p>
                    <input type="hidden" class="text" name="where" size="70" value="social">
					<p><input type="submit" name="guncelle" class="submit mid" value="<% 
					dil=session("plang") 
					if dil="tr" then 
					%>Düzenle<% 
					end if 
					if dil="en" then 
					%>Edit<% 
					end if 
					if dil="fr" then 
					%>Modifier<% 
					end if 
					if dil="ru" then 
					%>редактировать<%
					end if 
					if dil="ar" then 
					%>تعديل<% 
					end if 
					%>"></p>
					</form>
                    
                    
				</div>		<!-- .block_content ends -->

				

				<div class="bendl"></div>

				<div class="bendr"></div>

				

			</div>		<!-- .block.small.right ends -->
<%
elseif page="secure" then
%>
<div class="block small left">

			

				<div class="block_head">

					<div class="bheadl"></div>

					<div class="bheadr"></div>
<h2>Panel loglari</h2>
    <%
	set mertbaglan = Server.CreateObject("ADODB.Connection")
	mertbaglan.Open("DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("../db/"&datayol&".mdb"))
	set mertgaleri = server.createobject("adodb.recordset")
	%>
    <%
	sql = "select * from scout id order by id desc"
	mertgaleri.Open sql, mertbaglan, 1, 3 
	%>
    <%
	kacc = request.QueryString("read1")
	if kacc = "" then
	kacc = 20
	end if
	%>
<ul>
						<li><a href="ayarlar.asp?page=secure&read1=<%=mertgaleri.recordcount%>">T&#252;m liste</a>&nbsp;-&nbsp;<a href="#RecordCount"><%=kacc%>/<%=mertgaleri.recordcount%></a></li>
					</ul>
				</div>		<!-- .block_head ends -->
				<div class="block_content">

					<ul>
        
    
    <%
	if mertgaleri.eof then
    %>
    Veritabaninda kayitli log bulunmamaktadir.
    <% end if
    For m = 1 to kacc
	If mertgaleri.Eof Then Exit For
	%>
                             
    <li>Tarih:&nbsp;<a title="<%=mertgaleri("ip")%>"><%=mertgaleri("zaman")%></a>&nbsp;&nbsp;i&#351;lem:&nbsp;<a title="<%=mertgaleri("ip")%>"><%=mertgaleri("durum")%></a></li> 
                 
    <%
	mertgaleri.movenext
	next
	%>
    <%
	mertgaleri.close
	set mertgaleri=nothing
	mertbaglan.close
	set mertbaglan=nothing
	%>
                    </ul>

				

				</div>		<!-- .block_content ends -->

				

				<div class="bendl"></div>

				<div class="bendr"></div>

				

			</div>		<!-- .block.small.right ends -->
            
    <div class="block small right">

			

				<div class="block_head">

					<div class="bheadl"></div>

					<div class="bheadr"></div>
<h2>Adm&#304;n loglari</h2>
    <%
	set mertbaglan = Server.CreateObject("ADODB.Connection")
	mertbaglan.Open("DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("../db/"&datayol&".mdb"))
	set mertgaleri = server.createobject("adodb.recordset")
	sqlcumlesi = "UPDATE logs Set durum = true" 
	mertbaglan.Execute sqlcumlesi 
	%>
    <%
	sql = "select * from logs id order by id desc"
	mertgaleri.Open sql, mertbaglan, 1, 3 
	%>
    <%
	kac = request.QueryString("read")
	if kac = "" then
	kac = 20
	end if
	%>
<ul>
						<li><a href="ayarlar.asp?page=secure&read=<%=mertgaleri.recordcount%>">T&#252;m liste</a>&nbsp;-&nbsp;<a href="#RecordCount"><%=kac%>/<%=mertgaleri.recordcount%></a></li>
					</ul>
				</div>		<!-- .block_head ends -->
				<div class="block_content">

					<ul>
        
    
    <%
	if mertgaleri.eof then
    %>
    Veritabaninda kayitli log bulunmamaktadir.
    <% end if
    For m = 1 to kac
	If mertgaleri.Eof Then Exit For
	%>
                             
    <li>Deneme tarihi:&nbsp;<a title="Kullanici:<% if mertgaleri("pass")="" then response.write("Unknown") else response.write mertgaleri("pass") end if %>&nbsp;Sifre:<% if mertgaleri("kull")="" then response.write("Unknown") else response.write mertgaleri("kull") end if %>"><%=mertgaleri("zaman")%></a>&nbsp;&nbsp;giri&#351;&nbsp;durumu:&nbsp;<img src="images/login-<%=mertgaleri("sifre")%>.png">&nbsp;&nbsp;ip:&nbsp;<a title="Kullanici:<% if mertgaleri("pass")="" then response.write("Unknown") else response.write mertgaleri("pass") end if %>&nbsp;Sifre:<% if mertgaleri("kull")="" then response.write("Unknown") else response.write mertgaleri("kull") end if %>"><%=mertgaleri("ip")%></a>&nbsp;&nbsp;&nbsp;</li> 
                 
    <%
	mertgaleri.movenext
	next
	%>
    <%
	mertgaleri.close
	set mertgaleri=nothing
	mertbaglan.close
	set mertbaglan=nothing
	%>
                    </ul>

				

				</div>		<!-- .block_content ends -->

				

				<div class="bendl"></div>

				<div class="bendr"></div>

				

			</div>		<!-- .block.small.right ends -->

<%
end if
%>
            
<!--#include file="foot.asp"-->