Mini Shell
<?php include "BD/conecta.php";?>
<style type="text/css">
<!--
.style1 {font-family: Arial, Helvetica, sans-serif}
.style2 {font-size: 13px}
.style3 {
color: #CC0033;
font-family: Arial, Helvetica, sans-serif;
}
body {
margin-top: 0px;
}
.style6 {font-family: Arial, Helvetica, sans-serif; font-weight: bold; }
.style7 {font-size: 12px}
.formulario {
height: 29px;
width: 140px;
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
color: #333333;
border: 1px outset #003466;
}
.formulario2 {
height: 29px;
width: 80px;
text-indent: 2px;
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
color: #333333;
border: 1px outset #003466;
}
.formulario3 {
height: 29px;
width: 210px;
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
color: #333333;
border: 1px outset #003466;
}
.formulario31 { height: 29px;
width: 80px;
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
color: #333333;
border: 1px outset #003466;
}
.style33 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 16px; color: #FFFFFF; font-weight: bold; }
-->
</style>
<title>Betel Designs</title>
<p> </p>
<table width="60%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="97" colspan="2" bgcolor="#000000"><div align="center"><img src="../images/logo.png" width="221" height="71" /></div></td>
</tr>
<tr>
<td width="126"> </td>
<td width="504"> </td>
</tr>
<tr>
<td height="36" bgcolor="#000000" class="style33"> Galerias</td>
<td height="36" bgcolor="#000000" class="style33"><div align="right"><a href="access.php" style="color:#FFFFFF;">VOLTAR</a> </div></td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="2" class="style6"> </td>
</tr>
<tr>
<td colspan="2" class="style6"><div align="center">Selecione uma Galeria para Publicar Fotos </div></td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="2"><table width="100%" border="0" align="center" cellpadding="2" cellspacing="0">
<tr>
<td width="88%" height="30" bgcolor="#F3F3F3" class="style1"><strong>Galeria</strong></td>
<td width="12%" height="30" bgcolor="#F3F3F3"><div align="center"><span class="style6">Ação</span></div></td>
</tr>
<?php
$sql = "SELECT * FROM tb_categoria"; //LISTA TODOS OS CAMPOS DA TABELA CATEGORIA
$qr = mysql_query($sql);
while($dados2 = mysql_fetch_array($qr)){ ?>
<tr>
<td height="30" class="style1"><span class="style2">
<?php echo $dados2[categoria]; ?>
</span></td>
<td height="30"><div align="center"><a href="../Galeria-Fotos/index.php?i=<?php echo $dados2[id]; ?>" target="_blank">Inserir</a> </div></td>
</tr>
<?php }?>
<tr>
<td height="30" colspan="2" class="style1"><hr size="1" /></td>
</tr>
</table></td>
</tr>
<tr>
<td colspan="2" bgcolor="#000000"> </td>
</tr>
</table>
Zerion Mini Shell 1.0