// Weekly leaderboards: top 10 by verified visitors sent, top 10 by distinct traffic sources (Central time week). (async function () { VBB.renderNav('/leaders'); VBB.renderFooter(); const $ = VBB.$, esc = VBB.esc; // weekly prizes from config (Marty 2026-11-13): displayed only, no payout code yet const c = await VBB.getConfig().catch(() => ({})); const pz = c.prizes || {}; const place = ['1st', '2nd', '3rd', '4th', '5th', '6th', '7th', '8th', '9th', '10th']; const plist = (title, arr) => '
| # | Member | ' + (main === 'visitors' ? 'Visitors' : 'Sources') + ' | ' + (main === 'visitors' ? 'Sources' : 'Visitors') + ' |
|---|---|---|---|
| ' + (i + 1) + ' | ' + esc(r.name) + ' | ' + VBB.n(r[main]) + ' | ' + VBB.n(main === 'visitors' ? r.sources : r.visitors) + ' |
Nobody yet this week. Share your link from My Banners and take the top spot.
'; $('lbVisitors').innerHTML = table(d.visitors, 'visitors'); $('lbSources').innerHTML = table(d.sources, 'sources'); })();