Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
13532 anikendra 1
<div class="storeProducts view">
2
<h2><?php echo __('Store Product'); ?></h2>
3
	<dl>
4
		<dt><?php echo __('Id'); ?></dt>
5
		<dd>
6
			<?php echo h($storeProduct['StoreProduct']['id']); ?>
7
			&nbsp;
8
		</dd>
9
		<dt><?php echo __('Store'); ?></dt>
10
		<dd>
11
			<?php echo $this->Html->link($storeProduct['Store']['name'], array('controller' => 'stores', 'action' => 'view', $storeProduct['Store']['id'])); ?>
12
			&nbsp;
13
		</dd>
14
		<dt><?php echo __('Product'); ?></dt>
15
		<dd>
16
			<?php echo $this->Html->link($storeProduct['Product']['name'], array('controller' => 'products', 'action' => 'view', $storeProduct['Product']['id'])); ?>
17
			&nbsp;
18
		</dd>
19
		<dt><?php echo __('Product Url'); ?></dt>
20
		<dd>
21
			<?php echo h($storeProduct['StoreProduct']['product_url']); ?>
22
			&nbsp;
23
		</dd>
24
		<dt><?php echo __('Img Url'); ?></dt>
25
		<dd>
26
			<?php echo h($storeProduct['StoreProduct']['img_url']); ?>
27
			&nbsp;
28
		</dd>
29
		<dt><?php echo __('Short Descrption'); ?></dt>
30
		<dd>
31
			<?php echo h($storeProduct['StoreProduct']['short_descrption']); ?>
32
			&nbsp;
33
		</dd>
34
		<dt><?php echo __('Price'); ?></dt>
35
		<dd>
36
			<?php echo h($storeProduct['StoreProduct']['price']); ?>
37
			&nbsp;
38
		</dd>
39
		<dt><?php echo __('Status'); ?></dt>
40
		<dd>
41
			<?php echo h($storeProduct['StoreProduct']['status']); ?>
42
			&nbsp;
43
		</dd>
44
		<dt><?php echo __('Last Crawled'); ?></dt>
45
		<dd>
46
			<?php echo h($storeProduct['StoreProduct']['last_crawled']); ?>
47
			&nbsp;
48
		</dd>
49
		<dt><?php echo __('Created'); ?></dt>
50
		<dd>
51
			<?php echo h($storeProduct['StoreProduct']['created']); ?>
52
			&nbsp;
53
		</dd>
54
		<dt><?php echo __('Modified'); ?></dt>
55
		<dd>
56
			<?php echo h($storeProduct['StoreProduct']['modified']); ?>
57
			&nbsp;
58
		</dd>
59
	</dl>
60
</div>
61
<div class="actions">
62
	<h3><?php echo __('Actions'); ?></h3>
63
	<ul>
64
		<li><?php echo $this->Html->link(__('Edit Store Product'), array('action' => 'edit', $storeProduct['StoreProduct']['id'])); ?> </li>
65
		<li><?php echo $this->Form->postLink(__('Delete Store Product'), array('action' => 'delete', $storeProduct['StoreProduct']['id']), null, __('Are you sure you want to delete # %s?', $storeProduct['StoreProduct']['id'])); ?> </li>
66
		<li><?php echo $this->Html->link(__('List Store Products'), array('action' => 'index')); ?> </li>
67
		<li><?php echo $this->Html->link(__('New Store Product'), array('action' => 'add')); ?> </li>
68
		<li><?php echo $this->Html->link(__('List Stores'), array('controller' => 'stores', 'action' => 'index')); ?> </li>
69
		<li><?php echo $this->Html->link(__('New Store'), array('controller' => 'stores', 'action' => 'add')); ?> </li>
70
		<li><?php echo $this->Html->link(__('List Products'), array('controller' => 'products', 'action' => 'index')); ?> </li>
71
		<li><?php echo $this->Html->link(__('New Product'), array('controller' => 'products', 'action' => 'add')); ?> </li>
72
		<li><?php echo $this->Html->link(__('List Clicks'), array('controller' => 'clicks', 'action' => 'index')); ?> </li>
73
		<li><?php echo $this->Html->link(__('New Click'), array('controller' => 'clicks', 'action' => 'add')); ?> </li>
74
		<li><?php echo $this->Html->link(__('List User Actions'), array('controller' => 'user_actions', 'action' => 'index')); ?> </li>
75
		<li><?php echo $this->Html->link(__('New User Action'), array('controller' => 'user_actions', 'action' => 'add')); ?> </li>
76
	</ul>
77
</div>
78
<div class="related">
79
	<h3><?php echo __('Related Clicks'); ?></h3>
80
	<?php if (!empty($storeProduct['Click'])): ?>
81
	<table cellpadding = "0" cellspacing = "0">
82
	<tr>
83
		<th><?php echo __('Id'); ?></th>
84
		<th><?php echo __('User Id'); ?></th>
85
		<th><?php echo __('Store Product Id'); ?></th>
86
		<th><?php echo __('Tag'); ?></th>
87
		<th><?php echo __('Created'); ?></th>
88
		<th class="actions"><?php echo __('Actions'); ?></th>
89
	</tr>
90
	<?php foreach ($storeProduct['Click'] as $click): ?>
91
		<tr>
92
			<td><?php echo $click['id']; ?></td>
93
			<td><?php echo $click['user_id']; ?></td>
94
			<td><?php echo $click['store_product_id']; ?></td>
95
			<td><?php echo $click['tag']; ?></td>
96
			<td><?php echo $click['created']; ?></td>
97
			<td class="actions">
98
				<?php echo $this->Html->link(__('View'), array('controller' => 'clicks', 'action' => 'view', $click['id'])); ?>
99
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'clicks', 'action' => 'edit', $click['id'])); ?>
100
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'clicks', 'action' => 'delete', $click['id']), null, __('Are you sure you want to delete # %s?', $click['id'])); ?>
101
			</td>
102
		</tr>
103
	<?php endforeach; ?>
104
	</table>
105
<?php endif; ?>
106
 
107
	<div class="actions">
108
		<ul>
109
			<li><?php echo $this->Html->link(__('New Click'), array('controller' => 'clicks', 'action' => 'add')); ?> </li>
110
		</ul>
111
	</div>
112
</div>
113
<div class="related">
114
	<h3><?php echo __('Related User Actions'); ?></h3>
115
	<?php if (!empty($storeProduct['UserAction'])): ?>
116
	<table cellpadding = "0" cellspacing = "0">
117
	<tr>
118
		<th><?php echo __('Id'); ?></th>
119
		<th><?php echo __('User Id'); ?></th>
120
		<th><?php echo __('Store Product Id'); ?></th>
121
		<th><?php echo __('Action'); ?></th>
122
		<th><?php echo __('Created'); ?></th>
123
		<th class="actions"><?php echo __('Actions'); ?></th>
124
	</tr>
125
	<?php foreach ($storeProduct['UserAction'] as $userAction): ?>
126
		<tr>
127
			<td><?php echo $userAction['id']; ?></td>
128
			<td><?php echo $userAction['user_id']; ?></td>
129
			<td><?php echo $userAction['store_product_id']; ?></td>
130
			<td><?php echo $userAction['action']; ?></td>
131
			<td><?php echo $userAction['created']; ?></td>
132
			<td class="actions">
133
				<?php echo $this->Html->link(__('View'), array('controller' => 'user_actions', 'action' => 'view', $userAction['id'])); ?>
134
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'user_actions', 'action' => 'edit', $userAction['id'])); ?>
135
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'user_actions', 'action' => 'delete', $userAction['id']), null, __('Are you sure you want to delete # %s?', $userAction['id'])); ?>
136
			</td>
137
		</tr>
138
	<?php endforeach; ?>
139
	</table>
140
<?php endif; ?>
141
 
142
	<div class="actions">
143
		<ul>
144
			<li><?php echo $this->Html->link(__('New User Action'), array('controller' => 'user_actions', 'action' => 'add')); ?> </li>
145
		</ul>
146
	</div>
147
</div>