Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

John Doswell

Team
  • Posts

    530
  • Joined

  • Last visited

Everything posted by John Doswell

  1. ULTIMATE Seo Urls 5 PRO ( version 1.1 ) - Performance Standard URI produced: 58 SEO URI produced: 19 Query Count: 11 Queries Saved: 8 Cache load time: 0 seconds ( includes gzinflate/base64_decode/unserialize ) Data loaded from cache: false ( Cache System: Sqlite_Cache_Module ) Total query time: 0.0103 seconds Cache system is Off Standard Urls: http://domain.de/index.php view = yes http://domain.de/index.php view = yes http://domain.de/pages.php?page=versand view = no (blank page) http://domain.de/pages.php?page=impressum view = no (blank page) http://domain.de/pages.php?page=agb view = no (blank page) http://domain.de/shipping.php view = no (blank page) http://domain.de/contact_us.php view = no (blank page) http://domain.de/index.php?language=en view= yes http://domain.de/index.php?language=de view = yes http://domain.de/login.php view = no (blank page) http://domain.de/create_account.php view = no (blank page) http://domain.de/shipping.php view = no (blank page) http://domain.de/advanced_search.php view = no (blank page) http://domain.de/advanced_search_result.php view = no (blank page) http://domain.de/products_new.php view = no (blank page) http://domain.de/specials.php view = no (blank page) http://domain.de/manufacturers.php view = no (blank page) http://domain.de/reviews.php view = no (blank page) http://domain.de/contact_us.php view = no (blank page) http://domain.de/shopping_cart.php view = no (blank page) http://domain.de/login.php view = no (blank page) http://domain.de/create_account.php view = no (blank page) http://domain.de/index.php view = yes http://domain.de/featured_products.php view = no (blank page) http://domain.de/products_new.php view = no (blank page) http://domain.de/specials.php view = no (blank page) http://domain.de/manufacturers.php view = no (blank page) http://domain.de/topsellers_products.php view = no (blank page) http://domain.de/reviews.php view = no (blank page) http://domain.de/shipping.php view = no (blank page) http://domain.de/contact_us.php view = no (blank page) http://domain.de/product_info.php?products_id=54 view = yes http://domain.de/products_new.php?action=buy_now&products_id=54 view = no (blank page) http://domain.de/product_info.php?products_id=53 view = yes http://domain.de/products_new.php?action=buy_now&products_id=53 view = no (blank page) http://domain.de/product_info.php?products_id=52 view = yes http://domain.de/products_new.php?action=buy_now&products_id=52 view = no (blank page) http://domain.de/product_info.php?products_id=51 view = yes http://domain.de/products_new.php?action=buy_now&products_id=51 view = no (blank page) regards john
  2. hi there, my categories , index and products work fine... but when i call contact_us.php or specials.php and all other static pages they all turn out blank! anybody know how to fix that??? regards john
  3. ich hatte auch das post nach deinem hinweis geändert... ein klick auf Dokumentation hätte jedoch sicherlich auch zum erfolg geführt... greetz john
  4. yep, thanks a bunch... i figured it out allready ;) works perfekt! regards john
  5. 2.1d ORIGINAL updated FWR Media 23 Feb 2008 or do you mean 2.1d ORIGINAL updated www.in.no 8 May 2008 ??? regards john
  6. i am having a problem with the seo contrib. i installed it on a modded product_info page and the in cart button dont work! so i taken a original product_info cause i thought that it might have a form error, but it still dont work! any ideas on this problem??? regards john
  7. ok, fixed it, i changed $StartGrab = '<html>'; $EndGrab = '</html>'; now it works in account info page, but not in admin :( and also i have ü ö in the output... i see if i can remove that... greetz john
  8. hi there, i am trying to use the dpd.co.uk module fpr the german dpd.net... i have changed to settings to the new url and also adjusted the value from 10 digits to 14 digits! in admin side i get in catalog side i only get: then the tracking url is how can i get this to work!??? where can i find out about the regular expression /^d{10}$/ if they are right? is the problem the regular expressions??? thank you for your help!!! greetz john
  9. Kommentare augeschaltet.

  10. in what contribution i can find the file 'url_write.php' ??? looked in seo urls with admin and could not find it, thank you... greetz john
  11. http://www.oscommerce.com/community?contributions=&search=header+tags&category=all greetz john
  12. sicher wenn man seinen shop ausstatted wie ein schweizer käse und löcher in den shop macht! ich habe es mal getestet und habe einen shop komplett von der domain gelöscht! das ergebniss... es kam immernoch mail greetz john
  13. sicher da hast du recht, wer lesen kann ist sicherlich im vorteil, deswegen postest du in deinem post #5 einen link zu elmar, weil ich dir gesagt habe du sollst nach ampel und ampel system suchen! greetz john
  14. fragt sich gerade nur was elmar mit einer (lager) ampel funktion zu tun hat!? greetz john
  15. wenn du nach ampel oder +ampel +system oder so suchst, findest du tausende von einträgen, probleme und problemlösungen! greeetz john
  16. schon mal danach gesucht? http://www.oscommerce.com/community/contributions,158/category,all/search,affiliate greetz john
  17. http://www.oscommerce.com/solutions/downloads greetz john
  18. http://www.oscommerce.com/community/roadmap greetz john
  19. hi und willkommen, der hacken liegt dort das du zb. für deutschland noch anpassungen machen musst für PAngV, und jede menge zeit und gedult mitbringen musst um deine änderungen zu machen! solltest du diese nicht haben, kannst du nach den richtlinien von http://forums.oscommerce.de/index.php?showtopic=29559 hier --> http://forums.oscommerce.de/index.php?showforum=9 ein post machen, um einen shop in auftrag zu geben... suche im forum nach copyright... kannst du, der download ist hier --> http://www.oscommerce.com/solutions/downloads (kostenlos) eine vorschau von dem shop, den du herunterladen kannst findest du hier --> http://demo.oscommerce.com/ greetz john
  20. its missing the column in the database... you need to run the sql command via phpMyAdmin or simular! greetz john
  21. dont matter i have fixed it and will upload the fix now... btw. the read me said Combined Login/Create Account Page! and yes i have taken it from i have made modifications myself so i can chose to setup a retail account where only addess, tel, email, email confimation, password, password confirmation and newsletter is askes for and the option to setup an account or not. for wholesale i have set it up so you get asked company name and contact person, newsletter, upload a image! all data from both is checked and confirmed on a new page ;) (no its not in my upload!) merry x-mass and thank you :thumbsup: greetz john
  22. thank you all for your help... i have backup my files and put the nice contrib in to the bin! i dont want to say its crap, it looks nice but simple dont work (for me), and no it dont work by replacing the files (new version and old version) :thumbsup: greetz john
  23. hi... i have installed the contribution! wenn i chose to create a account or not to chose one i get the error Warning: reset() [function.reset]: Passed variable is not an array or object in /home/www/htdocs/shop1/includes/classes/email.php on line 71 Warning: Variable passed to each() is not an array or object in /home/www/htdocs/shop1/includes/classes/email.php on line 72 Fatal error: Call to a member function on a non-object in /home/www/htdocs/shop1/includes/functions/general.php on line 970 Query was empty - Query was empty Query was empty [TEP STOP] Warning: Unknown(): A session is active. You cannot change the session module's ini settings at this time. in Unknown on line 0 greetz john
  24. as i get a lot of mail (keep it comming) and i dont know who i answerd and who not... cant keep track sorry :-" here is the complete master_listing including sppc / pricebreak to show the right price ;) <?php /* $Id: master_listing.php osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Master Products MS2 - JOHNSON - 05/07/2003 [email protected] Copyright (c) 2003 Suomedia - Dynamic Content Management Released under the GNU General Public License */ $listing_split = new splitPageResults($master_sql, MAX_DISPLAY_SEARCH_RESULTS, 'products_master'); if ( ($listing_split->number_of_rows > 0) && ( (MASTER_PREV_NEXT_BAR_LOCATION == '1') || (MASTER_PREV_NEXT_BAR_LOCATION == '3') ) ) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="smallText"><?php echo $listing_split->display_count(TEXT_DISPLAY_NUMBER_OF_PRODUCTS); ?></td> <td class="smallText" align="right"><?php echo TEXT_RESULT_PAGE . ' ' . $listing_split->display_links(MAX_DISPLAY_PAGE_LINKS, tep_get_all_get_params(array('page', 'info', 'x', 'y'))); ?></td> </tr> </table> <?php } $list_box_contents = array(); for ($col=0, $n=sizeof($column_list); $col<$n; $col++) { switch ($column_list[$col]) { case 'MASTER_LIST_MODEL': $lc_text = TABLE_HEADING_MODEL; $lc_align = ''; break; case 'MASTER_LIST_NAME': $lc_text = TABLE_HEADING_PRODUCTS; $lc_align = ''; break; case 'MASTER_LIST_DESCRIPTION': $lc_text = TABLE_HEADING_DESCRIPTION; $lc_align = 'center'; break; case 'MASTER_LIST_ATTRIBUTES': $lc_text = TABLE_HEADING_ATTRIBUTES; $lc_align = 'center'; break; case 'MASTER_LIST_MANUFACTURER': $lc_text = TABLE_HEADING_MANUFACTURER; $lc_align = ''; break; case 'MASTER_LIST_PRICE': $lc_text = TABLE_HEADING_PRICE; $lc_align = 'right'; break; case 'MASTER_LIST_QUANTITY': $lc_text = TABLE_HEADING_QUANTITY; $lc_align = 'right'; break; case 'MASTER_LIST_WEIGHT': $lc_text = TABLE_HEADING_WEIGHT; $lc_align = 'right'; break; case 'MASTER_LIST_IMAGE': $lc_text = TABLE_HEADING_IMAGE; $lc_align = 'center'; break; case 'MASTER_LIST_BUY_NOW': $lc_text = TABLE_HEADING_BUY_NOW; $lc_align = 'center'; break; } if ( ($column_list[$col] != 'MASTER_LIST_BUY_NOW') && ($column_list[$col] != 'MASTER_LIST_IMAGE' && ($column_list[$col] != 'MASTER_LIST_MULTIPLE' && ($column_list[$col] != 'MASTER_LIST_DESCRIPTION'))) ) { $lc_text = tep_create_sort_heading($HTTP_GET_VARS['sort'], $col+1, $lc_text); } $list_box_contents[0][] = array('align' => $lc_align, 'params' => 'class="productListing-heading"', 'text' => ' ' . $lc_text . ' '); } if ($listing_split->number_of_rows > 0) { $rows = 0; $listing_query = tep_db_query($listing_split->sql_query); // BOF Separate Pricing per Customer, Price Break 1.11.3 modification $no_of_listings = tep_db_num_rows($listing_query); // global variable (session) $sppc_customer_group_id -> local variable customer_group_id if(!tep_session_is_registered('sppc_customer_group_id')) { $customer_group_id = '0'; } else { $customer_group_id = $sppc_customer_group_id; } $default_settings = array('products_price1' => '0.0000', 'products_price2' => '0.0000', 'products_price3' => '0.0000', 'products_price4' => '0.0000', 'products_price5' => '0.0000', 'products_price6' => '0.0000', 'products_price7' => '0.0000', 'products_price8' => '0.0000', 'products_price1_qty' => '0', 'products_price2_qty' => '0', 'products_price3_qty' => '0', 'products_price4_qty' => '0', 'products_price5_qty' => '0', 'products_price6_qty' => '0', 'products_price7_qty' => '0', 'products_price8_qty' => '0', 'products_qty_blocks' => '1'); while ($_listing = tep_db_fetch_array($listing_query)) { // let's start with default settings, you never know $_new_listing = array_merge($_listing , $default_settings); $listing[] = $_new_listing; $list_of_prdct_ids[] = $_listing['products_id']; } // next part is a debug feature, when uncommented it will print the info that this module receives /* echo '<pre>'; print_r($listing); echo '</pre>'; */ $select_list_of_prdct_ids = "products_id = '".$list_of_prdct_ids[0]."' "; if ($no_of_listings > 1) { for ($n = 1; $n < count($list_of_prdct_ids); $n++) { $select_list_of_prdct_ids .= "or products_id = '".$list_of_prdct_ids[$n]."' "; } } // to avoid messing with index.php, which is complicated of itself already // we add another query here to get the price break variables for retail customers // for other groups we change the $pg_query from the one in SPPC4 if ($customer_group_id == '0') { $retail_price_break_query = tep_db_query("select p.products_id, p.products_price1, p.products_price2, p.products_price3, p.products_price4, p.products_price5, p.products_price6, p.products_price7, p.products_price8, p.products_price1_qty, p.products_price2_qty, p.products_price3_qty, p.products_price4_qty, p.products_price5_qty, p.products_price6_qty, p.products_price7_qty, p.products_price8_qty, p.products_qty_blocks from " . TABLE_PRODUCTS . " p where " . $select_list_of_prdct_ids . ""); while ($rp_break = tep_db_fetch_array($retail_price_break_query)) { for ($u = 0; $u < $no_of_listings; $u++) { if ($rp_break['products_id'] == $listing[$u]['products_id']) { $listing[$u]['products_price1'] = $rp_break['products_price1']; $listing[$u]['products_price2'] = $rp_break['products_price2']; $listing[$u]['products_price3'] = $rp_break['products_price3']; $listing[$u]['products_price4'] = $rp_break['products_price4']; $listing[$u]['products_price5'] = $rp_break['products_price5']; $listing[$u]['products_price6'] = $rp_break['products_price6']; $listing[$u]['products_price7'] = $rp_break['products_price7']; $listing[$u]['products_price8'] = $rp_break['products_price8']; $listing[$u]['products_price1_qty'] = $rp_break['products_price1_qty']; $listing[$u]['products_price2_qty'] = $rp_break['products_price2_qty']; $listing[$u]['products_price3_qty'] = $rp_break['products_price3_qty']; $listing[$u]['products_price4_qty'] = $rp_break['products_price4_qty']; $listing[$u]['products_price5_qty'] = $rp_break['products_price5_qty']; $listing[$u]['products_price6_qty'] = $rp_break['products_price6_qty']; $listing[$u]['products_price7_qty'] = $rp_break['products_price7_qty']; $listing[$u]['products_price8_qty'] = $rp_break['products_price8_qty']; $listing[$u]['products_qty_blocks'] = $rp_break['products_qty_blocks']; } // end if ($rp_break['products_id'] == $listing[$u]['products_id']) } // end for ($u = 0; $u < $no_of_listings; $u++) } // end while ($rp_break = tep_db_fetch_array($retail_price_break_query) } // end if ($customer_group_id == '0') // get all product prices for products with the particular customer_group_id // however not necessary for customer_group_id = 0 if ($customer_group_id != '0') { $pg_query = tep_db_query("select pg.products_id, customers_group_price as price, pg.products_price1, pg.products_price2, pg.products_price3, pg.products_price4, pg.products_price5, pg.products_price6, pg.products_price7, pg.products_price8, pg.products_price1_qty, pg.products_price2_qty, pg.products_price3_qty, pg.products_price4_qty, pg.products_price5_qty, pg.products_price6_qty, pg.products_price7_qty, pg.products_price8_qty, pg.products_qty_blocks from " . TABLE_PRODUCTS_GROUPS . " pg where (".$select_list_of_prdct_ids.") and pg.customers_group_id = '".$customer_group_id."' "); // $no_of_pg_products = tep_db_num_rows($pg_query); while ($pg_array = tep_db_fetch_array($pg_query)) { $new_prices[] = array ('products_id' => $pg_array['products_id'], 'products_price' => $pg_array['price'], 'specials_new_products_price' => '', 'final_price' => $pg_array['price'], 'products_price1' => $pg_array['products_price1'], 'products_price2' => $pg_array['products_price2'], 'products_price3' => $pg_array['products_price3'], 'products_price4' => $pg_array['products_price4'], 'products_price5' => $pg_array['products_price5'], 'products_price6' => $pg_array['products_price6'], 'products_price7' => $pg_array['products_price7'], 'products_price8' => $pg_array['products_price8'], 'products_price1_qty' => $pg_array['products_price1_qty'], 'products_price2_qty' => $pg_array['products_price2_qty'], 'products_price3_qty' => $pg_array['products_price3_qty'], 'products_price4_qty' => $pg_array['products_price4_qty'], 'products_price5_qty' => $pg_array['products_price5_qty'], 'products_price6_qty' => $pg_array['products_price6_qty'], 'products_price7_qty' => $pg_array['products_price7_qty'], 'products_price8_qty' => $pg_array['products_price8_qty'], 'products_qty_blocks' => $pg_array['products_qty_blocks']); } for ($x = 0; $x < $no_of_listings; $x++) { // replace products prices with those from customers_group table if(!empty($new_prices)) { for ($i = 0; $i < count($new_prices); $i++) { if( $listing[$x]['products_id'] == $new_prices[$i]['products_id'] ) { $listing[$x]['products_price'] = $new_prices[$i]['products_price']; $listing[$x]['final_price'] = $new_prices[$i]['final_price']; $listing[$x]['products_price1'] = $new_prices[$i]['products_price1']; $listing[$x]['products_price2'] = $new_prices[$i]['products_price2']; $listing[$x]['products_price3'] = $new_prices[$i]['products_price3']; $listing[$x]['products_price4'] = $new_prices[$i]['products_price4']; $listing[$x]['products_price5'] = $new_prices[$i]['products_price5']; $listing[$x]['products_price6'] = $new_prices[$i]['products_price6']; $listing[$x]['products_price7'] = $new_prices[$i]['products_price7']; $listing[$x]['products_price8'] = $new_prices[$i]['products_price8']; $listing[$x]['products_price1_qty'] = $new_prices[$i]['products_price1_qty']; $listing[$x]['products_price2_qty'] = $new_prices[$i]['products_price2_qty']; $listing[$x]['products_price3_qty'] = $new_prices[$i]['products_price3_qty']; $listing[$x]['products_price4_qty'] = $new_prices[$i]['products_price4_qty']; $listing[$x]['products_price5_qty'] = $new_prices[$i]['products_price5_qty']; $listing[$x]['products_price6_qty'] = $new_prices[$i]['products_price6_qty']; $listing[$x]['products_price7_qty'] = $new_prices[$i]['products_price7_qty']; $listing[$x]['products_price8_qty'] = $new_prices[$i]['products_price8_qty']; $listing[$x]['products_qty_blocks'] = $new_prices[$i]['products_qty_blocks']; } } } // end if(!empty($new_prices) $listing[$x]['specials_new_products_price'] = ''; // makes sure that a retail specials price doesn't carry over to another customer group $listing[$x]['final_price'] = $listing[$x]['products_price']; // final price should not be the retail special price } // end for ($x = 0; $x < $no_of_listings; $x++) } // end if ($customer_group_id != '0') // an extra query is needed for all the specials $specials_query = tep_db_query("select products_id, specials_new_products_price from " . TABLE_SPECIALS . " where (".$select_list_of_prdct_ids.") and status = '1' and customers_group_id = '" .$customer_group_id. "'"); while ($specials_array = tep_db_fetch_array($specials_query)) { $new_s_prices[] = array ('products_id' => $specials_array['products_id'], 'products_price' => '', 'specials_new_products_price' => $specials_array['specials_new_products_price'] , 'final_price' => $specials_array['specials_new_products_price']); } // add the correct specials_new_products_price and replace final_price for ($x = 0; $x < $no_of_listings; $x++) { if(!empty($new_s_prices)) { for ($i = 0; $i < count($new_s_prices); $i++) { if( $listing[$x]['products_id'] == $new_s_prices[$i]['products_id'] ) { $listing[$x]['specials_new_products_price'] = $new_s_prices[$i]['specials_new_products_price']; $listing[$x]['final_price'] = $new_s_prices[$i]['final_price']; } } } // end if(!empty($new_s_prices) } // end for ($x = 0; $x < $no_of_listings; $x++) // while ($listing = tep_db_fetch_array($listing_query)) { (was original code) for ($x = 0; $x < $no_of_listings; $x++) { $rows++; if (($rows/2) == floor($rows/2)) { $list_box_contents[] = array('params' => 'class="productListing-even"'); } else { $list_box_contents[] = array('params' => 'class="productListing-odd"'); } $cur_row = sizeof($list_box_contents) - 1; for ($col=0, $n=sizeof($column_list); $col<$n; $col++) { $lc_align = ''; $lc_params = ''; switch ($column_list[$col]) { case 'MASTER_LIST_MODEL': $lc_align = ''; $lc_text = ' ' . $listing[$x]['products_model'] . ' '; break; case 'MASTER_LIST_NAME': $lc_align = ''; if (isset($HTTP_GET_VARS['manufacturers_id'])) { $lc_text = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'manufacturers_id=' . $HTTP_GET_VARS['manufacturers_id'] . '&products_id=' . $listing[$x]['products_id']) . '">' . $listing[$x]['products_name'] . '</a>'; } else { $lc_text = ' ' . $listing[$x]['products_name'] . '</a> '; } break; case 'MASTER_LIST_DESCRIPTION': $lc_align = ''; $lc_text = ' ' . osc_trunc_string(strip_tags($listing[$x]['products_description'], '<a><b><em><font><i><s><span><strong><sub><sup><u>'), MASTER_LIST_DESCRIPTION_LENGTH) . ' '; break; case 'MASTER_LIST_MANUFACTURER': $lc_align = ''; $lc_text = ' <a href="' . tep_href_link(FILENAME_DEFAULT, 'manufacturers_id=' . $listing[$x]['manufacturers_id']) . '">' . $listing[$x]['manufacturers_name'] . '</a> '; break; case 'MASTER_LIST_PRICE': $lc_align = 'right'; /* removed for price break modification if (tep_not_null($listing[$x]['specials_new_products_price'])) { $lc_text = ' <s>' . $currencies->display_price($listing[$x]['products_price'], tep_get_tax_rate($listing[$x]['products_tax_class_id'])) . '</s> <span class="productSpecialPrice">' . $currencies->display_price($listing[$x]['specials_new_products_price'], tep_get_tax_rate($listing[$x]['products_tax_class_id'])) . '</span> '; } else { $lc_text = ' ' . $currencies->display_price($listing[$x]['products_price'], tep_get_tax_rate($listing[$x]['products_tax_class_id'])) . ' '; } end removed for price break modification, see next two lines for replacement code */ $pf->parse($listing[$x]); $lc_text = $pf->getPriceStringShort(); break; case 'MASTER_LIST_QUANTITY': $lc_align = 'right'; $lc_text = ' ' . $listing[$x]['products_quantity'] . ' '; break; case 'MASTER_LIST_WEIGHT': $lc_align = 'right'; $lc_text = ' ' . $listing[$x]['products_weight'] . ' '; break; case 'MASTER_LIST_IMAGE': $lc_align = 'center'; if (isset($HTTP_GET_VARS['manufacturers_id'])) { $lc_text = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'manufacturers_id=' . $HTTP_GET_VARS['manufacturers_id'] . '&products_id=' . $listing[$x]['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $listing[$x]['products_image'], $listing[$x]['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a>'; } else { $lc_text = ' <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing[$x]['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $listing[$x]['products_image'], $listing[$x]['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a> '; } break; case 'MASTER_LIST_BUY_NOW': $lc_align = 'center'; $lc_valign = 'top'; if ((STOCK_CHECK == 'true')&&(tep_get_products_stock($listing[$x]['products_id']) < 1)) { $lc_text = TEXT_STOCK; } elseif ((STOCK_CHECK == 'false')&&(tep_get_products_stock($listing[$x]['products_id']) < 1)) { $qty_array = array(); for ($i=0; $ns = 20, $i <= $ns; $i++) { $qty_array[] = array('id' => $i, 'text' => $i); $lc_text = tep_draw_pull_down_menu('Qty_ProdId_' . $listing[$x]['products_id'], $qty_array); } } else { $quantity = tep_get_products_stock($listing[$x]['products_id']); $qty_array = array(); for ($i=0; $ns = (($quantity < 20) ? $quantity : 20), $i <= $ns; $i++) { $qty_array[] = array('id' => $i, 'text' => $i); $lc_text = tep_draw_pull_down_menu('Qty_ProdId_' . $listing[$x]['products_id'], $qty_array); } } break; } $list_box_contents[$cur_row][] = array('align' => $lc_align, 'valign' => $lc_valign, 'params' => 'class="productListing-data"', 'text' => $lc_text); } } new productListingBox($list_box_contents); } else { $list_box_contents = array(); $list_box_contents[0] = array('params' => 'class="productListing-odd"'); $list_box_contents[0][] = array('params' => 'class="productListing-data"', 'text' => TEXT_NO_PRODUCTS); new productListingBox($list_box_contents); } ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> </table> <?php if ( ($listing_split->number_of_rows > 0) && ((MASTER_PREV_NEXT_BAR_LOCATION == '2') || (MASTER_PREV_NEXT_BAR_LOCATION == '3')) ) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="smallText"><?php echo $listing_split->display_count(TEXT_DISPLAY_NUMBER_OF_PRODUCTS); ?></td> <td class="smallText" align="right"><?php echo TEXT_RESULT_PAGE . ' ' . $listing_split->display_links(MAX_DISPLAY_PAGE_LINKS, tep_get_all_get_params(array('page', 'info', 'x', 'y'))); ?></td> </tr> </table> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php } ?> greetz john
×
×
  • Create New...