[insert_php]
$url = “https://admin.omgpm.com/v2/VoucherCodes/Affiliate/ExportVoucherCodes.ashx?Auth=95:643690:B914B55425F8178D3BB84789056684C7&Status=Active&Format=Xml&Agency=95”;
$xml = simplexml_load_file($url);
#
foreach ($xml->Item as $link)
{
echo ‘
‘;
echo ‘
echo ‘
TrackingUrl, ‘ target=_blank >’;
echo $link->Code, ‘ ‘;
echo ‘
echo $link->Code, ‘ ‘;
echo ‘
‘;
$exdate = trim($link->ExpiryDate,”00:00:00″);
echo ($link->offerenddate==”ongoing”?”:’End Date: ‘.$exdate. ‘‘);
echo ‘10% Off Select Office Chair Styles + Free Shipping! May 14, 202425% Off All Pet Beds + Free Shipping! May 14, 2024 Shop the La-Z-Boy Memorial Day Sale! Recliners starting at $399 May 14, 2024 $349.99 5-Piece Outdoor Wicker Bistro Set w/ Side Storage Table, No Assembly – BCP5PCSET May 14, 2024 $99.99 Raised Oval Garden Bed, Customizable Elevated Outdoor Metal Planter – 63in – BCPOVAL May 14, 2024 Save up To $150 on Surface Laptop Go 3. Valid 5/13-6/9! May 14, 2024 Monster Movies up To 50% Off. Valid 5/14-5/20! May 14, 2024 Shop Our End of Season Sale at Florsheim! up To 50% Off Clearance when… May 14, 2024 Bebe: 60% Off All Activewear May 13, 2024 Only $9.99 Clorox ToiletWand Starter Kit – when you buy online & pickup in store May 13, 2024
$exdate = trim($link->ExpiryDate,”00:00:00″);
echo ($link->offerenddate==”ongoing”?”:’End Date: ‘.$exdate. ‘‘);
echo ‘10% Off Select Office Chair Styles + Free Shipping! May 14, 2024