Subversion Repositories SmartDukaan

Rev

Rev 14509 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 14509 Rev 14547
Line 10... Line 10...
10
					<th><?php echo $this->Paginator->sort('id'); ?></th>
10
					<th><?php echo $this->Paginator->sort('id'); ?></th>
11
					<th><?php echo $this->Paginator->sort('name'); ?></th>
11
					<th><?php echo $this->Paginator->sort('name'); ?></th>
12
					<th><?php echo $this->Paginator->sort('url'); ?></th>
12
					<th><?php echo $this->Paginator->sort('url'); ?></th>
13
					<th><?php echo $this->Paginator->sort('img_url'); ?></th>
13
					<th><?php echo $this->Paginator->sort('img_url'); ?></th>
14
					<th><?php echo $this->Paginator->sort('status'); ?></th>
14
					<th><?php echo $this->Paginator->sort('status'); ?></th>
15
					<th><?php echo $this->Paginator->sort('clicks'); ?></th>
15
					<th><?php echo $this->Paginator->sort('store_id'); ?></th>
16
					<th><?php //echo $this->Paginator->sort('created'); ?></th>
16
					<th><?php echo $this->Paginator->sort('starttime'); ?></th>
17
					<th><?php //echo $this->Paginator->sort('modified'); ?></th>
17
					<th><?php echo $this->Paginator->sort('endtime'); ?></th>
18
					<th class="actions"><?php echo __('Actions'); ?></th>
18
					<th class="actions"><?php echo __('Actions'); ?></th>
19
			</tr>
19
			</tr>
20
			<?php foreach ($campaigns as $campaign): ?>
20
			<?php foreach ($campaigns as $campaign): ?>
21
			<tr>
21
			<tr>
22
				<td><?php echo h($campaign['Campaign']['id']); ?>&nbsp;</td>
22
				<td><?php echo h($campaign['Campaign']['id']); ?>&nbsp;</td>
23
				<td><?php echo h($campaign['Campaign']['name']); ?>&nbsp;</td>
23
				<td><?php echo h($campaign['Campaign']['name']); ?>&nbsp;</td>
24
				<td><?php echo h($campaign['Campaign']['url']); ?>&nbsp;</td>
24
				<td><?php echo h($campaign['Campaign']['url']); ?>&nbsp;</td>
25
				<td><?php echo h($campaign['Campaign']['img_url']); ?>&nbsp;</td>
25
				<td><img src="<?php echo h($campaign['Campaign']['img_url']); ?>"/></td>
26
				<td><?php echo h($campaign['Campaign']['status']); ?>&nbsp;</td>
26
				<td><?php echo h($campaign['Campaign']['status']); ?>&nbsp;</td>
27
				<td><?php echo h($campaign['Campaign']['clicks']); ?>&nbsp;</td>
27
				<td><?php echo $stores[$campaign['Campaign']['store_id']]; ?>&nbsp;</td>
28
				<td><?php //echo h($campaign['Campaign']['created']); ?>&nbsp;</td>
28
				<td><?php echo h($campaign['Campaign']['starttime']); ?>&nbsp;</td>
29
				<td><?php //echo h($campaign['Campaign']['modified']); ?>&nbsp;</td>
29
				<td><?php echo h($campaign['Campaign']['endtime']); ?>&nbsp;</td>
30
				<td class="actions">
30
				<td class="actions">
31
					<?php echo $this->Html->link(__('View'), array('action' => 'view', $campaign['Campaign']['id'])); ?>
31
					<?php echo $this->Html->link(__('View'), array('action' => 'view', $campaign['Campaign']['id'])); ?>
32
					<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $campaign['Campaign']['id'])); ?>
32
					<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $campaign['Campaign']['id'])); ?>
33
					<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $campaign['Campaign']['id']), null, __('Are you sure you want to delete # %s?', $campaign['Campaign']['id'])); ?>
33
					<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $campaign['Campaign']['id']), null, __('Are you sure you want to delete # %s?', $campaign['Campaign']['id'])); ?>
34
				</td>
34
				</td>