<META http-equiv=Content-Type content=text/html; charset=UTF-8>
<head>

	<title>Admin</title>
	
    <style type="text/css" media="all">
		@import url("css/style.css");
		@import url("css/jquery.wysiwyg.css");
		@import url("css/facebox.css");
		@import url("css/visualize.css");
		@import url("css/date_input.css");
    </style>
	
	<!--[if lt IE 8]><style type="text/css" media="all">@import url("css/ie.css");</style><![endif]-->

</head>




<body>
	
	<div id="hld">
	
		<div class="wrapper">		<!-- wrapper begins -->
		
        			<div class="block small center login">
			
			  <div class="block_head">
					<div class="bheadl"></div>
					<div class="bheadr"></div>
<% 
					dil=session("plang") 
					if dil="tr" then 
					%>İşleniyor..<% 
					end if 
					if dil="en" then 
					%>Processing.. <% 
					end if 
					if dil="fr" then 
					%>Traitement..<% 
					end if 
					if dil="ru" then 
					%>обработка..<%
					end if 
					if dil="ar" then 
					%>تحويل..<% 
					end if 
					if dil="" then
					%>Please wait..<%
					end if
					%>
      

					
                    <ul>
						<li><a><img src="images/islem.gif" border="0" /></a></li>
					</ul>
					
				</div>		<!-- .block_head ends -->
				
				
				
				
				<div class="block_content">


<% 
box = Request.Querystring("box")
text = Request.Querystring("text")
url = Request.Querystring("url")
sec = Request.Querystring("second")
%> 

<% if box="" or text="" or url="" or sec="" then %>
Sayfa beslemelerinde eksiklikler var. <Br>Lütfen kontrol edip tekrar deneyiniz. <br>       
<% else %>      

<!-- hata icerikleri baslangici -->
<% If box = "success" then %>
<div class="message success">
<% Elseif box = "warning" then %>
<div class="message warning">
<% Elseif box = "error" then %>
<div class="message errormsg">
<% Elseif box = "info" then %>
<div class="message info">
<% 
End if

Function tr(gelenveri)
gelenveri = LCase(gelenveri)
gelenveri = Replace(gelenveri ,"basariyla","ba&#351;ar&#305;yla",1,-1,0)
gelenveri = Replace(gelenveri ,"guncellendi","g&#252;ncellendi",1,-1,0)
gelenveri = Replace(gelenveri ,"tesekkur","Te&#351;ekk&#252;r",1,-1,0)
gelenveri = Replace(gelenveri ,"lutfen","L&#252;tfen",1,-1,0)
gelenveri = Replace(gelenveri ,"birakmayiniz","b&#305;rakmay&#305;n&#305;z",1,-1,0)
gelenveri = Replace(gelenveri ,"yonetim","Y&#246;netim",1,-1,0)
gelenveri = Replace(gelenveri ,"uzaklastirildiniz","uzakla&#351;t&#305;r&#305;ld&#305;n&#305;z",1,-1,0)
gelenveri = Replace(gelenveri ,"basarili","ba&#351;ar&#305;l&#305;",1,-1,0)
gelenveri = Replace(gelenveri ,"cikis","&#199;&#305;k&#305;&#351;",1,-1,0)
gelenveri = Replace(gelenveri ,"giris","Giri&#351;",1,-1,0)
gelenveri = Replace(gelenveri ,"bulunamadi","bulunamad&#305;",1,-1,0)
gelenveri = Replace(gelenveri ,"hatali","hatal&#305;",1,-1,0)
gelenveri = Replace(gelenveri ,"sayfa","Sayfa",1,-1,0)
gelenveri = Replace(gelenveri ,"alanlari","alanlar&#305;",1,-1,0)
gelenveri = Replace(gelenveri ,"duzenleme","d&#252;zenleme",1,-1,0)
gelenveri = Replace(gelenveri ,"session","Session",1,-1,0)
gelenveri = Replace(gelenveri ,"not","Not",1,-1,0)
gelenveri = Replace(gelenveri ,"tum","t&#252;m",1,-1,0)
gelenveri = Replace(gelenveri ,"ayarlar","Ayarlar",1,-1,0)
gelenveri = Replace(gelenveri ,"yazi","Yaz&#305;",1,-1,0)
gelenveri = Replace(gelenveri ,"kategori","Kategori",1,-1,0)
gelenveri = Replace(gelenveri ,"yazar","Yazar",1,-1,0)
gelenveri = Replace(gelenveri ,"mesaj","Mesaj",1,-1,0)
gelenveri = Replace(gelenveri ,"mail","Mail",1,-1,0)
gelenveri = Replace(gelenveri ,"yorum","Yorum",1,-1,0)
gelenveri = Replace(gelenveri ,"link","Link",1,-1,0)
gelenveri = Replace(gelenveri ,"resim","Resim",1,-1,0)
gelenveri = Replace(gelenveri ,"olay","Olay",1,-1,0)
gelenveri = Replace(gelenveri ,"paylasim","Payla&#351;&#305;m",1,-1,0)
gelenveri = Replace(gelenveri ,"etkinlik","Etkinlik",1,-1,0)
gelenveri = Replace(gelenveri ,"icerik","&#304;&#231;erik",1,-1,0)
gelenveri = Replace(gelenveri ,"mesajiniz","Mesaj&#305;n&#305;z",1,-1,0)
gelenveri = Replace(gelenveri ,"gonderildi","g&#246;nderildi",1,-1,0)
tr = gelenveri 
End Function
%> <p><% 
					dil=session("plang") 
					if dil="tr" then 
					%>İşlem başarılı.<% 
					end if 
					if dil="en" then 
					%>The operation was successful.<% 
					end if 
					if dil="fr" then 
					%>L'opération a été couronnée de succès.<% 
					end if 
					if dil="ru" then 
					%>Операция прошла успешно.<%
					end if 
					if dil="ar" then 
					%>كانت العملية ناجحة.<% 
					end if 
					if dil="" then
					%>Please wait..<%
					end if
					%></p></div>
<%
if request.QueryString("url") = "turnback" then %>
<meta http-equiv="refresh" content="<%=sec%>;URL=<%=session("backurl")%>">
<% session("backurl")="" %>
<% else %>
<meta http-equiv="refresh" content="<%=sec%>;URL=<%=url%>">
<% end if %>
<!--#include file ="../veriables.asp"-->
<%
set baglanti = server.CreateObject("adodb.connection")
baglanti.open "Provider=Microsoft.Jet.oledb.4.0;Data Source=" & server.Mappath("../db/"&datayol&".mdb")


				Set kaydet = Server.CreateObject("ADODB.Recordset")
    			sql = "SELECT * from scout"
    			kaydet.open sql, baglanti, 1, 3
   			    kaydet.addnew
				kaydet("ip") = Request.ServerVariables("remote_addr")
			    kaydet("zaman") = now()
				kaydet("durum") = tr(text)
				kaydet.update
   				kaydet.close
   				set kaydet=nothing
				
end if 
%>	
				
				</div>		<!-- .block_content ends -->
					
				<div class="bendl"></div>
				<div class="bendr"></div>
							
			</div>		<!-- .login ends -->
			
			
			
			
			
			
			
			
			
			
			
		
		
		</div>						<!-- wrapper ends -->
		
	</div>		<!-- #hld ends -->
	
	
	<!--[if IE]><script type="text/javascript" src="js/excanvas.js"></script><![endif]-->	
	<script type="text/javascript" src="js/jquery.js"></script>
	<script type="text/javascript" src="js/jquery.img.preload.js"></script>
	<script type="text/javascript" src="js/jquery.filestyle.mini.js"></script>
	<script type="text/javascript" src="js/jquery.wysiwyg.js"></script>
	<script type="text/javascript" src="js/jquery.date_input.pack.js"></script>
	<script type="text/javascript" src="js/facebox.js"></script>
	<script type="text/javascript" src="js/jquery.visualize.js"></script>
	<script type="text/javascript" src="js/jquery.visualize.tooltip.js"></script>
	<script type="text/javascript" src="js/jquery.select_skin.js"></script>
	<script type="text/javascript" src="js/jquery.tablesorter.min.js"></script>
	<script type="text/javascript" src="js/ajaxupload.js"></script>
	<script type="text/javascript" src="js/jquery.pngfix.js"></script>
	<script type="text/javascript" src="js/custom.js"></script>
	
	
</body>
</html>

