*********************************************************************************************************************
Change log and Version History
*********************************************************************************************************************

				Version 5.0.1 Phoenix 
				by @raiwa 
				info@oscaddons.com
				www.oscaddons.com

				Changes:        
         - modified "See More" button to show only if more recently products have been visited than number of recently products shown in module.Thanks to @Demitry for the suggestion
         - readded missing truncate text function in cm_sc_continue_recently_viewed.php shopping cart module
         - removed obsolete truncate text functions in box module
*********************************************************************************************************************

				Version 5.0.0 Phoenix 
				by @raiwa 
				info@oscaddons.com
				www.oscaddons.com

				Changes:        
         - updated to Phoenix 1.0.2.x
         - replaced ht-module with sidewide hook
         - updated coding to match Phoenix 1.0.2.0 product listings and config entries
         - simplified modules and removed config entries to show always product name, image and price
         - simplified description length limit
*********************************************************************************************************************

				Version 4.6.2 BS 
				by @raiwa 
				info@oscaddons.com
				www.oscaddons.com

				Changes:        
         - Fixed PHP 7.2 warning error in cm_sc_continue_recently_viewed.php shopping cart module. Thanks to @lucsangel for the report
*********************************************************************************************************************
				Version 4.6.1 BS 
				by @raiwa 
				info@oscaddons.com
				www.oscaddons.com

				Changes:        
         - Updated PHP 7.2 deprecated each() function in recently_viewed.php
*********************************************************************************************************************
				Version 4.6 BS 
				by @raiwa 
				info@oscaddons.com
				www.oscaddons.com

				Changes:        
         - Updated for 2.3.4.1. CE Frozen
         - Updated template naming and auto inclusion in all content modules
         - Added  "is-product" class and  "data-is-special"
         - Added "data-has-attributes", "data-in-stock" and "data-product-id" to "buy" buttons in all modules.
*********************************************************************************************************************
				Version 4.5 BS 
				by @raiwa 
				info@oscaddons.com
				www.oscaddons.com

				Changes:
				- Header Module added (thanks to @discxpress)
*********************************************************************************************************************
				Version 4.4 BS 
				by @raiwa 
				info@oscaddons.com
				www.oscaddons.com

				Changes:
				- Hardcoded paths in all files
*********************************************************************************************************************
				Version 4.3 BS 
				by @raiwa 
				info@oscaddons.com
				www.oscaddons.com

				Changes:
				- Changed $HTTP_GET_VARS to $_GET in [catalog]/recently_viewed.php
*********************************************************************************************************************
				Version 4.2 BS 
				by @raiwa 
				info@oscaddons.com
				www.oscaddons.com

				Changes:
				- Hardcoded all filenames and database table names
*********************************************************************************************************************
				Version 4.1 BS 
				by @raiwa 
				info@oscaddons.com
				www.oscaddons.com

				Changes:
				- Added micro data tags for products URL
				- Moved functions to the modules and removed separate function file
				- Added class method to get shopping cart item list in shopping cart modules
				- Fixed wrong instructions for shopping cart modularization.
				- Added class method to truncate product name and description
				- Fixed wrong text constant for continue shopping button in shopping cart module
*********************************************************************************************************************
				Version 4.0 BS 
				by @raiwa 
				info@oscaddons.com
				www.oscaddons.com

				Changes:
				- Added Continue shopping and recently viewed drop down menu shopping cart module. thanks to @Jack_mcs
				- Added recently viewed shopping cart module.
				- Added recently viewed index nested module for modularized index page introduced to 2.3.4 BS EDGE since 12th of May 2016.
				- Added random sort order.
				- Added Microdata tags in all modules
				- changed button icons to font awesome icons
				- sql queries rewritten and listings code simplified in all modules.
*********************************************************************************************************************
				Version 3.4 BS 
				by @raiwa 
				info@oscaddons.com
				www.oscaddons.com

				Changes:
				- Strip_tags added for products description to avoid missing end/closing tags when partial description is shown. thanks to @puddlec
				- class constructor name changed to __construct in all modules for php7 compatibility.
				- session unregister code moved from logoff page to ht module, less core changes. Thanks to @Tsimi for the code example in his discount code add-on
				- added alternative ht_recently_viewed module for compatibility with Modular Product Page (Bootstrap) by @kymation: http://addons.oscommerce.com/info/9453. Thanks to @Denzel
				- Screenshots included
*********************************************************************************************************************
				Version 3.3r1 BS by @raiwa info@oscaddons.com
				Changes:
				- Missing Product order configuration entry added to Recently Viewed box
*********************************************************************************************************************
				Version 3.3 BS by @raiwa info@oscaddons.com
				Changes:
				- Products queries optimized, removed tep_get_products_name and tep_get_products_special_price functions. Thanks to @marcello for the suggestion and code
				- <h5> tags replaced by <p> tags for better compatibility with core modules.
				- Wrong VIEW_BUY_BUTTON constant in index module fixed. Thanks to @grandpaj for the report
				- Added selection on which levels to show the index module (top, nested, products). Thanks to @f.figue for the idea
				- Version info updated in box and content modules
*********************************************************************************************************************
				Version 3.2r5 BS by @raiwa info@oscaddons.com
				Changes:
				- Addded instructions to show the recently viewed module on category and product level in index page. Thanks to @marcello
*********************************************************************************************************************
				Version 3.2r4 BS by @raiwa info@oscaddons.com
				Changes:
				- Fix in header tags module to avoid duplicate entry if the actual product is in first place in the list. Happened when going from product page to reviews or back.
*********************************************************************************************************************
				Version 3.2r3 BS by @raiwa info@oscaddons.com
				Thanks to @marcello for all reports and suggestions
				Changes:
				- Fixed typo in the product info module's configuration entrance "Enable Recently Viewed Module".
				- Several code clean ups in the product_info, index and header tag modules.
				- Instructions for Equal Height mode in the product_info module added.
				- Modified coding in header tags module so that page selection works and product_review page added by default.
				- Modified coding in header tags module to show correct order if a product is viewed again.
*********************************************************************************************************************
				Version 3.2r2 BS by @raiwa info@oscaddons.com
				Changes:
				- Fixed obsolete configuration entry for remmoved "Buy" button in index module. Thanks to @Tsimi for the report
*********************************************************************************************************************
				Version 3.2r1 BS by @raiwa info@oscaddons.com
				Changes:
				- Fixed missing function "tep_version_readonly" for module installation. Thanks to @chilinote
*********************************************************************************************************************
				Version 3.2 BS by @raiwa info@oscaddons.com
				Changes:
				- Added height control to product boxes in index and product info modules. Thanks to @De Dokta
				- Added "SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT" and removed obsolete "'hspace="2" vspace="3"'" in all modules. Thanks to @De Dokta
				- Corrected typo in instructions "logoff.php" instead of "login.php". Thanks to @grandpaj
				- Added "View" and "Buy" buttons to the index module like new products and specials.
				- Added version Info to all modules
				- Code clean up
				- Added update instructions for Version 3.0 and 3.1
*********************************************************************************************************************
				Version 3.1 BS by @raiwa info@oscaddons.com
				Changes:
				- Moved the script which registers the visited products from the product_info module to a separate header tags module.
				  The 3 recently viewed modules can be installed now independent in any combination.
				- Bug-fix in the sql queries for the case if product price is disabled. Thanks to Chris @ringo667
				- Error message added to all modules if header tag module is not active.
				- session unregister code added to logout.php
				- globals clean-up in all modules
				- improved installation and troubleshooting. Thanks to Chris @ringo667
*********************************************************************************************************************
				Version 3.0 BS by @raiwa info@oscaddons.com
				Changes:
				- Updated for Bootstrap
				- All modules updated for Bootstrap box and content modules
				- recently viewed page updated to use core product_listing.php
				- hardcoded database table names and filenames
				- spanish and german language files added
				- Easy installation
*********************************************************************************************************************
				Based on:
				http://addons.oscommerce.com/info/5520
        1.0 Original version by b00
        2.0 Updates and additional features by Kymation
*********************************************************************************************************************
