Untitled
unknown
plain_text
18 days ago
540 B
1
Indexable
Never
-- Get forum ID local forum_id = category['id'] -- Get other posts via API local post_list, error = api.get_forum_posts({forum_id=forum_id}) if not post_list then print("Postlar alınırken hata oluştu: " .. error) else -- List posts print('<div class="other-posts"><h3>Diğer Postlar</h3><ul>') for i, post in ipairs(post_list) do print('<li><a href="/izle/' .. post['id'] .. '/' .. slugVN(post['title']) .. '.html">' .. post['title'] .. '</a></li>') end print('</ul></div>') end
Leave a Comment