zeberrun Posted June 7, 2009 Posted June 7, 2009 A PART OF PRODUCT TAB FİLE IS BELOW <div id="TEXT_PRODUCTS_EXTRA_IMAGES" class="tabcontent"> <div style="font-size: 12px;font-weight: bold; border-bottom: 1px dashed #999999;"> <?PHP echo TEXT_PRODUCTS_EXTRA_IMAGES; ?> </div> <br> <html> <body> <iframe style="width:100%;height:500;border:0px;overflow:auto;" src="products_extra_images.php?products_id=<?php echo $product_info['products_id']; ?>"> </iframe> </body> </html> </div> I WANT EXTRA IMAGES TO BE SEEN IN TABS WINDOW, I CHANGED THE CODE ABOVE BUT SEEN NOTHING IN WINDOW. WHAT SHOULD I DO, BELOW IS MY EXTRA IMAGES FILE REGARDS <?php require('includes/application_top.php'); $products_extra_images_query = tep_db_query("SELECT products_extra_image, products_extra_images_id FROM " . TABLE_PRODUCTS_EXTRA_IMAGES . " WHERE products_id='" . $product_info['products_id'] . "'"); if (tep_db_num_rows($products_extra_images_query) >= 1){ $rowcount_value=4; //number of extra images per row $rowcount=1; ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td> <table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr> <td class="infoBoxHeading" align ="center"> <?php echo (TEXT_EXTRA_IMAGES); ?> </td> </tr> </table> </td> </tr> <tr> <td> <table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr> <?php $products_extra_images_query = tep_db_query("SELECT products_extra_image, products_extra_images_id FROM " . TABLE_PRODUCTS_EXTRA_IMAGES . " WHERE products_id='" . $product_info['products_id'] . "'"); while ($extra_images = tep_db_fetch_array($products_extra_images_query)) { ?> <td class="infoBoxContents" align ="center"> <?php echo "<a href=\"java script:popupWindow('" . tep_href_link(FILENAME_POPUP_EXTRA_IMAGES, 'peiID=' . $extra_images['products_extra_images_id']) . "')\">" . tep_image(DIR_WS_IMAGES . $extra_images['products_extra_image'], addslashes($product_info['products_name']),SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, "hspace='5' vspace='5'". " onMouseOver=\"java script:window.document.prodimg.src='" . DIR_WS_IMAGES . $extra_images['products_extra_image'] . "'\" onMouseOut=\"java script:window.document.prodimg.src='" . DIR_WS_IMAGES . $product_info['products_image'] . "'\"" ) . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?> </td> <?php if ($rowcount == $rowcount_value){echo '</tr><tr>'; $rowcount=1;} else {$rowcount=$rowcount+1;} } ?> </tr> </table> </td> </tr> <?php } ?>
Recommended Posts
Archived
This topic is now archived and is closed to further replies.