
    <div class="modal-header">
        <a id="logo" href="<?php echo base_url(); ?>" class="pull-left">
            <img src="<?php echo base_url(); ?>assets/images/logo/sub-logo.jpg" />
            <h4 align="center">Subscription Management System</h4>
        </a>
        <h3 class="modal-title" align="center">Magazine Details</h3>
    </div>
<div class="widget-body innerAll inner-2x" align="center">
    <span>
        <p><label>Campaign used for the Period:</label> <b><?php echo date("d M Y", strtotime($arrMagazineDetails[0]['start_date'])) ?> To <?php echo date("d M Y", strtotime($arrMagazineDetails[0]['end_date'])) ?></b></p>
        <p><label>Total Revenue Earned by using Campaign:</label> <b>$<?php echo (int)$arrDetails[0]['total_revenue']; ?></b></p>
        <p><label>Total discount given by using Campaign:</label> <b>$<?php echo (int)$arrDetails[0]['total_discount']; ?></b></p>
        <p><label>Total magazines used Campaign:</label> <b><?php echo (int)count($arrMagazineDetails); ?></b></p>
    </span>
    <table class="table table-white table-vertical-center margin-none table-striped footable" cellpadding="8" cellspacing="8">
        <tr>
            <th  data-class="highlight" class="text-center">Sr. No</th>
            <th  data-class="highlight" class="text-center">Magazine Code</th>
            <th  data-class="highlight" class="text-center">Magazine name</th>
            <!-- <th  data-class="highlight" class="text-center">Issues per year</th> -->
            <th  data-class="highlight" class="text-center">status</th>
            <th  data-class="highlight" class="text-center">Description</th>
            <th  data-class="highlight" class="text-center">No. of subscriber</th>

        </tr>
        <?php if (count($arrMagazineDetails) > 0 ){
            $intCounter  = 1;
            foreach($arrMagazineDetails as $arrSub) {?>
                <tr style="border-top: 10px">
                    <td  class="text-center"><?php echo $intCounter; ?></td>
                    <td  class="text-center"><?php echo $arrSub['magezine_id']; ?></td>
                    <td  class="text-center"><?php echo $arrSub['name']; ?></td>
                    <!-- <td  class="text-center"><?php //echo $arrSub['issues_per_year']; ?></td> -->
                    <td  class="text-center"><?php echo $arrSub['status']; ?></td>
                    <td  class="text-center"><?php echo $arrSub['description']; ?></td>
                    <td  class="text-center"><?php echo $arrSub['total_subscriber']; ?></td>

                </tr>
            <?php $intCounter++; }
        } else {?>
        <?php } ?>
    </table>
</div>