<?php
 if(!file_exists("$catalog/admin/conf/mes.txt")) exit("неправильно набран номер!!!");

 $conf=file("$catalog/admin/conf/mes.txt");
 for($i=0; $i<count($conf); $i++)
  {
  	$conf[$i]=trim($conf[$i]);
  	$expl=explode("*",$conf[$i]);
    $conf[$i]=$expl[1];
  }
?>
<style>
#no-div, .no { display: none; }

.no + label { /* вид CSS кнопки */
  background: #4e6473;
  padding: 2px 10px;
  border-radius: 2px;
  color: #fff;
  cursor: pointer; }

.no:checked + label { background: #e36443; }

.no:checked ~ #no-div { display: block; }

.tblw
	{
		width:<?php echo $conf[6] ?>%  ;
		border:0;
		PADDING: 15px ;
		background-color:<?php echo $conf[0] ?>;
	}

.imgleft { float: left;  border: none; margin: 0px 0px; vertical-align: text-bottom;}  
.imgright { float: right;  border: none; margin: 5px 10px; vertical-align: text-bottom;}  
.imgnone {   border: none; margin: 0px 0px; vertical-align: text-bottom;} 
.alr
	{
		text-align : right
	}

.valtop
	{
		vertical-align: top;
	}
	
<?php  $radi='10px' ?>	
 .tblw .blok
   { margin-bottom:15px;
     border-style:<?php echo $conf[9] ?>;
     border-width: <?php echo $conf[8] ?>px;
     border-color:<?php echo $conf[7] ?>;
     width:100%;
	  text-align: justify;
-moz-border-radius: <?php echo $radi ?>;
-o-border-radius: <?php echo $radi ?>;
-ms-border-radius: <?php echo $radi ?>;
border-radius: <?php echo $radi ?>;
-webkit-border-radius: <?php echo $radi ?>;
overflow:hidden;
display: block;
box-shadow: 6px 6px 6px #CAC6C3;
-ms-box-shadow: 6px 6px 6px #CAC6C3;
-moz-box-shadow: 6px 6px 6px #CAC6C3;
background-color:<?php echo $conf[33] ?>;
   }

 .tblw .ansv
   {
     color:<?php echo $conf[16] ?>;
     font-size:<?php echo $conf[17] ?>pt;
     font-style:<?php echo $conf[18] ?>;
     font-weight:<?php echo $conf[19] ?>;
     font-family: <?php echo $conf[20] ?>;
     background:<?php echo $conf[10] ?>;
 padding: 8px 10px 10px 10px;  
     border-style:<?php echo $conf[63] ?>;
     border-left-width: 0px;
     border-right-width: 0px;
     border-top-width: 0px;
     border-bottom-width:<?php echo $conf[62] ?>px;
     border-color: <?php echo $conf[61] ?>;
	 -moz-border-radius: <?php echo $radi ?> <?php echo $radi ?> 0px 0px;
border-radius: <?php echo $radi ?> <?php echo $radi ?> 0px 0px;
-webkit-border-radius: <?php echo $radi ?> <?php echo $radi ?> 0px 0px;
-o-border-radius: <?php echo $radi ?> <?php echo $radi ?> 0px 0px;
-ms-border-radius: <?php echo $radi ?> <?php echo $radi ?> 0px 0px;
   }


 .tblw .quest-text
   {  
     color:<?php echo $conf[34] ?>;
     font-size:<?php echo $conf[35] ?>pt;
     font-style:<?php echo $conf[36] ?>;
     font-weight:<?php echo $conf[37] ?>;
     font-family: <?php echo $conf[38] ?>;
     
	 padding: 8px 10px 2px 10px; 
	 	 -moz-border-radius: 0px 0px <?php echo $radi ?> 0px;
border-radius: 0px <?php echo $radi ?> <?php echo $radi ?> 0px;
-webkit-border-radius: 0px 0px <?php echo $radi ?> 0px;
-o-border-radius: 0px 0px <?php echo $radi ?> 0px;
-ms-border-radius: 0px 0px <?php echo $radi ?> 0px;

   }
  
 .tblw  .quest-text a
   {
     color:<?php echo $conf[34] ?>;
     font-size:<?php echo $conf[35] ?>pt;
     font-style:<?php echo $conf[36] ?>;
     font-weight:<?php echo $conf[37] ?>;
     font-family: <?php echo $conf[38] ?>;
   }

 .tblw  #q_menu a
   {
    color:<?php echo $conf[1] ?>;
     font-size:<?php echo $conf[2] ?>pt;
     font-style:<?php echo $conf[3] ?>;
     font-weight:<?php echo $conf[4] ?>;
     font-family: <?php echo $conf[5] ?>;

   }
.tblw #q_menu 
   {
   padding: 0px 0px 15px 30px; 
    }
.tblw .quest-inf
   { float:left;
     color:<?php echo $conf[22] ?>;
     font-size:<?php echo $conf[23] ?>pt;
     font-style:<?php echo $conf[24] ?>;
     font-weight:<?php echo $conf[25] ?>;
     font-family: <?php echo $conf[26] ?>;
     background-color:<?php echo $conf[21] ?>;
	 padding: 8px 10px 10px 10px;  
	 margin: 0 14px 0 0;
     border-style:<?php echo $conf[66] ?>;
     border-left-width: 0px;
     border-right-width: <?php echo $conf[65] ?>px;
     border-top-width: 0px;
     border-bottom-width:<?php echo $conf[65] ?>px;
     border-color: <?php echo $conf[64] ?>;
width: 12%;
min-width:112px;
max-width:140px;
vertical-align: top;	 
	 	 -moz-border-radius: 0px 0px 0px <?php echo $radi ?> ;
border-radius: <?php echo $radi ?>   ;
-webkit-border-radius: <?php echo $radi ?>  ;
-o-border-radius: <?php echo $radi ?> ;
-ms-border-radius: <?php echo $radi ?> ;
   }
 
 
 .tblw .quest-inf a:link,.tblw .quest-inf a:visited, .tblw .quest-inf a:hover
  {
  	 color:<?php echo $conf[27] ?>;
     font-size:<?php echo $conf[28] ?>pt;
     font-style:<?php echo $conf[29] ?>;
     font-weight:<?php echo $conf[30] ?>;
     font-family: <?php echo $conf[31] ?>;
  }

 .tblw .data
   {
     color:<?php echo $conf[11] ?>;
     font-size:<?php echo $conf[12] ?>pt;
     font-style:<?php echo $conf[13] ?>;
     font-weight:<?php echo $conf[14] ?>;
     font-family: <?php echo $conf[15] ?>;

   }
  a.navig_activ
         {
          font-family:<? echo $conf[49]?>;
          font-size:<?echo $conf[47]?>pt;
          font-style:<? echo $conf[48]?>;
          border-style:solid;
          border-width: <? echo $conf[51]?>px;
          border-color:<? echo $conf[50]?>;
          background-color:<?echo $conf[44]?>;
          padding:3px;
          text-align:center;
          color:<?echo $conf[46]?>;

         }

 a.navig_passiv
        {

          font-family:<? echo $conf[57]?>;
          font-size:<?echo $conf[55]?>pt;
          font-style:<? echo $conf[56]?>;
          border-style:solid;
          border-width: <? echo $conf[59]?>px;
          border-color:<? echo $conf[58]?>;
          background-color:<?echo $conf[52]?>;
          padding:3px;
          text-align:center;
          color:<?echo $conf[54]?>;

       }

   a.navig_activ
     {
      text-decoration:none;
     }
   a.navig_passiv
      {
      text-decoration:none;
      }
   .tblw #q_form td
   {
     color:<?php echo $conf[39] ?>;
     font-size:<?php echo $conf[40] ?>pt;
     font-style:<?php echo $conf[41] ?>;
     font-weight:<?php echo $conf[42] ?>;
     font-family: <?php echo $conf[43] ?>;
   }


</style>