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

<%
set baglanti = server.CreateObject("adodb.connection")
baglanti.open "Provider=Microsoft.Jet.oledb.4.0;Data Source=" & server.Mappath("../db/"&datayol&".mdb")
Dim Guncelle
Set Guncelle = Server.CreateObject("Adodb.Recordset")
sql="Select * From Ayarlar"
Guncelle.Open sql,Baglanti,1,3
IF Request.ServerVariables("REQUEST_METHOD")="POST" Then
Guncelle("hakkimdayazi") = Request.Form("hakkimda")
Guncelle("profilresimurl") = Request.Form("profilresimurl")
Guncelle("hakkimdaprofil") = Request.Form("hakkimdaprofil")
Guncelle.Update
response.redirect "panel.asp?box=success&text=Ayarlar%20kaydedildi.&second=2&url=who.asp?page=who_am_i"
End IF
%>
			
			<div class="block">
			
				<div class="block_head">
					<div class="bheadl"></div>
					<div class="bheadr"></div>
					
					<h2>Hakkimda</h2>	
				</div>		<!-- .block_head ends -->
				
				
				
				<div class="block_content">
		<form action="?page=who_am_i" method="post">
  <p>
                    <label>Profil resmi:<% if Guncelle("profilresimurl")<>"" then %> <a href="<%=Guncelle("profilresimurl")%>" rel="facebox">önizleme</a><% end if %></label><br />
			<input type="text"  class="text" name="profilresimurl" value="<%=Guncelle("profilresimurl")%>" size="70"></p>
            <p>* Se&#231;enekler > Upload manager > Resim 500x700 (profil)</p>
            <p>
                    <label>Profil yaz&#305;s&#305;:</label><br />
			<input type="text"  class="text big" name="hakkimdaprofil" value="<%=Guncelle("hakkimdaprofil")%>" size="70"></p>
            
            
		<p>
                    <label>Hakk&#305;mda yaz&#305;s&#305;:</label><br />
			<textarea name="hakkimda" class="wysiwyg"><%=Guncelle("hakkimdayazi")%></textarea></p>
                    
            <p><input type="submit" class="submit mid" name="guncelle" value="Guncelle"></p>
                
        </form>
         
            
            
            		</div>		<!-- .block_content ends -->
				
				<div class="bendl"></div>
				<div class="bendr"></div>
				
			</div>		<!-- .block.small.left ends -->
			
			
            
<!--#include file="foot.asp"-->