1
Ошибки / Re: Не работает ссылка на ОК
« : 29 Июня 2022, 23:03:33 »
Попробуйте в разделе "Соц. закладки" ссылку для ОК изменить на: https://connect.ok.ru/offer?url={link}
В этом разделе можно просмотреть все сообщения, сделанные этим пользователем.
$inq = $db->query
(
"SELECT a.*, b.* FROM ".$basepref."_".$bs['mod']." AS a
LEFT JOIN ".$basepref."_".$bs['mod']."_cat AS b ON (a.catid = b.catid)
WHERE".$cats." a.act = 'yes' ORDER BY ".(($bs['random'] == 'yes') ? 'MD5(RAND())' : $bs['sort'].' '.$bs['order'])." LIMIT ".$bs['col']
);
$inq = $db->query
(
"SELECT a.*, b.catcpu FROM ".$basepref."_".$bs['mod']." AS a
LEFT JOIN ".$basepref."_".$bs['mod']."_cat AS b ON (a.catid = b.catid)
WHERE".$cats." a.act = 'yes' ORDER BY ".(($bs['random'] == 'yes') ? 'MD5(RAND())' : $bs['sort'].' '.$bs['order'])." LIMIT ".$bs['col']
);
// Вывод
$content[] = $tm->parse(array
(
'title' => $api->siteuni($item['title']),
'date' => $ins['public'],
'thumb' => $item['image_thumb'],
'alt' => $ins['alt'],
'url' => $ins['url'],
'author' => $ins['author'],
'langrate' => $lang['all_rating'],
'titlerate' => $ins['title_rate'],
'rating' => $ins['rate'],
'langhits' => $lang['all_hits'],
'hits' => $item['hits'],
'comment' => $lang['comment_total'],
'count' => $ins['count']
),
$ins['template']);
'subtitle' => $api->siteuni($item['subtitle']),
<h4 class="hyphenate">{subtitle}</h4>
Меня смущает почему после знака параграфа текст уходит справа от картинки будто обтекание включено, а не вниз?Ну да, включено обтекание (float: left;).
/* Position thumb */
.imgleft {
float: left;
margin: .4em 1em .4em 0 !important;
}
.imgright {
float: right;
margin: .4em 0 .4em 1em !important;
}
.imgtext-left {
float: left;
margin: 1em 1em .4em 0 !important;
}
.imgtext-right {
float: right;
margin: 1em 0 .4em 1em !important;
}
.imgtext-center {
float: none;
display: block;
text-align: center;
margin: 1em auto;
padding: 0;
clear: both;
}
Warning: filesize(): stat failed for /home/***/up/news/article/2022/— — — in /home/***/admin38/core/function.php on line 549Откуда у вас берутся числовые коды прочерков в пути?