generated from teknasyon-bootcamp/homework4
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
127 lines (120 loc) · 6.31 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<?php
include_once "post.class.php";
?>
<html lang="en">
<head>
<style>
body {
background-image: url('./images/0x0-03.jpg');
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
}
</style>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" href="css/odev.css">
<title>Teknasyon Bootcamp!</title>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<a class="navbar-brand" href="#">THUNDER CODERS!</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavAltMarkup" aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavAltMarkup">
<div class="navbar-nav ml-auto">
<a class="nav-item nav-link" href="">Yusuf USTA </a>
<a class="nav-item nav-link" href="">Efe BUYUK</a>
<a class="nav-item nav-link" href="">Samet Utku OLGUN</a>
<a class="nav-item nav-link" href="">Cihad ALKIS</a>
</div>
</div>
</nav>
<div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
</ol>
<div class="carousel-inner">
<div class="carousel-item active">
<img src="./images/677281-1665030429.jpg" class="d-block w-100" height="600" alt="..." style="max-height: 600px;">
</div>
<div class="carousel-item">
<img src="./images/e4bd76f627bcc9da8b85b844669a1c41.jpg" class="d-block w-100" height="600" alt="..."
style="max-height: 600px;">
</div>
<div class="carousel-item">
<img src="./images/movie-avengers-infinity-war-thor-wallpaper-preview.jpg" class="d-block w-100" height="600" alt="" style="max-height: 600px;">
</div>
</div>
<a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
<div class="container mt-5">
<?php
$posts = new Post;
if(!isset($_GET["post"])){ // Bütün içerikler listelenir
$posts->getPostList();
}else{ // Post parametresindeki id degerine göre işlem yapılır veya içerik görüntülenir.
$posts->getSelectPostList();
}
?>
</div>
<footer class="container py-5">
<div class="row">
<div class="col-12 col-md" style="font-family:verdana;">
<h5>THUNDER CODERS!</h5>
<small class="d-block mb-3 text-dark">© 2020-2021</small>
</div>
<div class="col-6 col-md" style="font-family:verdana;">
<h5>Yusuf USTA</h5>
<ul class="list-unstyled text-small">
<li><a class="text-dark" href="https://www.linkedin.com/in/yusuf-usta-/" target="_blank">Linkedin</a></li>
<li><a class="text-dark" href="https://www.instagram.com/yusuf_ussta/" target="_blank">Instagram</a></li>
<li><a class="text-dark" href="https://github.com/yusta33" target="_blank">Github</a></li>
</ul>
</div>
<div class="col-6 col-md" style="font-family:verdana;">
<h5>Efe BUYUK</h5>
<ul class="list-unstyled text-small">
<li><a class="text-dark" href="https://www.linkedin.com/in/efe-buyuk-33b365193/" target="_blank">Linkedin</a></li>
<li><a class="text-dark" href="https://www.instagram.com/efe.buyukk/" target="_blank">Instagram</a></li>
<li><a class="text-dark" href="https://github.com/jarium" target="_blank">Github</a></li>
</ul>
</div>
<div class="col-6 col-md" style="font-family:verdana;">
<h5>Samet Utku OLGUN</h5>
<ul class="list-unstyled text-small">
<li><a class="text-dark" href="https://www.linkedin.com/in/samet-utku-olgun/" target="_blank">Linkedin</a></li>
<li><a class="text-dark" href="https://www.instagram.com/samet.uo/" target="_blank">Instagram</a></li>
<li><a class="text-dark" href="https://github.com/smtkuo" target="_blank">Github</a></li>
</ul>
</div>
<div class="col-6 col-md" style="font-family:verdana;" >
<h5>Cihad ALKIS</h5>
<ul class="list-unstyled text-small">
<li><a class="text-dark" href="https://www.linkedin.com/in/cihad-alk%C4%B1%C5%9F-924536177/" target="_blank">Linkedin</a></li>
<li><a class="text-dark" href="https://www.instagram.com/cihadalkis/" target="_blank">Instagram</a></li>
<li><a class="text-dark" href="https://github.com/cihatalkis" target="_blank">Github</a></li>
</ul>
</div>
</div>
</footer>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
</body>
</html>