View file temes/ZnTotalBweb/verh.dat

File size: 41.42Kb
 <?php

 //автор - figura
  //автор темы - KaPaHDaLLIuK
//сайт - http://f-pt.ru




$img_my_menu = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/act.gif" alt="">';
$img_news = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/act.gif" alt="">';
$img_forum = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/act.gif" alt="">';
$img_chat = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/act.gif" alt="">';
$img_gb = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/act.gif" alt="">';
$img_dounload = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/act.gif" alt="">';
$img_lib = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/act.gif" alt="">';
$img_stats = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/act.gif" alt="">';
$img_act = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/act.gif" alt="">';

$img_inf = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/act.gif" alt="">';
$img_reg = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/act.gif" alt="">';
$img_avt = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/act.gif" alt="">';
//в форуме
$img_forum_razd = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/tem.png" alt="">';
$img_forum_teme = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/for.png" alt="">';
//в загрузцентре
$img_dir_dounload = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/pap.png" alt="">';
$img_file_dounload = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/fle.png" alt="">';
$img_down_dounload = '<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/dwn.png" alt="">';




 echo'
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

    <title>  '.$title.' </title>

<style type="text/css">
body, p
{
  margin: 0.5em 0;
  font-family: Arial, Helvetica, Sans-Serif;
  font-style: normal;
  font-weight: normal;
  font-size: 12px;
  text-align: justify;
}

body
{
  margin: 0 auto;
  padding: 0;
  color: #304B5A;
  background-color: #A2BECD;
  background-image: url(http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/images/page_t.jpg);
  background-repeat: repeat;
  background-attachment: scroll;
  background-position: top left;
}

h1, h2, h3, h4, h5, h6,
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover
h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited,
.art-postheader, .art-postheader a, .art-postheader a:link, .art-postheader a:visited, .art-postheader a:hover,
.art-blockheader .t, .art-vmenublockheader .t, .art-logo-text, .art-logo-text a,
h1.art-logo-name, h1.art-logo-name a, h1.art-logo-name a:link, h1.art-logo-name a:visited, h1.art-logo-name a:hover
{
  font-style: normal;
  text-decoration: none;
  font-weight: bold;
  font-size: 28px;
  text-align: left;
}

a,
.art-post li a
{
  text-decoration: underline;
  color: #1F7BAD;
}

a:link,
.art-post li a:link
{
  text-decoration: underline;
  color: #1F7BAD;
}

a:visited, a.visited,
.art-post li a:visited, .art-post li a.visited
{

  color: #476F85;
}

a:hover, a.hover,
.art-post li a:hover, .art-post li a.hover
{

  text-decoration: none;
  color: #1F7BAD;
}

h1, h1 a, h1 a:link, h1 a:visited, h1 a:hover
{
  margin: 0.67em 0;

  color: #175D82;
}

h2, h2 a, h2 a:link, h2 a:visited, h2 a:hover
{
  margin: 0.8em 0;
  font-size: 22px;
  color: #1F7BAD;
}

h3, h3 a, h3 a:link, h3 a:visited, h3 a:hover
{
   margin: 1em 0;
  font-size: 18px;
  color: #357597;
}

h4, h4 a, h4 a:link, h4 a:visited, h4 a:hover
{
  margin: 1.25em 0;
  font-size: 16px;
  color: #3D5F71;
}

h5, h5 a, h5 a:link, h5 a:visited, h5 a:hover
{
  margin: 1.67em 0;
  font-size: 14px;
  color: #3D5F71;
}

h6, h6 a, h6 a:link, h6 a:visited, h6 a:hover
{
  margin: 2.33em 0;
  font-size: 14px;
  color: #3D5F71;
}

h1 a, h1 a:link, h1 a:visited, h1 a:hover,
h2 a, h2 a:link, h2 a:visited, h2 a:hover,
h3 a, h3 a:link, h3 a:visited, h3 a:hover,
h4 a, h4 a:link, h4 a:visited, h4 a:hover,
h5 a, h5 a:link, h5 a:visited, h5 a:hover,
h6 a, h6 a:link, h6 a:visited, h6 a:hover
{
    margin:0;
}

#art-main
{
  position: relative;
  width: 100%;
  left: 0;
  top: 0;
  cursor:default;
}

#art-page-background-glare
{
  position: absolute;
  width: 100%;
  height: 369px;
  left: 0;
  top: 0;
}

#art-page-background-glare-image
{
  background-image: url(http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/images/page_gl.png);
  background-repeat: no-repeat;
  height: 369px;
  width: 376px;
  margin: 0;
}

html:first-child #art-page-background-glare
{
  border: 1px solid transparent;/* Opera fix */
}

#art-page-background-gradient
{
  position: absolute;
  background-image: url(http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/images/page_g.jpg);
  background-repeat: repeat-x;
  top: 0;
  width: 100%;
  height: 270px;

}

#art-page-background-gradient
{
  background-position: top left;
}


.cleared
{
  float: none;
  clear: both;
  margin: 0;
  padding: 0;
  border: none;
  font-size: 1px;
}

form
{
  padding: 0 !important;
  margin: 0 !important;
}

table.position
{
  position: relative;
  width: 100%;
  table-layout: fixed;
}
/* end Page */

/* begin Box, Sheet */
.art-sheet
{
  position: relative;
  z-index: 0;
  margin: 0 auto;
  width: 900px;
  min-width: 51px;
  min-height: 51px;
}

.art-sheet-body
{
  position: relative;
  z-index: 1;
  padding: 5px;
}

.art-sheet-tr, .art-sheet-tl, .art-sheet-br, .art-sheet-bl, .art-sheet-tc, .art-sheet-bc,.art-sheet-cr, .art-sheet-cl
{
  position: absolute;
  z-index: -1;
}

.art-sheet-tr, .art-sheet-tl, .art-sheet-br, .art-sheet-bl
{
  width: 70px;
  height: 70px;
  background-image: url(http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/images/sheet_s.png);
}

.art-sheet-tl
{
  top: 0;
  left: 0;
  clip: rect(auto, 35px, 35px, auto);
}

.art-sheet-tr
{
  top: 0;
  right: 0;
  clip: rect(auto, auto, 35px, 35px);
}

.art-sheet-bl
{
  bottom: 0;
  left: 0;
  clip: rect(35px, 35px, auto, auto);
}

.art-sheet-br
{
  bottom: 0;
  right: 0;
  clip: rect(35px, auto, auto, 35px);
}

.art-sheet-tc, .art-sheet-bc
{
  left: 35px;
  right: 35px;
  height: 70px;
  background-image: url(http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/images/sheet_h.png);
}

.art-sheet-tc
{
  top: 0;
  clip: rect(auto, auto, 35px, auto);
}

.art-sheet-bc
{
  bottom: 0;
  clip: rect(35px, auto, auto, auto);
}

.art-sheet-cr, .art-sheet-cl
{
  top: 35px;
  bottom: 35px;
  width: 70px;
  background-image: url(http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/images/sheet_v.png);
}

.art-sheet-cr
{
  right: 0;
  clip: rect(auto, auto, auto, 35px);
}

.art-sheet-cl
{
  left: 0;
  clip: rect(auto, 35px, auto, auto);
}

.art-sheet-cc
{
  position: absolute;
  z-index: -1;
  top: 35px;
  left: 35px;
  right: 35px;
  bottom: 35px;
  background-color: #346179;
}

.art-sheet
{
  margin-top: 30px !important;
  cursor:auto;
}

#art-page-background-simple-gradient, #art-page-background-gradient, #art-page-background-glare
{
  min-width: 900px;
}

/* end Box, Sheet */

/* begin Menu */
/* menu structure */

.art-menu a, .art-menu a:link, .art-menu a:visited, .art-menu a:hover
{
  text-align: left;
  text-decoration: none;
  outline: none;
  letter-spacing: normal;
  word-spacing: normal;
}

.art-menu, .art-menu ul
{
  margin: 0;
  padding: 0;
  border: 0;
  list-style-type: none;
  display: block;
}

.art-menu li
{
  margin: 0;
  padding: 0;
  border: 0;
  display: block;
  float: left;
  position: relative;
  z-index: 5;
  background: none;
}

.art-menu li:hover
{
  z-index: 10000;
  white-space: normal;
}

.art-menu li li
{
  float: none;
}

.art-menu ul
{
  visibility: hidden;
  position: absolute;
  z-index: 10;
  left: 0;
  top: 0;
  background: none;
}

.art-menu li:hover>ul
{
  visibility: visible;
  top: 100%;
}

.art-menu li li:hover>ul
{
  top: 0;
  left: 100%;
}

.art-menu:after, .art-menu ul:after
{
  content: ".";
  height: 0;
  display: block;
  visibility: hidden;
  overflow: hidden;
  clear: both;
}
.art-menu, .art-menu ul
{
  min-height: 0;
}

.art-menu ul
{
  background-image: url(http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/images/spacer.gif);
  padding: 10px 30px 30px 30px;
  margin: -10px 0 0 -30px;
}

.art-menu ul ul
{
  padding: 30px 30px 30px 10px;
  margin: -30px 0 0 -10px;
}




/* menu structure */

.art-menu
{
  padding: 3px 15px 3px 15px;
}

.art-nav
{
  position: relative;
  height: 35px;
  z-index: 100;
}

.art-nav .l, .art-nav .r
{
  position: absolute;
  z-index: -1;
  top: 0;
  height: 35px;
  background-image: url(http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/images/nav.png);
}

.art-nav .l
{
  left: 0;
  right: 15px;
}

.art-nav .r
{
  right: 0;
  width: 890px;
  clip: rect(auto, auto, auto, 875px);
}


/* end Menu */

/* begin MenuItem */
.art-menu a
{
  position: relative;
  display: block;
  overflow: hidden;
  height: 29px;
  cursor: pointer;
  text-decoration: none;
}

.art-menu li
{
  margin-right: 2px;
  margin-left: 2px;
}

.art-menu ul li
{
    margin:0;
    clear: both;
}


.art-menu a .r, .art-menu a .l
{
  position: absolute;
  display: block;
  top: 0;
  z-index: -1;
  height: 87px;
  background-image: url(http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/images/menuitem.png);
}

.art-menu a .l
{
  left: 0;
  right: 4px;
}

.art-menu a .r
{
  width: 408px;
  right: 0;
  clip: rect(auto, auto, auto, 404px);
}

.art-menu a .t
{
  margin-right: 10px;
  margin-left: 10px;
  color: #B1DBF1;
  padding: 0 19px;
  margin: 0 4px;
  line-height: 29px;
  text-align: center;
}

.art-menu a:hover .l, .art-menu a:hover .r
{
  top: -29px;
}

.art-menu li:hover>a .l, .art-menu li:hover>a .r
{
  top: -29px;
}

.art-menu li:hover a .l, .art-menu li:hover a .r
{
  top: -29px;
}
.art-menu a:hover .t
{
  color: #121C21;
}

.art-menu li:hover a .t
{
  color: #121C21;
}

.art-menu li:hover>a .t
{
  color: #121C21;
}


.art-menu a.active .l, .art-menu a.active .r
{
  top: -58px;
}

.art-menu a.active .t
{
  color: #D4E1E8;
}
/* end MenuItem */

/* begin MenuSeparator */
.art-nav .art-menu-separator
{
  display: block;
  width: 1px;
  height: 29px;
  background-image: url(http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/images/menuseparator.png);
}
/* end MenuSeparator */

/* begin MenuSubItem */
.art-menu ul a
{
  display: block;
  text-align: center;
  white-space: nowrap;
  height: 20px;
  width: 180px;
  overflow: hidden;
  line-height: 20px;
  background-image: url(http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/images/subitem.png);
  background-position: left top;
  background-repeat: repeat-x;
  border-width: 0;
  border-style: solid;
}

.art-nav ul.art-menu ul span, .art-nav ul.art-menu ul span span
{
  display: inline;
  float: none;
  margin: inherit;
  padding: inherit;
  background-image: none;
  text-align: inherit;
  text-decoration: inherit;
}

.art-menu ul a, .art-menu ul a:link, .art-menu ul a:visited, .art-menu ul a:hover, .art-menu ul a:active, .art-nav ul.art-menu ul span, .art-nav ul.art-menu ul span span
{
  text-align: left;
  text-indent: 12px;
  text-decoration: none;
  line-height: 20px;
  color: #10415B;
  margin-right: 10px;
  margin-left: 10px;
  margin:0;
  padding:0;
}

.art-menu ul li a:hover
{
  color: #E8F2F7;
  background-position: 0 -20px;
}

.art-menu ul li:hover>a
{
  color: #E8F2F7;
  background-position: 0 -20px;
}

.art-nav .art-menu ul li a:hover span, .art-nav .art-menu ul li a:hover span span
{
  color: #E8F2F7;
}

.art-nav .art-menu ul li:hover>a span, .art-nav .art-menu ul li:hover>a span span
{
  color: #E8F2F7;
}


/* end MenuSubItem */

/* begin Header */
div.art-header
{
  margin: 0 auto;
  position: relative;
  z-index: 0;
  width: 890px;
  height: 200px;
  overflow: hidden;
}


div.art-header-jpeg
{
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 890px;
  height: 200px;
  background-image: url(http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/images/header.jpg);
  background-repeat: no-repeat;
  background-position: center center;
}

/* end Header */

/* begin Logo */
.art-logo
{
  display: block;
  position: absolute;
  left: 10px;
  top: 10px;
  width: 860px;
}

h1.art-logo-name
{
  display: block;
  text-align: left;
}

h1.art-logo-name, h1.art-logo-name a, h1.art-logo-name a:link, h1.art-logo-name a:visited, h1.art-logo-name a:hover
{
  font-size: 26px;
  text-decoration: none;
  padding: 0;
  margin: 0;
  color: #EEF7FC !important;
}

.art-logo-text
{
  display: block;
  text-align: left;
}

.art-logo-text, .art-logo-text a
{
  font-weight: normal;
  font-size: 18px;
  padding: 0;
  margin: 0;
  color: #02090D !important;
}
/* end Logo */

/* begin Layout */
.art-content-layout
{
  display: table;
  padding: 0;
  border: none;
  width: 890px;
}

.art-content-layout .art-content-layout
{
  width: auto;
  margin:0;
}

div.art-content-layout div.art-layout-cell, div.art-content-layout div.art-layout-cell div.art-content-layout div.art-layout-cell
{
   display: table-cell;
}

div.art-layout-cell div.art-layout-cell
{
   display: block;
}

div.art-content-layout-row
{
  display: table-row;
}

.art-content-layout
{
  table-layout: fixed;
  border-collapse: collapse;
  background-color: Transparent;
  border: none !important;
  padding:0 !important;
}

.art-layout-cell, .art-content-layout-row
{
  background-color: Transparent;
  vertical-align: top;
  text-align: left;
  border: none !important;
  margin:0 !important;
  padding:0 !important;
}
/* end Layout */

/* begin Box, Block, VMenuBlock */
.art-vmenublock
{
  position: relative;
  z-index: 0;
  margin: 0 auto;
  min-width: 1px;
  min-height: 1px;
}

.art-vmenublock-body
{
  position: relative;
  z-index: 1;
  padding: 0;
}

.art-vmenublock-cc
{
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #FFFFFF;
}

.art-vmenublock
{
  margin: 7px;
}

/* end Box, Block, VMenuBlock */

/* begin Box, Box, VMenuBlockContent */
.art-vmenublockcontent
{
  position: relative;
  z-index: 0;
  margin: 0 auto;
  min-width: 1px;
  min-height: 1px;
}

.art-vmenublockcontent-body
{
  position: relative;
  z-index: 1;
  padding: 5px;
}

.art-vmenublockcontent-cc
{
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #FFFFFF;
}

.art-vmenublockcontent
{
  position: relative;
  z-index: 0;
  margin: 0 auto;
  min-width: 1px;
  min-height: 1px;
}

.art-vmenublockcontent-body
{
  position: relative;
  z-index: 1;
  padding: 5px;
}

.art-vmenublockcontent-cc
{
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #FFFFFF;
}

/* end Box, Box, VMenuBlockContent */

/* begin Box, Block */
.art-block
{
  position: relative;
  z-index: 0;
  margin: 0 auto;
  min-width: 15px;
  min-height: 15px;
}

.art-block-body
{
  position: relative;
  z-index: 1;
  padding: 8px;
}

.art-block-tr, .art-block-tl, .art-block-br, .art-block-bl, .art-block-tc, .art-block-bc,.art-block-cr, .art-block-cl
{
  position: absolute;
  z-index: -1;
}

.art-block-tr, .art-block-tl, .art-block-br, .art-block-bl
{
  width: 14px;
  height: 14px;
  background-image: url(http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/images/block_s.png);
}

.art-block-tl
{
  top: 0;
  left: 0;
  clip: rect(auto, 7px, 7px, auto);
}

.art-block-tr
{
  top: 0;
  right: 0;
  clip: rect(auto, auto, 7px, 7px);
}

.art-block-bl
{
  bottom: 0;
  left: 0;
  clip: rect(7px, 7px, auto, auto);
}

.art-block-br
{
  bottom: 0;
  right: 0;
  clip: rect(7px, auto, auto, 7px);
}

.art-block-tc, .art-block-bc
{
  left: 7px;
  right: 7px;
  height: 14px;
  background-image: url(http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/images/block_h.png);
}

.art-block-tc
{
  top: 0;
  clip: rect(auto, auto, 7px, auto);
}

.art-block-bc
{
  bottom: 0;
  clip: rect(7px, auto, auto, auto);
}

.art-block-cr, .art-block-cl
{
  top: 7px;
  bottom: 7px;
  width: 14px;
  background-image: url(http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/images/block_v.png);
}

.art-block-cr
{
  right: 0;
  clip: rect(auto, auto, auto, 7px);
}

.art-block-cl
{
  left: 0;
  clip: rect(auto, 7px, auto, auto);
}

.art-block-cc
{
  position: absolute;
  z-index: -1;
  top: 7px;
  left: 7px;
  right: 7px;
  bottom: 7px;
  background-color: #E2EAEE;
}

.art-block
{
  margin: 7px;
}

/* end Box, Block */

/* begin BlockHeader */
.art-blockheader
{
  position: relative;
  z-index: 0;
  height: 32px;
  margin-bottom: 0;
}

.art-blockheader .t
{
  height: 32px;
  color: #000000;
  margin-right: 10px;
  margin-left: 10px;
  font-size: 12px;
  margin:0;
  padding: 0 10px 0 28px;
  white-space: nowrap;
  line-height: 32px;
}

.art-blockheader .l, .art-blockheader .r
{
  display: block;
  position: absolute;
  z-index: -1;
  height: 32px;
  background-image: url(http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/images/blockheader.png);
}

.art-blockheader .l
{
  left: 0;
  right: 22px;
}

.art-blockheader .r
{
  width: 890px;
  right: 0;
  clip: rect(auto, auto, auto, 868px);
}

/* end BlockHeader */

/* begin Box, BlockContent */
.art-blockcontent
{
  position: relative;
  z-index: 0;
  margin: 0 auto;
  min-width: 1px;
  min-height: 1px;
}

.art-blockcontent-body
{
  position: relative;
  z-index: 1;
  padding: 7px;
}


.art-blockcontent-body,
.art-blockcontent-body a,
.art-blockcontent-body li a
{
  color: #507D95;

}

.art-blockcontent-body a,
.art-blockcontent-body li a
{
  color: #1F7FB2;
  text-decoration: underline;
}

.art-blockcontent-body a:link,
.art-blockcontent-body li a:link
{
  color: #1F7FB2;
  text-decoration: underline;
}

.art-blockcontent-body a:visited, .art-blockcontent-body a.visited,
.art-blockcontent-body li a:visited, .art-blockcontent-body li a.visited
{
  color: #6090A9;

}

.art-blockcontent-body a:hover, .art-blockcontent-body a.hover,
.art-blockcontent-body li a:hover, .art-blockcontent-body li a.hover
{
  color: #09BDDC;

  text-decoration: none;
}

.art-blockcontent-body ul
{
  list-style-type: none;
  color: #3E6174;
  margin: 0;
  padding: 0;
}

.art-blockcontent-body ul li
{
  text-decoration: none;
  line-height: 1.25em;
  padding: 0 0 0 13px;
  background-image: url(http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/images/blockcontentbullets.png);
  background-repeat: no-repeat;
}


/* end Box, BlockContent */

/* begin Button */
.art-button-wrapper .art-button
{

  display: inline-block;
  vertical-align: middle;
  white-space: nowrap;
  text-align: left;
  text-decoration: none !important;
  color: #000000 !important;
  width: auto;
  outline: none;
  border: none;
  background: none;
  line-height: 33px;
  height: 33px;
  margin: 0;
  padding: 0 21px !important;
  overflow: visible;
  cursor: default;
  z-index: 0;
}

.art-button img, .art-button-wrapper img
{
  margin: 0;
  vertical-align: middle;
}

.art-button-wrapper
{
  vertical-align: middle;
  display: inline-block;
  position: relative;
  height: 33px;
  overflow: hidden;
  white-space: nowrap;
  width: auto;
  margin: 0;
  padding: 0;
  z-index: 0;
}

.firefox2 .art-button-wrapper
{
  display: block;
  float: left;
}

input, select, textarea, select
{
  vertical-align: middle;

}

.art-block select
{
    width:96%;
}

.art-button-wrapper.hover .art-button, .art-button:hover
{
  color: #000000 !important;
  text-decoration: none !important;
}

.art-button-wrapper.active .art-button
{
  color: #E8F2F7 !important;
}

.art-button-wrapper .l, .art-button-wrapper .r
{
  display: block;
  position: absolute;
  z-index: -1;
  height: 99px;
  margin: 0;
  padding: 0;
  background-image: url(http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/images/button.png);
}

.art-button-wrapper .l
{
  left: 0;
  right: 10px;
}

.art-button-wrapper .r
{
  width: 409px;
  right: 0;
  clip: rect(auto, auto, auto, 399px);
}

.art-button-wrapper.hover .l, .art-button-wrapper.hover .r
{
  top: -33px;
}

.art-button-wrapper.active .l, .art-button-wrapper.active .r
{
  top: -66px;
}

.art-button-wrapper input
{
  float: none !important;
}
/* end Button */

/* begin Box, Post */
.art-post
{
  position: relative;
  z-index: 0;
  margin: 0 auto;
  min-width: 23px;
  min-height: 23px;
}

.art-post-body
{
  position: relative;
  z-index: 1;
  padding: 13px;
}

.art-post-tr, .art-post-tl, .art-post-br, .art-post-bl, .art-post-tc, .art-post-bc,.art-post-cr, .art-post-cl
{
  position: absolute;
  z-index: -1;
}

.art-post-tr, .art-post-tl, .art-post-br, .art-post-bl
{
  width: 30px;
  height: 30px;
  background-image: url(http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/images/post_s.png);
}

.art-post-tl
{
  top: 0;
  left: 0;
  clip: rect(auto, 15px, 15px, auto);
}

.art-post-tr
{
  top: 0;
  right: 0;
  clip: rect(auto, auto, 15px, 15px);
}

.art-post-bl
{
  bottom: 0;
  left: 0;
  clip: rect(15px, 15px, auto, auto);
}

.art-post-br
{
  bottom: 0;
  right: 0;
  clip: rect(15px, auto, auto, 15px);
}

.art-post-tc, .art-post-bc
{
  left: 15px;
  right: 15px;
  height: 30px;
  background-image: url(http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/images/post_h.png);
}

.art-post-tc
{
  top: 0;
  clip: rect(auto, auto, 15px, auto);
}

.art-post-bc
{
  bottom: 0;
  clip: rect(15px, auto, auto, auto);
}

.art-post-cr, .art-post-cl
{
  top: 15px;
  bottom: 15px;
  width: 30px;
  background-image: url(http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/images/post_v.png);
}

.art-post-cr
{
  right: 0;
  clip: rect(auto, auto, auto, 15px);
}

.art-post-cl
{
  left: 0;
  clip: rect(auto, 15px, auto, auto);
}

.art-post-cc
{
  position: absolute;
  z-index: -1;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  background-color: #DBE6EC;
}

.art-post
{
  margin: 7px;
}

a img
{
  border: 0;
}

.art-article img, img.art-article
{
  border: solid 1px #A2BECD;
  margin: 10px;
}

.art-metadata-icons img
{
  border: none;
  vertical-align: middle;
  margin: 2px;
}

.art-article table, table.art-article
{
  border-collapse: collapse;
  margin: 1px;
  width: auto;
}

.art-article table, table.art-article .art-article tr, .art-article th, .art-article td
{
  background-color: Transparent;
}

.art-article th, .art-article td
{
  padding: 2px;
  border: solid 1px #6090A9;
  vertical-align: top;
  text-align: left;
}

.art-article th
{
  text-align: center;
  vertical-align: middle;
  padding: 7px;
}

pre
{
  overflow: auto;
  padding: 0.1em;
}

/* end Box, Post */

/* begin PostMetadata, PostMetadataHeader */
.art-postmetadataheader
{
  padding: 1px;
  background-color: #BADFF3;
  border-color: #A2BECD;
  border-style: solid;
  border-width: 1px;
}
/* end PostMetadata, PostMetadataHeader */

/* begin PostHeaderIcon */
.art-post h2.art-postheader,
.art-post h2.art-postheader a,
.art-post h2.art-postheader a:link,
.art-post h2.art-postheader a:visited,
.art-post h2.art-postheader a.visited,
.art-post h2.art-postheader a:hover,
.art-post h2.art-postheader a.hovered
{
  margin: 0.2em 0;
  padding: 0;
  font-size: 22px;
  text-align: center;
  color: #134D6C;
}

.art-post h2.art-postheader a,
.art-post h2.art-postheader a:link,
.art-post h2.art-postheader a:visited,
.art-post h2.art-postheader a.visited,
.art-post h2.art-postheader a:hover,
.art-post h2.art-postheader a.hovered
{
  margin: 0;
  text-align: left;
  text-decoration: none;
  color: #186086;
}

.art-post h2.art-postheader a:visited,
.art-post h2.art-postheader a.visited
{

  color: #375667;
}


.art-post h2.art-postheader a:hover,
.art-post h2.art-postheader a.hovered
{


  color: #09BDDC;
}

/* end PostHeaderIcon */

/* begin PostBullets */
.art-post ol, .art-post ul
{
  color: #05131A;
  margin: 1em 0 1em 2em;
  padding: 0;

}

.art-post li ol, .art-post li ul
{
  margin: 0.5em 0 0.5em 2em;
  padding: 0;
}

.art-post li
{
  margin: 0.2em 0;
  padding: 0;
}

.art-post ul
{
  list-style-type: none;
}

.art-post ol
{
  list-style-position: inside;

}



.art-post li
{
  padding: 0 0 0 13px;
  line-height: 1em;
}

.art-post ol li, .art-post ul ol li
{
  background: none;
  padding-left: 0;
}

.art-post ul li, .art-post ol ul li
{
  background-image: url(http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/images/postbullets.png);
  background-repeat: no-repeat;
  padding-left: 13px;
}


/* end PostBullets */

/* begin PostQuote */
blockquote,
blockquote p,
.art-postcontent blockquote p
{
  color: #0B1114;
  font-style: italic;
  text-align: left;
}

blockquote,
.art-postcontent blockquote
{
  border: solid 1px #A2BECD;
  margin: 10px 10px 10px 50px;
  padding: 5px 5px 5px 32px;
  background-color: #CDDCE4;
  background-image: url(http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/images/postquote.png);
  background-position: left top;
  background-repeat: no-repeat;
}

/* end PostQuote */

/* begin Footer */
.art-footer
{
  position: relative;
  z-index: 0;
  overflow: hidden;
  width: 890px;
  margin: 0 auto;
}

.art-footer .art-footer-inner
{
  height: 1%;
  position: relative;
  z-index: 0;
  padding: 8px;
}

.art-footer .art-footer-background
{
  position: absolute;
  z-index: -1;
  background-repeat: no-repeat;
  background-image: url(http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/images/footer.png);
  width: 890px;
  height: 150px;
  bottom: 0;
  left: 0;
}





.art-footer .art-footer-text p
{
  margin: 0;
}

.art-footer, .art-footer-text, .art-footer-text p
{
  color: #88ABBF;
  text-align: center;
}

.art-footer .art-footer-text,
.art-footer .art-footer-text a,
.art-footer .art-footer-text a:link,
.art-footer .art-footer-text a:visited,
.art-footer .art-footer-text a:hover
{
  font-size: 11px;
}

.art-footer .art-footer-text a,
.art-footer .art-footer-text a:link
{
  color: #63B6E3;
  text-decoration: underline;
}

.art-footer .art-footer-text a:visited
{
  text-decoration: none;
  color: #88ABBF;

}

.art-footer .art-footer-text a:hover
{
  color: #09BDDC;

  text-decoration: none;
}
/* end Footer */

/* begin PageFooter */
.art-page-footer, .art-page-footer a, .art-page-footer a:link, .art-page-footer a:visited, .art-page-footer a:hover
{
  font-family: Arial;
  font-size: 10px;
  letter-spacing: normal;
  word-spacing: normal;
  font-style: normal;
  font-weight: normal;
  text-decoration: underline;
  color: #33A0DB;
}

.art-page-footer
{
  margin: 1em;
  text-align: center;
  text-decoration: none;
  color: #6392AB;
}
/* end PageFooter */

/* begin LayoutCell, sidebar1 */
.art-content-layout .art-sidebar1
{
  background-color: #346179;
  width: 20%;
}
/* end LayoutCell, sidebar1 */

/* begin LayoutCell, content */
.art-content-layout .art-content
{
  width: 60%;
}
.art-content-layout .art-content-sidebar1
{
  width: 80%;
}
.art-content-layout .art-content-sidebar2
{
  width: 80%;
}
.art-content-layout .art-content-wide
{
  width: 100%;
}
/* end LayoutCell, content */

/* begin LayoutCell, sidebar2 */
.art-content-layout .art-sidebar2
{
  background-color: #346179;
  width: 20%;
}
/* end LayoutCell, sidebar2 */




.overview-table .art-layout-cell
{
    width:33%;
}


.overview-table-inner
{
    margin:10px;
}

table.table
{
    width:100%;
    border-collapse:collapse;
    table-layout:fixed;
    text-align:left;
    vertical-align:top;
}

table.table, table.table tr, table.table td
{
    border:none;
    margin:0;
    padding:0;
    background-color:Transparent;
}

img.image
{
    margin:0;
    padding:0;
    border:none;
}











.ramk {
background-image : url(http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/content.gif);
background-repeat : repeat-x;
background-position : 50% top;
border : 1px solid #ececec;
padding: 5px;
margin: 4px;
}
.razd {

border : 1px solid #dbe5e6;
text-align:center;
}
 .sob {
border : 1px solid #ececec;
background-color : #CEE0ED;
padding: 2px;
}

</style>




</head>
<body>
    <div id="art-page-background-gradient"></div>
    <div id="art-page-background-glare">
        <div id="art-page-background-glare-image"></div>
    </div>
    <div id="art-main">
        <div class="art-sheet">
            <div class="art-sheet-tl"></div>
            <div class="art-sheet-tr"></div>
            <div class="art-sheet-bl"></div>
            <div class="art-sheet-br"></div>
            <div class="art-sheet-tc"></div>
            <div class="art-sheet-bc"></div>
            <div class="art-sheet-cl"></div>
            <div class="art-sheet-cr"></div>
            <div class="art-sheet-cc"></div>
            <div class="art-sheet-body">
                <div class="art-nav">
                	<div class="l"></div>
                	<div class="r"></div>
                	<ul class="art-menu">
                		<li>
                			<a href="/" class="active"><span class="l"></span><span class="r"></span><span class="t">На главную</span></a>
                		</li>
                		<li>
                			<a href="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/forum/index.php?'.SID.'"><span class="l"></span><span class="r"></span><span class="t">Форум('; include("$koren_dir/sistem/include_forum.dat"); echo')</span></a>

                		</li>
                		<li>
                			<a href="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/chat/index.php?act=index&amp;'.SID.'"><span class="l"></span><span class="r"></span><span class="t">Наш Чат ('; include("$koren_dir/data/chat/count.dat"); echo')</span></a>
                		</li>
                		<li>
                			<a href="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/gb/index.php?act=index&amp;'.SID.'"><span class="l"></span><span class="r"></span><span class="t">Гостевая ('; include("$koren_dir/data/gb/count.dat"); echo')</span></a>
                		</li>
                		<li>
                			<a href="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/dounload/index.php?act=index&amp;'.SID.'"><span class="l"></span><span class="r"></span><span class="t">Файлы ('; include("$koren_dir/data/dounload/count.dat"); echo')</span></a>
                		</li>
                		<li>
                			<a href="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/lib/index.php?act=index&amp;'.SID.'"><span class="l"></span><span class="r"></span><span class="t">Статьи</span></a>
                		</li>
                		<li>
                			<a href="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/pages/stats.php?act=index&amp;'.SID.'"><span class="l"></span><span class="r"></span><span class="t">Статистика</span></a>
                		</li>
                	</ul>
                </div>
                <div class="art-header">
                    <div class="art-header-jpeg"></div>
                    <div class="art-logo">
                        <h1 id="name-text" class="art-logo-name"><a href="/">'.$zagolovok.'</a></h1>
                        <div id="slogan-text" class="art-logo-text">'.$title.'</div>
                    </div>
                </div>

                <div class="art-content-layout">
                    <div class="art-content-layout-row">
                        <div class="art-layout-cell art-sidebar1">



                            <div class="art-block">
                                <div class="art-block-tl"></div>
                                <div class="art-block-tr"></div>
                                <div class="art-block-bl"></div>
                                <div class="art-block-br"></div>
                                <div class="art-block-tc"></div>
                                <div class="art-block-bc"></div>
                                <div class="art-block-cl"></div>
                                <div class="art-block-cr"></div>
                                <div class="art-block-cc"></div>
                                <div class="art-block-body">
                                            <div class="art-blockheader">
                                                <div class="l"></div>
                                                <div class="r"></div>
                                                 <div class="t">Меню</div>
                                            </div>
                                            <div class="art-blockcontent">
                                                <div class="art-blockcontent-body">
';
 include("$koren_dir/sistem/menu.dat");//Включили главное меню
if($status=="gost")
{
   echo'<div class="razd"><B>МЕНЮ ГОСТЯ</B></div>';
   echo'<img src="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/temes/'.$teme.'/gost.png" alt="">Для полноценного пользования сайта необходимо авторизироваться или сначала зарегистрироваться!';
}
if($status=="admin" )
{

         echo'<div class="link">'.$img_act.'<a href="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/admin/index.php?'.SID.'">Админка</a></div>';

}
if($status=="moder")
{

         echo'<div class="link">'.$img_act.'<a href="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/pages/ban.php?act=index&amp;'.SID.'">IP</a></div>';

}
if($status=="uzer" || $status=="moder" || $status=="admin")
{
   
   echo'<div class="link">'.$img_act.'<a href="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/pages/privat.php?act=index&amp;'.SID.'">Почта сайта</a></div>';
   echo '<div class="link">'.$img_act.'<a href="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/pages/privat.php?act=kontakt&amp;'.SID.'">Контакты</a> ('.@count(@file("$koren_dir/data/privat/kontakt-$login.dat")).')</div>';
   echo '<div class="link">'.$img_act.'<a href="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/pages/privat.php?act=ignor&amp;'.SID.'">Игнор</a> ('.@count(@file("$koren_dir/data/privat/ignor-$login.dat")).')</div>';
   echo '<div class="link">'.$img_act.'<a href="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/pages/privat.php?act=add&amp;'.SID.'">Написать</a></div>';
   echo'<div class="link">'.$img_act.'<a href="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/pages/my_menu.php?act=izmenit&amp;'.SID.'">Настройки</a></div>';
}






 echo'
                                            		<div class="cleared"></div>
                                                </div>
                                            </div>
                            		<div class="cleared"></div>
                                </div>
                            </div>







                            <div class="art-block">
                                <div class="art-block-tl"></div>
                                <div class="art-block-tr"></div>
                                <div class="art-block-bl"></div>
                                <div class="art-block-br"></div>
                                <div class="art-block-tc"></div>
                                <div class="art-block-bc"></div>
                                <div class="art-block-cl"></div>
                                <div class="art-block-cr"></div>
                                <div class="art-block-cc"></div>
                                <div class="art-block-body">
                                            <div class="art-blockheader">
                                                <div class="l"></div>
                                                <div class="r"></div>
                                                 <div class="t">Информация</div>
                                            </div>
                                            <div class="art-blockcontent">
                                                <div class="art-blockcontent-body">
Здравствуйте уважаемые посетители нашего сайта, предлагаем вам ознакомиться с нашим сайтом и его возможностями.
 <br>
<a href="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/pages/info.php?act=rega">Регистрация на сайте</a><br>
<a href="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/pages/info.php?act=avtoriza">Авторизация и автовход</a><br>
<a href="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/pages/info.php?act=anketa">Анкета</a><br>
<a href="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/pages/info.php?act=privat">Приватные сообщения</a><br>
<a href="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/pages/info.php?act=rules">Правила</a><br>
<a href="http://'.htmlspecialchars($_SERVER['HTTP_HOST']).'/pages/smiles.php?act=1">Смайлы</a><br>

                                            		<div class="cleared"></div>
                                                </div>
                                            </div>
                            		<div class="cleared"></div>
                                </div>
                            </div>






   <div class="art-block">
                                <div class="art-block-tl"></div>
                                <div class="art-block-tr"></div>
                                <div class="art-block-bl"></div>
                                <div class="art-block-br"></div>
                                <div class="art-block-tc"></div>
                                <div class="art-block-bc"></div>
                                <div class="art-block-cl"></div>
                                <div class="art-block-cr"></div>
                                <div class="art-block-cc"></div>
                                <div class="art-block-body">
                                            <div class="art-blockheader">
                                                <div class="l"></div>
                                                <div class="r"></div>
                                                 <div class="t">Ссылки</div>
                                            </div>
                                            <div class="art-blockcontent">
                                                <div class="art-blockcontent-body">
';
include("$koren_dir/reklama.txt");//Включили рекламу
echo'
                                            		<div class="cleared"></div>
                                                </div>
                                            </div>
                            		<div class="cleared"></div>
                                </div>
                            </div>




                        </div>

                        <div class="art-layout-cell art-content">
                            <div class="art-post">
                                <div class="art-post-tl"></div>
                                <div class="art-post-tr"></div>
                                <div class="art-post-bl"></div>
                                <div class="art-post-br"></div>
                                <div class="art-post-tc"></div>
                                <div class="art-post-bc"></div>
                                <div class="art-post-cl"></div>
                                <div class="art-post-cr"></div>
                                <div class="art-post-cc"></div>
                                <div class="art-post-body">
                            <div class="art-post-inner art-article">


';
    if(file_exists("sistem/cfg.dat"))
    {
    echo'
     <div class="razd">Главная страница</div>
    ';
    }

  ?>