{"action":"created","issue":{"url":"https://api.github.com/repos/dle-modules/DLE-BlockPro/issues/111","repository_url":"https://api.github.com/repos/dle-modules/DLE-BlockPro","labels_url":"https://api.github.com/repos/dle-modules/DLE-BlockPro/issues/111/labels{/name}","comments_url":"https://api.github.com/repos/dle-modules/DLE-BlockPro/issues/111/comments","events_url":"https://api.github.com/repos/dle-modules/DLE-BlockPro/issues/111/events","html_url":"https://github.com/dle-modules/DLE-BlockPro/issues/111","id":323400554,"number":111,"title":"Как сделать 2 ссылки на предыдущую и следующую новость ? Либо 2 рандомные ссылки в стиле «вперед» и «назад». Пожалуйста, сделайте пример.","user":{"login":"8PandaPanda8","id":38809162,"avatar_url":"https://avatars3.githubusercontent.com/u/38809162?v=4","gravatar_id":"","url":"https://api.github.com/users/8PandaPanda8","html_url":"https://github.com/8PandaPanda8","followers_url":"https://api.github.com/users/8PandaPanda8/followers","following_url":"https://api.github.com/users/8PandaPanda8/following{/other_user}","gists_url":"https://api.github.com/users/8PandaPanda8/gists{/gist_id}","starred_url":"https://api.github.com/users/8PandaPanda8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/8PandaPanda8/subscriptions","organizations_url":"https://api.github.com/users/8PandaPanda8/orgs","repos_url":"https://api.github.com/users/8PandaPanda8/repos","events_url":"https://api.github.com/users/8PandaPanda8/events{/privacy}","received_events_url":"https://api.github.com/users/8PandaPanda8/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-15T22:06:43Z","updated_at":"2018-05-16T09:09:48Z","closed_at":"2018-05-16T09:09:48Z","author_association":"NONE","body":"# Описание ошибки:\r\n\r\n- При каких условиях воспроизводится ошибка\r\n- Страница, на которой наблюдается ошибка\r\n- Вносились ли модификации в движок\r\n- Версия DLE: 10.3\r\n- Версия PHP: 5.6\r\n\r\n\r\n## Строка подключения с включенным параметром showstat:\r\n\r\n```php\r\n{include file=\"engine/modules/base/blockpro.php?showstat=y\"}\r\n```\r\n\r\n## Статистика генерации:\r\n_Содержимое блока в красной рамке в конце блока с новостями_\r\n\r\n```sql\r\nЗапрос(ы): \r\n[1] SELECT p.id, p.autor, p.date, p.short_story, p.full_story, p.xfields, p.title, p.category, p.alt_name, p.allow_comm, p.comm_num, p.fixed, p.allow_main, p.symbol, p.tags, e.news_read, e.allow_rate, e.rating, e.vote_num, e.votes, e.related_ids, e.view_edit, e.editdate, e.editor, e.reason FROM `dle_post` p LEFT JOIN `dle_post_extras` e ON (p.id=e.news_id) WHERE approve AND p.date < \"2017-09-20 21:57:16\" ORDER BY fixed DESC, e.rating DESC, p.comm_num DESC, e.news_read DESC LIMIT 0, 10 \r\n[1 время:] 0.0032839775085449\r\nВремя выполнения запросов: 0.0032839775085449\r\nВремя выполнения скрипта: 1505933836.7845 c.\r\nРасход памяти: 2.97Мб\r\n```\r\n\r\n## Код используемого шаблона:\r\n\r\n```smarty\r\n<div id=\"{$block_id}\">\r\n    {foreach $list as $el}\r\n        {$el.id}\r\n    {/foreach}\r\n</div> <!-- #{$block_id} -->\r\n```"},"comment":{"url":"https://api.github.com/repos/dle-modules/DLE-BlockPro/issues/comments/389450400","html_url":"https://github.com/dle-modules/DLE-BlockPro/issues/111#issuecomment-389450400","issue_url":"https://api.github.com/repos/dle-modules/DLE-BlockPro/issues/111","id":389450400,"user":{"login":"pafnuty","id":1635679,"avatar_url":"https://avatars2.githubusercontent.com/u/1635679?v=4","gravatar_id":"","url":"https://api.github.com/users/pafnuty","html_url":"https://github.com/pafnuty","followers_url":"https://api.github.com/users/pafnuty/followers","following_url":"https://api.github.com/users/pafnuty/following{/other_user}","gists_url":"https://api.github.com/users/pafnuty/gists{/gist_id}","starred_url":"https://api.github.com/users/pafnuty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pafnuty/subscriptions","organizations_url":"https://api.github.com/users/pafnuty/orgs","repos_url":"https://api.github.com/users/pafnuty/repos","events_url":"https://api.github.com/users/pafnuty/events{/privacy}","received_events_url":"https://api.github.com/users/pafnuty/received_events","type":"User","site_admin":false},"created_at":"2018-05-16T09:09:48Z","updated_at":"2018-05-16T09:09:48Z","author_association":"MEMBER","body":"@8PandaPanda8 \r\nДля вывода ссылки на следующую и предыдущую новости вам нужен другой модуль. \r\nВыбирайте какой больша нравится:\r\nhttps://github.com/dle-modules/Related-Link\r\nhttp://store.alaev.info/dle/linkenso/\r\n\r\nНу или просто обновитесь до DLE13.0"}}
{"actor":{"display_login":"pafnuty"}}