<?php $currency_array = array('', 'BDT', 'USD'); ?>
<div class="col-sm-8  gray">
    <div class="col-sm-12" style="padding-left: 0px;padding-right: 0px;" >
        <div class="form-group col-sm-6" style="padding: 10px">
            <div class="input-group">
                <select class="form-control" name="currency" id="currency" onchange="calculate_price()">
                    <option value="" > -Select Money Currency - </option>
                    <option value="1">BDT</option>
                    <option value="2">USD</option>
                </select>
                <span class="input-group-addon" id="basic-addon1" title="Please select money Currency"><i class="fa fa-money"></i></span>
            </div>
        </div>


        <div class="col-sm-1 text-right" id="price_per_month_loding"></div>

        <div class="col-sm-5 text-right" style="padding: 10px">
            <h4 style="color: red"><?php
                if ($currency) {
                    echo $currency_array[$currency] . ' ' . $price_per_month . '/Month ';
                } else {
                    echo 'USD ' . $price_per_month . '/Month ';
                }
                ?>
            </h4>
        </div>
    </div>
</div>
<div class="col-sm-12"><br><br></div>

<div class="col-sm-4"></div>
<div class="col-sm-8  gray">
    <div class="col-sm-12" style="padding-left: 0px;padding-right: 0px;" >
        <div class="col-sm-8 text-left" style="padding: 10px">
            <p>If you select one Year,you will free one month.Otherwise select one month </p>
        </div>

        <div class="col-sm-4 text-left" style="padding: 10px">
            <select data-errormessage-value-missing="Choose Package Time Limit is Requird!" 
                    class="form-control validate[required]"  name="billing_period" id="billing_period"
                    onchange="calculate_price()">
                <option value="">Billing Period</option>
                <option value="1">Monthly</option>
                <option value="2">Yearly</option>
            </select>
        </div>

        <div class="col-sm-12"><br></div>

        <div class="col-sm-7 text-left" style="padding: 10px">
            <h4>   Total</h4>
            <p>(
                <?php
                if ($billing_period) {
                    $billing_period_array = array('', 'Monthly', 'Yearly');
                    echo 'Billing period ' . $billing_period_array[$billing_period];
                } else {
                    echo 'Billing period monthly by default';
                }
                ?>
                )</p>
        </div>
        <div class="text-right" id="total_price_loding"></div>

        <div class="col-sm-4 text-right" style="padding: 10px">
            <h4>
                <del>
                    <span>
                        <?php
                        if ($billing_period == 2) {
                            if ($currency) {
                                echo $currency_array[$currency] . ' ' . $total_annual_price;
                            } else {
                                echo 'USD ' . $total_annual_price;
                            }
                        }
                        ?>
                    </span>
                </del>
            </h4>
            <h4>
                <?php
                if ($currency) {
                    echo $currency_array[$currency] . ' ' . $total_price;
                } else {
                    echo 'USD ' . $total_price;
                }
                ?>
            </h4>
        </div>

        <div class="col-sm-12"><br></div>
    </div>
</div>

<div class="col-sm-12"><br></div>

<div class="col-sm-4"></div>

<div class="col-md-7 column">
    <input type="hidden" value="<?php echo $person_id; ?>" name="person_id">
    <input type="hidden" value="<?php echo $virtual_classroom_feature->feature_price_storage; ?>" name="feature_price_storage" id="feature_price_storage">
    <input type="hidden" value="<?php echo $price_per_month; ?>" name="price_per_month" id="price_per_month">
    <input type="hidden" value="<?php echo $total_price; ?>" name="unit_price" id="unit_price">
    <input type="hidden" value="<?php echo $total_price; ?>" name="total_price" id="total_price">
    <input type="hidden" value="<?php echo $virtual_classroom_feature->feature_price_id; ?>" name="virtual_classroom_feature_id" id="virtual_classroom_feature_id">
    <input type="hidden" value="<?php echo $online_exam_feature->feature_price_id; ?>" name="online_exam_feature_id" id="online_exam_feature_id">
    <input type="hidden" value="<?php echo $explore_expert_resume_feature->feature_price_id; ?>" name="expert_resume_feature_id" id="expert_resume_feature_id">
    <!--<span id="virtual_classroom_m_taka" style="display: none">0</span>-->
    <span id="online_exam_m_taka" style="display: none">0</span>
    <span id="expert_resume_m_taka" style="display: none">0</span>
    <span id="pricing_taka" style="display: none">0</span>
</div>