View file wap/inc/css.inc.php

File size: 27.2Kb
<?php
 echo "<link rel=\"shortcut icon\" type=\"image/x-icon\" href=\"images/favicon.ico\" />";
  $noidea = $_GET["who"];
  $sid = $_GET["hits"];
  if(islogged($sid)==true){
  $noidae = getuid_hits($sid);
  if($noidea != ""){
    $background = mysql_fetch_array(mysql_query("SELECT background FROM mx_users WHERE id='".$noidea."'"));
    $themers = mysql_fetch_array(mysql_query("SELECT theme FROM mx_users WHERE id='".$noidea."'"));
     $customizers = mysql_fetch_array(mysql_query("SELECT cssbackground, cssfont, csscen, cssbox, cssboxbt, cssboxbb, cssinput, cssinputb, cssinputf, cssfonts, cssboxbts, cssboxbbs FROM mx_users WHERE id='".$noidea."'"));
 }else{
    $themers = mysql_fetch_array(mysql_query("SELECT theme FROM mx_users WHERE id='".$noidae."'"));
     $customizers = mysql_fetch_array(mysql_query("SELECT cssbackground, cssfont, csscen, cssbox, cssboxbt, cssboxbb, cssinput, cssinputb, cssinputf, cssfonts, cssboxbts, cssboxbbs FROM mx_users WHERE id='".$noidae."'"));
  }
 }
  if(($sid=="")||(islogged($sid)==false))
  {
 
 
 echo "<style type=\"text/css\">
body{
margin: 0px auto;
max-width:500px;
background-color:#fff;
color:#996666;
font-family:verdana,arial,helvetica,sans-serif;
font-size:13px;
padding:4px;
}

input, select, textarea{
border: 2px ridge #475cc7;
font-weight: bold;
color : #cc33cc;
background-color: #fff;
}

a:active, a:visited, a:hover, a:link{
color: #3333cc;
font-weight: bold;
text-decoration: none;
}

.online{
border: 3px solid #00FF00;
}

.idle{
border: 3px solid #FFA500;
}

.offline{
border: 3px solid #A9A9A9;
}

img {
border: 0px none;
}

hr {
color: #f81036;
width: 80%;
}

div.box_cen{
background-color:#dddcdf;

}

div.box_ber{
background-color:#cce3fa;
border: 5px ridge #475cc7;
margin-bottom:15px;
margin-top:5px;
font-family:verdana,arial,helvetica,sans-serif;
font-size:18px;;
padding:10px;
}

div.box_sub{
background-color:#fff;
}

div.footer{
border-bottom: #DADADA thin solid;
padding:2px;
clear:both;
}
        </style>";
 

  }else if(($noidea !="")&&($sid !=""))
  {
   
  if($themers[0]=="custom")
 {

 echo "<style type=\"text/css\">
body{
margin: 0px auto;
max-width:480px;
background-color:$customizers[0];
color:$customizers[1];
font-family:verdana,arial,helvetica,sans-serif;
font-size:$customizers[9];
padding:2px;
}

input, select, textarea{
border: 1px ridge $customizers[7];
font-weight: bold;
color : $customizers[8];
background-color: $customizers[6];
}

a:active, a:visited, a:hover, a:link{
color: $customizers[1];
font-weight: bold;
text-decoration: none;
}

.online{
border: 3px solid #00FF00;
}

.idle{
border: 3px solid #FFA500;
}

.offline{
border: 3px solid #A9A9A9;
}

img {
border: 0px none;
}

hr {
color: #dadada;
width: 80%;
}

div.box_cen{
background-color:$customizers[2];
margin-bottom:5px;
margin-top:5px;
padding:2px;
}

div.box_sub{
background-image:url('$background[0]');
background-attachment: fixed;
background-color:$customizers[3];
padding-top:1px;
padding-bottom:1px;
border-top: 2px $customizers[10] $customizers[4];
border-bottom: 2px $customizers[11] $customizers[5];
}

div.footer{
border-bottom: #DADADA thin solid;
padding:2px;
clear:both;
}
        </style>";

 } else if($themers[0]=="blue")
 {

 echo "<style type=\"text/css\">
body{
margin: 0px auto;
max-width:500px;
background-color:#fff;
color:#996666;
font-family:verdana,arial,helvetica,sans-serif;
font-size:13px;
padding:4px;
}

input, select, textarea{
border: 2px ridge #475cc7;
font-weight: bold;
color : #cc33cc;
background-color: #fff;
}

a:active, a:visited, a:hover, a:link{
color: #3333cc;
font-weight: bold;
text-decoration: none;
}

.online{
border: 3px solid #00FF00;
}

.idle{
border: 3px solid #FFA500;
}

.offline{
border: 3px solid #A9A9A9;
}

img {
border: 0px none;
}

hr {
color: #f81036;
width: 80%;
}

div.box_cen{
background-color:#dddcdf;

}

div.box_ber{
background-color:#cce3fa;
border: 5px ridge #475cc7;
margin-bottom:15px;
margin-top:5px;
font-family:verdana,arial,helvetica,sans-serif;
font-size:18px;;
padding:10px;
}

div.box_sub{
background-color:#fff;
}

div.footer{
border-bottom: #DADADA thin solid;
padding:2px;
clear:both;
}
        </style>";

 } else if($themers[0]=="green")
 {

 echo "<style type=\"text/css\">
body{
margin: 0px auto;
max-width:480px;
background-color:#59E817;
color:#000000;
font-family:verdana,arial,helvetica,sans-serif;
font-size:12px;
padding:2px;
}

input, select, textarea{
border: 1px ridge #41383C;
font-weight: bold;
color : #000;
background-color: #FFF;
}

a:active, a:visited, a:hover, a:link{
color: #000000;
font-weight: bold;
text-decoration: none;
}

.online{
border: 3px solid #00FF00;
}

.idle{
border: 3px solid #FFA500;
}

.offline{
border: 3px solid #A9A9A9;
}

img {
border: 0px none;
}

hr {
color: #dadada;
width: 80%;
}

div.box_cen{
background-color:#00FF00;
margin-bottom:5px;
margin-top:5px;
padding:2px;
}

div.box_sub{
background-image:url('$background[0]');
background-attachment: fixed;
background-color:#59E817;
padding-top:1px;
padding-bottom:1px;
border-top: 2px dashed #DADADA;
border-bottom: 2px dashed #DADADA;
}

div.footer{
border-bottom: #DADADA thin solid;
padding:2px;
clear:both;
}
        </style>";
 } else if($themers[0]=="red")
 {

 echo "<style type=\"text/css\">
body{
margin: 0px auto;
max-width:480px;
background-color:#E55451;
color:#000000;
font-family:verdana,arial,helvetica,sans-serif;
font-size:12px;
padding:2px;
}

input, select, textarea{
border: 1px ridge #41383C;
font-weight: bold;
color : #000;
background-color: #FFF;
}

a:active, a:visited, a:hover, a:link{
color: #000000;
font-weight: bold;
text-decoration: none;
}

.online{
border: 3px solid #00FF00;
}

.idle{
border: 3px solid #FFA500;
}

.offline{
border: 3px solid #A9A9A9;
}

img {
border: 0px none;
}

hr {
color: #dadada;
width: 80%;
}

div.box_cen{
background-color:#FF0000;
margin-bottom:5px;
margin-top:5px;
padding:2px;
}

div.box_sub{
background-image:url('$background[0]');
background-attachment: fixed;
background-color:#E55451;
padding-top:1px;
padding-bottom:1px;
border-top: 2px dashed #DADADA;
border-bottom: 2px dashed #DADADA;
}

div.footer{
border-bottom: #DADADA thin solid;
padding:2px;
clear:both;
}
        </style>";
 } else if($themers[0]=="maroon")
 {

 echo "<style type=\"text/css\">
body{
margin: 0px auto;
max-width:480px;
background-color:#C12283;
color:#000000;
font-family:verdana,arial,helvetica,sans-serif;
font-size:12px;
padding:2px;
}

input, select, textarea{
border: 1px ridge #41383C;
font-weight: bold;
color : #000;
background-color: #FFF;
}

a:active, a:visited, a:hover, a:link{
color: #000000;
font-weight: bold;
text-decoration: none;
}

.online{
border: 3px solid #00FF00;
}

.idle{
border: 3px solid #FFA500;
}

.offline{
border: 3px solid #A9A9A9;
}

img {
border: 0px none;
}

hr {
color: #dadada;
width: 80%;
}

div.box_cen{
background-color:#810541;
margin-bottom:5px;
margin-top:5px;
padding:2px;
}

div.box_sub{
background-image:url('$background[0]');
background-attachment: fixed;
background-color:#C12283;
padding-top:1px;
padding-bottom:1px;
border-top: 2px dashed #DADADA;
border-bottom: 2px dashed #DADADA;
}

div.footer{
border-bottom: #DADADA thin solid;
padding:2px;
clear:both;
}
        </style>";
  } else if($themers[0]=="pink")
 {

 echo "<style type=\"text/css\">
body{
margin: 0px auto;
max-width:480px;
background-color:#C48793;
color:#000000;
font-family:verdana,arial,helvetica,sans-serif;
font-size:12px;
padding:2px;
}

input, select, textarea{
border: 1px ridge #41383C;
font-weight: bold;
color : #000;
background-color: #FFF;
}

a:active, a:visited, a:hover, a:link{
color: #000000;
font-weight: bold;
text-decoration: none;
}

.online{
border: 3px solid #00FF00;
}

.idle{
border: 3px solid #FFA500;
}

.offline{
border: 3px solid #A9A9A9;
}

img {
border: 0px none;
}

hr {
color: #dadada;
width: 80%;
}

div.box_cen{
background-color:#FAAFBE;
margin-bottom:5px;
margin-top:5px;
padding:2px;
}

div.box_sub{
background-image:url('$background[0]');
background-attachment: fixed;
background-color:#C48793;
padding-top:1px;
padding-bottom:1px;
border-top: 2px dashed #DADADA;
border-bottom: 2px dashed #DADADA;
}

div.footer{
border-bottom: #DADADA thin solid;
padding:2px;
clear:both;
}
        </style>";
} else if($themers[0]=="yellow")
 {
 
 echo "<style type=\"text/css\">
body{
margin: 0px auto;
max-width:480px;
background-color:#C9BE62;
color:#000000;
font-family:verdana,arial,helvetica,sans-serif;
font-size:12px;
padding:2px;
}

input, select, textarea{
border: 1px ridge #41383C;
font-weight: bold;
color : #000;
background-color: #FFF;
}

a:active, a:visited, a:hover, a:link{
color: #000000;
font-weight: bold;
text-decoration: none;
}

.online{
border: 3px solid #00FF00;
}

.idle{
border: 3px solid #FFA500;
}

.offline{
border: 3px solid #A9A9A9;
}

img {
border: 0px none;
}

hr {
color: #dadada;
width: 80%;
}

div.box_cen{
background-color:#FFFF00;
margin-bottom:5px;
margin-top:5px;
padding:2px;
}

div.box_sub{
background-image:url('$background[0]');
background-attachment: fixed;
background-color:#C9BE62;
padding-top:1px;
padding-bottom:1px;
border-top: 2px dashed #DADADA;
border-bottom: 2px dashed #DADADA;
}

div.footer{
border-bottom: #DADADA thin solid;
padding:2px;
clear:both;
}
        </style>";

 } else if($themers[0]=="black")
 {
 
 echo "<style type=\"text/css\">
body{
margin: 0px auto;
max-width:480px;
background-color:#544E4F;
color:#FFFFFF;
font-family:verdana,arial,helvetica,sans-serif;
font-size:12px;
padding:2px;
}

input, select, textarea{
border: 1px ridge #41383C;
font-weight: bold;
color : #000;
background-color: #FFF;
}

a:active, a:visited, a:hover, a:link{
color: #FFFFFF;
font-weight: bold;
text-decoration: none;
}

.online{
border: 3px solid #00FF00;
}

.idle{
border: 3px solid #FFA500;
}

.offline{
border: 3px solid #A9A9A9;
}

img {
border: 0px none;
}

hr {
color: #dadada;
width: 80%;
}

div.box_cen{
background-color:#000000;
margin-bottom:5px;
margin-top:5px;
padding:2px;
}

div.box_sub{
background-image:url('$background[0]');
background-attachment: fixed;
background-color:#544E4F;
padding-top:1px;
padding-bottom:1px;
border-top: 2px dashed #DADADA;
border-bottom: 2px dashed #DADADA;
}

div.footer{
border-bottom: #DADADA thin solid;
padding:2px;
clear:both;
}
        </style>";

} else if($themers[0]=="brown")
 {

 echo "<style type=\"text/css\">
body{
margin: 0px auto;
max-width:480px;
background-color:#B38481;
color:#000000;
font-family:verdana,arial,helvetica,sans-serif;
font-size:12px;
padding:2px;
}

input, select, textarea{
border: 1px ridge #41383C;
font-weight: bold;
color : #000;
background-color: #FFF;
}

a:active, a:visited, a:hover, a:link{
color: #000000;
font-weight: bold;
text-decoration: none;
}

.online{
border: 3px solid #00FF00;
}

.idle{
border: 3px solid #FFA500;
}

.offline{
border: 3px solid #A9A9A9;
}

img {
border: 0px none;
}

hr {
color: #dadada;
width: 80%;
}

div.box_cen{
background-color:#804000;
margin-bottom:5px;
margin-top:5px;
padding:2px;
}

div.box_sub{
background-image:url('$background[0]');
background-attachment: fixed;
background-color:#B38481;
padding-top:1px;
padding-bottom:1px;
border-top: 2px dashed #DADADA;
border-bottom: 2px dashed #DADADA;
}

div.footer{
border-bottom: #DADADA thin solid;
padding:2px;
clear:both;
}
        </style>";
} else if($themers[0]=="grey")
 {
 
 echo "<style type=\"text/css\">
body{
margin: 0px auto;
max-width:480px;
background-color:#808080;
color:#000000;
font-family:verdana,arial,helvetica,sans-serif;
font-size:12px;
padding:2px;
}

input, select, textarea{
border: 1px ridge #41383C;
font-weight: bold;
color : #000;
background-color: #FFF;
}

a:active, a:visited, a:hover, a:link{
color: #000000;
font-weight: bold;
text-decoration: none;
}

.online{
border: 3px solid #00FF00;
}

.idle{
border: 3px solid #FFA500;
}

.offline{
border: 3px solid #A9A9A9;
}

img {
border: 0px none;
}

hr {
color: #dadada;
width: 80%;
}

div.box_cen{
background-color:#C0C0C0;
margin-bottom:5px;
margin-top:5px;
padding:2px;
}

div.box_sub{
background-image:url('$background[0]');
background-attachment: fixed;
background-color:#808080;
padding-top:1px;
padding-bottom:1px;
border-top: 2px dashed #DADADA;
border-bottom: 2px dashed #DADADA;
}

div.footer{
border-bottom: #DADADA thin solid;
padding:2px;
clear:both;
}
        </style>";

} else if($themers[0]=="white")
 {

 echo "<style type=\"text/css\">
body{
margin: 0px auto;
max-width:480px;
background-color:#FAF8CC;
color:#000000;
font-family:verdana,arial,helvetica,sans-serif;
font-size:12px;
padding:2px;
}

input, select, textarea{
border: 1px ridge #41383C;
font-weight: bold;
color : #000;
background-color: #FFF;
}

a:active, a:visited, a:hover, a:link{
color: #000000;
font-weight: bold;
text-decoration: none;
}

.online{
border: 3px solid #00FF00;
}

.idle{
border: 3px solid #FFA500;
}

.offline{
border: 3px solid #A9A9A9;
}

img {
border: 0px none;
}

hr {
color: #dadada;
width: 80%;
}

div.box_cen{
background-color:#FFFFFF;
margin-bottom:5px;
margin-top:5px;
padding:2px;
}

div.box_sub{
background-image:url('$background[0]');
background-attachment: fixed;
background-color:#FAF8CC;
padding-top:1px;
padding-bottom:1px;
border-top: 2px dashed #DADADA;
border-bottom: 2px dashed #DADADA;
}

div.footer{
border-bottom: #DADADA thin solid;
padding:2px;
clear:both;
}
        </style>";
} else if($themers[0]=="purple")
 {
 
 echo "<style type=\"text/css\">
body{
margin: 0px auto;
max-width:480px;
background-color:#8E35EF;
color:#000000;
font-family:verdana,arial,helvetica,sans-serif;
font-size:12px;
padding:2px;
}

input, select, textarea{
border: 1px ridge #41383C;
font-weight: bold;
color : #000;
background-color: #FFF;
}

a:active, a:visited, a:hover, a:link{
color: #000000;
font-weight: bold;
text-decoration: none;
}

.online{
border: 3px solid #00FF00;
}

.idle{
border: 3px solid #FFA500;
}

.offline{
border: 3px solid #A9A9A9;
}

img {
border: 0px none;
}

hr {
color: #dadada;
width: 80%;
}

div.box_cen{
background-color:#461B7E;
margin-bottom:5px;
margin-top:5px;
padding:2px;
}

div.box_sub{
background-image:url('$background[0]');
background-attachment: fixed;
background-color:#8E35EF;
padding-top:1px;
padding-bottom:1px;
border-top: 2px dashed #DADADA;
border-bottom: 2px dashed #DADADA;
}

div.footer{
border-bottom: #DADADA thin solid;
padding:2px;
clear:both;
}
        </style>";

}
     }else if(($sid !="")&&($noidea==""))
  {
  if($themers[0]=="custom")
 {

 echo "<style type=\"text/css\">
body{
margin: 0px auto;
max-width:480px;
background-color:$customizers[0];
color:$customizers[1];
font-family:verdana,arial,helvetica,sans-serif;
font-size:$customizers[9];
padding:2px;
}

input, select, textarea{
border: 1px ridge $customizers[7];
font-weight: bold;
color : $customizers[8];
background-color: $customizers[6];
}

a:active, a:visited, a:hover, a:link{
color: $customizers[1];
font-weight: bold;
text-decoration: none;
}

.online{
border: 3px solid #00FF00;
}

.idle{
border: 3px solid #FFA500;
}

.offline{
border: 3px solid #A9A9A9;
}

img {
border: 0px none;
}

hr {
color: #dadada;
width: 80%;
}

div.box_cen{
background-color:$customizers[2];
margin-bottom:5px;
margin-top:5px;
padding:2px;
}

div.box_sub{
background-color:$customizers[3];
padding-top:1px;
padding-bottom:1px;
border-top: 2px $customizers[10] $customizers[4];
border-bottom: 2px $customizers[11] $customizers[5];
}

div.footer{
border-bottom: #DADADA thin solid;
padding:2px;
clear:both;
}
        </style>";

 } else if($themers[0]=="blue")

 {

 
echo "<style type=\"text/css\">
body{
margin: 0px auto;
max-width:500px;
background-color:#fff;
color:#996666;
font-family:verdana,arial,helvetica,sans-serif;
font-size:13px;
padding:4px;
}

input, select, textarea{
border: 2px ridge #475cc7;
font-weight: bold;
color : #cc33cc;
background-color: #fff;
}

a:active, a:visited, a:hover, a:link{
color: #3333cc;
font-weight: bold;
text-decoration: none;
}

.online{
border: 3px solid #00FF00;
}

.idle{
border: 3px solid #FFA500;
}

.offline{
border: 3px solid #A9A9A9;
}

img {
border: 0px none;
}

hr {
color: #f81036;
width: 80%;
}

div.box_cen{
background-color:#dddcdf;

}

div.box_ber{
background-color:#cce3fa;
border: 5px ridge #475cc7;
margin-bottom:15px;
margin-top:5px;
font-family:verdana,arial,helvetica,sans-serif;
font-size:18px;;
padding:10px;
}

div.box_sub{
background-color:#fff;
}

div.footer{
border-bottom: #DADADA thin solid;
padding:2px;
clear:both;
}
        </style>";
 

 } else if($themers[0]=="green")
 {

 
echo "<style type=\"text/css\">
body{
margin: 0px auto;
max-width:480px;
background-color:#59E817;
color:#000000;
font-family:verdana,arial,helvetica,sans-serif;
font-size:12px;
padding:2px;
}

input, select, textarea{
border: 1px ridge #41383C;
font-weight: bold;
color : #000;
background-color: #FFF;
}

a:active, a:visited, a:hover, a:link{
color: #000000;
font-weight: bold;
text-decoration: none;
}

.online{
border: 3px solid #00FF00;
}

.idle{
border: 3px solid #FFA500;
}

.offline{
border: 3px solid #A9A9A9;
}

img {
border: 0px none;
}

hr {
color: #dadada;
width: 80%;
}

div.box_cen{
background-color:#00FF00;
margin-bottom:5px;
margin-top:5px;
padding:2px;
}

div.box_sub{
background-color:#59E817;
padding-top:1px;
padding-bottom:1px;
border-top: 2px dashed #DADADA;
border-bottom: 2px dashed #DADADA;
}

div.footer{
border-bottom: #DADADA thin solid;
padding:2px;
clear:both;
}
        </style>";
 
 } else if($themers[0]=="red")
 {

 
echo "<style type=\"text/css\">
body{
margin: 0px auto;
max-width:480px;
background-color:#E55451;
color:#000000;
font-family:verdana,arial,helvetica,sans-serif;
font-size:12px;
padding:2px;
}

input, select, textarea{
border: 1px ridge #41383C;
font-weight: bold;
color : #000;
background-color: #FFF;
}

a:active, a:visited, a:hover, a:link{
color: #000000;
font-weight: bold;
text-decoration: none;
}

.online{
border: 3px solid #00FF00;
}

.idle{
border: 3px solid #FFA500;
}

.offline{
border: 3px solid #A9A9A9;
}

img {
border: 0px none;
}

hr {
color: #dadada;
width: 80%;
}

div.box_cen{
background-color:#FF0000;
margin-bottom:5px;
margin-top:5px;
padding:2px;
}

div.box_sub{
background-color:#E55451;
padding-top:1px;
padding-bottom:1px;
border-top: 2px dashed #DADADA;
border-bottom: 2px dashed #DADADA;
}

div.footer{
border-bottom: #DADADA thin solid;
padding:2px;
clear:both;
}
        </style>";
 
 } else if($themers[0]=="maroon")
 {

 
echo "<style type=\"text/css\">
body{
margin: 0px auto;
max-width:480px;
background-color:#C12283;
color:#000000;
font-family:verdana,arial,helvetica,sans-serif;
font-size:12px;
padding:2px;
}

input, select, textarea{
border: 1px ridge #41383C;
font-weight: bold;
color : #000;
background-color: #FFF;
}

a:active, a:visited, a:hover, a:link{
color: #000000;
font-weight: bold;
text-decoration: none;
}

.online{
border: 3px solid #00FF00;
}

.idle{
border: 3px solid #FFA500;
}

.offline{
border: 3px solid #A9A9A9;
}

img {
border: 0px none;
}

hr {
color: #dadada;
width: 80%;
}

div.box_cen{
background-color:#810541;
margin-bottom:5px;
margin-top:5px;
padding:2px;
}

div.box_sub{
background-color:#C12283;
padding-top:1px;
padding-bottom:1px;
border-top: 2px dashed #DADADA;
border-bottom: 2px dashed #DADADA;
}

div.footer{
border-bottom: #DADADA thin solid;
padding:2px;
clear:both;
}
        </style>";
 
  } else if($themers[0]=="pink")
 {

 
echo "<style type=\"text/css\">
body{
margin: 0px auto;
max-width:480px;
background-color:#C48793;
color:#000000;
font-family:verdana,arial,helvetica,sans-serif;
font-size:12px;
padding:2px;
}

input, select, textarea{
border: 1px ridge #41383C;
font-weight: bold;
color : #000;
background-color: #FFF;
}

a:active, a:visited, a:hover, a:link{
color: #000000;
font-weight: bold;
text-decoration: none;
}

.online{
border: 3px solid #00FF00;
}

.idle{
border: 3px solid #FFA500;
}

.offline{
border: 3px solid #A9A9A9;
}

img {
border: 0px none;
}

hr {
color: #dadada;
width: 80%;
}

div.box_cen{
background-color:#FAAFBE;
margin-bottom:5px;
margin-top:5px;
padding:2px;
}

div.box_sub{
background-color:#C48793;
padding-top:1px;
padding-bottom:1px;
border-top: 2px dashed #DADADA;
border-bottom: 2px dashed #DADADA;
}

div.footer{
border-bottom: #DADADA thin solid;
padding:2px;
clear:both;
}
        </style>";
 
} else if($themers[0]=="yellow")
 {
 
 
echo "<style type=\"text/css\">
body{
margin: 0px auto;
max-width:480px;
background-color:#C9BE62;
color:#000000;
font-family:verdana,arial,helvetica,sans-serif;
font-size:12px;
padding:2px;
}

input, select, textarea{
border: 1px ridge #41383C;
font-weight: bold;
color : #000;
background-color: #FFF;
}

a:active, a:visited, a:hover, a:link{
color: #000000;
font-weight: bold;
text-decoration: none;
}

.online{
border: 3px solid #00FF00;
}

.idle{
border: 3px solid #FFA500;
}

.offline{
border: 3px solid #A9A9A9;
}

img {
border: 0px none;
}

hr {
color: #dadada;
width: 80%;
}

div.box_cen{
background-color:#FFFF00;
margin-bottom:5px;
margin-top:5px;
padding:2px;
}

div.box_sub{
background-color:#C9BE62;
padding-top:1px;
padding-bottom:1px;
border-top: 2px dashed #DADADA;
border-bottom: 2px dashed #DADADA;
}

div.footer{
border-bottom: #DADADA thin solid;
padding:2px;
clear:both;
}
        </style>";
 

 } else if($themers[0]=="black")
 {
 
 
echo "<style type=\"text/css\">
body{
margin: 0px auto;
max-width:480px;
background-color:#544E4F;
color:#FFFFFF;
font-family:verdana,arial,helvetica,sans-serif;
font-size:12px;
padding:2px;
}

input, select, textarea{
border: 1px ridge #41383C;
font-weight: bold;
color : #000;
background-color: #FFF;
}

a:active, a:visited, a:hover, a:link{
color: #FFFFFF;
font-weight: bold;
text-decoration: none;
}

.online{
border: 3px solid #00FF00;
}

.idle{
border: 3px solid #FFA500;
}

.offline{
border: 3px solid #A9A9A9;
}

img {
border: 0px none;
}

hr {
color: #dadada;
width: 80%;
}

div.box_cen{
background-color:#000000;
margin-bottom:5px;
margin-top:5px;
padding:2px;
}

div.box_sub{
background-color:#544E4F;
padding-top:1px;
padding-bottom:1px;
border-top: 2px dashed #DADADA;
border-bottom: 2px dashed #DADADA;
}

div.footer{
border-bottom: #DADADA thin solid;
padding:2px;
clear:both;
}
        </style>";
 

} else if($themers[0]=="brown")
 {

 
echo "<style type=\"text/css\">
body{
margin: 0px auto;
max-width:480px;
background-color:#B38481;
color:#000000;
font-family:verdana,arial,helvetica,sans-serif;
font-size:12px;
padding:2px;
}

input, select, textarea{
border: 1px ridge #41383C;
font-weight: bold;
color : #000;
background-color: #FFF;
}

a:active, a:visited, a:hover, a:link{
color: #000000;
font-weight: bold;
text-decoration: none;
}

.online{
border: 3px solid #00FF00;
}

.idle{
border: 3px solid #FFA500;
}

.offline{
border: 3px solid #A9A9A9;
}

img {
border: 0px none;
}

hr {
color: #dadada;
width: 80%;
}

div.box_cen{
background-color:#804000;
margin-bottom:5px;
margin-top:5px;
padding:2px;
}

div.box_sub{
background-color:#B38481;
padding-top:1px;
padding-bottom:1px;
border-top: 2px dashed #DADADA;
border-bottom: 2px dashed #DADADA;
}

div.footer{
border-bottom: #DADADA thin solid;
padding:2px;
clear:both;
}
        </style>";
 
} else if($themers[0]=="grey")
 {
 
 
echo "<style type=\"text/css\">
body{
margin: 0px auto;
max-width:480px;
background-color:#808080;
color:#000000;
font-family:verdana,arial,helvetica,sans-serif;
font-size:12px;
padding:2px;
}

input, select, textarea{
border: 1px ridge #41383C;
font-weight: bold;
color : #000;
background-color: #FFF;
}

a:active, a:visited, a:hover, a:link{
color: #000000;
font-weight: bold;
text-decoration: none;
}

.online{
border: 3px solid #00FF00;
}

.idle{
border: 3px solid #FFA500;
}

.offline{
border: 3px solid #A9A9A9;
}

img {
border: 0px none;
}

hr {
color: #dadada;
width: 80%;
}

div.box_cen{
background-color:#C0C0C0;
margin-bottom:5px;
margin-top:5px;
padding:2px;
}

div.box_sub{
background-color:#808080;
padding-top:1px;
padding-bottom:1px;
border-top: 2px dashed #DADADA;
border-bottom: 2px dashed #DADADA;
}

div.footer{
border-bottom: #DADADA thin solid;
padding:2px;
clear:both;
}
        </style>";
 

} else if($themers[0]=="white")
 {

 
echo "<style type=\"text/css\">
body{
margin: 0px auto;
max-width:480px;
background-color:#FAF8CC;
color:#000000;
font-family:verdana,arial,helvetica,sans-serif;
font-size:12px;
padding:2px;
}

input, select, textarea{
border: 1px ridge #41383C;
font-weight: bold;
color : #000;
background-color: #FFF;
}

a:active, a:visited, a:hover, a:link{
color: #000000;
font-weight: bold;
text-decoration: none;
}

.online{
border: 3px solid #00FF00;
}

.idle{
border: 3px solid #FFA500;
}

.offline{
border: 3px solid #A9A9A9;
}

img {
border: 0px none;
}

hr {
color: #dadada;
width: 80%;
}

div.box_cen{
background-color:#FFFFFF;
margin-bottom:5px;
margin-top:5px;
padding:2px;
}

div.box_sub{
background-color:#FAF8CC;
padding-top:1px;
padding-bottom:1px;
border-top: 2px dashed #DADADA;
border-bottom: 2px dashed #DADADA;
}

div.footer{
border-bottom: #DADADA thin solid;
padding:2px;
clear:both;
}
        </style>";
 
} else if($themers[0]=="purple")
 {
 
 
echo "<style type=\"text/css\">
body{
margin: 0px auto;
max-width:480px;
background-color:#8E35EF;
color:#000000;
font-family:verdana,arial,helvetica,sans-serif;
font-size:12px;
padding:2px;
}

input, select, textarea{
border: 1px ridge #41383C;
font-weight: bold;
color : #000;
background-color: #FFF;
}

a:active, a:visited, a:hover, a:link{
color: #000000;
font-weight: bold;
text-decoration: none;
}

.online{
border: 3px solid #00FF00;
}

.idle{
border: 3px solid #FFA500;
}

.offline{
border: 3px solid #A9A9A9;
}

img {
border: 0px none;
}

hr {
color: #dadada;
width: 80%;
}

div.box_cen{
background-color:#461B7E;
margin-bottom:5px;
margin-top:5px;
padding:2px;
}

div.box_sub{
background-color:#8E35EF;
padding-top:1px;
padding-bottom:1px;
border-top: 2px dashed #DADADA;
border-bottom: 2px dashed #DADADA;
}

div.footer{
border-bottom: #DADADA thin solid;
padding:2px;
clear:both;
}
        </style>";
 

}
  }
 ?>