-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwork.php
More file actions
68 lines (58 loc) · 1.77 KB
/
work.php
File metadata and controls
68 lines (58 loc) · 1.77 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<?php
include "parts/head.php";
?>
<title>Denis Hoti | Work</title>
</head>
<body style="overflow-x: hidden;">
<?php
include "parts/googleTagManager.php";
?>
<div class="nav-container">
<?php
include "parts/header.php";
?>
</div>
<div class="s1" id="projects">
<div class="main-container">
<h3 style="text-align: center;">All my projects</h3>
<div class="post-wrapper">
<?php
include "./config.php";
$select = "SELECT * FROM work order by wId DESC";
$query = mysqli_query($connect, $select);
while( $row = mysqli_fetch_array($query))
{
$wId = $row['wId'];
$banner = $row['wBanner'];
$title = $row['wTitle'];
$description = $row['wDescription'];
$link = $row['wLink'];
$github = $row['wGithub']
?>
<div class="post">
<img class="thumbnail" src="images/<?= $banner ?>">
<div class="post-preview">
<h6 class="post-title"><?= $title ?></h6>
<p class="post-intro"><?= $description ?></p>
<a class="post-links post-links-1" href="<?= $link ?>" target="_blank"><i class="fab fa-internet-explorer"></i></a>
<a class="post-links post-links-2" href="<?= $github ?>" target="_blank"><i class="fab fa-github"></i></a>
</div>
</div>
<?php
}
?>
</div>
</div>
</div>
<h4 style="text-align: center;"><a href="https://github.com/denishotii?tab=repositories" target="_blank">More projects -></a></h4>
</div>
<footer class="transition3">
<?php
include "parts/footer.php"
?>
</footer>
</body>
</html>