Skip to content

Instantly share code, notes, and snippets.

@qmx
Forked from anonymous/gist:140848
Created July 5, 2009 05:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save qmx/140850 to your computer and use it in GitHub Desktop.
Save qmx/140850 to your computer and use it in GitHub Desktop.
<html>
<head>
<title>Tribuna MS</title>
<script language="javascript" src="AC_RunActiveContent.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
@import url("../css/style_new.css");
</style>
</head>
<body>
<div align="right"><img src="../img/not.jpg" width="450" height="41">
// esse esta no ar com o exemplo que está no site sem a paginação de conteudo
<?
require ("conectdb.php");
$sql = "SELECT * FROM equipe ORDER BY id DESC LIMIT 4 OFFSET 4";
$limite = mysql_query("$sql");
while ($sql = mysql_fetch_array ($limite) ) {
$arquivo = $sql['arquivo'];
$id = $sql['id'];
$nome = $sql['nome'];
$cargo = $sql['cargo'];
$telefone = $sql['telefone'];
$orkut = $sql['orkut'];
$genero =$sql['genero'];
$credito =$sql['credito'];
$resumo =$sql['resumo'];
?>
</div>
<table width="95%" height="25" border="0" align="center">
<tr>
<td width="220" valign="top"><div align="center"><img src="<? echo"$arquivo";?>" alt="Banner evento" width='200' height="150" border="0" align="texttop" class="brd" bordercolor='#FF6600'/></div></td>
<td width="813" valign="top"><table width="95%" border="0" align="center">
<tr>
<td width="417"><span class="genero"></span><strong></strong><img src="img/arrow.gif" width="9" height="9" /> <span class="genero"> <? echo"$genero";?></td>
</tr>
<tr>
<td><span class="titulo"></span><strong></strong><span class="titulo"> <? echo"$nome";?></td>
</tr>
<tr> </tr>
<tr>
<td></td>
</tr>
<tr>
<td class="link"><p><span class="texto"><strong></strong></span><img src="img/seta4.gif" width="9" height="12" /> <span class="texto"><? echo"$resumo";?></span></p>
<p><a href="noticias1.php?id=<? echo ($id); ?>" class="link">VER MAT&Eacute;RIA COMPLETA </a></p></td>
</tr>
</table></td>
</tr>
</table>
<? } ?>
</p>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment