Ver Mensaje Individual
  #1 (permalink)  
Antiguo 05/02/2008, 10:34
Avatar de milerweb
milerweb
 
Fecha de Ingreso: enero-2008
Ubicación: Lima peru
Mensajes: 81
Antigüedad: 16 años, 3 meses
Puntos: 1
Ayuda!!!!!!!!!!

hola tengo este codigo
Código PHP:
if (isset($HTTP_GET_VARS['mamate_manufacturers_id'])) {
               
// linea modificada
              
$lc_text '<br><br><a href="' tep_href_link(FILENAME_PRODUCT_INFO'mamate_manufacturers_id=' $HTTP_GET_VARS['mamate_manufacturers_id'] . '&mamate_products_id=' $listing['mamate_products_id']) . '">' tep_image(DIR_WS_IMAGES $listing['mamate_products_image'], $listing['mamate_products_name'], "400"SMALL_IMAGE_HEIGHT) . '</a>';
            } else {
               
// linea modificada
              
$lc_text '<br><br>&nbsp;<a href="' tep_href_link(FILENAME_PRODUCT_INFO, ($cPath 'cPath=' $cPath '&' '') . 'mamate_products_id=' $listing['mamate_products_id']) . '">' tep_image(DIR_WS_IMAGES $listing['mamate_products_image'], $listing['mamate_products_name'], $col_ancho$col_alto) . '</a>&nbsp;';
            }
            break;
          case 
'PRODUCT_LIST_BUY_NOW':
            
$lc_align 'center';
            
$lc_text '<a href="' tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&mamate_products_id=' $listing['mamate_products_id']) . '">' tep_image_button('button_buy_now.gif'TEXT_BUY $listing['mamate_products_name'] . TEXT_NOW) . '</a>&nbsp;';
            break;
        }

        
$list_box_contents[$cur_row][] = array('align' => $lc_align,
                                               
'params' => 'class="productListing-data"',
                                               
'text'  => $lc_text);
      }
    } 

y quisiera que me ayuden insertarle este codigo javascript dentro del codigo php que tengo.

<a href="images/full-image.jpg" class="highslide" onclick="return hs.expand(this)">
<img src="images/thumbnail.jpg" alt="Highslide JS"
title="Click to enlarge" height="120" width="107" /></a>