Авторизуйтесь по паролю
Webgod 25.11.2016 Все вопросы » Общие вопросы 1550
Webgod - 2016-11-2425 ноября 2016 21:01 - #60243
irrwisch - 2016-11-2426 ноября 2016 01:59 - #60246
[available=main] [not-group=5] <meta http-equiv="refresh" content="0; url=http://example.com/category/"> [/not-group] [/available]
Webgod - 2016-11-2426 ноября 2016 13:45 - #60250
vitnet - 2016-11-2426 ноября 2016 13:49 - #60251
irrwisch - 2016-11-2426 ноября 2016 13:49 - #60252
iframe { width: 100%; height: 400px; /* Высота по умолчанию */ } /* Мобильные устройства */ @media (max-width: 768px) { iframe { height: 300px; } } /* Очень маленькие экраны */ @media (max-width: 480px) { iframe { height: 250px; } }
.video-box embed, .video-box object, .video-box video, .video-box iframe, .video-box frame, #trplayer {width: 100%; max-width:100% !important; height:400px; display:block;} @media screen and (max-width: 590px) { .video-box embed, .video-box object, .video-box video, .video-box iframe, .video-box frame, #trplayer {height:300px;} } @media screen and (max-width: 470px) { .video-box embed, .video-box object, .video-box video, .video-box iframe, .video-box frame, #trplayer {height:250px;} }
$this->from = $imageurl;
if ($url['host'] == "image.openmoviedb.com" && stripos($imageurl, "image.openmoviedb.com") !== false) { $type = 'jpg'; // < -- либо другой формат из $allowed_extensions $imageurl = time() + rand(1, 100); $imageurl = $imageurl . "." . $type; $imageurl = preg_replace('#[.]+#i', '.', $imageurl); }