-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathogrenci_profil.php
52 lines (41 loc) · 1.29 KB
/
ogrenci_profil.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
<?php
include"database.php";
session_start();
if(!isset($_SESSION["ID"]))
{
echo"<script>window.open('ogrenci_giris.php?mes=Hata...','_self');</script>";
}
$sql="SELECT * FROM student WHERE ID={$_SESSION["ID"]}";
$res=$db->query($sql);
if($res->num_rows>0)
{
$row=$res->fetch_assoc();
}
?>
<!DOCTYPE html>
<html>
<head>
<title>E-OKUL</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<?php include"ust_kisayol.php";?>
<div id="section">
<?php include"yan_kisayol.php";?><br>
<h3 class="text">Hoşgeldiniz <?php echo $_SESSION["NAME"]; ?></h3><br><hr><br>
<div class="content">
<div class="rbox1">
<h3> Öğrenci</h3><br>
<table border="1px">
<tr><td colspan="2"><img src="<?php echo $row["SIMG"] ?>" height="100" width="100" alt="Yükleme Bekleniyor"></td></tr>
<tr><th>Ad Soyad </th> <td><?php echo $row["NAME"] ?> </td></tr>
<tr><th>Takım</th> <td><?php echo $row["SCLASS"] ?> </td></tr>
<tr><th>Telefon Numarası </th> <td> <?php echo $row["PHO"] ?> </td></tr>
<tr><th>Mail</th> <td> <?php echo $row["MAIL"] ?> </td></tr>
<tr><th>Adres</th> <td> <?php echo $row["ADDR"] ?> </td></tr>
</table>
</div>
</div>
</div>
</body>
</html>