×

Member Login

Home / Categories / Miscellaneous / Samples / Latest ads montages
Download available for users with full-size access enabled

Adpharm Recent Highlights - February 3, 2022

Video montage of some of the healthcare ads that were added in the last few days.
All of these ads can be found in the gallery here.

Brands that were included today:
Abbott, Blenrep, Cialis, Culturelle, Cyramza, Cytopoint, Dalvance, Dexdor, Emgality, Erbitux, Everlywell, Gouvernement du Québec, Hilak Forte, Ibrance, Imbruvica, Inrebic, Jyseleca, Keytruda, Kisqali, Lynparza, Nerlynx, NHS, Nobivac, Novartis, Ocrevus, Opdivo, Pentasa, pH-Notix, Pneumovax, Spiolto, Stelara, The Farmer's Dog, Tremfya, Trulicity, Vaccines.Gov, Verquvo, Walgreens and Yervoy.

From the following countries:
From Austria, Belgium, Canada, France, Greece, Ireland, Russia, South Africa, Sweden, UK and USA.'); // --- 2. MEMORY MANAGEMENT (SessionStorage) --- function getStoredPids() { var pids = sessionStorage.getItem('cpg_zip_pids'); return pids ? JSON.parse(pids) : []; } function savePids(pids) { sessionStorage.setItem('cpg_zip_pids', JSON.stringify(pids)); updateZipButton(); } function updateZipButton() { var count = getStoredPids().length; if (count > 0) { $('#header-zip-bulk').show().html(' ZIP SELECTED (' + count + ')'); $('#btn-bulk-toggle').text('Cancel (' + count + ')').addClass('active').css('background', '#c04a2d'); $('#btn-bulk-all').show(); } else { $('#header-zip-bulk').hide(); $('#btn-bulk-toggle').text('Select').removeClass('active').css('background', '#666'); $('#btn-bulk-all').hide(); } } // --- 3. HEADER INJECTION --- function initHeaderButtons() { var currentUrl = window.location.href; // 1. LOOSE CHECK // Ensure we are on a thumbnails page by checking for the filename or the 'album' parameter var isThumbPage = currentUrl.toLowerCase().includes('thumbnails.php') || currentUrl.includes('album='); if (!isThumbPage) { return; } // 2. DATA PARSING var isCollection = (currentUrl.indexOf('album=favpics') > -1 && currentUrl.indexOf('lid=') > -1); var lidMatch = currentUrl.match(/lid=([0-9]+)/); var currentLid = lidMatch ? lidMatch[1] : 0; // 3. TARGET SELECTION var $headerTd = $('.tableh1').first(); // 4. INJECTION LOGIC if ($headerTd.length && !$headerTd.hasClass('buttons-ready')) { $headerTd.addClass('buttons-ready'); var $originalContents = $headerTd.contents().detach(); var $flexContainer = $('
'); var $leftPanel = $('
' + '' + '' + '
'); var $centerPanel = $('
').append($originalContents); var zipBtnHtml = '
' + ''; if (isCollection) { zipBtnHtml += ''; } zipBtnHtml += '
'; $flexContainer.append($leftPanel).append($centerPanel).append(zipBtnHtml); $headerTd.empty().append($flexContainer); // 5. STATE RESTORATION if (typeof getStoredPids === "function" && getStoredPids().length > 0) { toggleSelectionMode(true); } if (typeof updateZipButton === "function") { updateZipButton(); } } } function toggleSelectionMode(forceActive) { var $btn = $('#btn-bulk-toggle'); var pids = getStoredPids(); if (forceActive || !$btn.hasClass('active')) { $btn.addClass('active').css('background', '#c04a2d'); $('#btn-bulk-all').show(); $('#header-zip-collection').hide(); $('a[href*="pid="]').each(function() { var $link = $(this); var $container = $link.closest('td, div.display_thumbnails, div.thumbnail'); if ($container.length && $container.find('.bulk-wrapper').length === 0) { var pid = $link.attr('href').match(/pid=([0-9]+)/)[1]; var isSelected = pids.includes(pid); var wrapper = $('
' + '
' + '
'); $container.css('position', 'relative').append(wrapper); } }); // --- ADDED UNCHECK LOGIC START --- // This makes the wrapper we just added responsive to clicks for both checking and unchecking $('.bulk-wrapper').off('click').on('click', function(e) { e.preventDefault(); e.stopPropagation(); var $wrapper = $(this); var pid = $wrapper.data('pid').toString(); var currentPids = getStoredPids(); var index = currentPids.indexOf(pid); if (index > -1) { // UNCHECK: It's in the list, so remove it currentPids.splice(index, 1); $wrapper.removeClass('is-selected'); $wrapper.find('.fa-check').hide(); } else { // CHECK: It's not in the list, so add it currentPids.push(pid); $wrapper.addClass('is-selected'); $wrapper.find('.fa-check').show(); } // Standard calls to your existing save and update functions savePids(currentPids); }); // --- ADDED UNCHECK LOGIC END --- } else { sessionStorage.removeItem('cpg_zip_pids'); // Full clear on Cancel $btn.removeClass('active').text('Select').css('background', '#666'); $('#btn-bulk-all').hide(); $('#header-zip-collection').show(); $('.bulk-wrapper').remove(); $('#header-zip-bulk').hide(); } } // --- 4. INTERACTION HANDLERS --- $(document).on('click', '#btn-bulk-toggle', function(e) { e.preventDefault(); toggleSelectionMode(); }); $(document).on('click', '.bulk-wrapper', function(e) { e.preventDefault(); e.stopPropagation(); var pid = $(this).data('pid').toString(); var pids = getStoredPids(); if (pids.includes(pid)) { pids = pids.filter(function(id) { return id !== pid; }); $(this).removeClass('is-selected'); } else { pids.push(pid); $(this).addClass('is-selected'); } savePids(pids); }); $(document).on('click', '#btn-bulk-all', function(e) { var pids = getStoredPids(); var $visibleWrappers = $('.bulk-wrapper'); var allVisibleSelected = true; $visibleWrappers.each(function() { if (!pids.includes($(this).data('pid').toString())) allVisibleSelected = false; }); $visibleWrappers.each(function() { var pid = $(this).data('pid').toString(); if (allVisibleSelected) { pids = pids.filter(function(id) { return id !== pid; }); $(this).removeClass('is-selected'); } else if (!pids.includes(pid)) { pids.push(pid); $(this).addClass('is-selected'); } }); savePids(pids); }); $(document).on('click', '#header-zip-bulk', function() { var pids = getStoredPids(); if (pids.length > 0) window.location.href = 'index.php?file=mlightbox/manager&zip_id=' + pids.join(','); }); $(document).on('click', '#header-zip-collection', function() { window.location.href = 'index.php?file=mlightbox/manager&zip_id=' + $(this).data('lid'); }); setTimeout(initHeaderButtons, 200); });