<?php
	
/* Вся таблица базы данных */

/* users / admin */

$tbl['users'] 		            = TBL_PREFIX.'users';
$tbl['users_confirmations']     = TBL_PREFIX.'users_confirmations';
$tbl['users_remembered']        = TBL_PREFIX.'users_remembered';
$tbl['users_resets']            = TBL_PREFIX.'users_resets';
$tbl['users_throttling']        = TBL_PREFIX.'users_throttling';
$tbl['users_banned_ips']   	    = TBL_PREFIX.'users_banned_ips';
$tbl['user_group'] 		        = TBL_PREFIX.'user_group';
$tbl['user_group_privileges']   = TBL_PREFIX.'user_group_privileges';
$tbl['user_images']             = TBL_PREFIX.'user_images';
$tbl['user_fields'] 		    = TBL_PREFIX.'user_fields';
$tbl['user_field_data']         = TBL_PREFIX.'user_field_data';
$tbl['user_option']             = TBL_PREFIX.'user_option';
$tbl['user_history']            = TBL_PREFIX.'user_history';

$tbl['telegram_notifications']  = TBL_PREFIX.'telegram_notifications';

$tbl['subscribe']     	        = TBL_PREFIX.'subscribe';

$tbl['type_content']                = TBL_PREFIX.'type_content';
$tbl['type_content_fields']         = TBL_PREFIX.'type_content_fields';
$tbl['type_content_field_property'] = TBL_PREFIX.'type_content_field_property';
$tbl['type_content_field_data']     = TBL_PREFIX.SITE_LANG_PREFIX.'type_content_field_data';

/* заметки */
$tbl['notice']              = TBL_PREFIX.'notice';

/* способы оплаты */
$tbl['feedback']            = TBL_PREFIX.'feedback';

/* Языковые версии сайта */
$tbl['languages'] 		    = TBL_PREFIX.'languages';
/* Соц сети */
$tbl['socials']             = TBL_PREFIX.'socials';
/* Карта */
$tbl['maps'] 	            = TBL_PREFIX.'maps';
/* Сбор ошибок */
$tbl['log'] 		        = TBL_PREFIX.'log';

/* SHOP */

/* курсы валют */
$tbl['shop_currency'] 		= TBL_PREFIX.'shop_currency';
/* способы оплаты */
$tbl['shop_payments']       = TBL_PREFIX.'shop_payments';
/* Корзина */
$tbl['shop_cart'] 		    = TBL_PREFIX.'shop_cart';
/* Заказы */
$tbl['shop_orders'] 		= TBL_PREFIX.'shop_orders';
$tbl['shop_order_product']  = TBL_PREFIX.'shop_order_product';
$tbl['shop_order_option']   = TBL_PREFIX.'shop_order_option';
$tbl['shop_order_total']    = TBL_PREFIX.'shop_order_total';
$tbl['shop_order_shipment'] = TBL_PREFIX.'shop_order_shipment';

$tbl['shop_order_status']   = TBL_PREFIX.SITE_LANG_PREFIX.'shop_order_status';
/* Транзакции для PayMe */
$tbl['shop_transactions'] 	= TBL_PREFIX.'shop_transactions';

$tbl['geo_countries'] 		= TBL_PREFIX.SITE_LANG_PREFIX.'geo_countries';

$tbl['colors']              = TBL_PREFIX.SITE_LANG_PREFIX.'colors';

$tbl['options']             = TBL_PREFIX.SITE_LANG_PREFIX.'options';

//$tbl['brands'] 		        = TBL_PREFIX.SITE_LANG_PREFIX.'brands';
//$tbl['brand_images'] 		= TBL_PREFIX.SITE_LANG_PREFIX.'brand_images';

$tbl['products']                = TBL_PREFIX.SITE_LANG_PREFIX.'products';
$tbl['product_images']          = TBL_PREFIX.SITE_LANG_PREFIX.'product_images';

$tbl['product_features']        = TBL_PREFIX.SITE_LANG_PREFIX.'product_features';
$tbl['product_feature_value']   = TBL_PREFIX.SITE_LANG_PREFIX.'product_feature_value';

$tbl['product_option']          = TBL_PREFIX.SITE_LANG_PREFIX.'product_option';
$tbl['product_option_value']    = TBL_PREFIX.SITE_LANG_PREFIX.'product_option_value';

$tbl['product_blocks']          = TBL_PREFIX.SITE_LANG_PREFIX.'product_blocks';
$tbl['product_block_images']    = TBL_PREFIX.SITE_LANG_PREFIX.'product_block_images';

$tbl['product_colors']          = TBL_PREFIX.SITE_LANG_PREFIX.'product_colors';

$tbl['product_stock_status']    = TBL_PREFIX.SITE_LANG_PREFIX.'product_stock_status';

$tbl['product_comments']    = TBL_PREFIX.SITE_LANG_PREFIX.'product_comments';
$tbl['product_related']    = TBL_PREFIX.SITE_LANG_PREFIX.'product_related';

/* END SHOP */

/* files */
$tbl['files']               = TBL_PREFIX.'files';

/* Баннеры */
$tbl['banners']             = TBL_PREFIX.SITE_LANG_PREFIX.'banners';
$tbl['banners_group']       = TBL_PREFIX.SITE_LANG_PREFIX.'banners_group';
$tbl['banner_images']       = TBL_PREFIX.SITE_LANG_PREFIX.'banner_images';
$tbl['banner_tracking']     = TBL_PREFIX.SITE_LANG_PREFIX.'banner_tracking';

// Разделы
$tbl['sections'] 		    = TBL_PREFIX.SITE_LANG_PREFIX.'sections';
$tbl['section_images']      = TBL_PREFIX.SITE_LANG_PREFIX.'section_images';
/* Статьи */
$tbl['articles'] 		    = TBL_PREFIX.SITE_LANG_PREFIX.'articles';
$tbl['article_images']      = TBL_PREFIX.SITE_LANG_PREFIX.'article_images';
$tbl['article_visits']      = TBL_PREFIX.SITE_LANG_PREFIX.'article_visits';

$tbl['stations'] 		    = TBL_PREFIX.SITE_LANG_PREFIX.'stations';
$tbl['station_images']      = TBL_PREFIX.SITE_LANG_PREFIX.'station_images';

//$tbl['clients'] 		    = TBL_PREFIX.SITE_LANG_PREFIX.'clients';
//$tbl['client_images']       = TBL_PREFIX.SITE_LANG_PREFIX.'client_images';

$tbl['blocks'] 		        = TBL_PREFIX.SITE_LANG_PREFIX.'blocks';
$tbl['block_images']        = TBL_PREFIX.SITE_LANG_PREFIX.'block_images';
/* Комментарии */
$tbl['comments'] 		    = TBL_PREFIX.SITE_LANG_PREFIX.'comments';
$tbl['faq'] 		        = TBL_PREFIX.SITE_LANG_PREFIX.'faq';

/* Основные настройки */
$tbl['settings'] 		    = TBL_PREFIX.SITE_LANG_PREFIX.'settings';

/* Статистика таблица */
$tbl['stats_visitors']          = TBL_PREFIX.SITE_LANG_PREFIX.'stats_visitors';
$tbl['stats_visits']            = TBL_PREFIX.SITE_LANG_PREFIX.'stats_visits';
$tbl['stats_user_agents']       = TBL_PREFIX.SITE_LANG_PREFIX.'stats_user_agents';
$tbl['stats_section_visits']    = TBL_PREFIX.SITE_LANG_PREFIX.'stats_section_visits';
$tbl['stats_article_visits']    = TBL_PREFIX.SITE_LANG_PREFIX.'stats_article_visits';
$tbl['stats_product_visits']    = TBL_PREFIX.SITE_LANG_PREFIX.'stats_product_visits';
$tbl['stats_search_visits']     = TBL_PREFIX.SITE_LANG_PREFIX.'stats_search_visits';
$tbl['stats_ad_clicks']         = TBL_PREFIX.SITE_LANG_PREFIX.'stats_ad_clicks';
$tbl['stats_error_visits']      = TBL_PREFIX.SITE_LANG_PREFIX.'stats_error_visits';
$tbl['stats_rss_visits']        = TBL_PREFIX.SITE_LANG_PREFIX.'stats_rss_visits';

/* Статистика таблиц кэша */
$tbl['stats_cache_daily']       = TBL_PREFIX.SITE_LANG_PREFIX.'stats_cache_daily';

