/siirler.php
https://bitbucket.org/basakerdamar/personalwritingswebsite-dynamicwebsite · PHP · 49 lines · 48 code · 1 blank · 0 comment · 1 complexity · de4ac5d1c552237fba8c01620d0f611a MD5 · raw file
- <?php
- require("connect.php");
- ?>
- <!DOCTYPE html>
- <html>
- <head>
- <title>Şiirler</title>
- <?php include("header.php"); ?>
- </head>
- <body>
- <div id="fb-root"></div>
- <script>(function(d, s, id) {
- var js, fjs = d.getElementsByTagName(s)[0];
- if (d.getElementById(id)) return;
- js = d.createElement(s); js.id = id;
- js.src = "//connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.8";
- fjs.parentNode.insertBefore(js, fjs);
- }(document, 'script', 'facebook-jssdk'));</script>
- <div class="container-fluid">
- <div class="page-header">
- <h1>Erkan Erdamar <small>Şiirlerim</small></h1>
- </div>
- <ul class="nav nav-tabs">
- <li role="presentation" ><a href="MainPage.php"><span class="glyphicon glyphicon-home"></span> Ana Sayfa</a></li>
- <li role="presentation" class="active"><a href="siirler.php">Şiirler</a></li>
- <li role="presentation"><a href="ozgecmis.php">Özgeçmiş</a></li>
- <li role="presentation"><a href="yazilar.php">Yazılar</a></li>
- </ul>
- <div class="row">
- <div class="col-md-8">
- <div class="fb-like" data-href="http://erkanerdamar.azurewebsites.net/siirler.php"
- data-layout="standard" data-action="like" data-size="large" data-show-faces="true" data-share="true"></div>
- <?php
- $tumsatirlar = mysqli_query( $link, "select baslik, content from siirler order by tarih desc");
- while($satir=mysqli_fetch_row( $tumsatirlar)){
- echo "<pre><h3>$satir[0]</h3><br/>$satir[1]<br/></pre>";
- }
- ?>
-
- <div class="fb-comments"></div>
- </div>
- <div class="col-md-4">
- Linkler:<br/>
- <a href="mailto:eerdamar@hotmail.com?Subject=erkanerdamar.azurewebsites.com" target="_top">Soru ve görüşleriniz için</a>
- <br/><a href="http://www.antoloji.com/erkan-erdamar/">antoloji.com</a></div>
- </div>
- <?php
- include('footer.php');
- ?>