Exemplo n.º 1
0
    $crntPartner = 1;
    foreach ($partners as $partner) {
        renderFieldOption($crntPartner, $partner->affiliateId, $partner->commissionProfileId);
        $crntPartner++;
    }
} else {
    renderFieldOption(1, "", MM_CommissionProfile::$DFLT_COMMISSION_PROFILE_ID);
}
?>
				</div>
			</div>
		</td>
	</tr>
	
	<?php 
$onsiteService = MM_PaymentServiceFactory::getOnsitePaymentService();
if ($onsiteService && $onsiteService->isActive() && $onsiteService->supportsFeature(MM_PaymentServiceFeatures::CARD_ON_FILE)) {
    ?>
	<tr>
		<td colspan="2">
		<div style="width: 540px; margin-top: 5px; margin-bottom:4px;" class="mm-divider"></div>
		</td>
	</tr>
	<tr>
		<td>Purchase Confirmation Message<?php 
    echo MM_Utils::getInfoIcon("Enter a purchase confirmation message for this product. It will be displayed to the member when they click to purchase a product using a card on file.");
    ?>
</td> 
		<td>
			<div>
				<?php 
Exemplo n.º 2
0
<div class="mm-navbar">	
<ul>
	<li> 
		<a href="<?php 
    echo MM_ModuleUtils::getUrl($crntPage, MM_MODULE_PRODUCTS);
    ?>
" class='<?php 
    echo $module == MM_MODULE_PRODUCTS ? "active" : "";
    ?>
'>
			<i class="fa fa-shopping-cart"></i> 
			Products
		</a>
	</li>
	<?php 
    $activePymtProvider = MM_PaymentServiceFactory::getOnsitePaymentService();
    if (!is_null($activePymtProvider) && $activePymtProvider->isActive() && $activePymtProvider->getToken() == MM_PaymentService::$LIMELIGHT_SERVICE_TOKEN) {
        ?>
	<li class="dropdown">
		<a href=""><i class="fa fa-exchange"></i> Lime Light Mappings</a>
		<ul>
			<li> 
				<a href="<?php 
        echo MM_ModuleUtils::getUrl($crntPage, MM_MODULE_LIMELIGHT_PRODUCTS);
        ?>
" class='<?php 
        echo $module == MM_MODULE_LIMELIGHT_PRODUCTS ? "active" : "";
        ?>
'>
					<i class="fa fa-shopping-cart"></i> 
					Product Mappings