</head> <body style="background:#DDD"> <div class="site"> <?php echoHeader(); ?> <div class="site_content"> <div class="principal3"><br /> <br /><br /> <?php echoProfile($id, $con); $result = mysql_query("select * from tb_jornalista where id = {$id}", $con); $linha = mysql_fetch_row($result); echo "<div class='perfil-social'><center>"; if ($linha[8] != '') { echo "<a class='nonelink' target='_blank' href='{$linha['8']}'><div class='btn-facebook'></div></a>"; } if ($linha[9] != '') { echo "<a class='nonelink' target='_blank' href='{$linha['9']}'><div class='btn-twitter'></div></a>"; } if ($linha[10] != '') { echo "<a class='nonelink' target='_blank' href='{$linha['10']}'><div class='btn-instagram'></div></a>"; } echo "</center></div>"; ?>
?> <br /> <div id="curiosidades" class="categoria-title"><b> Curiosidades</b><div style="float:right; font-size:18px;"><a class="nonelink2" href="#top">Voltar ao topo</a></div></div><br /> <?php getNoticiasByCat(6); ?> <br /> <div class="index-cat"> <div class="categoria-title"><b> Conheça os Colunistas</b><div style="float:right; font-size:18px;"><a class="nonelink2" href="#top">Voltar ao topo</a></div></div><br /> <?php $array = array(1, 2, 3, 4, 5, 6, 7, 10); shuffle($array); foreach ($array as $value) { echoProfile($value, $con); } ?> </div> </div> <?php echoFooter(); ?> </div> </div> </body>
<?php echo $conteudo; ?> </div> <?php if (isset($_COOKIE["liked_" . $codpostagem . ""])) { echo "\t<div title='Você ja curtiu isso' class='likes2'>\r\r\n \t\t\t\t<div style='width:70px; text-align:center;'>{$likes}</div>\r\r\n \t\t\t\t<div style='width:150px;margin-top:5px; text-align:left;font:14px Helvetica Neue,Helvetica,Arial,sans-serif;'>Você curtiu isso</div>\r\r\n \t\t\t\t</div>"; } else { echo "\t<a href='curtirpost.php?cod={$codpostagem}' class='nonelink'><div title='Curtir' class='likes'>\r\r\n \t\t\t\t<div style='width:70px; text-align:center;'>{$likes}</div>\r\r\n \t\t\t\t</div></a>"; } ?> <br /><br /> <?php echoProfile($idpostagem, $con); ?> </div> </div> <?php echoFooter(); ?> </div> </body> </html>