<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9">
<%
Response.ContentType = "text/html" 
Response.Charset = "UTF-8" 
Response.Codepage = 65001
%>
<!--#include file ="header.asp"-->

<div class="all-elements">
    
	<!--#include file ="menu.asp"-->
    
<%
Set baglanti = server.CreateObject("adodb.connection")
baglanti.open "Provider=Microsoft.Jet.oledb.4.0;Data Source=" & server.Mappath("kb45t49fehrgi5.mdb")

	Set giris = Server.CreateObject("ADODB.Recordset")
    sqlm = "SELECT * from users where code='"&session("code")&"'"
    giris.open sqlm, baglanti, 1, 3
	%>    

    <!-- Page Content-->
    <div id="content" class="snap-content">
        <div class="full-bottom"></div>
        <div class="content">
            <div style="margin-top:10px;">&nbsp;</div> 
            <div class="one-half-responsive">
                <h4>Ayarlar</h4>
                <div class="container no-bottom">
                    <div class="contact-form no-bottom"> 
                        <div class="formSuccessMessageWrap" id="formSuccessMessageWrap">
                        		<div class="static-notification-green tap-dismiss-notification">
                        			<p class="center-text uppercase">Ayarlarınız başarılı bir şekilde güncellendi.</p>
                   				 </div>
                        </div>

                        <form action="/cmd.asp?page=settings" method="post" class="contactForm" id="contactForm" style="margin-top:10px;">
                            <fieldset>
                                <div class="formValidationError" id="contactNameFieldError">
                                    <div class="static-notification-red tap-dismiss-notification">
                                        <p class="center-text uppercase">Ad kısmı boş!</p>
                                    </div>
                                </div>             
                                <div class="formValidationError" id="contactEmailFieldError">
                                    <div class="static-notification-red tap-dismiss-notification">
                                        <p class="center-text uppercase">Mail kısmı boş!</p>
                                    </div>
                                </div> 
                                <div class="formValidationError" id="contactEmailFieldError2">
                                    <div class="static-notification-red tap-dismiss-notification">
                                        <p class="center-text uppercase">Mail adresi geçerli değil!</p>
                                    </div>
                                </div> 
                                <div class="formValidationError" id="contactMessageTextareaError">
                                    <div class="static-notification-red tap-dismiss-notification">
                                        <p class="center-text uppercase">Parola kısmı boş!</p>
                                    </div>
                                </div>   
                                <div class="formFieldWrap">
                                    <label class="field-title contactNameField" for="contactNameField">İsim:<span>(zorunlu)</span></label>
                                    <input type="text" name="name" value="<%=giris("name")%>" class="contactField requiredField" id="contactNameField"/>
                                </div>
                                <div class="formFieldWrap">
                                    <label class="field-title contactEmailField" for="contactEmailField">Email: <span>(zorunlu)</span></label>
                                    <input type="text" name="mail" value="<%=giris("mail")%>" class="contactField requiredField requiredEmailField" id="contactEmailField"/>
                                </div>
                                <div class="formTextareaWrap">
                                    <label class="field-title contactNameField" for="contactPassField">Parola: <span>(zorunlu)</span></label>
                                    <input type="password" name="pass" value="" class="contactField requiredField" id="contactPassField"/>
                                </div>
                                <div class="formSubmitButtonErrorsWrap" style="margin-top:10px;">
                                    <input type="submit" class="buttonWrap button button-blue contactSubmitButton" id="contactSubmitButton" value="Güncelle" data-formId="contactForm"/>
                                </div>
                            </fieldset>
                        </form>  
            <div style="margin-top:10px;">&nbsp;</div>     
                    </div>
                </div>
            </div>
            
            <div class="decoration hide-if-responsive"></div>
            <div class="one-half-responsive last-column">
                <div class="container no-bottom">
                    <h4>Hesap bilgileriniz</h4>
                    <p>
                        Kullanıcı ID<br>
                        <i class="fa fa-ticket"></i>&nbsp;&nbsp;<strong><%=giris("code")%></strong>
                    </p>
                    <p>
                        Kaydolma tarihi<br>
                        <i class="fa fa-clock-o"></i>&nbsp;&nbsp;<strong><%=giris("date")%></strong>
                    </p>
                    <p>
                    <a href="/cmd.asp?page=userdel" class="button button-red"><i class="fa fa-trash-o"></i>Hesabımı sil</a>
                    </p>
                </div>
            </div>
            <div class="decoration"></div>
        </div>
            
	<%
    giris.close
	set giris=nothing

baglanti.close
Set baglanti = nothing
%>
      
        <!-- Page Footer-->
        <div class="footer">
            <div class="footer-socials">
                <a href="#" class="footer-up"><i class="fa-menu fa-angle-up"></i></a>
            </div>
        </div>
                
    </div>   
</div>



</body>