Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[Contribution] More_pics_6 v1.1 For osC 2.2 MS2


surfalot

Recommended Posts

I don't see anything similar to more pics.
Just seen this added in the contribution downloads section last night: Extra Images

 

That has roll-over effect in product info, maybe it was that one. Thanks for looking anyway :thumbsup:

Upon receiving fixes and advice, too many people don't bother to post updates informing the forum of how it went. Until of course they need help again on other issues and they come running back!

 

Why receive the information you require in good faith for free, only to then have the attitude to ignore the people who gave it to you?

 

There's no harm in saying, 'Thanks, it worked'. On the contrary, it creates a better atmosphere.

 

CHOOCH

Link to comment
Share on other sites

  • Replies 1.6k
  • Created
  • Last Reply

Top Posters In This Topic

H!

 

This contribution has added additionals for STSv4.2, will this also work for STSv4.4? I have STS4.4, basic design pack, and advanced categories admin installed and I am thinking to use this contribution.

 

Thanks. :blush:

Fidela

Link to comment
Share on other sites

H!

 

This contribution has added additionals for STSv4.2, will this also work for STSv4.4? I have STS4.4, basic design pack, and advanced categories admin installed and I am thinking to use this contribution.

 

Thanks. :blush:

Fidela

sorry, I don't know. I don't work with STS. cross contribution work that may be included in any of my work has no guarantee to being updated because of the obvious potentially exponential work involved. It's usually included for a convenience for folks to find.

 

if you find that it does work, please report back. Hopefuly you will get a response from some that knows. ;)

Link to comment
Share on other sites

Good day,

 

I am using the new version that was just posted 19 February 2007.

The contribution had exactly what I was looking to get from combining different contributions, and I really appreciate the work involved.

 

I replaced the stock table_background images with ones from another contribution, and

the images have been resized proportionally to the 57px width of the stock ones.

The image location on the page is in the imagecache directory.

 

 

It is not of great concern to me, just something I wanted to point out.

 

Thank you everyone for all your time and effort put into this contribution,

 

Karl Swab

Link to comment
Share on other sites

I don't see anything similar to more pics.

 

Hi Todd ( surfalot ), thanks for your great effort. I 've read many posts here in regards of having more pictures.

 

I decide to try your version of More Pics contributions. Nevertheless, I notice that you had uploaded a latest version of Additional Images recently. I'm wondering

 

What is the main difference between " More_pics_6 V1.2" and " Additional Images V2.0 " ?

 

( i've jsut wanted to add extra pictures to the product . ) Which one you would recommend " More_pics_6 V1.2" or " Additional Images V2.0 " ?

 

Regards

Jason

Link to comment
Share on other sites

Hi Todd ( surfalot ), thanks for your great effort. I 've read many posts here in regards of having more pictures.

 

I decide to try your version of More Pics contributions. Nevertheless, I notice that you had uploaded a latest version of Additional Images recently. I'm wondering

 

What is the main difference between " More_pics_6 V1.2" and " Additional Images V2.0 " ?

 

( i've jsut wanted to add extra pictures to the product . ) Which one you would recommend " More_pics_6 V1.2" or " Additional Images V2.0 " ?

 

Regards

Jason

>_< please no cross-posting

Link to comment
Share on other sites

surfalot, I have seen a site on the 'live shop' with what seems to be the more_pics contribution but with a modified function - it has a feature where the rolled-over images replace the larger product info page - as well allowing a pop-up

 

here's the link: Sex Toy Shop

 

I understand the pop-up part, it is from a different contribution, but can you please see the product info page and let me know if that is a modified version of more_pics or if that is something different because that may well be worth me trying to make possible for my own product info page.

 

Many thanks in advance.

 

U mean something like this:

 

http://www.drako.it/drako_catalog/product_...roducts_id=3315

 

if u are interested i can send you the code or post it here :)

 

BTW someone did succesfully got the LightBox script open in a new page?

my contribution: Alex's Contributions

Link to comment
Share on other sites

Hi there,

 

got the same problem like fuckoffshirt with the content.

It disappears when i completed the readme.txt

 

Can anyone help me?

 

gr,

 

Pim

please be specific. Please include helpful information like PHP ver? (globals on/off), MySQL vers? More Pic vers? Any error message? blank page?

Link to comment
Share on other sites

U mean something like this:

 

http://www.drako.it/drako_catalog/product_...roducts_id=3315

 

if u are interested i can send you the code or post it here :)

That's exactly what I mean!

 

I have PM'd you, I would appreciate the code - Thanks

Upon receiving fixes and advice, too many people don't bother to post updates informing the forum of how it went. Until of course they need help again on other issues and they come running back!

 

Why receive the information you require in good faith for free, only to then have the attitude to ignore the people who gave it to you?

 

There's no harm in saying, 'Thanks, it worked'. On the contrary, it creates a better atmosphere.

 

CHOOCH

Link to comment
Share on other sites

U got PM. I f anybody else neet the code it's for free of course, just ask or i'll post here too.

 

:thumbsup:

 

Drako,

 

The code would be very appreciated :thumbsup:

Plz post or PM it.

 

Grtz,

Kees

Edited by keeze
Link to comment
Share on other sites

hi surfalot,

 

have a problem... nothing worked when i initially installed it. i kept at it for a while to no end, then started troubleshooting. the backend admin section of the code works, that incudes uploading, deleting, displaying and config settings. So I assumed it was my product_info page but it wasn't that, it was actually the html_output page. when i apply the "needed" changes to the html_output page, all of the products in a number of categories dissappear along with the footer. as for the categories with items, once i click on an item, the products_info page comes up but blank.

 

any suggestions as to why this could be happening?

 

-a8le

Thuan Nguyen

Link to comment
Share on other sites

hi surfalot,

 

have a problem... nothing worked when i initially installed it. i kept at it for a while to no end, then started troubleshooting. the backend admin section of the code works, that incudes uploading, deleting, displaying and config settings. So I assumed it was my product_info page but it wasn't that, it was actually the html_output page. when i apply the "needed" changes to the html_output page, all of the products in a number of categories dissappear along with the footer. as for the categories with items, once i click on an item, the products_info page comes up but blank.

 

any suggestions as to why this could be happening?

 

-a8le

sorry, I'm not able to help you with that, I didn't upload anything that changes the html_output(). I'm only supporting the ones I uploaded. you are probably working with the auto thumb code. I avoid using the auto thumb code that changes that function because of what you are seeing and other issues.

Link to comment
Share on other sites

sorry, I'm not able to help you with that, I didn't upload anything that changes the html_output(). I'm only supporting the ones I uploaded. you are probably working with the auto thumb code. I avoid using the auto thumb code that changes that function because of what you are seeing and other issues.

 

Hi, thnx for the fast reply. I am not using auto thumb. Only two things I have done to mod osCommerce are: force customer login and customer approval/denied through admin. Any ideas as to what I should be looking for? or Can you explain why I might be having the errors? I would really like to get this working properly. Thanx again, a8le.

Thuan Nguyen

Link to comment
Share on other sites

Hi, thnx for the fast reply. I am not using auto thumb. Only two things I have done to mod osCommerce are: force customer login and customer approval/denied through admin. Any ideas as to what I should be looking for? or Can you explain why I might be having the errors? I would really like to get this working properly. Thanx again, a8le.

I'm sorry, I can't support the version you are installing since I don't know anything about it. The person that uploaded that version will need to help you. My contibution does not change html_output() for the reasons I stated.

 

The only version of MorePics that modifies the html_output() function is the one matrix_france uploaded on 19 Feb 2007. If you read that download carefully, it says it includes auto-thumbnailing.

Link to comment
Share on other sites

I'm sorry, I can't support the version you are installing since I don't know anything about it. The person that uploaded that version will need to help you. My contibution does not change html_output() for the reasons I stated.

 

The only version of MorePics that modifies the html_output() function is the one matrix_france uploaded on 19 Feb 2007. If you read that download carefully, it says it includes auto-thumbnailing.

 

ah, i see... so sorry, didn't realize it wasn't your up... -a8le

Thuan Nguyen

Link to comment
Share on other sites

Drako,

 

The code would be very appreciated :thumbsup:

Plz post or PM it.

 

Grtz,

Kees

 

Here we go:

 

<?php
/*
 $Id: product_info.php,v 1.0 2004-02-28 03:24:22+01 bluedog Exp bluedog $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce
*/

require('includes/application_top.php');
require('_drawrating.php'); /*Necessario per il Rating AJAX*/

//begin product_query
$product_info_query = tep_db_query("select p.products_id, pd.products_name, pd.products_description, p.products_model, p.products_quantity, p.products_image, p.products_image_med, p.products_image_lrg, p.products_image_sm_1, p.products_image_med_1, p.products_image_xl_1, p.products_image_sm_2, p.products_image_med_2, p.products_image_xl_2, p.products_image_sm_3, p.products_image_med_3, p.products_image_xl_3, p.products_image_sm_4, p.products_image_med_4, p.products_image_xl_4, p.products_image_sm_5, p.products_image_med_5, p.products_image_xl_5, p.products_image_sm_6, p.products_image_med_6, p.products_image_xl_6, pd.products_url, p.products_price, p.products_tax_class_id, p.products_date_added, p.products_date_available, p.manufacturers_id, products_info, products_bar_code from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'");
$product_info = tep_db_fetch_array($product_info_query);
//end product_query
//begin seo_metatags
$seo_product_name = strip_tags ($product_info['products_name'], "");
$seo_product_description = strip_tags ($product_info['products_description'], "");
$seo_product_model = strip_tags ($product_info['products_model'], "");
$manufacturer_query = tep_db_query("select m.manufacturers_id, m.manufacturers_name, m.manufacturers_image, mi.manufacturers_url from " . TABLE_MANUFACTURERS . " m left join " . TABLE_MANUFACTURERS_INFO . " mi on (m.manufacturers_id = mi.manufacturers_id and mi.languages_id = '" . (int)$languages_id . "'), " . TABLE_PRODUCTS . " p  where p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and p.manufacturers_id = m.manufacturers_id");
$manufacturer = tep_db_fetch_array($manufacturer_query);
$seo_manufacturer_name = strip_tags ($manufacturers['manufacturers_name'], "");
$page_title = $seo_product_name;
// end seo_metatags
require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_PRODUCT_INFO);

?>
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html <?php echo HTML_PARAMS; ?>>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
<title><?php echo $page_title . ' , ' . strip_tags(TITLE, ""); ?></title>
<meta name="keywords" content="<?php echo $page_title; ?><?php if ($seo_product_model){echo ', ' . $seo_product_model;} ?>, <?php echo $seo_manufacturer_name; ?>">
<meta name="description" content="<?php echo $seo_product_name . ', ' . $seo_manufacturer_name . ' , ' . strip_tags(TITLE, ""); ?>">
<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
<link rel="stylesheet" type="text/css" href="stylesheet.css">
<!-- Script //-->
<script type="text/javascript" language="javascript" src="js/behavior.js"></script>
<script type="text/javascript" language="javascript" src="js/rating.js"></script>
<script type="text/javascript" language="javascript" src="js/popup.js"></script>
<!-- Script_oef//-->
</head>
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">
<!-- header //-->
<?php require(DIR_WS_INCLUDES . 'header.php'); ?>
<!-- header_eof //-->
<!-- body //-->
<table width="99%" border="0" align="center" cellpadding="3" cellspacing="3">
 <tr>
<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
  <!-- left_navigation //-->
  <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
  <!-- left_navigation_eof //-->
</table></td>
<!-- body_text //-->
<td width="100%" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
	<td height="2" valign="top"><img src="images/template/pixel_trans.gif" width="1" height="1" /></td>
  </tr>
  <tr>
	<td height="24" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
	  <tr>
		<td width="25" height="24" ><img src="images/template/BOX_Alto_SX.gif" width="25" height="24" /></td>
		<td width="100%" background="images/template/BOX_Alto_BG.gif"><?php echo $breadcrumb->trail(' » '); ?>
				<div align="right"></div></td>
		<td ><img src="images/template/BOX_Alto_DX.gif" width="6" height="24" /></td>
	  </tr>
	</table>
	<tr>
	  <td class="ch7" valign="top" align="center"><?php
			echo tep_draw_form('cart_quantity', tep_href_link(FILENAME_PRODUCT_INFO, tep_get_all_get_params(array('action')) . 'action=add_product')); ?>
				  <table border="0" width="100%" cellspacing="0" cellpadding="0">
					<?php
							  if ($seo_product_name == '') { ?>
					<tr>
					  <td><?php new infoBox(array(array('text' => TEXT_PRODUCT_NOT_FOUND))); ?></td>
					</tr>
					<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 class="infoBoxContents">
							<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
								<tr>
								  <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
								  <td align="right"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td>
								  <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
								</tr>
							</table></td>
						  </tr>
					  </table></td>
					</tr>
				  </table>
				<?php
		  }else{
	tep_db_query("update " . TABLE_PRODUCTS_DESCRIPTION . " set products_viewed = products_viewed+1 where products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and language_id = '" . (int)$languages_id . "'");
	if ($new_price = tep_get_products_special_price_array($product_info['products_id'])){
		global $customer_id;
		$customer_group_query = tep_db_query("select customers_group_id from " . TABLE_CUSTOMERS . " where customers_id =  '" . $customer_id . "'");
		$customer_group = tep_db_fetch_array($customer_group_query);
						if ($customer_group['customers_group_id'] == 0) {
							$customer_group['customers_group_id'] = 1;
						}
		$scustomer_group_price_query = tep_db_query("select customers_group_price from " . TABLE_PRODUCTS_GROUPS . " where products_id = '" . (int)$HTTP_GET_VARS['products_id']. "' and customers_group_id =  '" . $customer_group['customers_group_id'] . "'");
		if ($scustomer_group_price = tep_db_fetch_array($scustomer_group_price_query)){
			$product_info['products_price']= $scustomer_group_price['customers_group_price'];
			$sconto = $product_info['products_price'] - $new_price['specials_new_products_price'];
			$products_price = '<table cellpadding="0" cellspacing="0" border="0"><tr class="textblackmed"><td><strong nowrap="">Prezzo:</strong></td><td><div align="right"><strong nowrap="">'.$currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . '</strong></div></td></tr><tr class="textblackmed"><td height="18" nowrap="">Sconto:</td><td nowrap=""><div align="right">- '.$currencies->display_price($sconto, tep_get_tax_rate($product_info['products_tax_class_id'])).'</div></td>  </tr><tr><td height="5"></td></tr><tr><td height="1" colspan="2" bgcolor="#000000"></td></tr><tr><td height="5"></td></tr><tr>	  <td height="25" class="finalprice" nowrap=""><b class="dettagli-prezzo">Prezzo Finale:   </b> </td>	  <td class="finalpricered" nowrap=""><div align="right"><span class="dettagli-prezzo-red">'.  $currencies->display_price($new_price['specials_new_products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . '</span></div></td></tr></table>';
			if ($new_price['expires_date'] > date("Y-m-d H:i:s")){ 
			$products_price .= '<img src="images/template/alert.gif" width="23" height="23" align="absmiddle"> <span class="stockWarning">Attenzione!<br>Scandenza offerta il<strong> ' .tep_date_short($new_price['expires_date']).'</strong>!</span>';
			}

		}
	}else{
		global $customer_id;
		$customer_group_query = tep_db_query("select customers_group_id from " . TABLE_CUSTOMERS . " where customers_id =  '" . $customer_id . "'");
		$customer_group = tep_db_fetch_array($customer_group_query);
		if ($customer_group['customers_group_id'] == 0) {
			$customer_group['customers_group_id'] = 1;
		} // MOD per evitare che il cliente finale veda il prezzo di aquisto del prodotto
		$customer_group_price_query = tep_db_query("select customers_group_price from " . TABLE_PRODUCTS_GROUPS . " where products_id = '" . $HTTP_GET_VARS['products_id'] . "' and customers_group_id =  '" . $customer_group['customers_group_id'] . "'");
			if ($customer_group_price = tep_db_fetch_array($customer_group_price_query)) {
				$products_price = '<span class="dettagli-prezzo">Prezzo:</span> <span class="dettagli-prezzo-red">' . $currencies->display_price($customer_group_price['customers_group_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . '</span> <span class="se">iva comp</span>';
		}
	}
$products_name = $product_info['products_name'];?>
				  <table width="100%" border="0" cellpadding="0" cellspacing="0">
					<tr>
					  <td align="center" valign="top"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
						  <tr>
							<td width="99%" valign="top">
							<table width="100%" cellpadding="0" cellspacing="0">
							  <tr>
								<td><strong><br>
								</strong></td>
							  </tr>
							  <tr>
								<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
									<tbody>
									  <tr>
										<td width="8"><img src="images/template/det_toplft1.gif" height="7" width="8"></td>
										<td background="images/template/det_top.gif"><img src="images/template/pixel_trans.gif" height="7" width="1"></td>
										<td width="8"><img src="images/template/det_toprght1.gif" height="7" width="8"></td>
									  </tr>
									</tbody>
								  </table>
									<table background="images/template/det_mid.gif" border="0" cellpadding="0" cellspacing="0" height="20" width="100%">
									  <tbody>
										<tr>
										  <td background="images/template/det_midlft.gif" width="8"><img src="images/template/pixel_trans.gif" height="1" width="8"></td>
										  <td><h1><?php echo $products_name; ?></h1><span class="ch3"><?php echo stripslashes($product_info['products_info']); ?></span>
										  </td>
										  <td background="images/template/det_midrght.gif" width="8"><img src="images/template/pixel_trans.gif" height="1" width="8"></td>
										</tr>
									  </tbody>
									</table>
								  <table border="0" cellpadding="0" cellspacing="0" width="100%">
									  <tbody>
										<tr>
										  <td width="8"><img src="images/template/det_btmlft1.gif" height="12" width="8"></td>
										  <td background="images/template/det_btm.gif"><img src="images/template/pixel_trans.gif" height="12" width="1"></td>
										  <td width="385"><img src="images/template/det_btmrght2.gif" height="12" width="385"></td>
										</tr>
									  </tbody>
								  </table>
								  <table border="0" cellpadding="0" cellspacing="0" width="100%">
									  <tbody>
										<tr>
										  <td nowrap="nowrap"> </td>
										  <td align="right" width="44"><img src="images/template/itemtitle_yellowleft.gif" height="24" width="44"></td>
										  <td background="images/template/itemtitle_yellow_bg.gif" valign="top" width="330">
											  <table width="100%" border="0" cellspacing="0" cellpadding="0">
												<tr>
												  <td><div align="right"><?php rating_bar($product_info['products_id'],5); ?></div></td>
												</tr>
											  </table>
										  </td>
										  <td align="right" width="18"><img src="http://images.tigerdirect.com/itemdetails/itemtitle_yellowright1.gif" height="24" width="18"></td>
										</tr>
									  </tbody>
								  </table></td>
							  </tr>
							</table>
							<?php if ($product_info['products_image_med'] != ''){ ?>
							<table border="0" align="left" cellpadding="0" cellspacing="0">
								<tr>
								  <td width="30" rowspan="4"></td>
								  <td height="10"></td>
								</tr>
								<tr>
								  <td height="160"><table border="0" align="center" cellpadding="0" cellspacing="0">
									<tr>
									  <td>
									  <div align="center"><a id="BIGONE" href="java script:popupWindow('<?php echo tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id'] . 'ℑ=0') ?>')"><img onMouseOut="rollover.src = '<?php echo DIR_WS_IMAGES . $product_info['products_image_med']; ?>'; BIGONE.href='<?php echo 'java script:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id'] . 'ℑ=0') . '\\\')' ?> '" name="rollover" src="<?php echo DIR_WS_IMAGES . $product_info['products_image_med']; ?>" border=0 alt="<?php echo $product_info['products_name']; ?>"></a></div>										
								  <div style="width: 20px; margin-top: -26px; margin-left: 1px;">
   								  <img src="images/template/icn_add_20x20.png" alt="Clicca sull'immagine per ingrandire" border="0">									  </div>										  </td>
									</tr>
								  </table>									  </td>
								</tr>
								<?php if ($product_info['products_image_sm_1'] != ''){?>
								<tr>
								  <td >
									<div id="altviews">
								<!--<img onMouseOver="rollover.src = '<?php echo DIR_WS_IMAGES . $product_info['products_image_med']; ?>'; BIGONE.href='<?php echo 'java script:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id'] . 'ℑ=0') . '\\\')' ?> '"  height="30" width="30" src="<?php echo DIR_WS_IMAGES . $product_info['products_image']; ?>" border=0 alt="<?php echo $product_info['products_name']; ?>">-->
								<?php if ($product_info['products_image_sm_1'] != ''){?>
								<img onMouseOver="rollover.src = '<?php echo DIR_WS_IMAGES . $product_info['products_image_med_1']; ?>'; BIGONE.href='<?php echo 'java script:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id'] . 'ℑ=1') . '\\\')' ?> '" height="30" width="30" src="<?php echo DIR_WS_IMAGES . $product_info['products_image_sm_1']; ?>" border=0 alt="<?php echo $product_info['products_name']; ?>">
										<?php } ?>
								<?php if ($product_info['products_image_sm_2'] != ''){?>
										 <img onMouseOver="rollover.src = '<?php echo DIR_WS_IMAGES . $product_info['products_image_med_2']; ?>'; BIGONE.href='<?php echo 'java script:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id'] . 'ℑ=2') . '\\\')' ?> '" height="30" width="30" src="<?php echo DIR_WS_IMAGES . $product_info['products_image_sm_2']; ?>" border=0 alt="<?php echo $product_info['products_name']; ?>">
										<?php } ?>
								<?php if ($product_info['products_image_sm_3'] != ''){?>
										  <img onMouseOver="rollover.src = '<?php echo DIR_WS_IMAGES . $product_info['products_image_med_3']; ?>'; BIGONE.href='<?php echo 'java script:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id'] . 'ℑ=3') . '\\\')' ?> '" height="30" width="30" src="<?php echo DIR_WS_IMAGES . $product_info['products_image_sm_3']; ?>" border=0 alt="<?php echo $product_info['products_name']; ?>">
										<?php } ?>
								<?php if ($product_info['products_image_sm_4'] != ''){?>
										  <img onMouseOver="rollover.src = '<?php echo DIR_WS_IMAGES . $product_info['products_image_med_4']; ?>'; BIGONE.href='<?php echo 'java script:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id'] . 'ℑ=4') . '\\\')' ?> '" height="30" width="30" src="<?php echo DIR_WS_IMAGES . $product_info['products_image_sm_4']; ?>" border=0 alt="<?php echo $product_info['products_name']; ?>">
										<?php } ?>
								<?php if ($product_info['products_image_sm_5'] != ''){?>
										  <img onMouseOver="rollover.src = '<?php echo DIR_WS_IMAGES . $product_info['products_image_med_5']; ?>'; BIGONE.href='<?php echo 'java script:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id'] . 'ℑ=5') . '\\\')' ?> '" height="30" width="30" src="<?php echo DIR_WS_IMAGES . $product_info['products_image_sm_5']; ?>" border=0 alt="<?php echo $product_info['products_name']; ?>">
										<?php } ?>
								<?php if ($product_info['products_image_sm_6'] != ''){?>
										<img onMouseOver="rollover.src = '<?php echo DIR_WS_IMAGES . $product_info['products_image_med_6']; ?>'; BIGONE.href='<?php echo 'java script:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id'] . 'ℑ=6') . '\\\')' ?> '" height="30" width="30" src="<?php echo DIR_WS_IMAGES . $product_info['products_image_sm_6']; ?>" border=0 alt="<?php echo $product_info['products_name']; ?>">
										<?php } ?>
									</div></td>
								</tr>
								<? } ?>

								<tr>
								  <td><div align="center" class="checkoutBarTo">Copyright © Drako S.r.l.</div></td>
								</tr>
								<tr>
								  <td  height="20" colspan="2"></td>
								</tr>
							</table>
							<?php } ?>
							<table width="100%" border="0" align="right" cellpadding="0" cellspacing="0">
								<tr>
								  <td width="40" rowspan="7"> </td>
								  <td height="10"></td>
								</tr>
								<tr>
								  <td>

										  <?php echo $products_price; ?>
								  </td>
								</tr>
								<tr>
								  <td><table  align="left" border="0" cellspacing="0" cellpadding="0">
										  <tr>
											<td height="40"><span class="ch3">Aggiungi al tuo carrello </span></td>
											<td width="50"> 
												<input type="hidden" name="products_id" value="<?php echo $product_info['products_id']; ?>">
												<?php
													  $submit_button = tep_image_submit('icona_aggiungi_carrello_piccola.gif', IMAGE_BUTTON_IN_CART);
													  ?>
												<input type="text" name="cart_quantity" value="1" maxlength="2" size="2">
											<td width="35"><?php echo $submit_button;?></td>
										  </tr>
										</table>											</td>
								</tr>
								<tr valign="middle">
								  <td><table border="0" cellpadding="0" cellspacing="0">
									<tr>
									  <td><span class="chdescrizioneprodotto">
										<?php 
										//INVENTORY MOD Inizio ##########################################################
									   if (PRODUCT_LIST_QUANTITY == 1) echo tep_get_mag_info($product_info['products_quantity'],$product_info["products_date_available"]);
									   //INVENTORY MOD FINE ##########################################################
										?>
									  </span></td>
									</tr>
								  </table>									  </td>
								</tr>
								<tr valign="middle">
								  <td><span class="ch12">
								  <?php if ($manufacturer['manufacturers_image'] != ''){?><br>
								  <?php echo tep_image(DIR_WS_IMAGES_MANUFACTURERS . $manufacturer['manufacturers_image'], $manufacturer['manufacturers_name']); }
								  if (tep_not_null($manufacturer['manufacturers_url'])){ echo '<br><a href="' . tep_href_link(FILENAME_REDIRECT, 'action=manufacturer&manufacturers_id=' . $manufacturer['manufacturers_id']) . '" target="_blank">' . sprintf(BOX_MANUFACTURER_INFO_HOMEPAGE, $manufacturer['manufacturers_name']) . '</a><br><a href="' . tep_href_link(FILENAME_DEFAULT, 'manufacturers_id=' . $manufacturer['manufacturers_id']) . '">' . BOX_MANUFACTURER_INFO_OTHER_PRODUCTS . ' ' . $manufacturer['manufacturers_name'].'</a>';}
								  ?></span></td>
								</tr>
							</table>   
							</form>  
							</td>
						  </tr>
						</table>
						  <div id="new">
						  <table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
							  <td valign="top">
							  <?php
							  //Make fake address per validating the CSS menu
							 if($HTTP_GET_VARS['cPath'] != ''){
							  $fake_address = "product_info.php?cPath=".$HTTP_GET_VARS['cPath']."&products_id=". $HTTP_GET_VARS['products_id'] ."#";
							 $mysid = 'cPath='.$HTTP_GET_VARS['cPath'];
							 }else{
							 $fake_address = "product_info.php?products_id=". $HTTP_GET_VARS['products_id'] ."#";
							 $mysid = '';
							 }
							  ?>
								  <div id="productTools">
									<ul>
									  <li id="current"> <a title="Descrizione Prodotto" class="moduleRowOver">Descrizione Prodotto</a></li>
									  <li> <a href="<?php echo $fake_address;?>" title="Recensioni" class="moduleRowOver"  onClick="<?php echo $mouse = 'loadXMLDoc(\'products_id=\'+'.$HTTP_GET_VARS['products_id'].',\'product_info_bottom_review.php\',\''.$mysid.'\',\'new\',\'<img style=vertical-align:middle src=images/working.gif>Attendere...\');'; ?>">Recensioni</a></li>
									  <li> <a href="<?php echo $fake_address;?>" title="Richiedi Info Prodotto" class="moduleRowOver"  onClick="<?php echo $mouse = 'loadXMLDoc(\'products_id=\'+'.$HTTP_GET_VARS['products_id'].',\'product_info_bottom_ask_info.php\',\''.$mysid.'\',\'new\',\'<img style=vertical-align:middle src=images/working.gif>Attendere...\');'; ?>">Richiedi Info Prodotto</a></li>
									  <li> <a href="<?php echo $fake_address;?>" title="Manda ad un Amico" class="moduleRowOver"  onClick="<?php echo $mouse = 'loadXMLDoc(\'products_id=\'+'.$HTTP_GET_VARS['products_id'].',\'product_info_bottom_friend_mail.php\',\''.$mysid.'\',\'new\',\'<img style=vertical-align:middle src=images/working.gif>Attendere...\');'; ?>">Manda ad un Amico</a></li>
									  <li> <a href="<?php echo $fake_address;?>" title="Prezzo+Basso" class="moduleRowOver"  onClick="<?php echo $mouse = 'loadXMLDoc(\'products_id=\'+'.$HTTP_GET_VARS['products_id'].',\'product_info_bottom_price_match.php\',\''.$mysid.'\',\'new\',\'<img style=vertical-align:middle src=images/working.gif>Attendere...\');'; ?>">Prezzo+Basso</a></li>										
									</ul>
								  </div></td>
							</tr>
						  </table>
						  <table width="100%" border="0" cellpadding="0" cellspacing="0">

							<tr>
							  <td valign="top"><table width="97%" border="0" align="center" cellpadding="0" cellspacing="0">
								  <tr>
									<td><p><?php echo stripslashes($product_info['products_description']); ?></p>
									</td>
								  </tr>
							  </table></td>
							</tr>
						  </table>
						</div>

					  </td>
					</tr>
					<tr>
					  <td>
						  <table width="100%" height="21" border="0" align="center" cellpadding="0" cellspacing="0">
							<tr>
							  <td height="10"></td>
							</tr>
							<tr>
							  <td width="100%" height="1" background="images/template/m16.gif"><img src="images/template/pixel_trans.gif" width="1" height="1" /></td>
							</tr>
							<tr>
							  <td height="10"></td>
							</tr>
						</table></td>
					</tr>
					<tr>
					  <td><div align="right" class="style66">
						  <div align="center" class="checkoutBarTo">©2005 drako.it.		   
							Tutti i prezzi sono comprensivi di IVA & imballaggio<br>
							Clicca qui per: <a href="java script:Popup1('popup_note_scheda.php')" class="chdescrizioneprodotto">Note sulla Scheda Tecnica</a>. <a href="info_garanzie.php" class="chdescrizioneprodotto">Note sulla garanzia</a>. </div>
					  </div></td>
					</tr>
		</table><?php }?>


	  </td>
	</tr>
  <tr>
	<td><table width="100%" border="0" cellpadding="0" cellspacing="0">
	  <tr>
		<td ><img src="images/template/BOX_Basso_SX.gif" width="5" height="5" /></td>
		<td width="100%" background="images/template/BOX_Basso_BG.gif" class="ch6"><img src="/images/template/pixel_trans.gif" width="1" height="1" /></td>
		<td ><img src="images/template/BOX_Basso_DX.gif" width="5" height="5" /></td>
	  </tr>
	</table></td>
  </tr>
</table>

</td>
<!-- body_text_eof //-->
<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
  <!-- right_navigation //-->
  <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>
  <!-- right_navigation_eof //-->
</table></td>
 </tr>
</table>
<!-- body_eof //-->
<!-- footer //-->
<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
<!-- footer_eof //-->
</body>
</html>
<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>

 

 

 

Don't use this code as it is, cause is heavly modificated, and won't run on your site. Try to extrapolate what u need in the first place.

 

Glad to be of help to somebody!

my contribution: Alex's Contributions

Link to comment
Share on other sites

Here we go:

 

-- cut --

 

Don't use this code as it is, cause is heavly modificated, and won't run on your site. Try to extrapolate what u need in the first place.

 

Glad to be of help to somebody!

 

Thanks Drako!

 

Go and try to figure out how to use is on my site.

 

Kees

Link to comment
Share on other sites

Thanx for this great contribution! Looks sweet, but i think maby i have misunderstod something. While installing i uploaded alot of images, next, prev and so on. I cant seem to find out where they are supposed to work. My best guess would be when you click a thumbnail, and the product has got more images. I would think these buttons where to be on the bottom with the close button for easy browsing the other pictures. Am i mistaken, and if so, where would i se the effect of these buttins. :D

Link to comment
Share on other sites

Thanx for this great contribution! Looks sweet, but i think maby i have misunderstod something. While installing i uploaded alot of images, next, prev and so on. I cant seem to find out where they are supposed to work. My best guess would be when you click a thumbnail, and the product has got more images. I would think these buttons where to be on the bottom with the close button for easy browsing the other pictures. Am i mistaken, and if so, where would i se the effect of these buttins. :D

with the last version I uploaded (don't know about the others), the prev-next buttons appear at the bottom of the popup window.

Link to comment
Share on other sites

with the last version I uploaded (don't know about the others), the prev-next buttons appear at the bottom of the popup window.

Problem solved.. The links in my stylesheet where wrong ../images/ - images/ :D

Thanx again for a great contrib!

Link to comment
Share on other sites

New problem :( After adding code for this contrib products that use morepics are pulling up the right side bar, currently i am running left and centre. But right bar is also beeing drawn but empty. anyone have any idea what pice of code i am to remove from the contrib code to resolve this problem. ?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...