$results = $connection->query($query); $curResult = $results->fetch_assoc(); if ($results->num_rows == 0) { echo "<script>window.location=\"http://serinhikaye.com\"</script>"; } echo "<div class=\"container\" style=\"top:1%;\">"; echo "<div class=\"row\">"; echo "<div class=\"col-md-12\">"; $myUpmenu = new Upmenu(); $myUpmenu->UpmenuToHTML(); echo "</div>"; echo "</div>"; echo "<div class=\"row\">"; echo "<div class=\"col-xs-12 col-md-12 col-lg-9\">"; $myBoard = new Board(array($curResult["boardID"], $curResult["boardName"], $curResult["boardCategory"], $curResult["boardCreator"], $curResult["boardImage"], $curResult["boardDate"])); $myBoard->BoardToHTML(); /*$myBoard = new Board(array("1","Güzel bir Erasmus nasıl geçirilir?","Alakasız","turbulans67","images/alaka.jpg","12.08.2012 12:34")); $myBoard->BoardToHTML();*/ echo "</div>"; echo "<div class=\"col xs-12 col-md-12-12 col-lg-3\">"; $myBoardRightUp = new BoardRightUp(array($curResult["boardID"], $curResult["boardCategory"])); $myBoardRightUp->BoardRightUpToHTML(); echo "</div>"; echo "</div>"; echo "</div>"; echo "\n<script type=\"text/javascript\">\n\t\$(document).ready(function(){\n\t\t\$(this).attr(\"title\",'Pano: '+" . $curResult["boardName"] . "+' - serinhikaye.com');\n\t});\n</script>\n"; ?> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),