Línea: 83 - Error de sintaxis, final inesperado del archivo PHP
The "unexpected end of file" error usually means you have a php block unterminated. The parser reads off the end of the file searching for block termination, usually } . In your case, the } right before your second <? php is the culprit.
Weary Whale