📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
e-ticaretv8.demodesign.com.tr
📝
ayarlar.php
← Geri Dön
<?php $ayarlar = 1; include ('includes/head.php'); include ('includes/header.php'); if(!isset($_SESSION['session'])){ header("location:my-account"); } ?> <?php if($_POST['first-name'] != ""){ $db->query("UPDATE users SET fullname = '" . $_POST['first-name'] . "', surname = '" . $_POST['last-name'] . "', firma = '" . $_POST['company-name'] . "', sehir = '" . $_POST['city'] . "', adres = '" . $_POST['address'] . "', posta = '" . $_POST['post'] . "', email = '" . $_POST['email'] . "',phone = '" . $_POST['phone'] . "' WHERE id = '" . $_SESSION['session'] . "' "); } $musteri = $db->query("SELECT * FROM users WHERE id = ".$_SESSION['session'], PDO::FETCH_ASSOC); if ($musteri->rowCount()) { foreach ($musteri as $musteri) {} } ?> <style> .widget-categories > ul.cat-list > li > a:before { right: -12px; left:unset; } .cat-list li a.active { color: #ff6000 !important; font-weight: 600; } .siparis-ara { border: none; width: 100% !important; color: #484848 !important; -webkit-box-sizing: border-box; box-sizing: border-box; border-radius: 4px; overflow: hidden; -o-text-overflow: ellipsis; text-overflow: ellipsis; white-space: nowrap; -webkit-appearance: searchfield; -moz-appearance: searchfield; appearance: searchfield; } .form-input .form-box .form-box-content .dropdown-title { border-radius:5px; } .form-input .form-box .form-box-content ul { position:absolute; width:90%; } .animateForm .control-group { margin-bottom: 24px; } .animateForm .controls { width: auto; } .animateForm .animateInput .input, .animateForm .animateInput .textarea, .animateForm .animateTextarea .input, .animateForm .animateTextarea .textarea { box-sizing: border-box; transition-duration: .3s; transition-property: background-color,border-color; padding: 12px 16px; border: 2px solid #bfbfbf; outline: 0; font-size: 13px; line-height: 1.2; background-color: transparent; border-radius: 4px; zoom: 1; position: relative; z-index: 1; width: 100%; color: #484848; } .animateForm .animateInput .input:valid+label, .animateForm .animateInput .input:valid+div+label, .animateForm .animateInput .textarea:valid+label, .animateForm .animateInput .textarea:valid+div+label, .animateForm .animateTextarea .input:valid+label, .animateForm .animateTextarea .input:valid+div+label, .animateForm .animateTextarea .textarea:valid+label, .animateForm .animateTextarea .textarea:valid+div+label { top: -8px; } .animateForm .animateInput label, .animateForm .animateTextarea label { transition: all .2s ease-in; display: inline-block; padding: 0 10px; background-color: #FFF; font-size: 13px; font-weight: 700; color: #bfbfbf; position: absolute; top: 14px; left: 6px; z-index: 1; width: auto; pointer-events: none; } } .page-user .btn-primary.long { width: 100%; } .btn-primary.long { width: 190px; } .btn-primary { overflow: hidden; } .btn { display: inline-block; *zoom: 1; *display: inline; vertical-align: middle; padding: 13px 14px; font-weight: 700; text-align: center; text-decoration: none; border: 0; font-weight: 700; font-size: 15px; line-height: 1; color: #fff; cursor: pointer; white-space: nowrap; background-image: none; background-color: #ff6000; border-radius: 4px; outline: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; height: 38px; padding-top: 17px; } </style> <section class="main-blog"> <div class="container"> <div class="row"> <div class="col-lg-3 col-md-4"> <div class="sidebar left"> <div class="widget widget-search"> <form action="#" method="get" accept-charset="utf-8"> <input type="text" name="widget-search" placeholder="Arama"> </form> </div><!-- /.widget widget-search --> <div class="widget widget-categories"> <div class="widget-title"> <h3>HESABIM</h3> </div> <ul class="cat-list"> <li> <a href="siparislerim.php" title="">Siparişlerim</a> </li> <li> <a href="ayarlar.php" title="" class="active">Hesap Ayarlarım</a> </li> <li> <a href="php/logout.php" title="">Güvenli Çıkış</a> </li> </ul> </div><!-- /.widget widget-categories --> <!-- /.widget widget-categories --> </div><!-- /.sidebar left --> </div><!-- /.col-lg-3 col-md-4 --> <div class="col-lg-9 col-md-8"> <div class="row"> <div class="col-md-12" style="padding-top:15px;"> <div class="wishlist"> <div class="title"> <h3>Hesap Ayarlarım</h3><br> <p>Sayın kullanıcı, hesap bilgileriniz boş ise lütfen doldurunuz aksi takdirde işlem yapamazsınız.</p> </div> <div class="wishlist-content mCustomScrollbar _mCS_1 mCS_no_scrollbar"> <div id="mCSB_1" class="mCustomScrollBox mCS-light-3 mCSB_horizontal mCSB_inside" style="max-height: none;" tabindex="0"> <div id="mCSB_1_container" class="mCSB_container mCS_x_hidden mCS_no_scrollbar_x" style="position: relative; top: 0px; left: 0px; width: 643px; min-width: 100%; overflow-x: inherit;" dir="ltr"> <div class="col-md-12" style="float:left;"> <form id="form-user" class="form-vertical frm-register animateForm" method="POST" autocomplete="off" novalidate="novalidate"> <div class="fields-content"> <div class="field-row"> <p class="field-one-half"> <label for="first-name">İsim *</label> <input type="text" id="first-name" name="first-name" required="" placeholder="Ali" value="<?=$musteri['fullname']?>" > </p> <p class="field-one-half"> <label for="last-name">Soyisim *</label> <input type="text" id="last-name" name="last-name" required="" placeholder="Tufan" value="<?=$musteri['surname']?>" > </p> <div class="clearfix"></div> </div> <div class="field-row"> <label for="company-name">Firma Adı</label> <input type="text" id="company-name" name="company-name" value="<?=$musteri['firma']?>"> </div> <div class="field-row"> <p class="field-one-half"> <label for="email-address">Eposta Adresi *</label> <input type="email" id="email-address" name="email" required="" style="padding: 8px 15px 8px 30px;" value="<?=$musteri['email']?>"> </p> <p class="field-one-half"> <label for="phone">Telefon *</label> <input type="text" id="phone" required="" name="phone" value="<?=$musteri['phone']?>"> </p> <div class="clearfix"></div> </div> <div class="field-row"> <p class="field-one-half"> <label for="town-city">Şehir *</label> <input type="text" id="town-city" required="" name="city" value="<?=$musteri['sehir']?>"> </p> <p class="field-one-half"> <label for="post-code">Posta Kodu *</label> <input type="text" id="post-code" required="" name="post" value="<?=$musteri['posta']?>"> </p> </div> <div class="field-row"> <label for="address">Adres *</label> <input type="text" id="address" name="address" required="" placeholder="" value="<?=$musteri['adres']?>"> </div> <div class="form-actions"> <button type="submit" class="btn btn-primary long">Kaydet</button> <div class="secondary-link-container"> <a href="sifre.php" class="link-type-one">Şifrenizi değiştirmek için tıklayın.</a> </div> </div> </form> </div> </div><div id="mCSB_1_scrollbar_horizontal" class="mCSB_scrollTools mCSB_1_scrollbar mCS-light-3 mCSB_scrollTools_horizontal" style="display: none;"><div class="mCSB_draggerContainer"><div id="mCSB_1_dragger_horizontal" class="mCSB_dragger" style="position: absolute; min-width: 30px; width: 0px; left: 0px;"><div class="mCSB_dragger_bar"></div></div><div class="mCSB_draggerRail"></div></div></div></div></div><!-- /.wishlist-content --> </div><!-- /.wishlist --> </div><!-- /.col-md-12 --> </div> </div><!-- /.col-lg-9 col-md-8 --> </div><!-- /.row --> </div><!-- /.container --> <br> <br> </section> <?php include ('includes/footer.php'); ?>
💾 Kaydet
İptal
📝 Yeniden Adlandır
İptal
Kaydet
🔐 Dosya İzinleri (chmod)
İzin Değeri:
Hızlı Seçim:
777
755
644
600
777
= Herkes okur/yazar/çalıştırır
755
= Sahip tam, diğerleri okur/çalıştırır
644
= Sahip okur/yazar, diğerleri okur
600
= Sadece sahip okur/yazar
İptal
Uygula