remove_current_page(); $products_query = tep_db_query("select pd.products_name, p.products_image from " . TABLE_PRODUCTS . " p left join " . TABLE_PRODUCTS_DESCRIPTION . " pd on p.products_id = pd.products_id where p.products_status = '1' and p.products_id = '" . (int)$_GET['pID'] . "' and pd.language_id = '" . (int)$languages_id . "'"); $products = tep_db_fetch_array($products_query); // BOF: More Pics 6 $PID = $_GET['pID']; $invis = $_GET['invis']; $result = tep_db_query("select * from " . TABLE_PRODUCTS . " where products_id = '" . (int)$_GET['pID'] . "'" ); // EOF: More Pics 6 ?> >>
| '; */ // // to use the above code, you must remove the next two lines. // $img = DIR_WS_IMAGES . $insert; echo ' |
| '; ?> |
| '; } if ($back != '-1'){ echo '[' . tep_image(DIR_WS_IMAGES+'left.gif', 'previous', '', '', 'border="0"') . ']('+tep_href_link('popup_image.php','pID='+$PID+'&invis='+$back)+') '; } if ($next <= $last){ echo '[' . tep_image(DIR_WS_IMAGES+'right.gif', 'next', '', '', 'border="0"') . ']('+tep_href_link('popup_image.php','pID='+$PID+'&invis='. $next)+')'; } echo ' |