Jump to content

Text right and left in same line


avu

Recommended Posts

I like this part of the text to show on the right side. And the rest of the below code on the left.

Also like to remove the space on 3mm between each line.

'<strong>' . $currencies->display_price($products[$i]['final_price'], tep_get_tax_rate($products[$i]['tax_class_id']), $products[$i]['quantity']) . '</strong>';

<table border="0" width="100%" cellspacing="0" cellpadding="0">

<?php

    for ($i=0, $n=sizeof($products); $i<$n; $i++) {
      echo '      <tr>';

      $products_name = '<table border="0" cellspacing="0" cellpadding="0">' .
                       '  <tr>' .
                       '    <td align="center"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '">' . tep_image(DIR_WS_IMAGES . $products[$i]['image'], $products[$i]['name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a></td>' .
                       '    <td align="center">' . tep_draw_button(IMAGE_BUTTON_UPDATE, 'refresh') . tep_draw_input_field('cart_quantity[]', $products[$i]['quantity'], 'size="2"') . tep_draw_hidden_field('products_id[]', $products[$i]['id']);
				   

      if (STOCK_CHECK == 'true') {
        $stock_check = tep_check_stock($products[$i]['id'], $products[$i]['quantity']);
        if (tep_not_null($stock_check)) {
          $any_out_of_stock = 1;

          $products_name .= $stock_check;
        }
      }

      if (isset($products[$i]['attributes']) && is_array($products[$i]['attributes'])) {
        reset($products[$i]['attributes']);
        while (list($option, $value) = each($products[$i]['attributes'])) {
          $products_name .= ' ' . '' . $products[$i][$option]['products_options_values_name'] . ' ';          
  $products_name .= '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '"><strong>' . $products[$i]['name'] . '</strong></a>' . '  ' .
          '        <strong>' . $currencies->display_price($products[$i]['final_price'], tep_get_tax_rate($products[$i]['tax_class_id']), $products[$i]['quantity']) . '</strong>';

        }
      }


      $products_name .= '    </td>' .
                        '  </tr>' .
                        '</table>';

      echo '        <td valign="top">' . $products_name . '</td>' .
   
           '      </tr>';
    }
?>

    </table>

Link to comment
Share on other sites

Finally find out how to remove the space

 

change the code to

$products_name = '<table border="0" cellspacing="0" cellpadding="0" style="border:0px;padding:0.5px;margin:0px;">' .

 

now just need to move the text to the right

Link to comment
Share on other sites

If do like this it now in 2 lines not 1, and it go only right to the end of the line about (the line that is text left side) not out to the table right side.

<table border="0" width="100%" cellspacing="0" cellpadding="0">

<?php

    for ($i=0, $n=sizeof($products); $i<$n; $i++) {
      echo '      <tr>';

      $products_name = '<table border="0" cellspacing="0" cellpadding="0" style="border:0px;padding:0.5px;margin:0px;">' .
                       '  <tr>' .
                       '    <p><td align="center"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '">' . tep_image(DIR_WS_IMAGES . $products[$i]['image'], $products[$i]['name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a></td>' .
                       '    <td align="center">' . tep_draw_button(IMAGE_BUTTON_UPDATE, 'refresh') . tep_draw_input_field('cart_quantity[]', $products[$i]['quantity'], 'size="2"') . tep_draw_hidden_field('products_id[]', $products[$i]['id']);
				   

      if (STOCK_CHECK == 'true') {
        $stock_check = tep_check_stock($products[$i]['id'], $products[$i]['quantity']);
        if (tep_not_null($stock_check)) {
          $any_out_of_stock = 1;

          $products_name .= $stock_check;
        }
      }

      if (isset($products[$i]['attributes']) && is_array($products[$i]['attributes'])) {
        reset($products[$i]['attributes']);
        while (list($option, $value) = each($products[$i]['attributes'])) {
          $products_name .= ' ' . '' . $products[$i][$option]['products_options_values_name'] . ' ';          
  $products_name .= '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '"><strong>' . $products[$i]['name'] . '</strong></a></p>' . '  ' .
          '<p class="right"><strong>' . $currencies->display_price($products[$i]['final_price'], tep_get_tax_rate($products[$i]['tax_class_id']), $products[$i]['quantity']) . '</strong>';

        }
      }


      $products_name .= '    </td></p>' .
                        '  </tr>' .
                        '</table>';

Link to comment
Share on other sites

This is the HTML section - so you should be showing the HTML output of your code, not the PHP logic.

 

That said, your problem is the table. Maybe someone else will help you with that - I haven't been doing tables since around 2002 or 2003. They are outdated code these days.

 

Good luck!

Link to comment
Share on other sites

Dos it help to show this?

<table border="0" width="100%" cellspacing="0" cellpadding="0">

      <tr>        <td valign="top"><table border="0" cellspacing="0" cellpadding="0" style="border:0px;padding:0.5px;margin:0px;">  <tr>    <p><td align="center"><a href="http://localhost/product_info.php?products_id=29{1}1"></a></td>    <td align="center"><span class="tdbLink"><button id="tdb4" type="submit">Update</button></span><script type="text/javascript">$("#tdb4").button({icons:{primary:"ui-icon-refresh"}}).addClass("ui-priority-secondary").parent().removeClass("tdbLink");</script><input type="text" name="cart_quantity[]" value="1" size="2" /><input type="hidden" name="products_id[]" value="29{1}1" /> 01 Red <a href="http://localhost/product_info.php?products_id=29{1}1"><strong>Round Ball 18.5 cm (100 balls)</strong></a></p>  <p class="right"><strong>300.00฿</strong>    </td></p>  </tr></table></td>      </tr>      <tr>        <td valign="top"><table border="0" cellspacing="0" cellpadding="0" style="border:0px;padding:0.5px;margin:0px;">  <tr>    <p><td align="center"><a href="http://localhost/product_info.php?products_id=29{1}2"></a></td>    <td align="center"><span class="tdbLink"><button id="tdb5" type="submit">Update</button></span><script type="text/javascript">$("#tdb5").button({icons:{primary:"ui-icon-refresh"}}).addClass("ui-priority-secondary").parent().removeClass("tdbLink");</script><input type="text" name="cart_quantity[]" value="2" size="2" /><input type="hidden" name="products_id[]" value="29{1}2" /> 02 Orange Yellow <a href="http://localhost/product_info.php?products_id=29{1}2"><strong>Round Ball 18.5 cm (100 balls)</strong></a></p>  <p class="right"><strong>600.00฿</strong>    </td></p>  </tr></table></td>      </tr>      <tr>        <td valign="top"><table border="0" cellspacing="0" cellpadding="0" style="border:0px;padding:0.5px;margin:0px;">  <tr>    <p><td align="center"><a href="http://localhost/product_info.php?products_id=29{1}3"></a></td>    <td align="center"><span class="tdbLink"><button id="tdb6" type="submit">Update</button></span><script type="text/javascript">$("#tdb6").button({icons:{primary:"ui-icon-refresh"}}).addClass("ui-priority-secondary").parent().removeClass("tdbLink");</script><input type="text" name="cart_quantity[]" value="3" size="2" /><input type="hidden" name="products_id[]" value="29{1}3" /> 03 Orange <a href="http://localhost/product_info.php?products_id=29{1}3"><strong>Round Ball 18.5 cm (100 balls)</strong></a></p>  <p class="right"><strong>900.00฿</strong>    </td></p>  </tr></table></td>      </tr>      <tr>        <td valign="top"><table border="0" cellspacing="0" cellpadding="0" style="border:0px;padding:0.5px;margin:0px;">  <tr>    <p><td align="center"><a href="http://localhost/product_info.php?products_id=29{1}4"></a></td>    <td align="center"><span class="tdbLink"><button id="tdb7" type="submit">Update</button></span><script type="text/javascript">$("#tdb7").button({icons:{primary:"ui-icon-refresh"}}).addClass("ui-priority-secondary").parent().removeClass("tdbLink");</script><input type="text" name="cart_quantity[]" value="4" size="2" /><input type="hidden" name="products_id[]" value="29{1}4" /> 04 Parstel Pink <a href="http://localhost/product_info.php?products_id=29{1}4"><strong>Round Ball 18.5 cm (100 balls)</strong></a></p>  <p class="right"><strong>1,200.00฿</strong>    </td></p>  </tr></table></td>      </tr>
    </table>

Link to comment
Share on other sites

Now I got just like i want it, thanks a lot for your help Haku

 

This is what i did

<table border="0" width="100%" cellspacing="0" cellpadding="0">

<?php

    for ($i=0, $n=sizeof($products); $i<$n; $i++) {
      echo '      <tr>';

      $products_name = '<table border="0" width="100%" cellspacing="0" cellpadding="0" style="border:0px;padding:0.5px;margin:0px;">' .
                       '  <tr>' .
                       '    <li class="left" style="list-style: none; padding-left: 0px; margin: 0px; "><td><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '">' . tep_image(DIR_WS_IMAGES . $products[$i]['image'], $products[$i]['name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a></td>' .
                       '    <td>' . tep_draw_button(IMAGE_BUTTON_UPDATE, 'refresh') . tep_draw_input_field('cart_quantity[]', $products[$i]['quantity'], 'size="2"') . tep_draw_hidden_field('products_id[]', $products[$i]['id']);
				   

      if (STOCK_CHECK == 'true') {
        $stock_check = tep_check_stock($products[$i]['id'], $products[$i]['quantity']);
        if (tep_not_null($stock_check)) {
          $any_out_of_stock = 1;

          $products_name .= $stock_check;
        }
      }

      if (isset($products[$i]['attributes']) && is_array($products[$i]['attributes'])) {
        reset($products[$i]['attributes']);
        while (list($option, $value) = each($products[$i]['attributes'])) {
          $products_name .= ' ' . '' . $products[$i][$option]['products_options_values_name'] . ' ';          
  $products_name .= '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '"><strong>' . $products[$i]['name'] . '</strong></a></li>' . '  ' .
          '<li class="right" style="list-style: none; padding-left: 0px; margin: 0px; "><strong>' . $currencies->display_price($products[$i]['final_price'], tep_get_tax_rate($products[$i]['tax_class_id']), $products[$i]['quantity']) . '</strong>';

        }
      }


      $products_name .= '    </td></li>' .
                        '  </tr>' .
                        '</table>';

Link to comment
Share on other sites

Now I try online and the space between the image and the update button are different from line to line.

another problem are the product with out attributes don’t show the following code

$products_name .= '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '"><strong>' . $products[$i]['name'] . '</strong></a></li>' . '' .
          '<li class="right" style="list-style: none; padding-left: 0px; margin: 0px; "><strong>' . $currencies->display_price($products[$i]['final_price'], tep_get_tax_rate($products[$i]['tax_class_id']), $products[$i]['quantity']) . '</strong>';

Link to comment
Share on other sites

<div class="contentText">

<input type="hidden" name="id[29{1}1][1]" value="1" />
<input type="hidden" name="id[29{1}2][1]" value="2" />
<input type="hidden" name="id[29{1}3][1]" value="3" />
<input type="hidden" name="id[29{1}4][1]" value="4" />
<input type="hidden" name="id[29{1}5][1]" value="5" />
<input type="hidden" name="id[29{1}7][1]" value="7" />
<input type="hidden" name="id[29{1}8][1]" value="8" />
<input type="hidden" name="id[33{1}1][1]" value="1" />
<input type="hidden" name="id[33{1}2][1]" value="2" />
<input type="hidden" name="id[33{1}3][1]" value="3" />
<input type="hidden" name="id[33{1}4][1]" value="4" />

    <table border="0" width="100%" cellspacing="0" cellpadding="0">

      <tr>        <td valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0" style="border:0px;padding:0.5px;margin:0px;"> 
<tr>    <li class="left" style="list-style: none; padding-left: 0px; margin: 0px; ">
<td><a href="http://xxxxxxx.com/product_info.php?products_id=29{1}1">
<img src="images/185.jpg" alt="Round Ball 18.5 cm (100 balls)" title=" Round Ball 18.5 cm (100 balls) " width="40" height="25" /></a></td>
    <td><span class="tdbLink"><button id="tdb5" type="submit">Update</button></span>
<script type="text/javascript">$("#tdb5").button({icons:{primary:"ui-icon-refresh"}}).addClass("ui-priority-secondary").parent().removeClass("tdbLink");</script><input type="text" name="cart_quantity[]" value="1" size="2" />
<input type="hidden" name="products_id[]" value="29{1}1" /> 01 Red <a href="http://xxxxxxx.com/product_info.php?products_id=29{1}1">
<strong>Round Ball 18.5 cm (100 balls)</strong></a></li>  
<li class="right" style="list-style: none; padding-left: 0px; margin: 0px; "><strong>300.00 ฿</strong>    </td></li>  </tr></table></td>      </tr> 

     <tr>        <td valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0" style="border:0px;padding:0.5px;margin:0px;">
  <tr>    <li class="left" style="list-style: none; padding-left: 0px; margin: 0px; ">
<td><a href="http://xxxxxxx.com/product_info.php?products_id=29{1}2">
<img src="images/185.jpg" alt="Round Ball 18.5 cm (100 balls)" title=" Round Ball 18.5 cm (100 balls) " width="40" height="25" /></a></td>
    <td><span class="tdbLink"><button id="tdb6" type="submit">Update</button></span>
<script type="text/javascript">$("#tdb6").button({icons:{primary:"ui-icon-refresh"}}).addClass("ui-priority-secondary").parent().removeClass("tdbLink");</script><input type="text" name="cart_quantity[]" value="2" size="2" />
<input type="hidden" name="products_id[]" value="29{1}2" /> 02 Orange Yellow <a href="http://xxxxxxx.com/product_info.php?products_id=29{1}2">
<strong>Round Ball 18.5 cm (100 balls)</strong></a></li>  
<li class="right" style="list-style: none; padding-left: 0px; margin: 0px; "><strong>600.00 ฿</strong>    </td></li>  </tr></table></td>      </tr>

      <tr>        <td valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0" style="border:0px;padding:0.5px;margin:0px;">  <tr>    <li class="left" style="list-style: none; padding-left: 0px; margin: 0px; "><td><a href="http://xxxxxxx.com/product_info.php?products_id=29{1}3"><img src="images/185.jpg" alt="Round Ball 18.5 cm (100 balls)" title=" Round Ball 18.5 cm (100 balls) " width="40" height="25" /></a></td>    <td><span class="tdbLink"><button id="tdb7" type="submit">Update</button></span><script type="text/javascript">$("#tdb7").button({icons:{primary:"ui-icon-refresh"}}).addClass("ui-priority-secondary").parent().removeClass("tdbLink");</script><input type="text" name="cart_quantity[]" value="3" size="2" /><input type="hidden" name="products_id[]" value="29{1}3" /> 03 Orange <a href="http://xxxxxxx.com/product_info.php?products_id=29{1}3"><strong>Round Ball 18.5 cm (100 balls)</strong></a></li>  <li class="right" style="list-style: none; padding-left: 0px; margin: 0px; "><strong>900.00 ฿</strong>    </td></li>  </tr></table></td>      </tr>      <tr>        <td valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0" style="border:0px;padding:0.5px;margin:0px;">  <tr>    <li class="left" style="list-style: none; padding-left: 0px; margin: 0px; "><td><a href="http://xxxxxxx.com/product_info.php?products_id=29{1}4"><img src="images/185.jpg" alt="Round Ball 18.5 cm (100 balls)" title=" Round Ball 18.5 cm (100 balls) " width="40" height="25" /></a></td>    <td><span class="tdbLink"><button id="tdb8" type="submit">Update</button></span><script type="text/javascript">$("#tdb8").button({icons:{primary:"ui-icon-refresh"}}).addClass("ui-priority-secondary").parent().removeClass("tdbLink");</script><input type="text" name="cart_quantity[]" value="4" size="2" /><input type="hidden" name="products_id[]" value="29{1}4" /> 04 Parstel Pink <a href="http://xxxxxxx.com/product_info.php?products_id=29{1}4"><strong>Round Ball 18.5 cm (100 balls)</strong></a></li>  <li class="right" style="list-style: none; padding-left: 0px; margin: 0px; "><strong>1,200.00 ฿</strong>    </td></li>  </tr></table></td>      </tr>      <tr>        <td valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0" style="border:0px;padding:0.5px;margin:0px;">  <tr>    <li class="left" style="list-style: none; padding-left: 0px; margin: 0px; "><td><a href="http://xxxxxxx.com/product_info.php?products_id=29{1}5"><img src="images/185.jpg" alt="Round Ball 18.5 cm (100 balls)" title=" Round Ball 18.5 cm (100 balls) " width="40" height="25" /></a></td>    <td><span class="tdbLink"><button id="tdb9" type="submit">Update</button></span><script type="text/javascript">$("#tdb9").button({icons:{primary:"ui-icon-refresh"}}).addClass("ui-priority-secondary").parent().removeClass("tdbLink");</script><input type="text" name="cart_quantity[]" value="5" size="2" /><input type="hidden" name="products_id[]" value="29{1}5" /> 05 Light Burgundy <a href="http://xxxxxxx.com/product_info.php?products_id=29{1}5"><strong>Round Ball 18.5 cm (100 balls)</strong></a></li>  <li class="right" style="list-style: none; padding-left: 0px; margin: 0px; "><strong>1,500.00 ฿</strong>    </td></li>  </tr></table></td>      </tr>     

<tr>        <td valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0" style="border:0px;padding:0.5px;margin:0px;">
  <tr>    <li class="left" style="list-style: none; padding-left: 0px; margin: 0px; ">
<td><a href="http://xxxxxxx.com/product_info.php?products_id=31">
<img src="images/185.jpg" alt="35 green light" title=" 35 green light " width="40" height="25" /></a></td>    <td><span class="tdbLink">
<button id="tdb10" type="submit">Update</button></span>
<script type="text/javascript">$("#tdb10").button({icons:{primary:"ui-icon-refresh"}}).addClass("ui-priority-secondary").parent().removeClass("tdbLink");</script><input type="text" name="cart_quantity[]" value="6" size="2" />
<input type="hidden" name="products_id[]" value="31" />    </td></li>  </tr></table></td>      </tr>   


   <tr>        <td valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0" style="border:0px;padding:0.5px;margin:0px;">  <tr>    <li class="left" style="list-style: none; padding-left: 0px; margin: 0px; "><td><a href="http://xxxxxxx.com/product_info.php?products_id=29{1}7"><img src="images/185.jpg" alt="Round Ball 18.5 cm (100 balls)" title=" Round Ball 18.5 cm (100 balls) " width="40" height="25" /></a></td>    <td><span class="tdbLink"><button id="tdb11" type="submit">Update</button></span><script type="text/javascript">$("#tdb11").button({icons:{primary:"ui-icon-refresh"}}).addClass("ui-priority-secondary").parent().removeClass("tdbLink");</script><input type="text" name="cart_quantity[]" value="7" size="2" /><input type="hidden" name="products_id[]" value="29{1}7" /> 07 Purple <a href="http://xxxxxxx.com/product_info.php?products_id=29{1}7"><strong>Round Ball 18.5 cm (100 balls)</strong></a></li>  <li class="right" style="list-style: none; padding-left: 0px; margin: 0px; "><strong>2,100.00 ฿</strong>    </td></li>  </tr></table></td>      </tr>      <tr>        <td valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0" style="border:0px;padding:0.5px;margin:0px;">  <tr>    <li class="left" style="list-style: none; padding-left: 0px; margin: 0px; "><td><a href="http://xxxxxxx.com/product_info.php?products_id=29{1}8"><img src="images/185.jpg" alt="Round Ball 18.5 cm (100 balls)" title=" Round Ball 18.5 cm (100 balls) " width="40" height="25" /></a></td>    <td><span class="tdbLink"><button id="tdb12" type="submit">Update</button></span><script type="text/javascript">$("#tdb12").button({icons:{primary:"ui-icon-refresh"}}).addClass("ui-priority-secondary").parent().removeClass("tdbLink");</script><input type="text" name="cart_quantity[]" value="8" size="2" /><input type="hidden" name="products_id[]" value="29{1}8" /> 08 Strong Yellow <a href="http://xxxxxxx.com/product_info.php?products_id=29{1}8"><strong>Round Ball 18.5 cm (100 balls)</strong></a></li>  <li class="right" style="list-style: none; padding-left: 0px; margin: 0px; "><strong>2,400.00 ฿</strong>    </td></li>  </tr></table></td>      </tr>      <tr>        <td valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0" style="border:0px;padding:0.5px;margin:0px;">  <tr>    <li class="left" style="list-style: none; padding-left: 0px; margin: 0px; "><td><a href="http://xxxxxxx.com/product_info.php?products_id=32"><img src="images/185.jpg" alt="17 CM Ball" title=" 17 CM Ball " width="40" height="25" /></a></td>    <td><span class="tdbLink"><button id="tdb13" type="submit">Update</button></span><script type="text/javascript">$("#tdb13").button({icons:{primary:"ui-icon-refresh"}}).addClass("ui-priority-secondary").parent().removeClass("tdbLink");</script><input type="text" name="cart_quantity[]" value="9" size="2" /><input type="hidden" name="products_id[]" value="32" />    </td></li>  </tr></table></td>      </tr>      <tr>        <td valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0" style="border:0px;padding:0.5px;margin:0px;">  <tr>    <li class="left" style="list-style: none; padding-left: 0px; margin: 0px; "><td><a href="http://xxxxxxx.com/product_info.php?products_id=30"><img src="images/185.jpg" alt="20 CM Ball" title=" 20 CM Ball " width="40" height="25" /></a></td>    <td><span class="tdbLink"><button id="tdb14" type="submit">Update</button></span><script type="text/javascript">$("#tdb14").button({icons:{primary:"ui-icon-refresh"}}).addClass("ui-priority-secondary").parent().removeClass("tdbLink");</script><input type="text" name="cart_quantity[]" value="10" size="2" /><input type="hidden" name="products_id[]" value="30" />    </td></li>  </tr></table></td>      </tr>      <tr>        <td valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0" style="border:0px;padding:0.5px;margin:0px;">  <tr>    <li class="left" style="list-style: none; padding-left: 0px; margin: 0px; "><td><a href="http://xxxxxxx.com/product_info.php?products_id=33{1}1"><img src="images/185.jpg" alt="Round Ball 20 cm (100 balls)" title=" Round Ball 20 cm (100 balls) " width="40" height="25" /></a></td>    <td><span class="tdbLink"><button id="tdb15" type="submit">Update</button></span><script type="text/javascript">$("#tdb15").button({icons:{primary:"ui-icon-refresh"}}).addClass("ui-priority-secondary").parent().removeClass("tdbLink");</script><input type="text" name="cart_quantity[]" value="2" size="2" /><input type="hidden" name="products_id[]" value="33{1}1" /> 01 Red <a href="http://xxxxxxx.com/product_info.php?products_id=33{1}1"><strong>Round Ball 20 cm (100 balls)</strong></a></li>  <li class="right" style="list-style: none; padding-left: 0px; margin: 0px; "><strong>800.00 ฿</strong>    </td></li>  </tr></table></td>      </tr>      <tr>        <td valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0" style="border:0px;padding:0.5px;margin:0px;">  <tr>    <li class="left" style="list-style: none; padding-left: 0px; margin: 0px; "><td><a href="http://xxxxxxx.com/product_info.php?products_id=33{1}2"><img src="images/185.jpg" alt="Round Ball 20 cm (100 balls)" title=" Round Ball 20 cm (100 balls) " width="40" height="25" /></a></td>    <td><span class="tdbLink"><button id="tdb16" type="submit">Update</button></span><script type="text/javascript">$("#tdb16").button({icons:{primary:"ui-icon-refresh"}}).addClass("ui-priority-secondary").parent().removeClass("tdbLink");</script><input type="text" name="cart_quantity[]" value="3" size="2" /><input type="hidden" name="products_id[]" value="33{1}2" /> 02 Orange Yellow <a href="http://xxxxxxx.com/product_info.php?products_id=33{1}2"><strong>Round Ball 20 cm (100 balls)</strong></a></li>  <li class="right" style="list-style: none; padding-left: 0px; margin: 0px; "><strong>1,200.00 ฿</strong>    </td></li>  </tr></table></td>      </tr>      <tr>        <td valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0" style="border:0px;padding:0.5px;margin:0px;">  <tr>    <li class="left" style="list-style: none; padding-left: 0px; margin: 0px; "><td><a href="http://xxxxxxx.com/product_info.php?products_id=33{1}3"><img src="images/185.jpg" alt="Round Ball 20 cm (100 balls)" title=" Round Ball 20 cm (100 balls) " width="40" height="25" /></a></td>    <td><span class="tdbLink"><button id="tdb17" type="submit">Update</button></span><script type="text/javascript">$("#tdb17").button({icons:{primary:"ui-icon-refresh"}}).addClass("ui-priority-secondary").parent().removeClass("tdbLink");</script><input type="text" name="cart_quantity[]" value="45" size="2" /><input type="hidden" name="products_id[]" value="33{1}3" /> 03 Orange <a href="http://xxxxxxx.com/product_info.php?products_id=33{1}3"><strong>Round Ball 20 cm (100 balls)</strong></a></li>  <li class="right" style="list-style: none; padding-left: 0px; margin: 0px; "><strong>18,000.00 ฿</strong>    </td></li>  </tr></table></td>      </tr>      <tr>        <td valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0" style="border:0px;padding:0.5px;margin:0px;">  <tr>    <li class="left" style="list-style: none; padding-left: 0px; margin: 0px; "><td><a href="http://xxxxxxx.com/product_info.php?products_id=33{1}4"><img src="images/185.jpg" alt="Round Ball 20 cm (100 balls)" title=" Round Ball 20 cm (100 balls) " width="40" height="25" /></a></td>    <td><span class="tdbLink"><button id="tdb18" type="submit">Update</button></span><script type="text/javascript">$("#tdb18").button({icons:{primary:"ui-icon-refresh"}}).addClass("ui-priority-secondary").parent().removeClass("tdbLink");</script><input type="text" name="cart_quantity[]" value="6" size="2" /><input type="hidden" name="products_id[]" value="33{1}4" /> 04 Parstel Pink <a href="http://xxxxxxx.com/product_info.php?products_id=33{1}4"><strong>Round Ball 20 cm (100 balls)</strong></a></li>  <li class="right" style="list-style: none; padding-left: 0px; margin: 0px; "><strong>2,400.00 ฿</strong>    </td></li>  </tr></table></td>      </tr>
    </table>

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.