line 397 is:
<td width="123" valign="top"><span class="style31"><?php echo $_COOKIE['uname']; ?></span></td>
try changing that to:
<td width="123" valign="top"><span class="style31"><?php echo isset($_COOKIE['uname'])?$_COOKIE['uname']:""; ?></span></td>