-
Notifications
You must be signed in to change notification settings - Fork 1
/
musteri.php
49 lines (49 loc) · 2.16 KB
/
musteri.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?php
include 'header.php';
$musterisor=$db->prepare("SELECT * FROM musteri WHERE musteri_id={$_POST['musteri_id']}");
$musterisor->execute();
$mustericek=$musterisor->fetch(PDO::FETCH_ASSOC);
?>
<!-- Begin Page Content -->
<div class="container">
<div class="card shadow mb-4">
<div class="card-header py-3">
<h5 class="m-0 font-weight-bold text-primary">Müşteri</h5>
</div>
<div class="card-body">
<form action="islemler/islem.php" method="POST" enctype="multipart/form-data">
<div class="form-row">
<div class="form-group col-md-6">
<label>Müşteri Adı</label>
<input disabled="" type="text" class="form-control" name="musteri_adi" placeholder="Müşteri Adı" value="<?php echo $mustericek['musteri_adi'] ?>">
</div>
<!-- <div class="form-group col-md-6">
<label>Müşteri Yetkilisi</label>
<input disabled="" type="text" class="form-control" name="musteri_yetkili" placeholder="Müşteri Yetkilisi" value="<?php echo $mustericek['musteri_yetkili'] ?>">
</div> -->
<div class="form-group col-md-6">
<label>Müşteri Telefon</label>
<input disabled="" type="text" class="form-control" name="musteri_telefon" placeholder="Müşteri Telefon" value="<?php echo $mustericek['musteri_telefon'] ?>">
</div>
</div>
<div class="form-row">
<div class="form-group col-md-6">
<label>Müşteri Mail</label>
<input disabled="" type="email" class="form-control" name="musteri_mail" placeholder="Müşteri Mail" value="<?php echo $mustericek['musteri_mail'] ?>">
</div>
<div class="form-group col-md-6">
<label>Müşteri Not</label>
<textarea disabled="" id="editor" name="musteri_not"><?php echo $mustericek['musteri_not'] ?></textarea>
</div>
</div>
<button type="submit" name="aracekle" class="btn btn-primary">Kaydet</button>
</form>
</div>
</div>
</div>
<!-- End of Main Content -->
<?php include 'footer.php' ?>
<script src="ckeditor/ckeditor.js"></script>
<script>
CKEDITOR.replace('editor');
</script>