<?php
include ("setup.php");


$comando = "select * from ind_mat where cod_mat =".$m0200;
$banco = mysql_select_db($base);


if($pesquisa = mysql_query($comando,$conecta))
      while($valor = mysql_fetch_array($pesquisa))

	  {
echo '
<table border="0" width="100%" cellspacing="0" cellpadding="0" >
<tr>
<td width="15">

</td>
<td valign="top" align="left">
<table border="0" width="100%" cellspacing="5">
<tr>
<td  valign="top" align="left" colspan="2">
<p align="left">
<font face="Arial" size="3" color="#000000"><b>



'.$valor["titulo_02"].'



</b></font>
<br>
<font face="Arial" size="1" color="#000000"><b>



'.$valor["subtitulo_02"].'



</b></font>
</p>
</td>
</tr>
<tr>
<td  valign="top" align="left">


<img src="images/'.$valor["imagem_02"].'" border="0" bordercolor="#005500">


<p align="left">
<font face="Arial" size="2" color="#000000">




'.$valor["legenda_02"].'




</font></p>
</td>
<td   valign="top">
<p align="left">
<font face="Arial" size="3" color="#000000"><b>



'.$valor["titulo_02_dir"].'



</b></font></p>
<p align="left">
<font face="Arial" size="2" color="#000000">


'.$valor["texto_02_dir"].'


</font>
</p>
</td>
</tr>
<tr>
<td align="right" colspan="2">
<'.$valor["link_auto_02"].''.$valor["cod_mat"].'>
<'.$valor["link_alter_02"].''.$valor["url_02"].'>
<font face="Arial" size="2" color="#000000">

'.$valor["titulo_03"].'

</font>
</a>
</td>
</tr>
</table>

</td>
<td width="15">
</td>
</tr>
</table>';

                   }
?>





<?php

$comando = "select * from ind_mat where cod_mat =".$m0304;
$banco = mysql_select_db($base);


if($pesquisa = mysql_query($comando,$conecta))
      while($valor = mysql_fetch_array($pesquisa))

	  {
echo '

<table border="0" width="100%" cellspacing="0" cellpadding="0" >
<tr>
<td width="100%"  valign="top" align="center" >


<table border="0" width="100%" cellspacing="5">
<tr>
<td  valign="top" align="left" colspan="2">
<p align="left">
<font face="Arial" size="4" color="#000000"><b>



'.$valor["titulo_03"].'



</b></font>
<br>
<font face="Arial" size="2" color="#000000"><b>



'.$valor["subtitulo_03"].'



</b></font>
</p>
</td>
</tr>
<tr>
<td  valign="top" align="left">

<img src="images/'.$valor["imagem_02"].'" border="0" bordercolor="#005500">

<p align="left">
<font face="Arial" size="2" color="#000000">




'.$valor["legenda_03"].'




</font></p>
</td>
<td   valign="top">
<p align="left">
<font face="Arial" size="4" color="#000000"><b>



'.$valor["titulo_03_dir"].'



</b></font></p>
<p align="left">
<font face="Arial" size="2" color="#000000">


'.$valor["texto_03_dir"].'


</font>
</p>
</td>
</tr>
<tr>
<td colspan="2" align="right">



</td>
</tr>
</table>

</td>
</tr>
</table>

<br><br>';

                   }
?>


