Subversion Repositories SmartDukaan

Rev

Rev 14510 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<div class="container">
        <div class="row">
                <div class="col-lg-3">
                        <?php echo $this->Element('adminactions');?>
                </div>
                <div class="col-lg-9">
                        <?php echo $this->element('adminsearch');?>
                        <h2><?php echo __('Negative Deals'); ?></h2>
                        <table class="table table-striped">
                        <tr>
                                        <th><?php echo ('sku'); ?></th>
                                        <th><?php echo ('Brand'); ?></th>
                                        <th><?php echo ('Name'); ?></th>
                                        <th><?php echo ('Bundle Id'); ?></th>
                                        <th class="actions"><?php echo __('Actions'); ?></th>
                        </tr>
                        <?php foreach ($negativedeals as $negativedeal): ?>
                        <tr>
                                <td><?php echo h($negativedeal['sku']); ?>&nbsp;</td>
                                <td><?php echo h($negativedeal['brand']); ?></td>
                                <td><?php echo h($negativedeal['source_product_name']); ?></td>
                                <td><?php echo $negativedeal['skuBundleId']; ?></td>
                                <td class="actions">
                                        <?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $negativedeal['_id']['$oid']), null, __('Are you sure you want to delete # %s?', $negativedeal['_id']['$oid'])); ?>
                                </td>
                        </tr>
                <?php endforeach; ?>
                        </table>                        
                </div>
        </div>
        <nav>
          <ul class="pager">
                <?php if($page>1):?>
            <li><a href="?page=<?php echo $page-1;?>">Previous</a></li>
                <?php endif;?>
            <li><a href="?page=<?php echo $page+1;?>">Next</a></li>
          </ul>
        </nav>
</div>