-
Notifications
You must be signed in to change notification settings - Fork 1
/
career.php
57 lines (55 loc) · 1.57 KB
/
career.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
<?php
include("dbconnect.php");
require_once("functions/function.php");
get_header();
$result = mysqli_query($con, "SELECT * FROM career ORDER BY id asc");
?>
<div class="topnav" id="myTopnav" >
<div class="logo">
<a href="index.php"><img src="img/logo3.jpg" alt="NEUBAA" height="100" width="400"></a>
</div>
<div class="navi">
<a href="index.php">Home</a>
<a href="about.php">About</a>
<a href="gallery.php">Gallery</a>
<a href="committee.php">Committee</a>
<a href="members.php">Memberlist</a>
<a href="career.php" class="active">Career</a>
<a href="job.php">Job Corner</a>
<a href="Events.php">Events</a>
<a href="contact.php">Contact</a>
<a href="javascript:void(0);" class="icon" onclick="myFunction()">
<i class="fa fa-bars"></i>
</a>
</div>
<script>
function myFunction() {
var x = document.getElementById("myTopnav");
if (x.className === "topnav") {
x.className += "responsive";
} else {
x.className = "topnav";
}
}
</script>
</div>
<!--blog-->
<?php
while($row = mysqli_fetch_array($result)){
?>
<div class="#">
<div class="leftcolumn">
<div class="card">
<h2><?php echo $row["title"]; ?></h2>
<h4>Author Name:<?php echo $row["author"]; ?><br><?php echo $row["date"]; ?></h4>
<div class="fakeimg" style="height:350px;"><img src="admin/<?php echo $row["image"]; ?>" alt="NEUBAA"></div>
<p><?php echo $row["body"]; ?></p>
</div>
</div>
</div>
<?php
}
?>
<?php
get_footer();
?>