<?

	/*==================================================================*\
	######################################################################
	#                                                                    #
	# Copyright 2005 Arca Solutions, Inc. All Rights Reserved.           #
	#                                                                    #
	# This file may not be redistributed in whole or part.               #
	# eDirectory is licensed on a per-domain basis.                      #
	#                                                                    #
	# ---------------- eDirectory IS NOT FREE SOFTWARE ----------------- #
	#                                                                    #
	# http://www.edirectory.com | http://www.edirectory.com/license.html #
	######################################################################
	\*==================================================================*/

	# ----------------------------------------------------------------------------------------------------
	# * FILE: /conf/constants_default.inc.php
	# ----------------------------------------------------------------------------------------------------

    # ----------------------------------------------------------------------------------------------------
	# IMAGE PARAMETERS (keep the ratio)
	# ----------------------------------------------------------------------------------------------------

	# LISTING
    define("IMAGE_LISTING_FULL_WIDTH",          690); //detail
    define("IMAGE_LISTING_FULL_HEIGHT",         300); //detail
    define("IMAGE_LISTING_THUMB_WIDTH",         309); //summary
    define("IMAGE_LISTING_THUMB_HEIGHT",        134); //summary
    define("IMAGE_FEATURED_LISTING_WIDTH",      217); //featured (home page and /listing - theme Default/Real Estate)
    define("IMAGE_FEATURED_LISTING_HEIGHT",     123); //featured (home page and /listing - theme Default/Real Estate)
    # PROMOTION
    define("IMAGE_PROMOTION_FULL_WIDTH",        690); //detail
    define("IMAGE_PROMOTION_FULL_HEIGHT",       300); //detail
    define("IMAGE_PROMOTION_THUMB_WIDTH",       309); //summary
    define("IMAGE_PROMOTION_THUMB_HEIGHT",      134); //summary
    define("IMAGE_PROMOTION_THUMB_BIG_WIDTH",   263); //detail (theme Default/Real Estate)
    define("IMAGE_PROMOTION_THUMB_BIG_HEIGHT",  148); //detail (theme Default/Real Estate)
    define("IMAGE_FEATURED_PROMOTION_WIDTH",    660); //special deal (theme Default/Real Estate)
    define("IMAGE_FEATURED_PROMOTION_HEIGHT",   387); //special deal (theme Default/Real Estate)
    # EVENT
    define("IMAGE_EVENT_FULL_WIDTH",            690); //detail
    define("IMAGE_EVENT_FULL_HEIGHT",           300); //detail
    define("IMAGE_EVENT_THUMB_WIDTH",           309); //summary
    define("IMAGE_EVENT_THUMB_HEIGHT",          134); //summary
    define("IMAGE_FEATURED_EVENT_WIDTH",        244); //featured (home page and "/event" - theme Default/Real Estate)
    define("IMAGE_FEATURED_EVENT_HEIGHT",       138); //featured (home page and "/event" - theme Default/Real Estate)
    # CLASSIFIED
    define("IMAGE_CLASSIFIED_FULL_WIDTH",       690); //detail
    define("IMAGE_CLASSIFIED_FULL_HEIGHT",      300); //detail
    define("IMAGE_CLASSIFIED_THUMB_WIDTH",      309); //summary
    define("IMAGE_CLASSIFIED_THUMB_HEIGHT",     134); //summary
    define("IMAGE_FEATURED_CLASSIFIED_WIDTH",   217); //featured (home page and "/classified" - theme Default/Real Estate)
    define("IMAGE_FEATURED_CLASSIFIED_HEIGHT",  123); //featured (home page and "/classified" - theme Default/Real Estate)
    # ARTICLE
    define("IMAGE_ARTICLE_FULL_WIDTH",          690); //detail
    define("IMAGE_ARTICLE_FULL_HEIGHT",         300); //detail
    define("IMAGE_ARTICLE_THUMB_WIDTH",         309); //summary
    define("IMAGE_ARTICLE_THUMB_HEIGHT",        134); //summary
    define("IMAGE_FEATURED_ARTICLE_WIDTH",      244); //featured (home page and "/article" - theme Default/Real Estate)
    define("IMAGE_FEATURED_ARTICLE_HEIGHT",     138); //featured (home page and "/article" - theme Default/Real Estate)
    # BLOG
    define("IMAGE_BLOG_FULL_WIDTH",             690); //detail
    define("IMAGE_BLOG_FULL_HEIGHT",            300); //detail
    define("IMAGE_BLOG_THUMB_WIDTH_FULL",       309); //summary
    define("IMAGE_BLOG_THUMB_HEIGHT_FULL",      134); //summary
    define("IMAGE_BLOG_THUMB_WIDTH",            309); //summary
    define("IMAGE_BLOG_THUMB_HEIGHT",           134); //summary
    # FRONT PAGE
    define("IMAGE_FRONT_LISTING_WIDTH",         244); //featured items (home page - theme Default/Real Estate)
    define("IMAGE_FRONT_LISTING_HEIGHT",        138); //featured items (home page - theme Default/Real Estate)
    define("IMAGE_FRONT_PROMOTION_WIDTH",       300); //featured items (home page - theme Default/Real Estate)
    define("IMAGE_FRONT_PROMOTION_HEIGHT",      170); //featured items (home page - theme Default/Real Estate)
    define("IMAGE_FRONT_EVENT_WIDTH",           217); //featured items (home page - theme Default/Real Estate)
    define("IMAGE_FRONT_EVENT_HEIGHT",          123); //featured items (home page - theme Default/Real Estate)
    define("IMAGE_FRONT_CLASSIFIED_WIDTH",      217); //featured items (home page - theme Default/Real Estate)
    define("IMAGE_FRONT_CLASSIFIED_HEIGHT",     123); //featured items (home page - theme Default/Real Estate)
    define("IMAGE_FRONT_ARTICLE_WIDTH",         217); //featured items (home page - theme Default/Real Estate)
    define("IMAGE_FRONT_ARTICLE_HEIGHT",        123); //featured items (home page - theme Default/Real Estate)
    # DESIGNATION
    define("IMAGE_DESIGNATION_WIDTH",           109); //badges
    define("IMAGE_DESIGNATION_HEIGHT",          23); //badges
    # INVOICE
    define("IMAGE_INVOICE_LOGO_WIDTH",          180); //invoice logo
    define("IMAGE_INVOICE_LOGO_HEIGHT",         70); //invoice logo
    # GALLERY
    define("IMAGE_GALLERY_THUMB_WIDTH",         100); //gallery thumbs
    define("IMAGE_GALLERY_THUMB_HEIGHT",        43); //gallery thumbs
    # HEADER
    define("IMAGE_HEADER_WIDTH",                330); //header
    define("IMAGE_HEADER_HEIGHT",               50); //header
    # HEADER RESPONSIVE
    define("MOBILE_LOGO_WIDTH",                 50); //header
	define("MOBILE_LOGO_HEIGHT",                50); //header
    # SIDEBAR
    define("SIDEBAR_FEATURED_WIDTH",            73); //popular topics, recents tops (blog) and listing (deal detail)
    define("SIDEBAR_FEATURED_HEIGHT",           41); //popular topics, recents tops (blog) and listing (deal detail)
    # PROFILE
    define("PROFILE_IMAGE_WIDTH",               60); //front pages
    define("PROFILE_IMAGE_HEIGHT",              60); //front pages
    define("PROFILE_MEMBERS_IMAGE_WIDTH",       90); //members/profile pages
    define("PROFILE_MEMBERS_IMAGE_HEIGHT",      90); //members/profile pages
    # PACKAGE
    define("IMAGE_PACKAGE_FULL_WIDTH",          260); //package
    define("IMAGE_PACKAGE_FULL_HEIGHT",         260); //package
    define("IMAGE_PACKAGE_THUMB_WIDTH",         200); //package
    define("IMAGE_PACKAGE_THUMB_HEIGHT",        150); //package
    # SLIDER
    define("IMAGE_SLIDER_WIDTH",                945); //slider
    define("IMAGE_SLIDER_HEIGHT",               409); //slider
    # BACKGROUND IMAGE
    define("IMAGE_THEME_BACKGROUND_W", 1800);
    define("IMAGE_THEME_BACKGROUND_H", 370);
    
    # ----------------------------------------------------------------------------------------------------
	# FANCYBOX SIZES
	# ----------------------------------------------------------------------------------------------------

    # Upload image
    define("FANCYBOX_UPIMAGE_WIDTH",          785);
    define("FANCYBOX_UPIMAGE_HEIGHT",         465);
       
    # Modules preview (members/sitemgr)
    define("FANCYBOX_ITEM_PREVIEW_WIDTH",     1110);
    define("FANCYBOX_ITEM_PREVIEW_HEIGHT",    440);
    
    # Login box
    define("FANCYBOX_LOGIN_WIDTH",            250);
    define("FANCYBOX_LOGIN_HEIGHT",           360);
    
    # ----------------------------------------------------------------------------------------------------
	# VIDEO SIZE
	# ----------------------------------------------------------------------------------------------------
    define("DETAIL_VIDEO_WIDTH", "605");
    define("DETAIL_VIDEO_HEIGHT", "272");
    
    # ----------------------------------------------------------------------------------------------------
	# GOOGLE ADDS SIZE
	# ----------------------------------------------------------------------------------------------------
    define("GOOGLE_ADS_WIDTH", "234");
    define("GOOGLE_ADS_HEIGHT", "60");
    
    # ----------------------------------------------------------------------------------------------------
	# CATEGORY CONSTANTS
	# ----------------------------------------------------------------------------------------------------

    //Levels per category (all modules except for listings)
    define("CATEGORY_LEVEL_AMOUNT",             5); // Limited to 5
	//Levels per category (listings)
    define("LISTING_CATEGORY_LEVEL_AMOUNT",     5); // Unlimited
    
    # ----------------------------------------------------------------------------------------------------
	# LISTING SPECIAL FIELDS
	# ----------------------------------------------------------------------------------------------------
    
    define("THEME_LISTING_VIDEO_DESC", true);
    define("THEME_LISTING_PRICE", false);
    define("THEME_LISTING_FBPAGE", true);
    define("THEME_LISTING_FEATURES", true);
    define("THEME_LISTING_MENU", false);
    
    # ----------------------------------------------------------------------------------------------------
	# GENERAL SETTINGS
	# ----------------------------------------------------------------------------------------------------
      
    # FACEBOOK COMMENTS WIDTH (BLOG DETAIL)
    define("FB_COMMENTWIDTH_BLOG", 623);
    
    # FACEBOOK COMMENTS WIDTH (LISTING/ARTICLE DETAIL)
    define("FB_COMMENTWIDTH", 300);
    
    # ADD CLEAR BOTH ON FEATURED ITEMS AND RESULTS
    define("ITEM_RESULTS_CLEAR", false);
            
    # USE BOOTSTRAP CAROULSEL FOR SLIDER
    define("SLIDER_USE_CAROUSEL", true);
    
    # SLIDER - SUMMARY INFO MAX CHARS
    define("SLIDER_MAX_CHARS", 250);
    
    # GALLERY DETAIL - MAX IMAGES
    define("GALLERY_DETAIL_IMAGES", 4);
    
    # FEATURED LISTING - MAX ITEMS
    define("FEATURED_LISTING_MAXITEMS", 5);

    # FEATURED LISTING - SPECIAL ITEMS
    define("FEATURED_LISTING_MAXITEMS_SPECIAL", 2);
    
    # FEATURED LISTING WITH DEAL - MAX ITEMS (listing home page - theme Default)
    define("FEATURED_LISTING_DEAL_MAXITEMS", 4);

    # FEATURED LISTING WITH DEAL - SPECIAL ITEMS (listing home page - theme Default)
    define("FEATURED_LISTING_DEAL_MAXITEMS_SPECIAL", 1);
    
    # FEATURED EVENT - MAX ITEMS
    define("FEATURED_EVENT_MAXITEMS", 5);
    
    # FEATURED EVENT - SPECIAL ITEMS
    define("FEATURED_EVENT_MAXITEMS_SPECIAL", 1);
    
    # FEATURED CLASSIFIED - MAX ITEMS
    define("FEATURED_CLASSIFIED_MAXITEMS", 6);

    # FEATURED CLASSIFIED - SPECIAL ITEMS
    define("FEATURED_CLASSIFIED_MAXITEMS_SPECIAL", 6);
    
    # FEATURED ARTICLE - MAX ITEMS
    define("FEATURED_ARTICLE_MAXITEMS", 5);
    
    # FEATURED ARTICLE - SPECIAL ITEMS
    define("FEATURED_ARTICLE_MAXITEMS_SPECIAL", 2);
    
    # FEATURED PROMOTION - MAX ITEMS
    define("FEATURED_PROMOTION_MAXITEMS", 7);

    # FEATURED PROMOTION - SPECIAL ITEMS
    define("FEATURED_PROMOTION_MAXITEMS_SPECIAL", 1);
    
    # FOOTER CONFIGURATION
    define("THEME_HAS_FOOTER", true);
       
    # SLIDER WITH PRICE
    define("SLIDER_HAS_PRICE", false);
        
    # Detail sidebar - extra fields
    define("EXTRA_FIELDS_SIDEBAR", false);
       
    # Order by dropdown - Add "Order by Price" 
    define("LISTING_ORDERBY_PRICE", false);
       
    # NEW STYLE FOR DEAL INDEX
    define("THEME_FEATURED_DEAL_BIG", false);
            
    # SLIDER AVAILABLE FOR SLIDER
	define("TOTAL_SLIDER_ITEMS", 4);
    
    # FEATURED CATEGORY
    define("FEATURED_CATEGORY", "on");
    
    # EMAIL TO FRIEND
    define("THEME_EMAIL_TOFRIEND", false);
    
    # EMAIL TO FRIEND
    define("THEME_DETAIL_PRINT", false);
    
    # SHARE LINK
    define("THEME_SHARE_ITEMS", false);
    
    # FAVORITES LINK
    define("THEME_FAVORITES_ICON", true);
    
    # REMOVE FROM FAVORITES - CUSTOM BUTTON
    define("THEME_FAVORITES_BUTTON", true);
    
    # CONTACT US INFORMATION
    define("THEME_CONTACTUS_FIELDS", true);
    
    # IMAGE FOR CATEGORIES
    define("THEME_CATEGORY_IMAGE", false);
    
    # DESCRIPTION FOR CATEGORIES
    define("THEME_CATEGORY_DESCRIPTION", false);
        
    # SHOW BROWSE BY CATEGORY ON SIDEBAR
    define("THEME_CATEGORIES_SIDEBAR", true);
    
    # MAX CATEGORY PER PAGE
    define("MAX_CATEGORY_PER_PAGE", 10);
    
    # ADVANCED SEARCH FOR HOME PAGE
    define("THEME_ADVSEARCH_HOME", false);
    
    # ADVANCED SEARCH - CATEGORIES WITH RADIO BUTTON
    define("THEME_ADVSEARCH_CATEGRADIO", false);
    
    # ADD BOOTSTRAP JAVASCRIPT LIBRARY
    define("THEME_USE_BOOTSTRAP", true);
    
    # FORCE IMAGES RESIZE
    define("THEME_RESIZE_IMAGE", false);
    
    # ADD LIKE/DISLIKE button to reviews
    define("THEME_LIKES_REVIEW", true);
    
    # ADD LISTING INFORMATION ON DEAL SUMMARY
    define("THEME_LISTINGINFO_DEAL", true);
    
    # ADD REVIEWS ON DEAL DETAIL SIDEBAR
    define("THEME_REVIEWS_PROMOTION_SIDEBAR", false);
    
    # BUILD DEAL COUNTDOWN USING CUSTOM LAYOUT
    define("THEME_COUNTDOWN_CUSTOM", true);
    
    # SHOW ONLY ITEM TITLE, MAP LINK AND REVIEW STARS ON GOOGLE MAPS
    define("THEME_MAPS_NEWBALLOON_STYLE", true);
    
    # ADD GOOGLE MAPS TO DEAL DETAIL
    define("THEME_DEAL_DETAIL_MAP", true);
    
    # USE "IMAGE_ID" IN ALL FRONTEND PAGES
    define("THEME_USE_IMAGE_BIG", true);
    
    # SHOW ALL DEAL INFORMATION ON LISTING DETAIL
    define("THEME_LISTING_FULL_DEAL", true);
    
    # BUILD BLOG ARCHIVE USING ACCORDION PLUGIN
    define("THEME_BLOGARCHIVE_ACCORDION", true);
    
    # ADD BANNER TO ADVERTISE PAGE
    define("THEME_ADVERTISE_BANNER", false);
    
    # USE .php TO ALL CATEGORIES LINK
    define("USE_DOT_PHP_ON_ALLCATEGORIES_LINK", "on");
              
    # LOAD USER NAVBAR ON HEADER (FOR NAVIGATION CONFIGURATION)
    define("THEME_ADD_USERNAV_HEADER", true);
    
    # BREADCRUMB SEPARATOR
    define("THEME_BREADCRUMB_SEP", "/");
        
    # SEARCH BY CATEGORY
    define("THEME_SEARCH_CATEGORY_PAGE", false);
    
    # DISABLE MOBILE VERSION AND USE RESPONSIVE LAYOUT
    define("RESPONSIVE_THEME", true);
    
    # DISABLE LISTING HOME PAGE
    define("THEME_DISABLE_HOMELISTING", false);
    
    # PAGINATION - PREV/NEXT LINKS USING LABEL OR ">>"
    define("THEME_PAGINATION_USELABEL", false);
    
    # ENABLE GENERAL RESULTS PAGE (root/results.php)
    define("THEME_GENERAL_RESULTS", true);
    
    # ADD CUSTOM MARKERS TO GOOGLE MAPS
    define("THEME_GMAPS_CUSTOM_MARKER", false);
    
    # NEW FANCYBOX STYLE - FLAT DESIGN
    define("THEME_FLAT_FANCYBOX", true);
    
    # ARTICLE INFORMATION - SPLIT INFO
    define("THEME_ARTICLE_SPLIT_COMPINFO", true);
    
    # MODULES CONFIGURATION
    define("CUSTOM_LISTINGTEMPLATE_FEATURE", "on");

    /**
     * Accept Pages by theme
     */
    unset($acceptPages);
    $acceptPages[] = "index.php";
    $acceptPages[] = ALIAS_ADVERTISE_URL_DIVISOR.".php";
    $acceptPages[] = ALIAS_CONTACTUS_URL_DIVISOR.".php";
    $acceptPages[] = ALIAS_SITEMAP_URL_DIVISOR.".php";
    $acceptPages[] = ALIAS_FAQ_URL_DIVISOR.".php";
    $acceptPages[] = "";
    define("THEME_ACCEPT_PAGES", serialize($acceptPages));
    
    /*
     * Navigation configuration
     */
    unset($array_navigation);
    $array_navigation["header"][] = array("name" => LANG_MENU_HOME, "url" => "NON_SECURE_URL");

    $array_navigation["header"][] = array("name" => LANG_MENU_LISTING, "url" => "LISTING_DEFAULT_URL");
    $array_navigation["footer"][] = array("name" => LANG_MENU_LISTING, "url" => "LISTING_DEFAULT_URL");
    
    $array_navigation["header"][] = array("name" => LANG_MENU_EVENT, "url" => "EVENT_DEFAULT_URL", "module" => "EVENT_FEATURE");
    $array_navigation["footer"][] = array("name" => LANG_MENU_EVENT, "url" => "EVENT_DEFAULT_URL", "module" => "EVENT_FEATURE");
    
    $array_navigation["header"][] = array("name" => LANG_MENU_CLASSIFIED, "url" => "CLASSIFIED_DEFAULT_URL", "module" => "CLASSIFIED_FEATURE");
    $array_navigation["footer"][] = array("name" => LANG_MENU_CLASSIFIED, "url" => "CLASSIFIED_DEFAULT_URL", "module" => "CLASSIFIED_FEATURE");

    $array_navigation["header"][] = array("name" => LANG_MENU_ARTICLE, "url" => "ARTICLE_DEFAULT_URL", "module" => "ARTICLE_FEATURE");
    $array_navigation["footer"][] = array("name" => LANG_MENU_ARTICLE, "url" => "ARTICLE_DEFAULT_URL", "module" => "ARTICLE_FEATURE");

    $array_navigation["header"][] = array("name" => LANG_MENU_PROMOTION, "url" => "PROMOTION_DEFAULT_URL", "module" => "PROMOTION_FEATURE");
    $array_navigation["footer"][] = array("name" => LANG_MENU_PROMOTION, "url" => "PROMOTION_DEFAULT_URL", "module" => "PROMOTION_FEATURE");

    $array_navigation["header"][] = array("name" => LANG_MENU_BLOG, "url" => "BLOG_DEFAULT_URL", "module" => "BLOG_FEATURE");
    $array_navigation["footer"][] = array("name" => LANG_MENU_BLOG, "url" => "BLOG_DEFAULT_URL", "module" => "BLOG_FEATURE");

    $array_navigation["header"][] = array("name" => LANG_MENU_ADVERTISE, "url" => "ALIAS_ADVERTISE_URL_DIVISOR");
    $array_navigation["header"][] = array("name" => LANG_MENU_CONTACT, "url" => "ALIAS_CONTACTUS_URL_DIVISOR");
    
    define("THEME_NAVIGATION_MENU", serialize($array_navigation));
    
    /*
     * Site Content Configuration
     */
    
    //content not available according to column "type"
    $arrayBlockedContent = array(
        'Best Of'
    );
    
    define("SITECONTENT_BLOCKED", serialize($arrayBlockedContent));
    unset($arrayBlockedContent);
    
    //content available only for SEO purposes
    $arraySEOContent = array();
    
    define("SITECONTENT_FORSEO", serialize($arraySEOContent));
    unset($arraySEOContent);

?>