Example:
http://www.tattoofans.com/gallery/sh...o.php?photo=57
You probably cant see the admin links, but I will just copy and paste to show you what I see:
Example1 (OK): Receive Email Updates =
http://www.tattoofans.com/gallery/co...fy=on&photo=57
good.
Code in showphoto.php appears to be pulling $photo as the photo ID variable for this link:
$pmenu .= "<a href=\"{$Globals['maindir']}/comments.php?notify=on&photo=$photo\">{$Globals['pp_lang']['enable']}</
a>"; Example2 (Problem): Edit Photo =
http://www.tattoofans.com/gallery/ed....php?phoedit=4
bad. this is the same ID that shows up for EVERY single photo!
Code in showphoto.php appears to be pulling $id as the photo ID variable for this link:
$admmenu = "<a href=\"{$Globals['maindir']}/editphoto.php?phoedit=$id\">{$Globals['pp_lang']['editphoto']}</a>";
Please help. I know I could manually go through and change them all to $photo but I know that there must be a logical explanation for this.
Thanks!