Авторизуйтесь по паролю
i_loves_ac_dc 05.01.2014 админка, дле, комментарии, вывод Все вопросы » Общие вопросы по PHP 4080
i_loves_ac_dc - 2015-04-115 января 2014 20:37 - #20961
nambo1 - 2015-04-115 января 2014 22:09 - #20965
i_loves_ac_dc - 2015-04-115 января 2014 22:26 - #20967
rocksmart - 2015-04-116 января 2014 10:39 - #20988
echo '<script type="text/javascript">var items = [];$.get("'.$config['http_home_url'].'index.php?do=lastcomments", null, function(data) {$("#dle-comments-list", data).find(".bcomment:lt(1)").each(function() {items.push(this);});$("#load-last-comment").html(items); }, "html");</script><div id="load-last-comment"></div>';
i_loves_ac_dc - 2015-04-116 января 2014 15:16 - #20997
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); }