function bgCssClass($storedSelect){
$default = 'red';
$bodyClass=[
'red' => 'redBackground',
'green' => 'greeBackground',
'blue' => 'blueBackground',
];
if(in_array($storedSelect,$bodyClass)){
return $bodyClass[$storedSelect];
}
return $bodyClass[$default];
}
<style>
.redBackground{
background-color:red;
}
.greenBackground{
background-color:green;
}
.blueBackground{
background-color:blue;
}
</style>
<body class="<?php bgCssClass($bgcolor); ?>">
$parameters = array('chat_id' => $to, 'parse_mode' => 'HTML', "text" => $message);
$url = "https://api.telegram.org/bot" . trim($BOT_TOOKEN) . '/sendMessage?' . http_build_query($parameters);
$handle = curl_init($url);
http://tile%d|2.maps.2gis.com/tiles?%c&v=4.png
http://mt0.google.com/vt/lyrs=m@207000000&hl=ru&src=app&%c&zoom=%d&s=Galileo
http://otile%d.mqcdn.com/tiles/1.0.0/osm/%z/%x/%y.png
http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/tile/%z/%y/%x.png
'http://i'+host+'.wikimapia.org/?x='+tileNumber[0]+'&y='+tileNumber[1]+'&zoom='+zoom+'&lng=1
а что они не консультируют ? и форма есть и онлайн консультант