session_start();
if (empty($_SESSION['user_login'])) {
//тут мы проверяем/обновляем и т.д.
}
session_write_close();
$chk = "";
if($show) $chk = "checked";
<input type="radio" name="menu-state" id="hidden" <?= $chk?> />
<div class='slide-container'>
<div class='slider'></div>
</div>
#oval {
width: 90vw;
height: 90vh;
background: -moz-linear-gradient(top, rgba(193,193,193,1) 0%, rgba(255,255,255,0) 100%);
background: -webkit-linear-gradient(top, rgba(193,193,193,1) 0%,rgba(255,255,255,0) 100%);
background: linear-gradient(to bottom, rgba(193,193,193,1) 0%,rgba(255,255,255,0) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c1c1c1', endColorstr='#00ffffff',GradientType=0 );
border-radius: 40% 40% 0 0;
}
function getRandomInt(min, max) {
return Math.floor(Math.random() * (max - min + 1)) + min;
}
var myAnswerRandomFileId = getRandomInt(1,3);
$.ajax({
cache: false,
type: "GET",
url: "this_is_fiiiiiile_"+myAnswerRandomFileId+".json",
success: function(msg){
var rnd = msg[getRandomInt(0,msg.length)];
$("#my-unique-div").addClass(rnd.status);
}
});
<details>
<summary>Коменты внутри</summary>
<p>
<details>
<summary>Первый</summary>
<p>Текст комментария 1</p>
</details>
<details>
<summary>Второй</summary>
<p>Текст комментария 2</p>
</details>
<details>
<summary>И внутри...</summary>
<p>
<details>
<summary>Третий</summary>
<p>Текст комментария 3</p>
</details>
</p>
</details>
</p>
</details>