===BEGIN:subs=== [LT]?php if ($member_products || $member_future_products): ?> [LT]ul id="member-subscriptions" class="am-widget-list am-list-subscriptions"> [LT]?php foreach ($member_products as $p): ?> [LT]li id="product-item-[LT]?php p($p->pk()) ?>"> [LT]span class="am-list-subscriptions-title"> [LT]?php if ($_url = $p->getDashboardUrl()) : ?> [LT]a href="[LT]?php p($_url) ?>">[LT]?php echo $p->getTitle(); ?>[LT]/a> [LT]?php else : ?> [LT]strong>[LT]?php echo $p->getTitle(); ?>[LT]/strong> [LT]?php endif; ?> [LT]/span>[LT]span class="am-list-subscriptions-date"> [LT]?php if ($products_rebill[$p->pk()]) : ?> [LT]span class="am-list-subscriptions-date_rebill">[LT]?php __e('next bill') ?> [LT]?php echo amDate($products_rebill[$p->pk()]); ?>[LT]/span> [LT]?php elseif ($products_expire[$p->pk()] == Am_Period::MAX_SQL_DATE): ?> [LT]span class="am-list-subscriptions-date_lifetime">[LT]?php __e('Lifetime') ?>[LT]/span> [LT]?php else: ?> [LT]span class="am-list-subscriptions-date_expires">[LT]?php __e('expires') ?> [LT]?php echo amDate($products_expire[$p->pk()]); ?>[LT]/span> [LT]?php endif ?> [LT]/span>[LT]span class="am-list-subscriptions-link"> [LT]?php if (isset($products_cancel[$p->pk()]) && $products_cancel[$p->pk()]) : ?> [LT]a class="cancel-subscription local-link" href="[LT]?php p($products_cancel[$p->pk()])?>" data-popup-title="[LT]?php p($p->getTitle()) ?>">[LT]?php __e("cancel") ?>[LT]/a> [LT]?php endif; ?> [LT]?php if (isset($products_upgrade[$p->pk()]) && $products_upgrade[$p->pk()]): ?> [LT]?php if (isset($products_cancel[$p->pk()]) && $products_cancel[$p->pk()]) : ?> [LT]span class="am-list-subscriptions_divider">|[LT]/span> [LT]?php endif; ?> [LT]a href="javascript:;" class="upgrade-subscription local-link" data-invoice_item_id="[LT]?php p($this->obfuscate($products_upgrade[$p->pk()]->pk())) ?>">[LT]?php __e("upgrade") ?>[LT]/a> [LT]?php endif; ?> [LT]/span> [LT]div class="am-list-subscriptions-desc">[LT]?php echo $p->description; ?>[LT]/div> [LT]/li> [LT]?php endforeach ?> [LT]?php foreach ($member_future_products as $p) : ?> [LT]li id="product-item-[LT]?php p($p->pk()) ?>"> [LT]span class="am-list-subscriptions-title">[LT]?php echo $p->getTitle(); ?>[LT]/span> [LT]span class="am-list-subscriptions-date"> [LT]span class="am-list-subscriptions-date_future">[LT]?php __e('begins') ?> [LT]?php echo amDate($products_begin[$p->pk()]); ?>[LT]/span> [LT]/span> [LT]div class="am-list-subscriptions-desc">[LT]?php echo $p->description; ?>[LT]/div> [LT]/li> [LT]?php endforeach; ?> [LT]/ul> [LT]?php else : // Customer doesn't have any active subscriptions ?> [LT]h3>[LT]?php __e('You have no active subscriptions') ?>[LT]/h3> [LT]p>[LT]?php __e('Please use %sAdd/Renew subscription%s form to order or renew subscription.', '[LT]a href="' . $this->url('signup') . '">','[LT]/a>') ?>[LT]/p> [LT]?php endif ?> [LT]div class="cancel-subscription-popup" data-popup-title="[LT]?php __e('Cancel Subscription')?>" style="display:none"> [LT]?php include $this->_script('member/_cancel.phtml') ?> [LT]/div> [LT]?php foreach ($products_upgrade as $item) : ?> [LT]?php $invoice = $di->invoiceTable->load($item->invoice_id); ?> [LT]div class="upgrade-subscription-popup upgrade-subscription-popup-[LT]?php p($this->obfuscate($item->pk())) ?>" style="display:none" data-popup-title="[LT]?php __e('Change Subscription') ?>"> [LT]?php include $this->_script('member/_upgrade.phtml') ?> [LT]/div> [LT]?php endforeach; ?> ===END:subs=== ===BEGIN:index=== NOT_FOUND ===END:index===