no me sale :( probe con ambos y talvez no los supe acomodar mi codigo en "inicio3.php" es
Código PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>unitled</title>
</head>
<body>
<table width="1119" border="0">
<tr>
<th width="99" scope="col"> </th>
<th colspan="5" rowspan="2" scope="col"><table width="800" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td rowspan="2" ><div align="left"><a href="/inicio.php"><img src="logo.jpg" alt="logo" width="142" height="50" border="0" /></a></div></td>
<td width="348" height="37"> </td>
<td width="44"> </td>
</tr>
<tr>
<td height="31" valign="top"><img src="bordet.png" alt="borde abajo" width="331" height="31" /></td>
<td> </td>
</tr>
<tr>
<td width="408" height="2" id="tdNavHeaderMenuBarLeft"></td>
<td></td>
<td></td>
</tr>
</table> <table width="773" border="0" cellpadding="0" cellspacing="0" bgcolor="#003399">
<!--DWLayoutTable-->
<tr>
<td width="18" valign="top" bgcolor="#003399"><!--DWLayoutEmptyCell--> </td>
<td width="79" height="20" valign="top" bgcolor="#003399"><div align="center"><font color="#FFFFFF" size="4"><strong>Inicio </strong></font></div></td>
<td width="171" valign="top" bgcolor="#003399"><div align="center"><font color="#FFFFFF" size="4"><strong>Nuevos Productos</strong></font></div></td>
<td width="81" valign="top" bgcolor="#003399"><div align="center"><font color="#FFFFFF" size="4"><strong>Ayuda</strong></font></div></td>
<td width="103"> </td>
<td width="268" valign="top" background="file:///C|/Documents and Settings/Angelica/Escritorio/pagine pg/bajomen.png"><div align="center"><font size="4"> <a href="formulario.php">Pedidos</a></font> </div></td>
<td width="53"> </td>
</tr>
</table></th>
<th width="156" scope="col"> </th>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td width="51"> </td>
<td width="254"> </td>
<td width="162"> </td>
<td width="124"> </td>
<td width="243"> <a href="formulario.php".<?php echo $nombre_usuario; ?>">Pedidos</a> </td>
<td> </td>
</tr>
<tr>
<td colspan="2" rowspan="3" valign="top"><table width="104" border="0">
<tr>
<th width="98" align="center" background="topprod.png" scope="col"><div align="center"><font color="#FFFFFF">Productos</font></div></th>
</tr>
<tr>
<td align="center" background="primprod.png"><div align="center">prod1</div></td>
</tr>
<tr>
<td align="center" background="primprod.png"><div align="center">p2</div></td>
</tr>
<tr>
<td align="center" background="primprod.png"><div align="center">p3</div></td>
</tr>
<tr>
<td align="center" background="primprod.png"><div align="center">p4</div></td>
</tr>
<tr>
<td align="center" background="primprod.png"><div align="center">p5</div></td>
</tr>
<tr>
<td align="center" background="primprod.png"><div align="center">p6</div></td>
</tr>
<tr>
<td align="center" background="primprod.png"><div align="center">p7</div></td>
</tr>
<tr>
<td align="center" background="primprod.png"><div align="center">p8</div></td>
</tr>
<tr>
<td align="center" background="finprod.png"><div align="center">p9</div></td>
</tr>
</table>
<div align="center"></div> </td>
<td><img src="promo1.png" alt="" width="254" height="366" /></td>
<td> </td>
<td> </td>
<td valign="top"><table width="243" border="0">
<tr>
<th width="237" height="155" align="center" valign="top" scope="row">Realiza tu pedido
<?
if(!$_COOKIE[uid]) {
?>
<form method="post" action="entrar.php">
<b>Usuario:</b><br>
<input type="text" name="nick" maxlength="20"><br>
<b>Contraseña:</b><br>
<input type="password" name="contrasena" maxlength="20"><br>
<input type="submit" name="enviar" value="Iniciar Sesión" />
<br>
</form>
<p><a href="registrar.php"> -->Registrate aqui <-- </a>
<?
}
else {
?>
Bienvenid@ <b><?=$_COOKIE[unick]?></b><br>
<table width="119" border="0">
<tr>
<th colspan="3" bgcolor="#FF0000" scope="row"><a href="formulario.php"><em><strong>Realizar Pedido</strong></em></a></th>
</tr>
<tr>
<th width="28" scope="row"> </th>
<td width="28"> </td>
<td width="49"> </td>
</tr>
<tr>
<th scope="row"> </th>
<td> </td>
<td> </td>
</tr>
<tr>
<th scope="row"> </th>
<td> </td>
<td> </td>
</tr>
<tr>
<th colspan="3" scope="row"><a href="salir.php">Salir</a>
<?
}
?></th>
</tr>
</table>
<p><br>
<br>
</th>
</tr>
</table>
<table width="100" border="0">
<tr>
<th scope="row">gfgf</th>
</tr>
</table></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
</body>
</html>
continua en otro post, que no me deja agregar mas