<?php

include ("stp.php");


echo '
<table width="400" border="1" style="BORDER-COLLAPSE: collapse"  cellpading="2" cellspacing="0">
<tr bgcolor="#AAAAAA">
<td width="100" align=left valign=top>
<font face="Arial" color="#FFFFFF" size="1">

MAT&Eacute;RIA

</font>
</td>
<td align=left valign=top>
<font face="Arial" color="#FFFFFF" size="1">

PARTE

</font>
</td>
<td align="left" valign="top">
<font face="Arial" color="#FFFFFF" size=1>


URL


</font>
</td>
</tr>
<tr>';

$resultado = mysql_query("SELECT * FROM materias ORDER BY cod_materia ASC LIMIT 0,1000",$conecta);
while ($row = mysql_fetch_row($resultado))

           {

echo "
<td width=100 align=left valign=top>
<font face=Arial Narrow size=1>

$row[1]

</font>
</td>
<td align=left valign=top>
<font face=Arial Narrow size=1>
P&aacute;gina Comum
<br>
P&aacute;gina de Lista
<br>
Subp&aacute;gina
</font>
</td>
<td align=left valign=top>
<font face=Arial Narrow size=1>

?pg=int&cod=$row[0]
<br/>
?pg=ind&sec=$row[5]
<br/>
?pg=int2&cod=$row[4]

</font>
</td>
</tr>";

         }

echo '
</table>';

?>







