-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
94 lines (65 loc) · 2.74 KB
/
index.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<?php
require_once 'bagla.php';
ob_start();
session_start();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Kuyumcu</title>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
</head>
<body>
<div class="container"><hr>
<h2 class="text-center">TALAT KUYUMCULUK</h2>
<nav class="nav justify-content-center">
<a href="index.php" class="nav-link">Anasayfa</a>
<a href="stok.php" class="nav-link">Stok</a>
<a href="marka.php" class="nav-link">Markalar</a>
<a href="kategori.php" class="nav-link">Kategoriler</a>
<a href="randevu.php" class="nav-link">Randevular</a>
<a href="calisan.php" class="nav-link">Çalışanlar</a>
<a href="musteri.php" class="nav-link">Müşteriler</a>
<a href="urun.php" class="nav-link">Ürünler</a>
<a href="satici.php" class="nav-link">Satıcılar</a>
</nav>
<hr>
<div class="row">
<div class="col-md-12">
<div class="row">
<h4 class="text-center">Siparişler</h4>
<hr>
<table class="table" >
<tr>
<th>PAYMENT ID</th>
<th>CART ID</th>
<th>STAFF ID</th>
<th>PAYMENT METHOD</th>
<th>DATE</th>
<th>STATUS</th>
<th width="300">İŞLEMLER</th>
</tr>
<?php
$verial=$conn->prepare("SELECT * from PAYMENT ");
$verial->execute();
while($veriler=$verial->fetch(PDO::FETCH_ASSOC)){ ?>
<tr>
<td><?php echo $veriler['paymentId'] ?></td>
<td><?php echo $veriler['cartId'] ?></td>
<td><?php echo $veriler['staffId'] ?></td>
<td><?php echo $veriler['paymentMethod'] ?></td>
<td><?php echo $veriler['date'] ?></td>
<td><?php echo $veriler['isConfirmed'] ?></td>
</td>
</tr>
<?php } ?>
</table></div>
</div>
<div class="col-md-1" ></div>
</div>
</div>
</body>
</html>