-
Notifications
You must be signed in to change notification settings - Fork 0
/
AnaBilimdali.php
255 lines (209 loc) · 10.3 KB
/
AnaBilimdali.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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>Kocaeli Üniversitesi Bilgisayar Muhendisligi</title>
<!-- Bootstrap Core CSS -->
<link href="assets/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom Fonts -->
<link href="assets/font-awesome/css/font-awesome.min.css"
rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,700"
rel="stylesheet" type="text/css">
<link href='https://fonts.googleapis.com/css?family=Kaushan+Script'
rel='stylesheet' type='text/css'>
<link
href='https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic,700italic'
rel='stylesheet' type='text/css'>
<link
href='https://fonts.googleapis.com/css?family=Roboto+Slab:400,100,300,700'
rel='stylesheet' type='text/css'>
<!-- Theme CSS -->
<link href="css/index.css" rel="stylesheet">
<link href="css/dummy.css" rel="stylesheet">
<link rel="stylesheet" href="css/profil_ayrinti.css" type="text/css">
</head>
<body id="page-top" class="index" style="background:#f8f8f8;">
<?php include_once "navbar.php" ?>
<span class="header_shadow" style="top:74px"></span>
<br>
<div class="wrapper">
<!-- Categories Homepage Section Start -->
<section id="categories-homepage">
<div class="container" style="margin-top:150px; ">
<div class="row">
<div class="col-md-12">
<div style="text-align:center;border-bottom: 2px solid #333; padding-bottom:8px;"></div>
<h3 style="text-align:center;border-bottom: 2px solid #333; padding-bottom:8px;">Bilgisayar Yazılım </h3>
<br><br>
<?php
include_once './dbbaglantisi.php';
$sql = "SELECT * FROM users WHERE ROLE ='user' and ANA_BILIM_DALI='Bilgisayar Yazılım';";
if($result = mysqli_query($con, $sql)){
if(mysqli_num_rows($result) > 0){ #Dönen sorgu boş değilse , uygun formatta ekrana basılıyor..
while($row = mysqli_fetch_array($result)){
echo "<div class='col-md-3 col-sm-6 col-xs-12'>
<div class='category-box border-1 wow fadeInUpQuick animated' data-wow-delay='0.3s' style='visibility: visible;-webkit-animation-delay: 0.3s; -moz-animation-delay: 0.3s; animation-delay: 0.3s;'>
<div class='icon'><a href='".$row['RESIM_LINK']."'><img width='120' height='120' style='border-radius:50%'
src='".$row['RESIM_LINK']."'></a>
</div>";
echo " <div class='category-header'>
<a href='".$row['WEBSITE']."'><h4>".$row['NAME']."</h4></a>
</div>";
echo "<div class='category-content'>
<ul>
<li>
<a href='mailto:".$row['EMAIL']."' style='color:#333'>E-posta :</a>
<span class='category-counter'>".$row['EMAIL']."</span>
</li>
<li>
<a style='color:#333'>Oda No :</a>
<span class='category-counter'>".$row['ODA_NO']."</span>
</li>
<li>
<a style='color:#333'>Telefon :</a>
<span class='category-counter'>".$row['TELEFON']."</span>
</li>
<li>
<a style='color:#333' >Ana Bilim Dalı :</a>
<span class='category-counter'>".$row['ANA_BILIM_DALI']."</span>
</li>
<li>";
echo " <a style='color:#333'>Araştırma Alanları :</a>
<span class='category-counter'>".$row['ARASTIRMA_ALAN']."</span>
</li>
</ul>
</div>
</div>
</div>";
}
mysqli_free_result($result);
} else{
echo "Aranan kayıtlar bulunamadı :( .";
}
} else{
echo "Hata: SQL'e giderken ayağım takıldı.. $sql. " . mysqli_error($con);
}
?>
<div class="col-md-12">
<div style="text-align:center;border-bottom: 2px solid #333; padding-bottom:8px;"></div>
<h3 style="text-align:center;border-bottom: 2px solid #333; padding-bottom:8px;">Bilgisayar Donanım </h3>
<br><br>
</div>
<?php
include_once './dbbaglantisi.php';
$sql = "SELECT * FROM users WHERE ROLE ='user' and ANA_BILIM_DALI='Bilgisayar Donanım';";
if($result = mysqli_query($con, $sql)){
if(mysqli_num_rows($result) > 0){ #Dönen sorgu boş değilse , uygun formatta ekrana basılıyor..
while($row = mysqli_fetch_array($result)){
echo "<div class='col-md-3 col-sm-6 col-xs-12'>
<div class='category-box border-1 wow fadeInUpQuick animated' data-wow-delay='0.3s' style='visibility: visible;-webkit-animation-delay: 0.3s; -moz-animation-delay: 0.3s; animation-delay: 0.3s;'>
<div class='icon'><a href='".$row['RESIM_LINK']."'><img width='120' height='120' style='border-radius:50%'
src='".$row['RESIM_LINK']."'></a>
</div>";
echo " <div class='category-header'>
<a href='".$row['WEBSITE']."'><h4>".$row['NAME']."</h4></a>
</div>";
echo "<div class='category-content'>
<ul>
<li>
<a href='mailto:".$row['EMAIL']."' style='color:#333'>E-posta :</a>
<span class='category-counter'>".$row['EMAIL']."</span>
</li>
<li>
<a style='color:#333'>Oda No :</a>
<span class='category-counter'>".$row['ODA_NO']."</span>
</li>
<li>
<a style='color:#333'>Telefon :</a>
<span class='category-counter'>".$row['TELEFON']."</span>
</li>
<li>
<a style='color:#333' >Ana Bilim Dalı :</a>
<span class='category-counter'>".$row['ANA_BILIM_DALI']."</span>
</li>
<li>";
echo " <a style='color:#333'>Araştırma Alanları :</a>
<span class='category-counter'>".$row['ARASTIRMA_ALAN']."</span>
</li>
</ul>
</div>
</div>
</div>";
}
mysqli_free_result($result);
} else{
echo "Aranan kayıtlar bulunamadı :( .";
}
} else{
echo "Hata: SQL'e giderken ayağım takıldı.. $sql. " . mysqli_error($con);
}
?>
<div class="col-md-12">
<div style="text-align:center;border-bottom: 2px solid #333; padding-bottom:8px;"></div>
<h3 style="text-align:center;border-bottom: 2px solid #333; padding-bottom:8px;">Bilgisayar Bilimleri </h3>
<br><br>
</div>
<?php
include_once './dbbaglantisi.php';
$sql = "SELECT * FROM users WHERE ROLE ='user' and ANA_BILIM_DALI='Bilgisayar Bilimleri';";
if($result = mysqli_query($con, $sql)){
if(mysqli_num_rows($result) > 0){ #Dönen sorgu boş değilse , uygun formatta ekrana basılıyor..
while($row = mysqli_fetch_array($result)){
echo "<div class='col-md-3 col-sm-6 col-xs-12'>
<div class='category-box border-1 wow fadeInUpQuick animated' data-wow-delay='0.3s' style='visibility: visible;-webkit-animation-delay: 0.3s; -moz-animation-delay: 0.3s; animation-delay: 0.3s;'>
<div class='icon'><a href='".$row['RESIM_LINK']."'><img width='120' height='120' style='border-radius:50%'
src='".$row['RESIM_LINK']."'></a>
</div>";
echo " <div class='category-header'>
<a href='".$row['WEBSITE']."'><h4>".$row['NAME']."</h4></a>
</div>";
echo "<div class='category-content'>
<ul>
<li>
<a href='mailto:".$row['EMAIL']."' style='color:#333'>E-posta :</a>
<span class='category-counter'>".$row['EMAIL']."</span>
</li>
<li>
<a style='color:#333'>Oda No :</a>
<span class='category-counter'>".$row['ODA_NO']."</span>
</li>
<li>
<a style='color:#333'>Telefon :</a>
<span class='category-counter'>".$row['TELEFON']."</span>
</li>
<li>
<a style='color:#333' >Ana Bilim Dalı :</a>
<span class='category-counter'>".$row['ANA_BILIM_DALI']."</span>
</li>
<li>";
echo " <a style='color:#333'>Araştırma Alanları :</a>
<span class='category-counter'>".$row['ARASTIRMA_ALAN']."</span>
</li>
</ul>
</div>
</div>
</div>";
}
mysqli_free_result($result);
} else{
echo "Aranan kayıtlar bulunamadı :( .";
}
} else{
echo "Hata: SQL'e giderken ayağım takıldı.. $sql. " . mysqli_error($con);
}
?>
</div>
</div>
</div>
</section>
<script src="assets/jquery/jquery.min.js"></script>
<!-- Bootstrap Core JavaScript -->
<script src="assets/bootstrap/js/bootstrap.min.js"></script>
<?php include_once "footer.php" ?>
</body>
</html>