Lo que pasa es que el único $ que hay es en el if del medio pero esa sentencia esta cerrada con los dos {}.
Código PHP:
<table width="77%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr valign="top"> <td rowspan="2"><div align="center"><a name="especiales"></a><img src="/imagenes/gota3.gif" width="25" height="22"></div></td> <td> <div align="center"> <table width="122" border="0" align="left" cellpadding="0" cellspacing="4"> <tr> <td width="150"><div align="left"><font color="cc0000" size="3"><b><font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="474549">ESPECIALES</font></b></font></div></td> </tr> </table> <p> </p> <table width="736"> <tr bgcolor="#FFFFAA"> <td colspan="2"> <div align="center"><strong><font color="#333333" size="3" face="Verdana, Arial, Helvetica, sans-serif">KRS</font></strong></div></td> </tr> <tr bgcolor="#FFFF00"> <td width="364"> <div align="center"><font color="#666666" size="3"><b><font face="Verdana, Arial, Helvetica, sans-serif" size="2">.................. sólo frío ..................</font></b></font></div></td> <td width="362"> <div align="center"><font color="#666666" size="3"><b><font size="2" face="Verdana, Arial, Helvetica, sans-serif">................ bomba de calor ................</font></b></font></div></td> </tr> <tr bgcolor="#FFFFFF"> <td rowspan="2" bgcolor="#FFFFFF"> </td> <td> <table width="300" border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td><font face="Verdana, Arial, Helvetica, sans-serif" size="2">KRS09</font></td> <td> <table border="0" cellspacing="2" cellpadding="0" align="right"> <tr valign="middle"> <td><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="A5B2B4">cantidad</font></td> <td> <input type="text" name="maquina[0244720K KRS_09]" size="3"> </td> </tr> </table></td> </tr> </table></td> </tr> <tr bgcolor="#FFFFFF"> <td height="31"> <table width="300" border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td><font face="Verdana, Arial, Helvetica, sans-serif" size="2">KRS12</font></td> <td> <table border="0" cellspacing="2" cellpadding="0" align="right"> <tr valign="middle"> <td><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="A5B2B4">cantidad</font></td> <td> <input type="text" name="maquina[0244730K KRS_12]" size="3"> </td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td> </td> <td> </td> </tr> </table> </div></td> </tr> <tr> <td> <div align="center"> <? if ($_SESSION['usuario_nivel'] > 3) { echo <<< HTML <table width="738" align="center"> <tr bgcolor="#FFFFAA"> <td colspan="2"> <div align="center"><strong><font color="#333333" size="3" face="Verdana, Arial, Helvetica, sans-serif">SRK</font></strong></div></td> </tr> <tr bgcolor="#FFFF00"> <td width="364"> <div align="center"><font color="#666666" size="3"><b><font face="Verdana, Arial, Helvetica, sans-serif" size="2">.................. sólo frío ..................</font></b></font></div></td> <td width="362"> <div align="center"><font color="#666666" size="3"><b><font size="2" face="Verdana, Arial, Helvetica, sans-serif">................ bomba de calor ................</font></b></font></div></td> </tr> <tr bgcolor="#FFFFFF"> <td rowspan="2" bgcolor="#FFFFFF"> </td> <td> <table width="300" border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">SRK 28 HB</font></td> <td> <table border="0" cellspacing="2" cellpadding="0" align="right"> <tr valign="middle"> <td><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="A5B2B4">cantidad</font></td> <td> <input type="text" name="maquina[0244750A SRK_28_HB]" size="3"> </td> </tr> </table></td> </tr> </table></td> </tr> <tr bgcolor="#FFFFFF"> <td height="31"> <table width="300" border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td><font face="Verdana, Arial, Helvetica, sans-serif" size="2">SRK 40 HB</font></td> <td> <table border="0" cellspacing="2" cellpadding="0" align="right"> <tr valign="middle"> <td><font size="1" face="Verdana, Arial, Helvetica, sans-serif"