Change the "action="index.php" in the form statement to the URL to your photocart:
example: action="http://www.mywebsite.com/photocart/" 

__________ LOGIN FORM________________


<table align=center cellpadding=4 class=tables cellspacing=0 ><tr><form name="login" method="POST" action="index.php"><td align=right>Email Address</td><td><input type=text name="email" size=25 class="textfield"></td></tr>
<tr valign=top><td align=right>Password</td><td><input type=password name="password" size=15 class="textfield"></td></tr>
<tr><td colspan=2>
<table align=center cellpadding=0 class=tables cellspacing=0 border=0><tr><td><input type="checkbox" name="rememberme" checked></td><td>Remember me</td></tr></table>
</td></tr><tr><td colspan=2 align=center>
<input type="hidden" name="do" value="login">
<input type="hidden" name="submitit" value="submit">
<input type="hidden" name="_ret" value="">
<input type="submit" name="submit" value="Log In" class="submit">
</td></form></tr></table>


________ ACCESS GALLERY FORM ___________


<table align=center cellpadding=4 cellspacing=0 border=0 width=100%><tr><form method="post" name="galaccess" action="index.php"><td>
Access Code: <input type="text" name="access_code" size="12" class=textfield><input type="hidden" name="do" value="photocart"><input type="hidden" name="action" value="accessGallery"></td></tr>
<tr><td align=center><input type="hidden" name="submitit" value="yes"><input type="submit" name="submit" value=" Submit" class=submit></td></form></tr></table>