Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

<div class="storeProducts view">
<h2><?php echo __('Store Product'); ?></h2>
        <dl>
                <dt><?php echo __('Id'); ?></dt>
                <dd>
                        <?php echo h($storeProduct['StoreProduct']['id']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Store'); ?></dt>
                <dd>
                        <?php echo $this->Html->link($storeProduct['Store']['name'], array('controller' => 'stores', 'action' => 'view', $storeProduct['Store']['id'])); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Product'); ?></dt>
                <dd>
                        <?php echo $this->Html->link($storeProduct['Product']['name'], array('controller' => 'products', 'action' => 'view', $storeProduct['Product']['id'])); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Product Url'); ?></dt>
                <dd>
                        <?php echo h($storeProduct['StoreProduct']['product_url']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Img Url'); ?></dt>
                <dd>
                        <?php echo h($storeProduct['StoreProduct']['img_url']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Short Descrption'); ?></dt>
                <dd>
                        <?php echo h($storeProduct['StoreProduct']['short_descrption']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Price'); ?></dt>
                <dd>
                        <?php echo h($storeProduct['StoreProduct']['price']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Status'); ?></dt>
                <dd>
                        <?php echo h($storeProduct['StoreProduct']['status']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Last Crawled'); ?></dt>
                <dd>
                        <?php echo h($storeProduct['StoreProduct']['last_crawled']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Created'); ?></dt>
                <dd>
                        <?php echo h($storeProduct['StoreProduct']['created']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Modified'); ?></dt>
                <dd>
                        <?php echo h($storeProduct['StoreProduct']['modified']); ?>
                        &nbsp;
                </dd>
        </dl>
</div>
<div class="actions">
        <h3><?php echo __('Actions'); ?></h3>
        <ul>
                <li><?php echo $this->Html->link(__('Edit Store Product'), array('action' => 'edit', $storeProduct['StoreProduct']['id'])); ?> </li>
                <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>
                <li><?php echo $this->Html->link(__('List Store Products'), array('action' => 'index')); ?> </li>
                <li><?php echo $this->Html->link(__('New Store Product'), array('action' => 'add')); ?> </li>
                <li><?php echo $this->Html->link(__('List Stores'), array('controller' => 'stores', 'action' => 'index')); ?> </li>
                <li><?php echo $this->Html->link(__('New Store'), array('controller' => 'stores', 'action' => 'add')); ?> </li>
                <li><?php echo $this->Html->link(__('List Products'), array('controller' => 'products', 'action' => 'index')); ?> </li>
                <li><?php echo $this->Html->link(__('New Product'), array('controller' => 'products', 'action' => 'add')); ?> </li>
                <li><?php echo $this->Html->link(__('List Clicks'), array('controller' => 'clicks', 'action' => 'index')); ?> </li>
                <li><?php echo $this->Html->link(__('New Click'), array('controller' => 'clicks', 'action' => 'add')); ?> </li>
                <li><?php echo $this->Html->link(__('List User Actions'), array('controller' => 'user_actions', 'action' => 'index')); ?> </li>
                <li><?php echo $this->Html->link(__('New User Action'), array('controller' => 'user_actions', 'action' => 'add')); ?> </li>
        </ul>
</div>
<div class="related">
        <h3><?php echo __('Related Clicks'); ?></h3>
        <?php if (!empty($storeProduct['Click'])): ?>
        <table cellpadding = "0" cellspacing = "0">
        <tr>
                <th><?php echo __('Id'); ?></th>
                <th><?php echo __('User Id'); ?></th>
                <th><?php echo __('Store Product Id'); ?></th>
                <th><?php echo __('Tag'); ?></th>
                <th><?php echo __('Created'); ?></th>
                <th class="actions"><?php echo __('Actions'); ?></th>
        </tr>
        <?php foreach ($storeProduct['Click'] as $click): ?>
                <tr>
                        <td><?php echo $click['id']; ?></td>
                        <td><?php echo $click['user_id']; ?></td>
                        <td><?php echo $click['store_product_id']; ?></td>
                        <td><?php echo $click['tag']; ?></td>
                        <td><?php echo $click['created']; ?></td>
                        <td class="actions">
                                <?php echo $this->Html->link(__('View'), array('controller' => 'clicks', 'action' => 'view', $click['id'])); ?>
                                <?php echo $this->Html->link(__('Edit'), array('controller' => 'clicks', 'action' => 'edit', $click['id'])); ?>
                                <?php echo $this->Form->postLink(__('Delete'), array('controller' => 'clicks', 'action' => 'delete', $click['id']), null, __('Are you sure you want to delete # %s?', $click['id'])); ?>
                        </td>
                </tr>
        <?php endforeach; ?>
        </table>
<?php endif; ?>

        <div class="actions">
                <ul>
                        <li><?php echo $this->Html->link(__('New Click'), array('controller' => 'clicks', 'action' => 'add')); ?> </li>
                </ul>
        </div>
</div>
<div class="related">
        <h3><?php echo __('Related User Actions'); ?></h3>
        <?php if (!empty($storeProduct['UserAction'])): ?>
        <table cellpadding = "0" cellspacing = "0">
        <tr>
                <th><?php echo __('Id'); ?></th>
                <th><?php echo __('User Id'); ?></th>
                <th><?php echo __('Store Product Id'); ?></th>
                <th><?php echo __('Action'); ?></th>
                <th><?php echo __('Created'); ?></th>
                <th class="actions"><?php echo __('Actions'); ?></th>
        </tr>
        <?php foreach ($storeProduct['UserAction'] as $userAction): ?>
                <tr>
                        <td><?php echo $userAction['id']; ?></td>
                        <td><?php echo $userAction['user_id']; ?></td>
                        <td><?php echo $userAction['store_product_id']; ?></td>
                        <td><?php echo $userAction['action']; ?></td>
                        <td><?php echo $userAction['created']; ?></td>
                        <td class="actions">
                                <?php echo $this->Html->link(__('View'), array('controller' => 'user_actions', 'action' => 'view', $userAction['id'])); ?>
                                <?php echo $this->Html->link(__('Edit'), array('controller' => 'user_actions', 'action' => 'edit', $userAction['id'])); ?>
                                <?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'])); ?>
                        </td>
                </tr>
        <?php endforeach; ?>
        </table>
<?php endif; ?>

        <div class="actions">
                <ul>
                        <li><?php echo $this->Html->link(__('New User Action'), array('controller' => 'user_actions', 'action' => 'add')); ?> </li>
                </ul>
        </div>
</div>