Размер файла: 2.46Kb
<? if(!isset($nastrt)) $nastrt=4;
if($nastrt<0 || $nastrt>3) $nastrt=4;
if($nastrt==4){ $t6="#006000"; $t1="#000000"; $t2="#ffffff"; $t3="#ffffff"; $t4="silver"; $t5="#305050";}if(!isset($t6)) $t6="#0000ff";
if($nastrt==0){ $t1="#000000"; $t2="#00ffdd"; $t3="#ffffff"; $t4="silver"; $t5="#fde681";}
if($nastrt==1){ $t1="#e0e0e0"; $t2="#000000"; $t3="#000000"; $t4="silver"; $t5="#fde681";}
if($nastrt==2){ $t1="#ffbbff"; $t2="#ff2222"; $t3="#000000"; $t4="silver"; $t5="#ffbb00";}
if($nastrt==3){ $t1="#3f4f5f"; $t2="#ffdd00"; $t3="#ffdd00"; $t4="silver"; $t5="#bf4f5f";} echo'<style>
body{text-align:center;
font-weight: normal;
font-size: 12px;
font-family: sans-serif;
background:'.$t1.';
color:'.$t2.';}
input.ibutton{
margin: 3px 0;
padding: 0 2px;
background-color: #ffff00;
border: 1px solid;
border-color: #eeeeee #f68308 #f68308 #eeeeee;
font-weight: bold;
color: #000000;}
input.itext{
background-color: #fff;
border: 1px solid;
border-color: #000 #ccc #ccc #000;
vertical-align: middle;}
div.d0{
link-color:#ff0000;
background-color: #400000;
border:1px solid;
border-color:#336688 #003366 #003366 #336688;}
div.d1{
background-color: #222222;
border:1px solid;
border-color:#336688 #003366 #003366 #336688;}
div.d2{
background-color: #00684c;
border:2px solid;
border-color:#336688 #003366 #003366 #336688;}
div{margin: 1px 0px 1px 0px; padding: 4px 4px 4px 4px;}
.a{background:'.$t1.'; border:1px solid;border-color:#888 #001100 #001100 #666;}
.font{text-align:left; color:'.$t3.';}
.time{text-align:right;}
.search{text-align:center; color:blue;}
.text{text-align:left;}
.kto{background:'.$t1.';color:white;
border:1px solid;
border-color:#800000 #800000 #800000 #800000;}
.my{background:'.$t4.';color:black;
border:2px solid;
border-color:#888 #001100 #001100 #666;}
.on{color:#ff0000;}
.bat{text-align:center; color:red;}
.death{text-align:center; color:'.$t3.';}
.heal{text-align:center; color:green;}
.td{background:'.$t1.';color:red;
border:1px solid;text-align:center;
border-color:#800000 #800000 #800000 #800000;}
.artyes{background:'.$t1.';color:#008000;
border:1px solid;text-align:center;
border-color:#800000 #800000 #800000 #800000;}
.artno{background:'.$t1.';color:white;
border:1px solid;text-align:center;
border-color:#00FF00 #00FF00 #00FF00 #00FF00;}
.dv{background:'.$t1.';color:white;
border:1px solid;text-align:center;
border-color:#0000FF #0000FF #0000FF #0000FF}
</style>'; ?>