-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhaber-detay.php
87 lines (47 loc) · 1.73 KB
/
haber-detay.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
<?php
include 'header.php';
$iceriksor=$db->prepare("SELECT * from icerik where icerik_id=:icerik_id");
$iceriksor->execute(array(
'icerik_id' => $_GET['icerik_id']
));
$icerikcek=$iceriksor->fetch(PDO::FETCH_ASSOC);
?>
<div role="main" class="main">
<div class="container">
<div class="row pt-xl">
<div class="col-md-9">
<h1 class="mt-xl mb-none"><?php echo $icerikcek['icerik_ad']; ?> | <?php echo $icerikcek['fiyat']; ?> ₺</h1>
<div class="divider divider-primary divider-small mb-xl">
<hr>
</div>
<div class="row">
<!-- Başla -->
<!-- hidden-xs mobilde div gizleme -->
<div class="col-md-12">
<span class="thumb-info thumb-info-side-image thumb-info-no-zoom mt-xl">
<div class="col-md-12">
<!--<span class="post-meta">
<span>January 10, 2016 | <a href="#">John Doe</a></span>
</span>-->
<p style="font-size:16px !important;" > <img src="<?php echo $icerikcek['icerik_resimyol']; ?>" class="img-responsive" alt="" style="float:left;width: 395px; height: 250px; padding:10px; margin-top:16px;"><?php echo $icerikcek['icerik_detay']; ?></p>
<hr>
<p style="font-size:15px;"><b>Anahtar Kelimeler : </b>
<?php
$etiketler=explode(', ',$icerikcek['icerik_keyword']);
foreach ($etiketler as $etiketbas) {?>
<a href="#!"><button class="btn btn-primary btn-xs"><?php echo $etiketbas; ?></button></a>
<?php }
?>
</p>
</div>
</span>
</div>
<!-- Bitir -->
</div>
</div>
<!-- Sidebar -->
<?php include 'rightbar.php'; ?>
</div>
</div>
</div>
<?php include 'footer.php'; ?>