-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathindex.php
91 lines (85 loc) · 2.57 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
<?php require_once('layout/header.php'); ?>
<!-- BEGIN HOME -->
<section id="home" class="page">
<div class="container">
<div class="content cover text-center">
<div class="row">
<div class="col-lg-2" style="padding-top: 30px;">
<img src="gallery/sma.png" alt="">
</div>
<div class="col-lg-8" style="padding-top: 30px;">
<label style="font-size:35px;">SISTEM INFORMASI LABORATORIUM KIMIA</label><br>
<h3><label>SMAN 1 Lubuk Sikaping</label></h3>
</div>
<div class="col-lg-2" style="padding-top: 30px;">
<img src="gallery/pasaman.png" alt="">
</div>
</div>
</div>
</div>
</section>
<!-- END HOME -->
<!-- BEGIN ABOUT US -->
<section id="about" class="page">
<div class="container">
<div class="content text-center">
<div class="heading">
<h2><i class="fa fa-paper-plane-o"></i>Teacher Profile</h2>
<p>We are teacher on Laboratorium SMAN 1 Lubuk Sikaping.</p>
</div>
<div class="row">
<?php
$guru = mysql_query("SELECT * FROM users WHERE access='guru'");
while ($data=mysql_fetch_array($guru)) {
?>
<div class="col-md-3">
<div class="profile">
<img src="dashboard/<?php echo $data['foto']; ?>" alt="">
<span class="name"><?php echo $data['name']; ?></span>
<span class="contact">
<a href="#"><i class="fa fa-facebook"></i></a>
<a href="#"><i class="fa fa-twitter"></i></a>
</span>
</div>
</div>
<?php
}
?>
</div>
</div>
</div>
</section>
<!-- END ABOUT US -->
<!-- BEGIN PORTFOLIO -->
<section id="portfolio" class="page">
<div class="container">
<div class="content text-center">
<div class="heading">
<h2><i class="fa fa-image"></i>Gallery Of Schools</h2>
</div>
<div class="row">
<div class="col-md-12">
<div id="gallery">
<ul class="items popup-gallery list-unstyled clearfix">
<?php
$gallery = mysql_query("SELECT * FROM galeri ORDER BY galeri_tgl DESC");
while ($data=mysql_fetch_array($gallery)) {
?>
<li class="item web">
<a href="dashboard/<?php echo $data['galeri_link']; ?>" title="Portfolio 1">
<img src="dashboard/<?php echo $data['galeri_link']; ?>" alt="">
<div class="overlay"><span><?php echo $data['galeri_nama']; ?></span></div>
</a>
</li>
<?php
}
?>
</ul>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- END PORTFOLIO -->
<?php require_once('layout/footer.php'); ?>