Blame | 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 __('Auto Updates'); ?></h2><table cellpadding="0" cellspacing="0" class="table table-striped"><tr><!-- <th><?php //echo __('id'); ?></th> --><th><?php echo __('skuBundleId'); ?></th><th><?php echo __('name'); ?></th><th><?php echo __('brand'); ?></th><th><?php echo __('startDate'); ?></th><th><?php echo __('endDate'); ?></th><th>Actions</th></tr><?php foreach ($autoupdates as $product): ?><tr><!-- <td><?php //echo h($product['_id']['$oid']); ?> </td> --><td><?php echo h($product['skuBundleId']); ?> </td><td><?php echo h($product['model_name']); ?> </td><td><?php echo h($product['brand']); ?></td><td id="startDate" data-oid="<?php echo $product['startDate'];?>"><?php echo date('H:i d-m-Y',$product['startDate']/1000); ?></td><td id="endDate" data-oid="<?php echo $product['endDate'];?>"><?php echo date('H:i d-m-Y',$product['endDate']/1000); ?></td><td><?php echo $this->Html->link(__('Edit'), array('action' => 'editscheduledupdate', $product['_id']['$oid'],$product['skuBundleId'],$product['model_name'],$product['brand'],$product['startDate'],$product['endDate'])); ?> | <?php echo $this->Form->postLink(__('Delete'), array('action' => 'deletescheduledupdate', $product['_id']['$oid']), null, __('Are you sure you want to delete # %s?', $product['_id']['$oid'])); ?></td></tr><?php endforeach; ?></table></div></div><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></div>