--- amazon-wishlist.php 2006-05-20 14:55:06.000000000 -0700 +++ amazon-wishlist.php 2006-05-20 14:46:21.000000000 -0700 @@ -273,7 +274,9 @@ if(!empty($niceItem['IMAGEURL']) && $displayImage == true) { $image = ""; + . " height=\"$niceItem[IMAGEHEIGHT]\"" + . " alt=\"$niceItem[TITLE]\"" + . " title=\"$niceItem[TITLE]\" />"; } else { $image = ''; } @@ -283,7 +286,6 @@ $output .= "\t
  • \n\t\t$image$title
    \n"; $output .= "\t\tAdded on $dateAdded\n\t
  • \n"; - $output .= "\t
    \n"; unset($niceItem); //usleep(90000); // sleep for 90 milliseconds @@ -299,7 +301,7 @@ $output = "

    Error! There was a problem building your wish list, please try again later.

    "; } - $output .= "\n"; + $output .= "
    \n"; if($page == 1 && $listDetails['TOTALPAGES'] > 1 && $hideNav == false) { @@ -313,7 +315,7 @@ $backNav = '
  • « Previous Page
  • '; $forwardNav = '
  • Next Page »
  • '; - } else if($page == $listDetails['TOTALPAGES'] && $hideNav == false) { + } else if($page == $listDetails['TOTALPAGES'] && $listDetails['TOTALPAGES'] > 1 && $hideNav == false) { $prevPage = $page - 1; $backNav = '
  • « Previous Page
  • '; @@ -323,8 +325,8 @@ $forwardNav = ''; } - if($hideNav == false) - $output .= ""; + if($hideNav == false && ($forwardNav || $backNav)) + $output .= "\n\t
    "; echo $output; }