да, в корневой.
код шаблона:
[code]<?if(!defined("b_prolog_included") || b_prolog_included!==true)die();?><!do ctype html public "-//w3c//dtd xhtml 1.0 strict//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-strict.dtd"><ht ml xmlns="http://www.w3.org/1999/xhtml"><head> <title><?$application->showtitle()?> | одежда для активного отдыха</title> <sc ript type="text/javascript" src="<?=site_template_path?>/js/jquery.js"></sc ript> <sc ript type="text/javascript" src="<?=site_template_path?>/js/jquery.jcarousel.min.js"></sc ript> <sc ript type="text/javascript" src="<?=site_template_path?>/js/select_replacement.1.0.1.min.js"></sc ript> <sc ript type="text/javascript" src="<?=site_template_path?>/fancybox/jquery.fancybox-1.3.4.pack.js"></sc ript> <sc ript type="text/javascript" src="<?=site_template_path?>/js/left_menu.js"></sc ript> <sc ript type="text/javascript" src="<?=site_template_path?>/js/end_letter.js"></sc ript> <sc ript type="text/javascript" src="<?=site_template_path?>/js/script.js"></sc ript> <li nk rel="stylesheet" href="<?=site_template_path?>/jcarousel.css" type="text/css" rel="stylesheet" /> <li nk rel="stylesheet" href="<?=site_template_path?>/jquery-ui.slider.css" type="text/css" rel="stylesheet" /> <li nk rel="stylesheet" href="<?=site_template_path?>/fancybox/jquery.fancybox-1.3.4.css" type="text/css" rel="stylesheet" /> <li nk rel="stylesheet" href="<?=site_template_path?>/select_replacement.1.0.1.min.css" type="text/css" rel="stylesheet" /> <li nk rel="stylesheet" href="<?=site_template_path?>/trololo.css" type="text/css" rel="stylesheet" /> <?$application->showhead()?> <sc ript type="text/javascript" src="/bitrix/js/main/ajax.js"></sc ript> <? $application->addheadscript("/bitrix/js/socialservices/ss.js"); $application->addheadscript("/bitrix/js/main/core/core_window.js"); $application->setadditionalcss("/bitrix/js/main/core/css/core_window.css"); $application->setadditionalcss("/bitrix/js/main/core/css/core_popup.css"); $application->setadditionalcss("/bitrix/js/socialservices/css/ss.css"); ?></head><body> <div id="panel"><?$application->showpanel();?></div> <div id="wrap"> <div id="header"> <div class="header_top"> <div class="logo"> <?$application->includefile( $application->gettemplatepath("include_areas/logo.php"), array(), array("mode"=>"html") );?> </div> <div class="menu_top"> <?$application->includecomponent("bitrix:menu", "menu_top", array( "root_menu_type" => "top", "menu_cache_type" => "a", "menu_cache_time" => "3600", "menu_cache_use_groups" => "y", "menu_cache_get_vars" => array( ), "max_level" => "3", "child_menu_type" => "left", "use_ext" => "y", "delay" => "n", "allow_multi_select" => "n" ), false);?> </div> </div> </div> <div id="content"> <div class="left_shadow_top"></div> <div class="left_shadow"></div> <div class="right_shadow_top"></div> <div class="right_shadow"></div> <div class="addr_mode"> <?$application->includefile( $application->gettemplatepath("include_areas/address.php"), array("name"=>"г. Москва, пр. Маршала Жукова, д. 2, к. 2, стр. 1, офис 509 + 7 495 926 46 20 8 800 333 04 89"), array("mode"=>"html") );?> </div> <div class="basket"> <?$application->includecomponent("bitrix:sale.basket.basket.line", "sale.basket.line", array( "path_to_basket" => "/site_nb/personal/cart/", "path_to_personal" => "/site_nb/personal/", "show_personal_link" => "n" ), false );?> </div> <div class="auth"> <?$application->includecomponent("alfa:check_authorized", "check_auth", array( "prosto_pole" => "#\$%" ), false );?> </div> <div class="clear"></div> <?$application->includecomponent( "bitrix:search.title", "store", array( "show_input" => "y", "input_id" => "title-search-input", "container_id" => "title-search", "page" => "/site_nb/content/search/", "num_categories" => "1", "top_count" => "5", "order" => "date", "use_language_guess" => "y", "check_dates" => "n", "show_others" => "n", "category_0_title" => "", "category_0" => "all" ), false );?> <!-- </div>--> <div class="left"> <?$application->includecomponent( "bitrix:menu", "menu_left", array( "root_menu_type" => "left", "max_level" => "3", "child_menu_type" => "", "use_ext" => "n", "menu_cache_type" => "a", "menu_cache_time" => "3600", "menu_cache_use_groups" => "y", "menu_cache_get_vars" => array() ) );?> <?$temp = $application->includecomponent( "alfa:filter", "fltr", array( "service_url" => "/site_nb/include/ajax/", ), false );?> <?if($temp != "true"):?> <div class="clear"></div> <div class="banners_left"> <?if(cmodule::includemodule('advertising')):?> <? $by="s_id"; $order="asc"; $arfilter = array("type_sid" => "left", "id_exact_match " => "n"); $rs = cadvbanner::getlist($by, $order, $arfilter, $is_filtered, "n"); while($ar = $rs->fetch()): $application->showbanner("left", "<div class=\"sm_banner_left\">", "</div>"); endwhile; ?> <?endif;?> </div> <?endif;?> </div> <div class="right"> <?if(strpos($_server["request_uri"], "catalog/")===false && strpos($_server["request_uri"], "personal/")===false):?> <?$application->includecomponent("bitrix:news.list", "banners", array( "iblock_type" => "banner", "iblock_id" => "5", "news_count" => "5", "sort_by1" => "active_from", "sort_order1" => "desc", "sort_by2" => "sort", "sort_order2" => "asc", "filter_name" => "", "field_code" => array( 0 => "", 1 => "", ), "property_code" => array( 0 => "", 1 => "banner", 2 => "", ), "check_dates" => "y", "detail_url" => "", "ajax_mode" => "n", "ajax_option_jump" => "n", "ajax_option_style" => "y", "ajax_option_history" => "n", "cache_type" => "a", "cache_time" => "36000000", "cache_filter" => "n", "cache_groups" => "y", "preview_truncate_len" => "", "active_date_format" => "j f y", "set_title" => "n", "set_status_404" => "n", "include_iblock_into_chain" => "n", "add_sections_chain" => "n", "hide_link_when_no_detail" => "n", "parent_section" => "", "parent_section_code" => "", "display_top_pager" => "n", "display_bottom_pager" => "n", "pager_title" => "n", "pager_show_always" => "n", "pager_template" => "", "pager_desc_numbering" => "n", "pager_desc_numbering_cache_time" => "36000", "pager_show_all" => "n", "display_date" => "y", "display_name" => "y", "display_picture" => "y", "display_preview_text" => "y", "ajax_option_additional" => "" ), false );?> <?else:?> <div style="height:10px;"></div> <?endif;?> <? unset($_matches) ; preg_match("/catalog/", $_server["request_uri"], $_matches, preg_offset_capture); unset($matches); preg_match("/content/", $_server["request_uri"], $matches, preg_offset_capture); if(!empty($matches) || !empty($_matches)): ?> <div class='breadcrumb_nav'> <?$application->includecomponent( "bitrix:breadcrumb", "breadcrumb", array( "start_from" => "0", "path" => "", "site_id" => "-" ) );?> </div> <h1><?$application->showtitle();?></h1> <?endif;?>#work_area#<?if(!defined("b_prolog_included") || b_prolog_included!==true)die();?></div><div class="clear"></div></div><div class="clear"></div> <div id="prefooter"> <div class="menu_bt"> <?$application->includecomponent( "bitrix:menu", "menu_bot", array( "root_menu_type" => "bottom", "max_level" => "3", "child_menu_type" => "", "use_ext" => "n", "menu_cache_type" => "a", "menu_cache_time" => "3600", "menu_cache_use_groups" => "y", "menu_cache_get_vars" => array() ) );?> </div> <div class="bm_rd"></div> <div class="add_ph"> <div class="address"> <?$application->includefile( $application->gettemplatepath("include_areas/bot_address.php"), array("name" => "г. Москва,<br/>пр. Маршала Жукова,<br/>д. 2, к. 2, с. 1, офис 509"), array("mode" => "html") );?> </div> <div class="phone"> <?$application->includefile( $application->gettemplatepath("include_areas/bot_phone.php"), array(), array("mode" => "html") );?> </div> </div> <div class="socserv"><?$application->includecomponent("bitrix:system.auth.form", "bot_soc_auth", array( "register_url" => "", "forgot_password_url" => "", "profile_url" => "", "show_errors" => "n" ), false);?> </div> </div></div><div id="footer"> <div class="copy"> Разработка сайта: © ООО «ЛОИНС»</a> </div> <div class="ctext"> <?$application->includefile( $application->gettemplatepath("include_areas/bot_ctext.php"), array("text" => "lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt"), array("mode" => "html") );?> </div> </div><div style="display:none;">alfasystems sport as09btr</div></body></html><?$application->addheadscript("/bitrix/js/socialservices/ss.js");$application->addheadscript("/bitrix/js/main/core/core_window.js");$application->setadditionalcss("/bitrix/js/main/core/css/core_window.css");$application->setadditionalcss("/bitrix/js/main/core/css/core_popup.css");$application->setadditionalcss("/bitrix/js/socialservices/css/ss.css");?>#work_area##work_area##work_area##work_area#[/code]стиль:
[code]html, body, form{ margin: 0; padding: 0;}html{ height:100%;}body{ height: 100%; width:100%; text-align: center; font-size: 12px; font-family: arial; /*color: #333;*/ background: #000000 url('images/bg_body_4.jpg') ; background-repeat:no-repeat; background-position:center center; background-attachment:fixed; -o-background-size: 100% 100%, auto; -moz-background-size: 100% 100%, auto; -webkit-background-size: 100% 100%, auto; background-size: 100% 100%, auto;}/* global styles */.vote-result{ display:none;}.clear{ clear:both;}.none1{ position:absolute; left:-10000px; width:1px; height:1px;}.none2{ display:none;}.floatleft{ float:left;}.floatright{ float:right;}.nomargin{ margin:0;}.nopadding{ padding:0;}.textuppercase{ text-transform:uppercase;}/*links*/a{ text-decoration:none; margin:0; padding:0; color:#373737;}a.blue_link{ color:#000000; font-size:11px; text-transform:uppercase;}a.blue_link:hover{ text-decoration:underline;}a.style_a{ color:#b00606; text-transform:uppercase;}a:hover{ text-decoration:uppercase;}a img{ border:0; margin:0; padding:0;}p{ margin:0; padding:0;}h1{ font-size: 20px; font-weight: bold; color: #383838; padding:0px; margin:0px; border:0;}h2{ font-size:17px; font-weight:bold; padding:0px; margin:0px; border:0;}h3{ font-weight:bold; font-size:12px; padding:0px; margin:0px; border:0;}.clear{ clear:both; height:0px;}.txt_uppercase{ text-transform: uppercase;}.contenter{ margin-right:12px;}#wrap{ width: 1001px; margin: 0px auto 0; text-align:left; background-color: #fff; min-height:100%; position:relative;}* html #wrap{ height:100%;}#header{ display:block; width:100%; height:70px;}.header_top{ display:block; background-color: #000000; height:184px; margin-left: 0px; width: 1001px;}#header .logo{ display:block; float:left; margin-top: 9px; margin-left: 10px; }#header .menu_top{ display:block; float:right; font-size:12px; margin-right: 10px;}#header .menu_top ul{ list-style:none; margin:0; padding:0; display:block; margin-top:10px;}#header .menu_top ul li{ display:block; float:left; margin:0; padding:0;}#header .menu_top ul li a{ color:#7c8184; font-weight:bold; margin:0 6px; text-transform:uppercase; display:block; padding:5px; line-height:4.5; height:51px; position:relative; float:left;}#header .menu_top ul li a:hover{ color:#ffffff; text-decoration:none; background:url('images/bg_bt_middle_tm_2.jpg') repeat-x; border-radius:0px 0px 0 0; -moz-border-radius:0px 0px 0 0; -webkit-border-radius:0px 0px 0 0;}#header .menu_top ul li a.selected{ color:#ffffff; text-decoration:none; background:url('images/bg_bt_middle_tm_2.jpg') repeat-x; border-radius:0px 0px 0 0; -moz-border-radius:0px 0px 0 0; -webkit-border-radius:0px 0px 0 0;}#header .menu_top ul li.delim_menu_top{ background:url('images/delim_menu_top_2.jpg') no-repeat center center; height: 60px;}/*#header */.addr_mode{ display:block; clear:both; width:65%; color:#7c8184; text-transform:uppercase; font-size:11px; margin:0px 7px; padding:10px 0px;}/*#header */.auth{ display:block; font-size:11px; float:right; margin:3px 17px;}/*#header */.auth a{ float:left;}/*#header */.auth a:hover{ text-decoration:underline;}/*#header */.auth .delim{ display:block; background:url('images/delim_auth_2.jpg') no-repeat center center; width:2px; margin:0 4px; float:left; height:13px;}/*#header */.basket{ display:block; float:right; width:104px; height:55px; margin-right:30px; margin-top:-20px; position:relative;}/*#header */.bg_basket{ background:url('images/small_basket_y_2.png') no-repeat; display:block; width:104px; height:55px;}/*#header */.bg_basket_empty{ background:url('images/small_basket_n_2.png') no-repeat; display:block; width:104px; height:55px;}/*#header */.basket span.txt_basket{ display:block; position:absolute; font-size:14px; padding-left:40px; left:-8px; top:24px; color:#888792;}/*#header */.basket .num_prod{ display:block; position:absolute; top:1px; left:80px; font-size:14px; font-weight:bold; width:20px; color:#ffffff; text-align:center;}#content{ display:block; position:relative; width:100%;}.left_shadow_top{ display:block; position:absolute; background:url('images/bg_top_shadow_l_3_off.png') repeat-y; width:4px; height:752px; left:-4px; z-index:2;}.left_shadow{ display:block; position:absolute; background:url('images/bg_shadow_l_2.png') repeat-y; width:4px; height:100%; left:-4px; z-index:1;}.right_shadow_top{ display:block; position:absolute; background:url('images/bg_top_shadow_r_2_off.png') repeat-y; width:4px; height:752px; right:-4px; z-index:2;}.right_shadow{ display:block; position:absolute; background:url('images/bg_shadow_r_3.png') repeat-y; width:4px; height:100%; right:-4px; z-index:1;}.left{ display:block; float:left; width:235px; min-height: 1px; padding-bottom: 0px;}.right{ display:block; float:left; margin-left:7px; width:754px; padding-bottom: 30px; padding-top: 10px;}.banners{ display:block; clear:both; overflow: hidden;}.sm_banner{ display:block; float:left; margin-right:6px;}.banners_left{ display:block; width:205px; height:306px; margin-left:17px; margin-top:218px; background-image: url('images/banner_gpx-2.jpg');background-attachment: scroll;}.sm_banner_left{ margin-bottom:20px;}/*------- spec prod ------*/.prod_spec{ display:block; overflow: hidden; margin: 2px 0 10px; clear: both;}.ct_title{ padding-left:14px; padding-bottom:15px;}.catalog_elems{ display:block; margin:0; width: 754px;/* overflow: hidden;*/}.elem_cat{ display:block; width:188px; float:left; height:315px; background:url('images/bg_shadow_prod_2.jpg') no-repeat bottom center; position:relative;}.elem_cat .delim, .cat_sect_elem .delim{ background:url('images/delim_prod.jpg') repeat-y left center; display:block; width:1px; position:absolute; left:0px; height:270px;}.elem_cat .end_delim, .cat_sect_elem .end_delim{ background:url('images/delim_prod.jpg') repeat-y left center; display:block; width:1px; position:absolute; right:0px; height:270px;}.elem_add_basket{ display:block; background:url('images/a/style1_93_2.jpg') no-repeat; width:31px; height:26px; padding-top:5px;}a.elem_add_basket:hover{ background:url('images/a/style1_99_2.jpg') no-repeat 1px 1px;}.elem_add_basket_big{ display:block; background:url('images/a/style1_159_2.jpg') no-repeat; width:159px; height:26px; color:#ffffff; text-transform:uppercase; font-size:11px; opacity: 0.5; text-align:center; padding-top:5px;}.prev_img_elem{/* display: table; */ position: relative; overflow: hidden; height:162px; width:186px; text-align:center;}.prev_img_elem a{ display: table-cell; height:162px; width:186px; text-align: center; vertical-align: middle; margin: 0; padding: 0;}.name_prod{ display:block; padding: 5px 15px 4px; height: 38px;}.rating{ display:block; float:left; margin-left:20px; margin-top: 4px;}.rating div.star-voted { background-image: url(images/vote_active.jpg); width: 10px; height: 11px; overflow: hidden;}.rating div.star-empty { background-image: url('images/vote_empty.jpg'); width: 10px; height: 11px; overflow: hidden;}.rating div.star-over{ background-image: url('images/vote_active.jpg'); width:10px; height:11px; overflow:hidden;}.price{ text-align:right; padding-right:10px; color:#676767; display: block; height: 33px;}.price_list{ position: absolute; width: 100%; bottom: 7px; right: 5px;}.price s{ color:#828281; font-size:11px; font-weight:normal;}.catalog_price{ font-size:11px;}.valuta{ font-size:8px;}.ct_add_basket{ display:block; margin-top:4px; margin-left:15px;}.new_pr{ display:block; background: url('images/icon_new_prod_3.png'); width:52px; height:38px; position: absolute; z-index: 10; right: 0; top:10px;}.hit_pr{ display:block; background: url('images/icon_hit_prod_3.png'); width:52px; height:38px; position: absolute; z-index: 10; right: 0; top:36px;}.sale_pr{ display:block; background: url('images/icon_sale_prod_3.png'); width:52px; height:38px; position: absolute; z-index: 10; right: 0; top:62px;}.economy{ display:block; background:#fff200 url('images/bg_econom.jpg') right no-repeat; width:100px; height:33px; position: absolute; z-index: 10; left: 0; top:60px; text-align:center; padding-top: 5px;}.arrow_basket{ display:block; background:#fff200 url('images/added_2.jpg') no-repeat; width:17px; height:14px; float: right; margin-top: 6px; margin-right: 116px; }.added{ color:#b9dae9;}/*---------------- catalog section --------------*/.catalog_section{ display:block; margin:10px 0; width: 754px;/* overflow: hidden;*/}.elem_sect{ height:260px;}.elem_sect .delim{ height:220px;}.catalog_section .sort, .select_count{ margin-top:-2px;}.cat_sect_elems_list .delim_vert_right{ background:url('images/delim_prod.jpg') repeat-y left center; display:block; width:1px; position:absolute; right:0px; height:155px; top: 0px;}.cat_sect_elems_list .delim_vert_left{ background:url('images/delim_prod.jpg') repeat-y left center; display:block; width:1px; position:absolute; left:0px; height:155px;}.list_elem_add_basket .added { margin-right: 26px;}.list_elem_add_basket .arrow_basket{ margin-right: 0px;}/*------------ catalog section elements ----------*/.cat_sect_elems{ display:block; overflow:hidden; margin:10px 1px;}.head_block_cat_sect{ display:block; background:url('images/section_bg_nav_choice_3.jpg') no-repeat; width:746px; height:54px; color:#373737; font-size:11px; padding-top: 6px;}.head_block_cat_sect .delim{ display:block; background:url('images/delim_sect.jpg') no-repeat; width:2px; height:30px; float:left; margin:-6px 10px 0;}.num_items{ display:block; float:left; padding:3px 0px 0px 15px;}.num_items span{ font-weight:bold;}.sort, .select_count, .block_nav_view, .view_cat, .nav_cat, .grid_cat, .list_cat, .choice_view{ display:block; float:left;}.view_cat{ padding-top:2px;}/*.select_count{ display:block; float:left;}.block_nav_view{ display:block; float:left;}.view_cat{ display:block; float:left;}*/.nav_cat{ padding-top:3px;}.grid_cat{ padding-top:2px; padding-right:5px; padding-left:5px; width:11px; height:11px;}.list_cat{ padding-top:2px; width:12px; height:11px;}.nav_prev{ display:block; float:left; }.nav_next{ display:block; float:left;}.nav_prev{ background: url('images/icon_arr_prev_page.png') no-repeat center; height: 14px; width: 5px; display: block; margin-right: 6px; position:relative;}.nav_prev a{ background: url('images/icon_arr_prev_page_act_2.png') no-repeat center; height: 14px; width: 5px; display: block; margin-right: 6px; position:absolute; top:0px; left:0px;}.nav_num_page{ margin:0 2px;}.nav_next a{ background: url('images/icon_arr_next_page_act_2.png') no-repeat center; height: 14px; width: 5px; display: block; position:absolute; top:0px; left:0px;}.nav_next{ background: url('images/icon_arr_next_page.png') no-repeat center; height: 14px; width: 5px; display: block; margin-left: 6px; position:relative;}.nav_num_page{ display:block; float:left; min-width:6px; width:ex * pression(docu ment.body.clientwidth < 6? "auto": "6px");}.right h1{ padding-left:14px; padding-bottom: 16px;}/*----------------- breadcrumb ------------------*/.breadcrumb_nav{ text-transform:uppercase; font-size:11px; color:#7c8184; padding:10px 14px 14px;}.breadcrumb_nav li span img{ padding:0 6px;}.breadcrumb_nav .last_breadcrumb{ color:#7c8184;}/*------------------- footer --------------------*/#footer{ clear:both; display:block; overflow:hidden;/* position: absolute;*/ position:relative; bottom:0px; width: 960px; z-index:1;}.menu_bt{ display:block; overflow:hidden; float:left;}/*------------------- trololo part --------------------*/input.textinput{ border:1px solid #ffffff; padding:2px 4px 2px 4px;}textarea.textareainput{ border:1px solid #ffffff; padding:2px 4px 2px 4px;}.uppercase{ text-transform:uppercase;}#prefooter{ background:url('images/footer_2.jpg') no-repeat top; height:83px; margin-left:0px; width:1001px;}#prefooter .add_ph{ float:left; width:160px; padding-top:12px;}#prefooter .address{ color:#8b8b8b; padding-bottom:3px;}#prefooter .phone{ color:#af0603; font-size:13px;}#footer{ margin:0 auto; text-align:left; width:970px; height:28px; padding-top:10px; padding-left:15px; text-transform:uppercase; font-size:11px; color:#ffffff;}#footer .copy{ float:left;}#footer .copy a{ color:#2d87e0;}#footer .copy a:hover{ text-decoration:underline;}#footer .ctext{ float:right;}.socserv{ width:148px; float:right; text-align:center; margin-right:15px; margin-top:20px;}.bx-auth-serv-title{ color:#af0603; font-size:13px;} [/code]
код шаблона:
[code]<?if(!defined("b_prolog_included") || b_prolog_included!==true)die();?><!do ctype html public "-//w3c//dtd xhtml 1.0 strict//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-strict.dtd"><ht ml xmlns="http://www.w3.org/1999/xhtml"><head> <title><?$application->showtitle()?> | одежда для активного отдыха</title> <sc ript type="text/javascript" src="<?=site_template_path?>/js/jquery.js"></sc ript> <sc ript type="text/javascript" src="<?=site_template_path?>/js/jquery.jcarousel.min.js"></sc ript> <sc ript type="text/javascript" src="<?=site_template_path?>/js/select_replacement.1.0.1.min.js"></sc ript> <sc ript type="text/javascript" src="<?=site_template_path?>/fancybox/jquery.fancybox-1.3.4.pack.js"></sc ript> <sc ript type="text/javascript" src="<?=site_template_path?>/js/left_menu.js"></sc ript> <sc ript type="text/javascript" src="<?=site_template_path?>/js/end_letter.js"></sc ript> <sc ript type="text/javascript" src="<?=site_template_path?>/js/script.js"></sc ript> <li nk rel="stylesheet" href="<?=site_template_path?>/jcarousel.css" type="text/css" rel="stylesheet" /> <li nk rel="stylesheet" href="<?=site_template_path?>/jquery-ui.slider.css" type="text/css" rel="stylesheet" /> <li nk rel="stylesheet" href="<?=site_template_path?>/fancybox/jquery.fancybox-1.3.4.css" type="text/css" rel="stylesheet" /> <li nk rel="stylesheet" href="<?=site_template_path?>/select_replacement.1.0.1.min.css" type="text/css" rel="stylesheet" /> <li nk rel="stylesheet" href="<?=site_template_path?>/trololo.css" type="text/css" rel="stylesheet" /> <?$application->showhead()?> <sc ript type="text/javascript" src="/bitrix/js/main/ajax.js"></sc ript> <? $application->addheadscript("/bitrix/js/socialservices/ss.js"); $application->addheadscript("/bitrix/js/main/core/core_window.js"); $application->setadditionalcss("/bitrix/js/main/core/css/core_window.css"); $application->setadditionalcss("/bitrix/js/main/core/css/core_popup.css"); $application->setadditionalcss("/bitrix/js/socialservices/css/ss.css"); ?></head><body> <div id="panel"><?$application->showpanel();?></div> <div id="wrap"> <div id="header"> <div class="header_top"> <div class="logo"> <?$application->includefile( $application->gettemplatepath("include_areas/logo.php"), array(), array("mode"=>"html") );?> </div> <div class="menu_top"> <?$application->includecomponent("bitrix:menu", "menu_top", array( "root_menu_type" => "top", "menu_cache_type" => "a", "menu_cache_time" => "3600", "menu_cache_use_groups" => "y", "menu_cache_get_vars" => array( ), "max_level" => "3", "child_menu_type" => "left", "use_ext" => "y", "delay" => "n", "allow_multi_select" => "n" ), false);?> </div> </div> </div> <div id="content"> <div class="left_shadow_top"></div> <div class="left_shadow"></div> <div class="right_shadow_top"></div> <div class="right_shadow"></div> <div class="addr_mode"> <?$application->includefile( $application->gettemplatepath("include_areas/address.php"), array("name"=>"г. Москва, пр. Маршала Жукова, д. 2, к. 2, стр. 1, офис 509 + 7 495 926 46 20 8 800 333 04 89"), array("mode"=>"html") );?> </div> <div class="basket"> <?$application->includecomponent("bitrix:sale.basket.basket.line", "sale.basket.line", array( "path_to_basket" => "/site_nb/personal/cart/", "path_to_personal" => "/site_nb/personal/", "show_personal_link" => "n" ), false );?> </div> <div class="auth"> <?$application->includecomponent("alfa:check_authorized", "check_auth", array( "prosto_pole" => "#\$%" ), false );?> </div> <div class="clear"></div> <?$application->includecomponent( "bitrix:search.title", "store", array( "show_input" => "y", "input_id" => "title-search-input", "container_id" => "title-search", "page" => "/site_nb/content/search/", "num_categories" => "1", "top_count" => "5", "order" => "date", "use_language_guess" => "y", "check_dates" => "n", "show_others" => "n", "category_0_title" => "", "category_0" => "all" ), false );?> <!-- </div>--> <div class="left"> <?$application->includecomponent( "bitrix:menu", "menu_left", array( "root_menu_type" => "left", "max_level" => "3", "child_menu_type" => "", "use_ext" => "n", "menu_cache_type" => "a", "menu_cache_time" => "3600", "menu_cache_use_groups" => "y", "menu_cache_get_vars" => array() ) );?> <?$temp = $application->includecomponent( "alfa:filter", "fltr", array( "service_url" => "/site_nb/include/ajax/", ), false );?> <?if($temp != "true"):?> <div class="clear"></div> <div class="banners_left"> <?if(cmodule::includemodule('advertising')):?> <? $by="s_id"; $order="asc"; $arfilter = array("type_sid" => "left", "id_exact_match " => "n"); $rs = cadvbanner::getlist($by, $order, $arfilter, $is_filtered, "n"); while($ar = $rs->fetch()): $application->showbanner("left", "<div class=\"sm_banner_left\">", "</div>"); endwhile; ?> <?endif;?> </div> <?endif;?> </div> <div class="right"> <?if(strpos($_server["request_uri"], "catalog/")===false && strpos($_server["request_uri"], "personal/")===false):?> <?$application->includecomponent("bitrix:news.list", "banners", array( "iblock_type" => "banner", "iblock_id" => "5", "news_count" => "5", "sort_by1" => "active_from", "sort_order1" => "desc", "sort_by2" => "sort", "sort_order2" => "asc", "filter_name" => "", "field_code" => array( 0 => "", 1 => "", ), "property_code" => array( 0 => "", 1 => "banner", 2 => "", ), "check_dates" => "y", "detail_url" => "", "ajax_mode" => "n", "ajax_option_jump" => "n", "ajax_option_style" => "y", "ajax_option_history" => "n", "cache_type" => "a", "cache_time" => "36000000", "cache_filter" => "n", "cache_groups" => "y", "preview_truncate_len" => "", "active_date_format" => "j f y", "set_title" => "n", "set_status_404" => "n", "include_iblock_into_chain" => "n", "add_sections_chain" => "n", "hide_link_when_no_detail" => "n", "parent_section" => "", "parent_section_code" => "", "display_top_pager" => "n", "display_bottom_pager" => "n", "pager_title" => "n", "pager_show_always" => "n", "pager_template" => "", "pager_desc_numbering" => "n", "pager_desc_numbering_cache_time" => "36000", "pager_show_all" => "n", "display_date" => "y", "display_name" => "y", "display_picture" => "y", "display_preview_text" => "y", "ajax_option_additional" => "" ), false );?> <?else:?> <div style="height:10px;"></div> <?endif;?> <? unset($_matches) ; preg_match("/catalog/", $_server["request_uri"], $_matches, preg_offset_capture); unset($matches); preg_match("/content/", $_server["request_uri"], $matches, preg_offset_capture); if(!empty($matches) || !empty($_matches)): ?> <div class='breadcrumb_nav'> <?$application->includecomponent( "bitrix:breadcrumb", "breadcrumb", array( "start_from" => "0", "path" => "", "site_id" => "-" ) );?> </div> <h1><?$application->showtitle();?></h1> <?endif;?>#work_area#<?if(!defined("b_prolog_included") || b_prolog_included!==true)die();?></div><div class="clear"></div></div><div class="clear"></div> <div id="prefooter"> <div class="menu_bt"> <?$application->includecomponent( "bitrix:menu", "menu_bot", array( "root_menu_type" => "bottom", "max_level" => "3", "child_menu_type" => "", "use_ext" => "n", "menu_cache_type" => "a", "menu_cache_time" => "3600", "menu_cache_use_groups" => "y", "menu_cache_get_vars" => array() ) );?> </div> <div class="bm_rd"></div> <div class="add_ph"> <div class="address"> <?$application->includefile( $application->gettemplatepath("include_areas/bot_address.php"), array("name" => "г. Москва,<br/>пр. Маршала Жукова,<br/>д. 2, к. 2, с. 1, офис 509"), array("mode" => "html") );?> </div> <div class="phone"> <?$application->includefile( $application->gettemplatepath("include_areas/bot_phone.php"), array(), array("mode" => "html") );?> </div> </div> <div class="socserv"><?$application->includecomponent("bitrix:system.auth.form", "bot_soc_auth", array( "register_url" => "", "forgot_password_url" => "", "profile_url" => "", "show_errors" => "n" ), false);?> </div> </div></div><div id="footer"> <div class="copy"> Разработка сайта: © ООО «ЛОИНС»</a> </div> <div class="ctext"> <?$application->includefile( $application->gettemplatepath("include_areas/bot_ctext.php"), array("text" => "lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt"), array("mode" => "html") );?> </div> </div><div style="display:none;">alfasystems sport as09btr</div></body></html><?$application->addheadscript("/bitrix/js/socialservices/ss.js");$application->addheadscript("/bitrix/js/main/core/core_window.js");$application->setadditionalcss("/bitrix/js/main/core/css/core_window.css");$application->setadditionalcss("/bitrix/js/main/core/css/core_popup.css");$application->setadditionalcss("/bitrix/js/socialservices/css/ss.css");?>#work_area##work_area##work_area##work_area#[/code]стиль:
[code]html, body, form{ margin: 0; padding: 0;}html{ height:100%;}body{ height: 100%; width:100%; text-align: center; font-size: 12px; font-family: arial; /*color: #333;*/ background: #000000 url('images/bg_body_4.jpg') ; background-repeat:no-repeat; background-position:center center; background-attachment:fixed; -o-background-size: 100% 100%, auto; -moz-background-size: 100% 100%, auto; -webkit-background-size: 100% 100%, auto; background-size: 100% 100%, auto;}/* global styles */.vote-result{ display:none;}.clear{ clear:both;}.none1{ position:absolute; left:-10000px; width:1px; height:1px;}.none2{ display:none;}.floatleft{ float:left;}.floatright{ float:right;}.nomargin{ margin:0;}.nopadding{ padding:0;}.textuppercase{ text-transform:uppercase;}/*links*/a{ text-decoration:none; margin:0; padding:0; color:#373737;}a.blue_link{ color:#000000; font-size:11px; text-transform:uppercase;}a.blue_link:hover{ text-decoration:underline;}a.style_a{ color:#b00606; text-transform:uppercase;}a:hover{ text-decoration:uppercase;}a img{ border:0; margin:0; padding:0;}p{ margin:0; padding:0;}h1{ font-size: 20px; font-weight: bold; color: #383838; padding:0px; margin:0px; border:0;}h2{ font-size:17px; font-weight:bold; padding:0px; margin:0px; border:0;}h3{ font-weight:bold; font-size:12px; padding:0px; margin:0px; border:0;}.clear{ clear:both; height:0px;}.txt_uppercase{ text-transform: uppercase;}.contenter{ margin-right:12px;}#wrap{ width: 1001px; margin: 0px auto 0; text-align:left; background-color: #fff; min-height:100%; position:relative;}* html #wrap{ height:100%;}#header{ display:block; width:100%; height:70px;}.header_top{ display:block; background-color: #000000; height:184px; margin-left: 0px; width: 1001px;}#header .logo{ display:block; float:left; margin-top: 9px; margin-left: 10px; }#header .menu_top{ display:block; float:right; font-size:12px; margin-right: 10px;}#header .menu_top ul{ list-style:none; margin:0; padding:0; display:block; margin-top:10px;}#header .menu_top ul li{ display:block; float:left; margin:0; padding:0;}#header .menu_top ul li a{ color:#7c8184; font-weight:bold; margin:0 6px; text-transform:uppercase; display:block; padding:5px; line-height:4.5; height:51px; position:relative; float:left;}#header .menu_top ul li a:hover{ color:#ffffff; text-decoration:none; background:url('images/bg_bt_middle_tm_2.jpg') repeat-x; border-radius:0px 0px 0 0; -moz-border-radius:0px 0px 0 0; -webkit-border-radius:0px 0px 0 0;}#header .menu_top ul li a.selected{ color:#ffffff; text-decoration:none; background:url('images/bg_bt_middle_tm_2.jpg') repeat-x; border-radius:0px 0px 0 0; -moz-border-radius:0px 0px 0 0; -webkit-border-radius:0px 0px 0 0;}#header .menu_top ul li.delim_menu_top{ background:url('images/delim_menu_top_2.jpg') no-repeat center center; height: 60px;}/*#header */.addr_mode{ display:block; clear:both; width:65%; color:#7c8184; text-transform:uppercase; font-size:11px; margin:0px 7px; padding:10px 0px;}/*#header */.auth{ display:block; font-size:11px; float:right; margin:3px 17px;}/*#header */.auth a{ float:left;}/*#header */.auth a:hover{ text-decoration:underline;}/*#header */.auth .delim{ display:block; background:url('images/delim_auth_2.jpg') no-repeat center center; width:2px; margin:0 4px; float:left; height:13px;}/*#header */.basket{ display:block; float:right; width:104px; height:55px; margin-right:30px; margin-top:-20px; position:relative;}/*#header */.bg_basket{ background:url('images/small_basket_y_2.png') no-repeat; display:block; width:104px; height:55px;}/*#header */.bg_basket_empty{ background:url('images/small_basket_n_2.png') no-repeat; display:block; width:104px; height:55px;}/*#header */.basket span.txt_basket{ display:block; position:absolute; font-size:14px; padding-left:40px; left:-8px; top:24px; color:#888792;}/*#header */.basket .num_prod{ display:block; position:absolute; top:1px; left:80px; font-size:14px; font-weight:bold; width:20px; color:#ffffff; text-align:center;}#content{ display:block; position:relative; width:100%;}.left_shadow_top{ display:block; position:absolute; background:url('images/bg_top_shadow_l_3_off.png') repeat-y; width:4px; height:752px; left:-4px; z-index:2;}.left_shadow{ display:block; position:absolute; background:url('images/bg_shadow_l_2.png') repeat-y; width:4px; height:100%; left:-4px; z-index:1;}.right_shadow_top{ display:block; position:absolute; background:url('images/bg_top_shadow_r_2_off.png') repeat-y; width:4px; height:752px; right:-4px; z-index:2;}.right_shadow{ display:block; position:absolute; background:url('images/bg_shadow_r_3.png') repeat-y; width:4px; height:100%; right:-4px; z-index:1;}.left{ display:block; float:left; width:235px; min-height: 1px; padding-bottom: 0px;}.right{ display:block; float:left; margin-left:7px; width:754px; padding-bottom: 30px; padding-top: 10px;}.banners{ display:block; clear:both; overflow: hidden;}.sm_banner{ display:block; float:left; margin-right:6px;}.banners_left{ display:block; width:205px; height:306px; margin-left:17px; margin-top:218px; background-image: url('images/banner_gpx-2.jpg');background-attachment: scroll;}.sm_banner_left{ margin-bottom:20px;}/*------- spec prod ------*/.prod_spec{ display:block; overflow: hidden; margin: 2px 0 10px; clear: both;}.ct_title{ padding-left:14px; padding-bottom:15px;}.catalog_elems{ display:block; margin:0; width: 754px;/* overflow: hidden;*/}.elem_cat{ display:block; width:188px; float:left; height:315px; background:url('images/bg_shadow_prod_2.jpg') no-repeat bottom center; position:relative;}.elem_cat .delim, .cat_sect_elem .delim{ background:url('images/delim_prod.jpg') repeat-y left center; display:block; width:1px; position:absolute; left:0px; height:270px;}.elem_cat .end_delim, .cat_sect_elem .end_delim{ background:url('images/delim_prod.jpg') repeat-y left center; display:block; width:1px; position:absolute; right:0px; height:270px;}.elem_add_basket{ display:block; background:url('images/a/style1_93_2.jpg') no-repeat; width:31px; height:26px; padding-top:5px;}a.elem_add_basket:hover{ background:url('images/a/style1_99_2.jpg') no-repeat 1px 1px;}.elem_add_basket_big{ display:block; background:url('images/a/style1_159_2.jpg') no-repeat; width:159px; height:26px; color:#ffffff; text-transform:uppercase; font-size:11px; opacity: 0.5; text-align:center; padding-top:5px;}.prev_img_elem{/* display: table; */ position: relative; overflow: hidden; height:162px; width:186px; text-align:center;}.prev_img_elem a{ display: table-cell; height:162px; width:186px; text-align: center; vertical-align: middle; margin: 0; padding: 0;}.name_prod{ display:block; padding: 5px 15px 4px; height: 38px;}.rating{ display:block; float:left; margin-left:20px; margin-top: 4px;}.rating div.star-voted { background-image: url(images/vote_active.jpg); width: 10px; height: 11px; overflow: hidden;}.rating div.star-empty { background-image: url('images/vote_empty.jpg'); width: 10px; height: 11px; overflow: hidden;}.rating div.star-over{ background-image: url('images/vote_active.jpg'); width:10px; height:11px; overflow:hidden;}.price{ text-align:right; padding-right:10px; color:#676767; display: block; height: 33px;}.price_list{ position: absolute; width: 100%; bottom: 7px; right: 5px;}.price s{ color:#828281; font-size:11px; font-weight:normal;}.catalog_price{ font-size:11px;}.valuta{ font-size:8px;}.ct_add_basket{ display:block; margin-top:4px; margin-left:15px;}.new_pr{ display:block; background: url('images/icon_new_prod_3.png'); width:52px; height:38px; position: absolute; z-index: 10; right: 0; top:10px;}.hit_pr{ display:block; background: url('images/icon_hit_prod_3.png'); width:52px; height:38px; position: absolute; z-index: 10; right: 0; top:36px;}.sale_pr{ display:block; background: url('images/icon_sale_prod_3.png'); width:52px; height:38px; position: absolute; z-index: 10; right: 0; top:62px;}.economy{ display:block; background:#fff200 url('images/bg_econom.jpg') right no-repeat; width:100px; height:33px; position: absolute; z-index: 10; left: 0; top:60px; text-align:center; padding-top: 5px;}.arrow_basket{ display:block; background:#fff200 url('images/added_2.jpg') no-repeat; width:17px; height:14px; float: right; margin-top: 6px; margin-right: 116px; }.added{ color:#b9dae9;}/*---------------- catalog section --------------*/.catalog_section{ display:block; margin:10px 0; width: 754px;/* overflow: hidden;*/}.elem_sect{ height:260px;}.elem_sect .delim{ height:220px;}.catalog_section .sort, .select_count{ margin-top:-2px;}.cat_sect_elems_list .delim_vert_right{ background:url('images/delim_prod.jpg') repeat-y left center; display:block; width:1px; position:absolute; right:0px; height:155px; top: 0px;}.cat_sect_elems_list .delim_vert_left{ background:url('images/delim_prod.jpg') repeat-y left center; display:block; width:1px; position:absolute; left:0px; height:155px;}.list_elem_add_basket .added { margin-right: 26px;}.list_elem_add_basket .arrow_basket{ margin-right: 0px;}/*------------ catalog section elements ----------*/.cat_sect_elems{ display:block; overflow:hidden; margin:10px 1px;}.head_block_cat_sect{ display:block; background:url('images/section_bg_nav_choice_3.jpg') no-repeat; width:746px; height:54px; color:#373737; font-size:11px; padding-top: 6px;}.head_block_cat_sect .delim{ display:block; background:url('images/delim_sect.jpg') no-repeat; width:2px; height:30px; float:left; margin:-6px 10px 0;}.num_items{ display:block; float:left; padding:3px 0px 0px 15px;}.num_items span{ font-weight:bold;}.sort, .select_count, .block_nav_view, .view_cat, .nav_cat, .grid_cat, .list_cat, .choice_view{ display:block; float:left;}.view_cat{ padding-top:2px;}/*.select_count{ display:block; float:left;}.block_nav_view{ display:block; float:left;}.view_cat{ display:block; float:left;}*/.nav_cat{ padding-top:3px;}.grid_cat{ padding-top:2px; padding-right:5px; padding-left:5px; width:11px; height:11px;}.list_cat{ padding-top:2px; width:12px; height:11px;}.nav_prev{ display:block; float:left; }.nav_next{ display:block; float:left;}.nav_prev{ background: url('images/icon_arr_prev_page.png') no-repeat center; height: 14px; width: 5px; display: block; margin-right: 6px; position:relative;}.nav_prev a{ background: url('images/icon_arr_prev_page_act_2.png') no-repeat center; height: 14px; width: 5px; display: block; margin-right: 6px; position:absolute; top:0px; left:0px;}.nav_num_page{ margin:0 2px;}.nav_next a{ background: url('images/icon_arr_next_page_act_2.png') no-repeat center; height: 14px; width: 5px; display: block; position:absolute; top:0px; left:0px;}.nav_next{ background: url('images/icon_arr_next_page.png') no-repeat center; height: 14px; width: 5px; display: block; margin-left: 6px; position:relative;}.nav_num_page{ display:block; float:left; min-width:6px; width:ex * pression(docu ment.body.clientwidth < 6? "auto": "6px");}.right h1{ padding-left:14px; padding-bottom: 16px;}/*----------------- breadcrumb ------------------*/.breadcrumb_nav{ text-transform:uppercase; font-size:11px; color:#7c8184; padding:10px 14px 14px;}.breadcrumb_nav li span img{ padding:0 6px;}.breadcrumb_nav .last_breadcrumb{ color:#7c8184;}/*------------------- footer --------------------*/#footer{ clear:both; display:block; overflow:hidden;/* position: absolute;*/ position:relative; bottom:0px; width: 960px; z-index:1;}.menu_bt{ display:block; overflow:hidden; float:left;}/*------------------- trololo part --------------------*/input.textinput{ border:1px solid #ffffff; padding:2px 4px 2px 4px;}textarea.textareainput{ border:1px solid #ffffff; padding:2px 4px 2px 4px;}.uppercase{ text-transform:uppercase;}#prefooter{ background:url('images/footer_2.jpg') no-repeat top; height:83px; margin-left:0px; width:1001px;}#prefooter .add_ph{ float:left; width:160px; padding-top:12px;}#prefooter .address{ color:#8b8b8b; padding-bottom:3px;}#prefooter .phone{ color:#af0603; font-size:13px;}#footer{ margin:0 auto; text-align:left; width:970px; height:28px; padding-top:10px; padding-left:15px; text-transform:uppercase; font-size:11px; color:#ffffff;}#footer .copy{ float:left;}#footer .copy a{ color:#2d87e0;}#footer .copy a:hover{ text-decoration:underline;}#footer .ctext{ float:right;}.socserv{ width:148px; float:right; text-align:center; margin-right:15px; margin-top:20px;}.bx-auth-serv-title{ color:#af0603; font-size:13px;} [/code]