Skip to content

Instantly share code, notes, and snippets.

Created September 12, 2010 15:32
Show Gist options
  • Save anonymous/576188 to your computer and use it in GitHub Desktop.
Save anonymous/576188 to your computer and use it in GitHub Desktop.
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="tituloPage4">&nbsp;&nbsp;&nbsp;&nbsp;Empresas em destaque</td>
</tr>
<tr>
<td align="center"><?php
if ($totalRows_membros_destaque > 0) {
do {
?>
<table width="174" border="0" cellpadding="0" cellspacing="0" style="float:left; margin-right:4px; margin-left:4px;">
<tr>
<td height="10" valign="top"></td>
</tr><tr>
<td align="center" valign="top"><a href="empresa_view.php?id=<?php echo $row_membros_destaque['id']; ?>"><img src="empresas/grd/<?php echo $row_membros_destaque['imagem_1']; ?>" width="170" height="128" style="border:2px solid #000000;"/></a></td>
</tr>
<tr>
<td height="5" align="center" valign="top" style="font-size:12px;"></td>
</tr>
<tr>
<td height="55" align="center" valign="top" style="font-size:12px;"><span class="tituloMembro"><?php echo $row_membros_destaque['nome']; ?></span><br /><?php echo $row_distrito['municipio']; ?>/<?php echo $row_distrito['uf']; ?></td>
</tr>
</table>
<?php
} while($row_membros_destaque = mysql_fetch_assoc($membros_destaque));
}
mysql_free_result($categoria_destaque);
mysql_free_result($distrito);
mysql_free_result($membros_destaque);
?></td>
</tr>
</table>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment