<?php } else { ?> <tr> <td colspan="6" class="text-center"> <p><?php _e('Your cart is empty', 'payment_pro'); ?> </p> </td> </tr> <?php } ?> </tbody> </table> <div id="table-row-actions"> <p style="font-style: italic"><?php _e('Continue and pay with:', 'payment_pro'); ?> </p> <ul class="payments-ul"> <?php payment_pro_buttons($products, $extra); ?> </ul> </div> </div> </div> <?php osc_run_hook('payment_pro_checkout_footer');
echo $credit_msg; ?> </h2> <?php $pack_n = 0; foreach ($packs as $pack) { $pack_n++; ?> <div> <h3><?php echo sprintf(__('Credit pack #%d', 'payment_pro'), $pack_n); ?> </h3> <div><label><?php _e("Price", 'payment_pro'); ?> :</label> <?php echo $pack . " " . osc_get_preference('currency', 'payment_pro'); ?> </div> <ul class="payments-ul"> <?php payment_pro_buttons($pack, sprintf(__("Credit for %s %s at %s", 'payment_pro'), $pack, osc_get_preference("currency", 'payment_pro'), osc_page_title()), '301x' . $pack, array('user' => @$user['pk_i_id'], 'itemid' => @$user['pk_i_id'], 'email' => @$user['s_email'])); ?> </ul> </div> <div style="clear:both;"></div> <br/> <?php } payment_pro_buttons_js();