Авторизуйтесь по паролю
Extazi 06.05.2020 Плагины, Модули Шаблоны (TPL), Общие вопросы по PHP, Модули 843
vitnet - 2020-01-208 мая 2020 16:23 - #75978
if( $do == "cat" && in_array($category_id, array(1, 2, 3) ) { here code to execute. }
Extazi - 2020-01-209 мая 2020 14:51 - #75999
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); }