Subversion Repositories SmartDukaan

Rev

Rev 17226 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<div class="notificationCampaigns view">
<h2><?php echo __('Notification Campaign'); ?></h2>
        <?php //debug($notificationCampaign); ?>
        <table cellpadding="0" cellspacing="10%" border="1" class="table table-striped">
        <tr>
        <!-- <th align="center"><?php //echo h('Pushed By'); ?></th> -->
        <th align="center"><?php echo h('Campaign Id'); ?></th>
        <th align="center"><?php echo h('Type'); ?></th>
        <th align="center"><?php echo h('Status'); ?></th>
        <th align="center"><?php echo h('Response Time'); ?></th>
        <th align="center"><?php echo h('Created'); ?></th>
        </tr>
        
        <?php foreach ($userdata as $key => $temp): ?>
<!--            <?php debug($temp);?> -->
                <tr align="center">
                <!-- <td width="15%"> -->
                <?php //echo h($temp['pushnotifications']['id'])?>
                <?php //echo h($temp['pushed_by'])?>
                <!-- </td> -->
                <td>
                <?php //echo h($temp['pushnotifications']['notification_campaign_id'])?>
                <?php echo h($temp['notification_campaign_id'])?>
                </td>
                <td>
                <?php //echo h($temp['pushnotifications']['type'])?>
                <?php echo h($temp['type'])?>
                </td>
                <td>
                <?php //echo h($temp['pushnotifications']['status'])?>
                <?php echo h($temp['status'])?>
                </td>
                <td width="30%">
                <?php //echo h($temp['pushnotifications']['response_time'])?>
                <?php 
                        if(isset($temp['response_time'])){
                                echo h(date('Y-m-d H:i:s', $temp['response_time']/1000)); 
                        }?>
                <?php //echo h($temp['response_time'])?>
                </td>
                <td width="30%">
                <?php //echo h($temp['pushnotifications']['created'])?>
                <?php 
                        if(isset($temp['created'])){
                                echo h(date('Y-m-d H:i:s', $temp['created']/1000)); 
                }?>
                <?php //echo h($temp['created'])?>
                </td>

                </tr>
        <?php endforeach; ?>
        </table>

</div>