This repository has been archived by the owner on Apr 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ogretmenetuteski.php
100 lines (92 loc) · 2.13 KB
/
ogretmenetuteski.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
95
96
97
98
99
100
<section id='content'>
<div class='container-fluid'>
<div class='row-fluid' id='content-wrapper'>
<div class='span12'>
<div class='group-header'>
<div class='row-fluid'>
<div class='span6 offset3'>
<div class='text-center'>
<strong>Açıklama</strong>
<small class='muted'>Bu bölümden kayıtlı geçiş etütlerinizi ve durumlarını görebilirsiniz..</small>
</div>
</div>
</div>
</div>
<div class='row-fluid'>
<div class='span12 box bordered-box orange-border' style='margin-bottom:0;'>
<div class='box-header orange-background'>
<div class='title'>Randevu listesi (Geçmiş)</div>
<div class='actions'>
<a href="#" class="btn box-remove btn-mini btn-link"><i class='icon-remove'></i>
</a>
<a href="#" class="btn box-collapse btn-mini btn-link"><i></i>
</a>
</div>
</div>
<div class='box-content box-no-padding'>
<div class='responsive-table'>
<div class='scrollable-area'>
<table class='data-table table table-bordered table-striped' style='margin-bottom:0;'>
<thead>
<tr>
<th>
Tarih
</th>
<th>
Öğretmen
</th>
<th>
Kapasite
</th>
<th>
Katılım Sayısı
</th>
<th>
Durum
</th>
</tr>
</thead>
<tbody>
<?php
$cek =mysql_query("select * from randevular where ogretmen='".$kim["id"]."' order by tarih desc");
while($c=mysql_fetch_assoc($cek)){
$tarih =$c["tarih"];
$ogretmen =$c["ogretmen"];
$rid =$c["rid"];
$limit =$c["limiti"];
$katilim =$c["katilim"];
$durum =$c["yap"];
?>
<tr>
<td><?php echo cevir($tarih);?></td>
<?php
$adcek =mysql_fetch_assoc(mysql_query("select * from kullanici where yetki='2' and id='$ogretmen'"));
?>
<td><?php echo $adcek["adsoyad"];?></td>
<td>
<?php echo $limit;?>
</td>
<td>
<?php echo $katilim;?>
</td>
<td>
<?php if($durum==1){echo "Yapıldı";}else{echo "Yapılmadı";}?>
</td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<hr class='hr-double' />
</div>
</div>
</div>
</section>
</div>
</div>
</div>
</section>