Авторизуйтесь по паролю
dim 30.11.2014 Все вопросы » Общие вопросы 3097
FastFud - 2014-11-3030 ноября 2014 19:54 - #38161
if( empty( $subject ) OR dle_strlen($subject, $config['charset']) > 200 ) {$stop .= $lang['feed_err_4'];}
dim - 2014-11-3030 ноября 2014 20:12 - #38163
FastFud - 2014-11-3030 ноября 2014 20:17 - #38164
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); }