Page is a not externally linkable
timster - 11:57 pm on Feb 28, 2011 (gmt 0)
T_VARIABLE often means a missing semicolon, or an unmatched parenthesis. It definitely does in your case.
Have you tried a PHP syntax check? On the command line it looks like the following example. If you're unfamiliar with CLI, there are PHP syntax checkers that work with many text editors.
php -l scriptname.php
Your errors are on line 27 and 37.