$CI = get_instance();
    $CI->load->model('admin/package_model');
    $package = $CI->package_model->get_package_by_id($this->session->userdata('selected_package'));
    ?>
                        <div class="clearfix" style="margin-top:5px;"></div>
                    
                        <div class="" style="padding:10px 0;font-weight:bold">
                            <?php 
    echo $package->title;
    ?>
<br/>
                            <?php 
    echo lang_key('price');
    ?>
 : <?php 
    echo show_package_price($package->price);
    ?>
<br/>
                            <?php 
    echo lang_key('expirtion_time');
    ?>
 : <?php 
    echo $package->expiration_time;
    ?>
 <?php 
    echo lang_key('days');
    ?>
 
                        </div>
                        <div class="clearfix" style="margin-top:5px;"></div>
                        <a href="<?php 
Esempio n. 2
0
<h1 class="detail-title"><i class="fa fa-user"></i>&nbsp;<?php 
echo lang_key('confirmation');
?>
</h1>
<div class="row">
    <div class="col-md-12" style="min-height:300px">
        Package price : <?php 
echo show_package_price($this->session->userdata('amount'));
?>
        <p><?php 
echo lang_key('payment_notification');
?>
</p>

        <?php 
if (get_settings('realestate_settings', 'enable_paypal_transfer', 'Yes') == 'Yes') {
    ?>
            <?php 
    $action = get_settings('paypal_settings', 'enable_sandbox_mode', 'No') == 'Yes' ? 'https://www.sandbox.paypal.com/cgi-bin/webscr' : 'https://www.paypal.com/cgi-bin/webscr';
    ?>
            <form action="<?php 
    echo $action;
    ?>
" method="post" target="_top">
            <input type="hidden" name="cmd" value="_xclick">
            <input type="hidden" name="business" value="<?php 
    echo get_settings('paypal_settings', 'email', 'none');
    ?>
">
            <input type="hidden" name="lc" value="US">
            <input type="hidden" name="item_name" value="<?php