コード例 #1
0
header('Expires: 0');
// Proxies.
?>
<div>
	<div>
		<?php 
echo XiText::_('COM_PAYPLANS_APP_PLANMODIFIER_SUBSCRIBE_IT_FOR');
?>
	</div>
	<div align="center">
		<select class="pp-planmodifier pp-gap-bottom05" name="plan_modifier_<?php 
echo $plan->plan_id;
?>
" style="max-width:90%;">
			<?php 
$pInstance = PayplansPlan::getInstance($plan->plan_id, null, $plan);
?>
			<?php 
$currency = $pInstance->getCurrency();
?>
			
			<option value="<?php 
echo $default = $pInstance->getPrice() . '_' . $pInstance->getRawExpiration();
?>
">
				<?php 
$amount = $pInstance->getPrice();
echo $this->_render('partial_amount', compact('currency', 'amount'), 'default') . ' ';
echo $pInstance->isRecurring() !== false ? XiText::_('COM_PAYPLANS_PLAN_PRICE_TIME_SEPERATOR') : XiText::_('COM_PAYPLANS_PLAN_PRICE_TIME_SEPERATOR_FOR');
echo PayplansHelperFormat::planTime(PayplansHelperPlan::convertIntoTimeArray($pInstance->getRawExpiration()));
?>
コード例 #2
0
		
		<?php 
$counter = 0;
$total = count($groups) + count($plans);
if ($total == 0) {
    $gridclasses = array();
    $row_plans = array();
} else {
    list($gridclasses, $row_plans) = !$vertical_layout ? PayplansHelperTemplateDefault::buildPlanCloumnClasses($row_plans, $total) : array(array(), array_fill(1, $total, 1));
}
$instances = array();
foreach ($groups as $key => $record) {
    $instances[] = PayplansGroup::getInstance($record->group_id, null, $record);
}
foreach ($plans as $key => $record) {
    $instances[] = PayplansPlan::getInstance($record->plan_id, null, $record);
}
?>

			<?php 
foreach ($row_plans as $key => $rowCount) {
    ?>
				<div class="pp-plan-row <?php 
    echo $vertical_layout ? '' : 'row';
    ?>
">
				<?php 
    for ($i = 0; $i < $rowCount; $i++, $counter++) {
        ?>
					<?php 
        $plan_grid_class = $vertical_layout ? ' pp-vertical' : ' pp-horizontal ' . $gridclasses[$counter];
コード例 #3
0
 * Technical Support : Forum -	http://www.jpayplans.com/support/support-forum.html
 */
if (defined('_JEXEC') === false) {
    die;
}
?>
<div class="pp-login-popup">
		<div>
			<div >					
					<div class="row">
						<div class="col-xs-6 pp-col pp-label required"><?php 
echo XiText::_('PLG_PAYPLANS_GIFT_SHOW_ITEM_SELECT_PLAN');
?>
</div>
						<div class="col-xs-6 pp-col pp-input"><?php 
echo PayplansPlan::getInstance($plan_id)->getTitle();
?>
</div>
					</div>	
					<div class="row-fluid">&nbsp;</div>				
					<div class="row">
						<div class="col-xs-6 pp-col pp-label required"><?php 
echo XiText::_('PLG_PAYPLANS_GIFT_SHOW_ITEM_QUANTITY');
?>
</div>
						<div class="col-xs-6 pp-col pp-input"><input type="text" class="form-control" id="plg_gift_item_quantity" name="plg_gift_item_quantity" value="<?php 
echo isset($quantity) ? $quantity : '';
?>
" class="number" /></div>
					</div>