Esempio n. 1
0
        echo $coupon->id;
        ?>
" value="<?php 
        echo $coupon->id;
        ?>
" />		
					</div>
					<div class="cell width75px maxwidth75px paddingleftimp10px">
						<?php 
        echo mgm_ellipsize($coupon->name, 20);
        ?>

					</div>
					<div class="cell width125px maxwidth125px paddingleftimp10px">
						<?php 
        echo is_numeric($coupon->value) ? mgm_format_currency($coupon->value) : $coupon->value;
        ?>

					</div>
					<div class="cell width125px maxwidth125px paddingleftimp10px">
						<?php 
        echo mgm_ellipsize($coupon->description);
        ?>

					</div>
					<div class="cell width75px maxwidth75px paddingleftimp10px">
						<?php 
        echo is_null($coupon->use_limit) ? __('Unlimited', 'mgm') : sprintf(__('%d of %d used', 'mgm'), $coupon->used_count, $coupon->use_limit);
        ?>

					</div>
Esempio n. 2
0
		</div>
		<div class="cell width15">
    		[payperpost_pack#<?php 
        echo $postpack->id;
        ?>
]
		</div>
		<div class="cell width15 textalignleft">
    		<?php 
        echo $postpack->name;
        ?>

		</div>
		<div class="cell width10 textalignleft">
    		<?php 
        echo mgm_format_currency($postpack->cost) . ' ' . $data['currency'];
        ?>

		</div>
		<div class="cell width15 textalignleft">
    		<?php 
        echo $postpack->description;
        ?>

		</div>
		<div class="cell width15 textalignleft">
    		<?php 
        echo date($sformat, strtotime($postpack->create_dt));
        ?>

		</div>