// Do not put any HTML or blank lines above this code /* ===================================================== FeedShare (SM) - by Lushann Web Technologies ----------------------------------------------------- http://www.FeedShare.com/ ----------------------------------------------------- Copyright (c) 2005 Lushann Web Technologies, LLC. ===================================================== THIS IS COPYRIGHTED SOFTWARE PLEASE READ THE LICENSE AGREEMENT http://www.FeedShare.com/php_license.aspx ===================================================== File: store.php Version: 1.5 Date: 12/28/05 ----------------------------------------------------- Purpose: This page presents products in a grid view. This format is best for showing products on a defualt/home page. ===================================================== */ // Disable PHP notifications error_reporting(E_ALL ^ E_NOTICE); ///////////////////////////////////////////////////// // // REQUIRED PAGE SETTINGS // // These settings are specific to this page, allowing // you to have different pages with different layouts, // number of products and product images sizes. // ///////////////////////////////////////////////////// // This is the ID of the advertiser that this page will be showing products from. To get the ID // of a particular advertiser, refer to the affiliate code download page for that advertiser and // select "PHP Store Front" as the Integration Method. You can have different pages showing products // from different advertisers by changing the setting below for each page. Just make sure you are // an approved affiliate for each advertisers affiliate program. $gs_AdvID = '15'; // Your Affiliate ID Number for the specified advertisers affiliate program $gs_AffID = 'CD681'; // The ID of the feed you wish to display on this page. Use '0' to show products from // all of your advertisers feeds. If you wish to show products only from a specific feed, // please visit the affiliate page where you downloaded this code from to view the ID of // each feed available from your advertiser. // // In the list_feeds.php module, feed names will be shown in the order you specify // them here. $gs_FeedID = '3'; // Only applies when using multiple feed IDs. Specifies the default feed to display. // Use '0' to show products from all specified feeds by default. $gs_DefaultFeedID = '0'; // What layout mode do you want to use? $gs_LayoutType = 1; // 0 = Grid (shows products in a table with multiple columns); // 1 = Summary (shows products in one column with image to the left) // 2 = Auto (initally shows products in Grid mode. searching changes to Summary mode) // How Many Products Do You Want To Show Per Page? $gs_DefaultPageSize = 12; // Specify what page sizes will be available $gs_PageSizeOptions = array( 16, 32, 64 ); // Specify the height in pixels of the product images $gs_ImgSize = 65; // What's the maximum number of characters to show in the product description? $gs_DescMaxLen = 20; // How do you want to sort the products by default? $gs_DefaultSort = 0; // 0 = Product Name A-Z; // 1 = Product Name Z-A; // 2 = Low Price; // 3 = High Price // Do you want to show group (category/brand/etc) dropdown list boxes at the top of the page? $gs_ShowGroups = 3; // 0 = Show none; // 1 = Show categories only (if available); // 2 = Show brands only (if available); // 3 = Show categories and brands (if available) // Do you want your links to open in a new window when visitors leave your site? $gs_Target = 'blank'; // 'blank' = Show in new window; // 'top' = Stay in the same window // // NOTE: If $gs_ProdLinkDestination is set to 0 (details page), the product link will // always open in the same window but the "Buy Now" link will use what is specified // in the $gs_Target setting. // Specify the "Buy Now" image to use (path should be absolute or relative from location of the store.php page) $gs_BuyNowImg = 'buynow.gif'; // Do you want to show product descriptions? $gs_ShowDesc = 0; // 0 = No; // 1 = Yes // Do you want all the product links to have the rel="nofollow" attribute? // This attribute tells search engines not to index or follow the urls and can help keep // your store content from being seen as "affiliate spam" $gs_UseNoFollow = 1; // 0 = No; // 1 = Yes // Define what text you want appended to the page title after the text you specify in the $gs_BasePageTitle setting $gs_TitleAppend = 3; // 0 = None // 1 = Feed name // 2 = Category/Brand // 3 = Feed name & category/brand // This setting determines if the product urls are hidden from the browser's status bar $gs_HideProdURLs = 1; // 0 = Show // 1 = Hide // If the $gs_HideProdURLs setting is set to Hide, this setting specifies the url to be shown // in the browser status bar, in place of the product url $gs_ProdURLText = 'Done'; ///////////////////////////////////////////////////// // // OPTIONAL SETTINGS // ///////////////////////////////////////////////////// // To show products that match specific words, enter them below, seperated by a space // NOTE: Please limit the number of keywords to 20 or less $gs_Keywords = ''; // Specify how to search products by the provided keywords $gs_KeywordType = 1; // 0 = Any - Return products that match any of the keywords // 1 = All - Return products that match all of the keywords // Specify an image to show if a product image is missing or fails to show in the browser $gs_BackupImgURL = 'arrow_next.gif'; // Specify the page title you'd like used for each page. Any selected feed name/brand/category // will be auto appended to the title you specify $gs_BasePageTitle = 'Neonights '; // Instead of showing product prices, this setting allows you to specify a custom value to // show in their place. To show the product price, leave this value set to '' $gs_AltPriceText = ''; ///////////////////////////////////////////////////// // // GRID LAYOUT ONLY SETTINGS // // These settings only apply if this page is set to // display products in the grid format // ///////////////////////////////////////////////////// // How Many Products Do You Want To Show Per Row? $gs_RowSize = 4; ?> include("fs_php/core/system.php"); ?>