-
Notifications
You must be signed in to change notification settings - Fork 0
/
profil.php
81 lines (80 loc) · 5.12 KB
/
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
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
<?php
session_start();
if(isset($_SESSION['login'])){
?>
<?php
include'admin/koneksi.php';
$user=$_GET['nim'];
$show=mysqli_query($koneksi,"SELECT * FROM mhs WHERE nim='$user'");
if(mysqli_num_rows($show)==0){
echo"<script>window.history.back()</script>";
}else{
$data=mysqli_fetch_assoc($show);
?>
<!DOCTYPE html>
<html prefix="og: http://ogp.me/ns#" class="js flexbox canvas canvastext webgl no-touch geolocation postmessage no-websqldatabase indexeddb hashchange history draganddrop websockets rgba hsla multiplebgs backgroundsize borderimage borderradius boxshadow textshadow opacity cssanimations csscolumns cssgradients no-cssreflections csstransforms csstransforms3d csstransitions fontface generatedcontent video audio localstorage sessionstorage webworkers applicationcache svg inlinesvg smil svgclippaths" lang="id-ID">
<head>
<?php include'header_profil.php';?>
</head>
<body class="blue-one-page tos-desktop" id="body">
<main class="site-content" role="main">
<div class="section" id="main-konten">
<div class="container">
<div class="row">
<div class="col-md-12" id="header-page">
<h1><span> Alumni JTI </span></h1>
</div>
<div class="col-md-12 left-side">
<div class="artikel">
<div class="konten">
<div class="col-md-4 text-center">
<img src="images/<?php echo $data ['foto']; ?>" class="img-circle img-thumbnail" height="130">
</div>
<div class="col-md-8 detail">
<table border="0">
<tr><td colspan="3"><h4><strong><font color="black"><?php echo $data ['nama']; ?></font></strong> <font color="black"><a href="edit_data_mhs.php?id=<?php echo $data ['id_mhs']; ?>"><img src="images/edit.png" height="25" width="25" title="Edit"></a></font></h4></td></tr>
<tr><td width="150"><p><font color="black">NIM</font></td><td width="10"><center><font color="black">:</font></center></td><td width="500"><font color="black"><?php echo $data ['nim']; ?></font></p></td></tr>
<tr><td><p><font color="black">Prodi</font></td><td><center><font color="black">:</font></center></td><td><font color="black"><?php echo $data ['prodi']; ?></font></p></td></tr>
<tr><td><p><font color="black">Angkatan</font></td><td><center><font color="black">:</font></center></td><td><font color="black"><?php echo $data ['angkatan']; ?></font></p></td></tr>
<tr><td><p><font color="black">Tahun Masuk</font></td><td><center><font color="black">:</font></center></td><td><font color="black"><?php echo $data ['th_masuk']; ?></font></p></td></tr>
<tr><td><p><font color="black">Tahun Lulus</font></td><td><center><font color="black">:</font></center></td><td><font color="black"><?php echo $data ['th_lulus']; ?></font></p></td></tr>
<tr><td><p><font color="black">Jenis Kelamin</font></td><td><center><font color="black">:</font></center></td><td><font color="black"><?php echo $data ['jkel']; ?></font></p></td></tr>
<tr><td><p><font color="black">Nomor HP/Telp.</font></td><td><center><font color="black">:</font></center></td><td><font color="black"><?php echo $data ['no_telp']; ?></font></p></td></tr>
<tr><td><p><font color="black">Email</font></td><td><center><font color="black">:</center></td><td><font color="black"><?php echo $data ['email']; ?></font></p></td></tr>
<tr><td><p><font color="black">Pekerjaan</font></td><td><center><font color="black">:</font></center></td><td><font color="black"><?php echo $data ['pekerjaan']; ?></font></p></td></tr>
<tr><td><p><font color="black">Judul Tugas Akhir</font></td><td><center><font color="black">:</font></center></td><td><font color="black"><?php echo $data ['jdl_TA']; ?></font></p></td></tr>
<tr><td><p><font color="black">Status Akun</font></td><td><center><font color="black">:</font></center></td><td>
<?php
if($data['status']=='1'){
echo '<font color="green">Akun aktif</font>';
}else{
echo '<font color="red">Akun tidak aktif</font>';
}
?>
</p></td></tr>
</table>
</div>
<hr>
<!--pagination-->
<center>
<div class="row">
<div class="col-md-12">
</div>
</div>
</center>
</div>
</div>
</div> <!-- container -->
</div> <!--tutup class .row -->
</div> <!--tutup class .container -->
</div> <!--tutup id #main-konten -->
<?php include'footer.php';?>
</main>
</body>
</html>
<?php
}
}else{
echo'<script>window.location="login.php"</script>';
}
?>