Цитата den13666 пишет: скиньте в тему ссылку на сайт, или HTML-код и CSS страницы
HTML код Скрытый текст
<?if(!defined("B_PROLOG_INCLUDED" ;) || B_PROLOG_INCLUDED!==true)die();?> <html> <head> <?$APPLICATION->ShowHead()?> <title><?$APPLICATION->ShowTitle()?></title> </head> <body> <?$APPLICATION->ShowPanel();?> <div id="container"> <div id="header"> <div style="text-align: left;"><img align="left" src="<?=SITE_TEMPLATE_PATH?>/images/woman.jpg" id="header_logo" height="106" width="420" border="0" /> <div style="text-align: right;"> </div> </div> </div> <tbody>Посмотреть календарь <?$APPLICATION->IncludeComponent( "bitrix:main.calendar", ".default", Array( "SHOW_INPUT" => "N", "FORM_NAME" => "", "INPUT_NAME" => "date_fld", "INPUT_NAME_FINISH" => "", "INPUT_VALUE" => "", "INPUT_VALUE_FINISH" => "", "SHOW_TIME" => "N", "HIDE_TIMEBAR" => "N" ;) );?> <br /> <?$APPLICATION->IncludeComponent( "bitrix:menu", "horizontal_multilevel", Array( "ROOT_MENU_TYPE" => "TopA", "MAX_LEVEL" => "1", "CHILD_MENU_TYPE" => "left", "USE_EXT" => "N", "DELAY" => "N", "ALLOW_MULTI_SELECT" => "N", "MENU_CACHE_TYPE" => "A", "MENU_CACHE_TIME" => "3600", "MENU_CACHE_USE_GROUPS" => "Y", "MENU_CACHE_GET_VARS" => array() ;) );?> <br /> <?$APPLICATION->IncludeComponent( "bitrix:search.form", "flat", Array( "USE_SUGGEST" => "N", "PAGE" => "#SITE_DIR#search/index.php" ;) );?> <?$APPLICATION->IncludeComponent( "bitrix:menu", "tree", Array( "ROOT_MENU_TYPE" => "Left1", "MAX_LEVEL" => "4", "CHILD_MENU_TYPE" => "Leftchild", "USE_EXT" => "N", "DELAY" => "N", "ALLOW_MULTI_SELECT" => "N", "MENU_CACHE_TYPE" => "N", "MENU_CACHE_TIME" => "360000", "MENU_CACHE_USE_GROUPS" => "N", "MENU_CACHE_GET_VARS" => "" ;) , false, Array( 'ACTIVE_COMPONENT' => 'Y' ) );?> <br /> <?$APPLICATION->IncludeComponent( "bitrix:menu", "tree", Array( "ROOT_MENU_TYPE" => "Left2", "MAX_LEVEL" => "4", "CHILD_MENU_TYPE" => "Leftchild2", "USE_EXT" => "N", "DELAY" => "N", "ALLOW_MULTI_SELECT" => "N", "MENU_CACHE_TYPE" => "N", "MENU_CACHE_TIME" => "360000", "MENU_CACHE_USE_GROUPS" => "Y", "MENU_CACHE_GET_VARS" => array() ;) );?> <br /> <?$APPLICATION->IncludeComponent( "bitrix:menu", "tree", Array( "ROOT_MENU_TYPE" => "Left3", "MENU_CACHE_TYPE" => "N", "MENU_CACHE_TIME" => "360000", "MENU_CACHE_USE_GROUPS" => "Y", "MENU_CACHE_GET_VARS" => array(), "MAX_LEVEL" => "4", "CHILD_MENU_TYPE" => "Leftchild3", "USE_EXT" => "N", "DELAY" => "N", "ALLOW_MULTI_SELECT" => "N" ;) );?> <br /> <?$APPLICATION->IncludeComponent( "bitrix:menu", "tree", Array( "ROOT_MENU_TYPE" => "Left4", "MENU_CACHE_TYPE" => "N", "MENU_CACHE_TIME" => "360000", "MENU_CACHE_USE_GROUPS" => "Y", "MENU_CACHE_GET_VARS" => array(), "MAX_LEVEL" => "4", "CHILD_MENU_TYPE" => "Leftchild4", "USE_EXT" => "N", "DELAY" => "N", "ALLOW_MULTI_SELECT" => "N" ;) );?> <br /> <?$APPLICATION->IncludeComponent( "bitrix:menu", "tree", Array( "ROOT_MENU_TYPE" => "Left5", "MENU_CACHE_TYPE" => "N", "MENU_CACHE_TIME" => "360000", "MENU_CACHE_USE_GROUPS" => "Y", "MENU_CACHE_GET_VARS" => array(), "MAX_LEVEL" => "4", "CHILD_MENU_TYPE" => "Leftchild5", "USE_EXT" => "N", "DELAY" => "N", "ALLOW_MULTI_SELECT" => "N" ;) );?> <br /> <?$APPLICATION->IncludeComponent( "bitrix:menu", "tree", Array( "ROOT_MENU_TYPE" => "Left6", "MENU_CACHE_TYPE" => "N", "MENU_CACHE_TIME" => "360000", "MENU_CACHE_USE_GROUPS" => "Y", "MENU_CACHE_GET_VARS" => array(), "MAX_LEVEL" => "4", "CHILD_MENU_TYPE" => "Leftchild6", "USE_EXT" => "N", "DELAY" => "N", "ALLOW_MULTI_SELECT" => "N" ;) );?> <br /> <?$APPLICATION->IncludeComponent( "bitrix:menu", "tree", Array( "ROOT_MENU_TYPE" => "Left7", "MAX_LEVEL" => "4", "CHILD_MENU_TYPE" => "Leftchild7", "USE_EXT" => "N", "DELAY" => "N", "ALLOW_MULTI_SELECT" => "N", "MENU_CACHE_TYPE" => "N", "MENU_CACHE_TIME" => "360000", "MENU_CACHE_USE_GROUPS" => "Y", "MENU_CACHE_GET_VARS" => array() ;) );?> <br /> <?$APPLICATION->IncludeComponent( "bitrix:menu", "tree", Array( "ROOT_MENU_TYPE" => "Left8", "MENU_CACHE_TYPE" => "N", "MENU_CACHE_TIME" => "360000", "MENU_CACHE_USE_GROUPS" => "Y", "MENU_CACHE_GET_VARS" => array(), "MAX_LEVEL" => "4", "CHILD_MENU_TYPE" => "Leftchild8", "USE_EXT" => "N", "DELAY" => "N", "ALLOW_MULTI_SELECT" => "N" ;) );?> <br /> <?$APPLICATION->IncludeComponent( "bitrix:menu", "tree", Array( "ROOT_MENU_TYPE" => "Left9", "MENU_CACHE_TYPE" => "N", "MENU_CACHE_TIME" => "360000", "MENU_CACHE_USE_GROUPS" => "Y", "MENU_CACHE_GET_VARS" => array(), "MAX_LEVEL" => "4", "CHILD_MENU_TYPE" => "Leftchild9", "USE_EXT" => "N", "DELAY" => "N", "ALLOW_MULTI_SELECT" => "N" ;) );?> <br /> <?$APPLICATION->IncludeComponent( "bitrix:menu", "tree", Array( "ROOT_MENU_TYPE" => "Left10", "MENU_CACHE_TYPE" => "N", "MENU_CACHE_TIME" => "360000", "MENU_CACHE_USE_GROUPS" => "Y", "MENU_CACHE_GET_VARS" => array(), "MAX_LEVEL" => "4", "CHILD_MENU_TYPE" => "Leftchild10", "USE_EXT" => "N", "DELAY" => "N", "ALLOW_MULTI_SELECT" => "N" ;) );?> <h5 style="text-align: center;">#WORK_AREA#</h5> <div style="text-align: right;"> <br /> </div> <div style="text-align: right;"> <br /> </div> <div style="text-align: right;"> <?$APPLICATION->IncludeComponent( "bitrix:menu", "left", Array( "ROOT_MENU_TYPE" => "Right", "MENU_CACHE_TYPE" => "N", "MENU_CACHE_TIME" => "3600", "MENU_CACHE_USE_GROUPS" => "Y", "MENU_CACHE_GET_VARS" => array(), "MAX_LEVEL" => "1", "CHILD_MENU_TYPE" => "left", "USE_EXT" => "N", "DELAY" => "N", "ALLOW_MULTI_SELECT" => "N" ;) );?> </div> <div style="text-align: right;"> <br /> </div> <br /> <br /> </tbody>
<div id="footer" style="text-align: right;"> (с) 2013г. Югра-консалтинг</div> <div id="footer" style="text-align: right;"><?$APPLICATION->IncludeFile( $APPLICATION->GetTemplatePath("include_areas/company_name.php" ;) , Array(), Array("MODE"=>"html" ;) ;) ;?><?$APPLICATION->IncludeFile( $APPLICATION->GetTemplatePath("include_areas/copyright.php" ;) , Array(), Array("MODE"=>"html" ;) ;) ;?></div> </div> </body> </html>
Файл стилей сайта (styles.css) Скрытый текст
h1, h2, h3, h4, h5, h6 { color:#4F4F4F; } h1 { margin:0; padding:0; font-size:120%; margin-bottom:8px; padding-bottom:15px; padding-top:14px; border-bottom:1px dashed #C4C4C3; } h2, h3 { font-size:120%; } h2 { padding-top:15px; padding-bottom:5px; border-bottom:1px dashed #C4C4C3; } h4, h5, h6 { font-size:110%; } /*Information block*/ .information-block { width:185px; margin-top:10px; margin-right:10px; padding:10px; border:1px solid #BFBFBF; box-sizing:border-box; -moz-box-sizing:border-box; } .information-block-head { color:#979797; font-weight:bold; font-size:85%; border-bottom:1px solid #B5B5B5; margin-bottom:4px; padding-bottom:5px; } .information-block-body { font-size:85%; color:#737373; margin-right:20px; } code { font-size:100%; font-weight:normal; display:block; padding:1.5em 1em 1em 1em; border-style:solid; border-width:1px; border-width:1px 0; border-color:#C4C4C3; margin:1em 0; background-color:#F5F2E6; font-family:sans-serif; } .news-date-time { color:#E19813; }
Файл стилей шаблона (template_styles.css) Скрытый текст
/*Error & OK messages*/ .errortext { color:red; } .notetext { color:green; } /* Used to draw a "star" near reqired field */ .starrequired { color:red; } /*Forum*/ /*Forum menu*/ table.forum-menu {border-left: 1px solid #DAE7DF; border-top: 1px solid #DAE7DF; } table.forum-menu td.forumtoolbar {background-color: #F5F2E6; border-left: 1px solid #FFFFFF;border-top: 1px solid #FFFFFF; border-right: 1px solid #C4C4C3; border-bottom: 1px solid #C4C4C3; } .forumtoolsection {border-left: 1px solid #FFFFFF;border-top: 1px solid #FFFFFF; border-right: 1px solid #C4C4C3; border-bottom: 1px solid #C4C4C3; } .forumtoolseparator {border-left: 1px solid #C4C4C3;border-right: 1px solid #FFFFFF; } table.forum-menu a, table.forum-menu select, table.forum-menu input, table.forum-menu td {color:#333} /* menu popup */ .forum-menu-hidden-in {border: 1px solid #C4C4C3;} table.forum-menu-popup-table td, table.forum-menu-popup-table td a { color: black;} table.forum-menu-popup-table td.forum-menu-popup, table.forum-menu-popup-table td.forum-menu-popup-hover {border: none; background-color: #F5F2E6; } table.forum-menu-popup-table td.forum-group{background-color:#F5F2E6; color:#333;} table.forum-menu-popup-table td.forum-menu-popup-hover {background-color: #FBFAF5;} div.forum-group{background-color:#F9FBF9; font-weight:bold; color:#333;} /*Forum index and list*/ table.forum-main {border: 1px solid #C4C4C3;} table.forum-main td {background-color:#FBFAF5;border: 1px solid #C4C4C3;} table.forum-main th {background-color:#F5F2E6;border: 1px solid #C4C4C3;color: #333;vertical-align: top;} div.forum-hr {background-color:#C4C4C3} div.filter-check-hover {background-color:#F5F2E6} a.forum-button:link,a.forum-button:visited,a.forum-button:active,a.forum-button:hover {background: #F5F2E6;border: 1px solid #C4C4C3;color: #333;} table.forum-main td small {font-size:100%;} table.forum-main td.forum-group {background-color:#F5F2E6; color:#333;} div.forum-title {border: 1px solid #C4C4C3; padding: 5px; background-color: #F5F2E6 !important; color:#333; } /*Forum messages*/ table.forum-message {} table.forum-message td {background-color: #FBFAF5;border: none;} table.forum-message td.forum-message-user-info {background-color: #FBFAF5;border: 1px solid #C4C4C3;border-right-width: 1px;} table.forum-message td.border-top {border: 1px solid #C4C4C3;border-left-width: 1px;border-top: none;} table.forum-message td.border-bottom {border: 1px solid #C4C4C3;border-left-width: 1px;border-bottom: none;} table.forum-message .forum-message-posts, table.forum-message .forum-message-status, table.forum-message .forum-message-datereg, table.forum-message .forum-message-datecreate {color:#333;} a.forum-button-small, a.forum-button-small-vote, a.forum-button-small-unvote { background-color: #F5F2E6; border: 1px solid #C4C4C3; color: #333; font-size: 11px; height:20px; padding: 2px 5px 2px 5px; box-sizing:border-box; -moz-box-sizing:border-box; } a.forum-button-small-vote, a.forum-button-small-unvote {padding-left:18px;} a.forum-button-small:hover,a.forum-button-small-vote:hover,a.forum-button-small-unvote:hover {color: #333; } /*Forum statistics*/ table.forum-stat {} table.forum-stat th {background-color:#F5F2E6;border: 1px solid #C4C4C3;color: #333;font-weight:bold;padding:5px;} table.forum-stat td {background-color:#FBFAF5;border: 1px solid #C4C4C3;} table.forum-stat .forum-attention{font-size: 100%;color: black;} /*Post form*/ table.forum-post-form {border: 1px solid #C4C4C3;} table.forum-post-form td {background-color:#FBFAF5;border: 1px solid #C4C4C3;} table.forum-post-form th {background-color:#F5F2E6;border: 1px solid #C4C4C3;} table.forum-smile {border: 1px solid #C4C4C3;} table.forum-smile th {background-color:#F5F2E6;border: 1px solid #C4C4C3;} table.forum-smile img { margin: 0px;} textarea#POST_MESSAGE{width:100%;} /* Only for user-profile*/ table.fuser {} table.fuser-static th {background-color:#F5F2E6; border:1px solid #C4C4C3;} table.fuser-static td {background-color:#FBFAF5; border:1px solid #C4C4C3;} /* Tab controls*/ table.tabs {border-left:1px solid #C4C4C3;} table.tabs td {} table.tabs td.tab-indent-left {border-bottom:1px solid #C4C4C3;} table.tabs td.tab-indent-right {border-bottom:1px solid #C4C4C3;} table.tabs td.tab-container {border:1px solid #C4C4C3; border-left: none;} table.tabs td.tab-container-selected {border:1px solid #C4C4C3; border-bottom:1px solid #F9FBF9; border-left: none; background-color:#F9FBF9;} table.tabs table td.tab {border-top:1px solid #C4C4C3;} table.tabs table td.tab-selected {border-top:1px solid red;} table.tabs table td.tab-hover {border-top:1px solid #C4C4C3;} /* Tab inside edit form */ table.tab {border:1px solid #C4C4C3; border-top:none;} table.tab td {background-color:#FBFAF5;} .forum-menu-hidden-in { max-height:100px; height:expression(this.scrollHeight > 100? "100px" : "auto" ;) ; } table.forum-quote td, table.forum-code td { background-color:#F5F2E6; /*th*/ border:1px solid #C4C4C3; } table.forum-reviews-messages td, table.forum-reviews-messages th { background-color:#FBFAF5; /*td*/ border-color:#C4C4C3; } a.button-small { background:#F5F2E6; border:1px solid #C4C4C3; } /*Support*/ div.ticket-edit-message { border-color: #C4C4C3; } /*Blogs*/ table.blog-table-post td, table.blog-table-post th, table.blog-blog-edit th, table.blog-user-table td.head, table.blog-table-post-comment td, table.blog-table-post-comment th { background-color:#FBFAF5; } table.blog-blog-edit td, table.blog-blog-edit-table-smiles, table.blog-table-post td, table.blog-table-post th, table.blog-blog-edit th, table.blog-user-table td.head, table.blog-user-table td, table.blog-group td, table.blog-category td, table.blog-comment-form th, table.blog-comment-form td, table.blog-table-post-comment td, table.blog-table-post-comment th { border-color: #C4C4C3; } .blog-post-date { color:#333; } table.blog-table-post-table th, table.blog-table-post-table td, table.blog-table-post-comment-table th, table.blog-table-post-comment-table td { font-size:95%; } .blogtoolblock {border-color:#C4C4C3;} .blogtoolbar {background-color:#FBFAF5;border-color:#C4C4C3;border-top:none;} .blogtoolsection {border-color:#C4C4C3} .blogtoolbutton, .blogmessbuttontext {color:#333;} a.blogtoolbutton, .blogmessbuttontext{color:#333;} .blogtoolseparator {border-left:1px solid #C4C4C3;border-right:1px solid #FBFAF5;} /* table.blog-table-post-table th, table.blog-table-post-table td*/ /* social network*/ div.socnet-informer {padding:5px;} div#sonet_events_ms_message {width:150px;}