Jump to content

Archived

This topic is now archived and is closed to further replies.

luigicosta

link not working and table going crazy

Recommended Posts

is two hours that I can not get out of this problem, the link to buy it now does not work and I do not understand why ....

Table I can not put in place in the right way

now missing opening and closing tags

But if I put all the regular tag table is going crazy.

any ideas?

 

 

<table border="0" cellspacing="0" cellpadding="0" width="0">
 <tr>
<td><img src="/images/sx_alt.gif" width="16" height="16" /></td>
<td background="/images/linea_top.gif"></td>
 </tr>
 <tr>
<td align="center" background="/images/linea_up_sx.gif">
<td align="center" valign="top"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $new_products['products_image'], $new_products['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br /><h3><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . $new_products['products_name'] . '</a></h3><h1>'. $currencies->display_price($new_products['products_price'], tep_get_tax_rate($new_products['products_tax_class_id'])) . '</h1>
  ' . tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('buy-button2.png') . '<br></td>
</td>

 </tr>
 <tr>
<td><img src="/images/sx_bot.gif" width="16" height="16" /></td>
<td background="/images/linea_bot.gif"></td>
<td><img src="/images/dx_bot.gif" width="16" height="16" /></td>
 </tr>
</table>

 

 

 

http://www.footballshirtstar.com/index.php

Share this post


Link to post
Share on other sites

ok I found the problem....

<table border="0" cellspacing="0" cellpadding="0">
 <tr>
   <td><img src="sx_alt.gif" width="16" height="16" /></td>
   <td background="linea_top.gif"></td>
   <td><img src="dx_alt.gif" width="16" height="16" /></td>
 </tr>
 <tr>
   <td background="linea_up_sx.gif"></td>
   <td align="center"><table border="0" width="100%" cellspacing="4" cellpadding="4">';
   while ($new_products = tep_db_fetch_array($new_products_query)) {
  $counter++;
  if ($col === 0) {
    $new_prods_content .= '<tr>';
  }
  $new_prods_content .= '


<td width="33%" align="center" valign="top"><table border="0" cellspacing="0" cellpadding="0" width="0">
 <tr>
   <td><img src="/images/sx_alt.gif" width="16" height="16" /></td>
   <td background="/images/linea_top.gif"></td>
   <td><img src="/images/dx_alt.gif" width="16" height="16"></td>
 </tr>
 <tr>
   <td align="center" background="/images/linea_up_sx.gif">
   <td align="center" valign="top"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $new_products['products_image'], $new_products['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br /><h3><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . $new_products['products_name'] . '</a></h3><h1>'. $currencies->display_price($new_products['products_price'], tep_get_tax_rate($new_products['products_tax_class_id'])) . '</h1>
  ' . tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('buy-button2.png') . '<br></td>
   <td background="/images/linea_up_dx.gif">
   </td>
 </tr>
 <tr>
   <td><img src="/images/sx_bot.gif" width="16" height="16" /></td>
   <td background="/images/linea_bot.gif"></td>
   <td><img src="/images/dx_bot.gif" width="16" height="16" /></td>
 </tr>
</table></td>
';
  $col ++;
  if (($col > 2) || ($counter == $num_new_products)) {
    $new_prods_content .= '</tr>';
    $col = 0;
  }
   }
   $new_prods_content .= '</table></td>
   <td background="linea_up_dx.gif"></td>
 </tr>
 <tr>
   <td><img src="sx_bot.gif" width="16" height="16" /></td>
   <td background="linea_bot.gif"></td>
   <td><img src="dx_bot.gif" width="16" height="16" /></td>
 </tr>
</table>

 

 

 

but the image in cart still not work...... :huh:

Share this post


Link to post
Share on other sites

×