//new productListingBox($list_box_contents);
} else {
    $list_box_contents = array();
    echo '<div class="product-listing-module-no-products"><div class="well"><p>' . TEXT_NO_PRODUCTS . '</p></div></div>';
    //   new productListingBox($list_box_contents);
}
?>
  <div class="clearfix"></div>
  <div class="content-product-listing-div">

<?php 
if ($listing_split->number_of_rows > 0 && (PREV_NEXT_BAR_LOCATION == '2' || PREV_NEXT_BAR_LOCATION == '3')) {
    ?>
      <div class="product-listing-module-pagination margin-bottom">
        <div class="pull-left large-margin-bottom page-results"><?php 
    echo $listing_split->display_count(TEXT_DISPLAY_NUMBER_OF_PRODUCTS);
    ?>
</div>
        <div class="pull-right large-margin-bottom no-margin-top">
          <ul class="pagination no-margin-top no-margin-bottom">
           <?php 
    echo $listing_split->display_links(MAX_DISPLAY_PAGE_LINKS, tep_get_all_get_params(array('page', 'info', 'x', 'y')));
    ?>

          </ul>
        </div>
      </div><div class="clear-both"></div>


<?php 
}
		<tfoot>
            <tr>
              <td></td>
              <td class="hide-on-mobile-portrait"></td>
              <td class="hide-on-mobile-portrait"></td>
              <td colspan="3"></td>

            </tr>
          </tfoot>
          </tbody>
		 </table>
<?php 
if ($listing_split->number_of_rows > 0 && (PREV_NEXT_BAR_LOCATION == '2' || PREV_NEXT_BAR_LOCATION == '3')) {
    ?>

      <div class="product-listing-module-pagination margin-bottom">
        <div class="pull-left large-margin-bottom page-results"><?php 
    echo $listing_split->display_count(TEXT_DISPLAY_NUMBER_OF_LINKS);
    ?>
</div>
        <div class="pull-right large-margin-bottom no-margin-top">
          <ul class="pagination no-margin-top no-margin-bottom">
		    <?php 
    echo TEXT_RESULT_PAGE . ' ' . $listing_split->display_links(MAX_DISPLAY_PAGE_LINKS, tep_get_all_get_params(array('page', 'info', 'x', 'y')));
    ?>
          </ul>
        </div>
      </div>
      <div class="clear-both"></div>
<?php 
}
$wishlist_sql = "select * from " . TABLE_WISHLIST . " where customers_id = '" . $_SESSION['customer_id'] . "' and products_id > 0 order by products_name";
$wishlist_split = new splitPageResults_rspv($wishlist_sql, MAX_DISPLAY_WISHLIST_PRODUCTS);
$wishlist_query = tep_db_query($wishlist_split->sql_query);
$info_box_contents = array();
if (tep_db_num_rows($wishlist_query)) {
    $product_ids = '';
    while ($wishlist = tep_db_fetch_array($wishlist_query)) {
        $product_ids .= $wishlist['products_id'] . ',';
    }
    $product_ids = substr($product_ids, 0, -1);
    $products_query = tep_db_query("select pd.products_id, pd.products_name, pd.products_description, p.products_image, p.products_price, p.products_tax_class_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where pd.products_id in (" . $product_ids . ") and p.products_id = pd.products_id and pd.language_id = '" . $languages_id . "' order by products_name");
    if ($wishlist_split->number_of_rows > 0 && (PREV_NEXT_BAR_LOCATION == '1' || PREV_NEXT_BAR_LOCATION == '3')) {
        ?>
      <div class="product-listing-module-pagination margin-bottom">
        <div class="pull-left large-margin-bottom page-results"><?php 
        echo $wishlist_split->display_count(TEXT_DISPLAY_NUMBER_OF_WISHLIST);
        ?>
</div>
        <div class="pull-right large-margin-bottom no-margin-top">
          <ul class="pagination no-margin-top no-margin-bottom">
           <?php 
        echo $wishlist_split->display_links(MAX_DISPLAY_PAGE_LINKS, tep_get_all_get_params(array('page', 'info', 'x', 'y')));
        ?>

          </ul>
        </div>
      </div><div class="clear-both"></div>


          <?php 
    }
  CRE Loaded, Commercial Open Source E-Commerce
  http://www.creloaded.com

  Copyright (c) 2008 CRE Loaded
  Copyright (c) 2003 osCommerce

  Released under the GNU General Public License
*/
// added for CDS CDpath support
$CDpath = isset($_SESSION['CDpath']) ? '&CDpath=' . $_SESSION['CDpath'] : '';
$listing_split = new splitPageResults_rspv($listing_sql, MAX_ARTICLES_PER_PAGE);
if ($listing_split->number_of_rows > 0 && (ARTICLE_PREV_NEXT_BAR_LOCATION == 'top' || ARTICLE_PREV_NEXT_BAR_LOCATION == 'both')) {
    ?>
      <div class="product-listing-module-pagination margin-bottom">
        <div class="pull-left large-margin-bottom page-results"><?php 
    echo $listing_split->display_count(TEXT_DISPLAY_NUMBER_OF_ARTICLES);
    ?>
</div>
        <div class="pull-right large-margin-bottom no-margin-top">
          <ul class="pagination no-margin-top no-margin-bottom">
          <?php 
    echo $listing_split->display_links(MAX_DISPLAY_PAGE_LINKS, tep_get_all_get_params(array('page', 'info', 'x', 'y')));
    ?>

          </ul>
        </div>
      </div><div class="clear-both"></div>
  <?php 
}
?>
<tr>