$text = "text " . "$param" . "...";
$text = "text {$param}...";
$send .= "sudo screen -dmS screen_name docker run {$user_container } {$memory_container} -d -it --cpus '1' --memory={$mem}m"
<!DOCTYPE html>
<html>
<head>
<style>
body { margin: 0px; padding:0px; }
</style>
</head>
<body>
</body>
<script>
console.log(screen.width);
console.log(document.body.clientWidth);
</script>
</html>
<form class="mt-5" method="post" action="do_logout.php" style="display:none">
<button type="submit" class="btn btn-primary" id="submit_button">Logout</button>
</form>
<span style="cursor:pointer" onclick="document.getElementById('submit_button').click();">Log out</span>
<script>
function getvals() {
var selectors = document.getElementsByName('selectorname');
for (var i=0, slen=selectors.length; i<slen; i++) {
selector = selectors[i];
options = selector.querySelectorAll('option');
for (var u=0, olen=options.length; u<olen; u++) {
option = options[u];
if(option.selected){
console.log(option.value);
}
}
}
}
</script>
<select name="selectorname" multiple>
<option value="value 3" class="option">value 3</option>
<option value="value 4" class="option">value 4</option>
<option value="value 5" class="option">value 5</option>
</select>
<select name="selectorname" multiple>
<option value="value 6" class="option">value 6</option>
<option value="value 7" class="option">value 7</option>
</select>
body {
background-color: antiquewhite;
font-weight: 400;
}
.personal h1 {
font-size: 32px;
}
.personal p {
font-size: 240px;
}
где можно изучить технический английския язык
<a style="<?if($lastprice < $lastprice) { echo 'color:red'; }else{ echo 'color:green'; }?>"><?echo (float)$lastprice;?>
<a style="<?if($firstrprice < $lastprice) { echo 'color:red'; }else{ echo 'color:green'; }?>"><?echo (float)$lastprice;?>
$firstprice = 1700;
<a style="<?if($firstrprice < $lastprice) { echo 'color:red'; }else{ echo 'color:green'; }?>"><?echo (float)$lastprice;?>
class Someclass
{
public static function getDate($k)
{
switch ($k) {
case "Y":
return date("Y");
break;
case "m":
return date("m");
break;
case "d":
return date("d");
break;
case "H-i-s":
return date("H-i-s");
break;
}
}
}
define('LOG_FILENAME', "{$_SERVER["DOCUMENT_ROOT"]}/logs/" . Someclass::getDate("Y") . "/" . Someclass::getDate("m") . "/" . Someclass::getDate("d") . ".txt");
let coinFlip = [
'900deg',
'1080deg',
'1260deg',
'1440deg',
'1620deg',
'1800deg',
'1980deg',
'2160deg',
'2340deg',
'2520deg'
]
let button = document.querySelector('.button');
button.addEventListener('click',()=>{
let random = Math.floor(Math.random() * 10);
console.log(coinFlip[random])
})