You have a syntax error in your installation documents (left out opening php statement):
http://oscommerce-photo-gallery.micrograph...nt=installation
Step 5: open account.php, and look for the following code, around line 153:
<tr>
<td class="main">echo tep_image(DIR_WS_IMAGES . 'arrow_green.gif') . ' <a href="' . tep_href_link(FILENAME_ACCOUNT_PASSWORD, '', 'SSL') . '">' . MY_ACCOUNT_PASSWORD . '</a>'; ?></td>
</tr>
should be:
<tr>
<td class="main"><?php echo tep_image(DIR_WS_IMAGES . 'arrow_green.gif') . ' <a href="' . tep_href_link('gallery_user.php') . '">' . MY_GALLERY . '</a>'; ?></td>
</tr>