Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

<div class="users view">
<h2><?php  echo __('User'); ?></h2>
        <dl>
                <dt><?php echo __('Id'); ?></dt>
                <dd>
                        <?php echo h($user['User']['id']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Facebook Id'); ?></dt>
                <dd>
                        <?php echo h($user['User']['facebook_id']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Twitter Id'); ?></dt>
                <dd>
                        <?php echo h($user['User']['twitter_id']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('First Name'); ?></dt>
                <dd>
                        <?php echo h($user['User']['first_name']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Last Name'); ?></dt>
                <dd>
                        <?php echo h($user['User']['last_name']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Zipcode'); ?></dt>
                <dd>
                        <?php echo h($user['User']['zipcode']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Dob'); ?></dt>
                <dd>
                        <?php echo h($user['User']['dob']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Username'); ?></dt>
                <dd>
                        <?php echo h($user['User']['username']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Email'); ?></dt>
                <dd>
                        <?php echo h($user['User']['email']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Password'); ?></dt>
                <dd>
                        <?php echo h($user['User']['password']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Gender'); ?></dt>
                <dd>
                        <?php echo h($user['User']['gender']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Address 1'); ?></dt>
                <dd>
                        <?php echo h($user['User']['address_1']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Address 2'); ?></dt>
                <dd>
                        <?php echo h($user['User']['address_2']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('City'); ?></dt>
                <dd>
                        <?php echo h($user['User']['city']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('State'); ?></dt>
                <dd>
                        <?php echo h($user['User']['state']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Country'); ?></dt>
                <dd>
                        <?php echo h($user['User']['country']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('User Timezone'); ?></dt>
                <dd>
                        <?php echo h($user['User']['user_timezone']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Auth Token'); ?></dt>
                <dd>
                        <?php echo h($user['User']['auth_token']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Twitter Token'); ?></dt>
                <dd>
                        <?php echo h($user['User']['twitter_token']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Twitter Secret'); ?></dt>
                <dd>
                        <?php echo h($user['User']['twitter_secret']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Twitter Screen Name'); ?></dt>
                <dd>
                        <?php echo h($user['User']['twitter_screen_name']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Status'); ?></dt>
                <dd>
                        <?php echo h($user['User']['status']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Created'); ?></dt>
                <dd>
                        <?php echo h($user['User']['created']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Modified'); ?></dt>
                <dd>
                        <?php echo h($user['User']['modified']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Group'); ?></dt>
                <dd>
                        <?php echo $this->Html->link($user['Group']['name'], array('controller' => 'groups', 'action' => 'view', $user['Group']['id'])); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Active'); ?></dt>
                <dd>
                        <?php echo h($user['User']['active']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Activation Code'); ?></dt>
                <dd>
                        <?php echo h($user['User']['activation_code']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Password Reset'); ?></dt>
                <dd>
                        <?php echo h($user['User']['password_reset']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Plan'); ?></dt>
                <dd>
                        <?php echo h($user['User']['plan']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Demo Valid Till'); ?></dt>
                <dd>
                        <?php echo h($user['User']['demo_valid_till']); ?>
                        &nbsp;
                </dd>
                <dt><?php echo __('Premium Valid Till'); ?></dt>
                <dd>
                        <?php echo h($user['User']['premium_valid_till']); ?>
                        &nbsp;
                </dd>
        </dl>
</div>
<div class="actions">
        <h3><?php echo __('Actions'); ?></h3>
        <ul>
                <li><?php echo $this->Html->link(__('Edit User'), array('action' => 'edit', $user['User']['id'])); ?> </li>
                <li><?php echo $this->Form->postLink(__('Delete User'), array('action' => 'delete', $user['User']['id']), null, __('Are you sure you want to delete # %s?', $user['User']['id'])); ?> </li>
                <li><?php echo $this->Html->link(__('List Users'), array('action' => 'index')); ?> </li>
                <li><?php echo $this->Html->link(__('New User'), array('action' => 'add')); ?> </li>
                <li><?php echo $this->Html->link(__('List Groups'), array('controller' => 'groups', 'action' => 'index')); ?> </li>
                <li><?php echo $this->Html->link(__('New Group'), array('controller' => 'groups', 'action' => 'add')); ?> </li>
                <li><?php echo $this->Html->link(__('List Profiles'), array('controller' => 'profiles', 'action' => 'index')); ?> </li>
                <li><?php echo $this->Html->link(__('New Profile'), array('controller' => 'profiles', 'action' => 'add')); ?> </li>
                <li><?php echo $this->Html->link(__('List Publishers'), array('controller' => 'publishers', 'action' => 'index')); ?> </li>
                <li><?php echo $this->Html->link(__('New Publisher'), array('controller' => 'publishers', 'action' => 'add')); ?> </li>
        </ul>
</div>
<div class="related">
        <h3><?php echo __('Related Profiles'); ?></h3>
        <?php if (!empty($user['Profile'])): ?>
        <table cellpadding = "0" cellspacing = "0">
        <tr>
                <th><?php echo __('Id'); ?></th>
                <th><?php echo __('User Id'); ?></th>
                <th><?php echo __('Type'); ?></th>
                <th><?php echo __('Social Id'); ?></th>
                <th><?php echo __('Access Token'); ?></th>
                <th><?php echo __('Secret'); ?></th>
                <th><?php echo __('Social Username'); ?></th>
                <th><?php echo __('Active'); ?></th>
                <th><?php echo __('Created'); ?></th>
                <th><?php echo __('Modified'); ?></th>
                <th class="actions"><?php echo __('Actions'); ?></th>
        </tr>
        <?php
                $i = 0;
                foreach ($user['Profile'] as $profile): ?>
                <tr>
                        <td><?php echo $profile['id']; ?></td>
                        <td><?php echo $profile['user_id']; ?></td>
                        <td><?php echo $profile['type']; ?></td>
                        <td><?php echo $profile['social_id']; ?></td>
                        <td><?php echo $profile['access_token']; ?></td>
                        <td><?php echo $profile['secret']; ?></td>
                        <td><?php echo $profile['social_username']; ?></td>
                        <td><?php echo $profile['active']; ?></td>
                        <td><?php echo $profile['created']; ?></td>
                        <td><?php echo $profile['modified']; ?></td>
                        <td class="actions">
                                <?php echo $this->Html->link(__('View'), array('controller' => 'profiles', 'action' => 'view', $profile['id'])); ?>
                                <?php echo $this->Html->link(__('Edit'), array('controller' => 'profiles', 'action' => 'edit', $profile['id'])); ?>
                                <?php echo $this->Form->postLink(__('Delete'), array('controller' => 'profiles', 'action' => 'delete', $profile['id']), null, __('Are you sure you want to delete # %s?', $profile['id'])); ?>
                        </td>
                </tr>
        <?php endforeach; ?>
        </table>
<?php endif; ?>

        <div class="actions">
                <ul>
                        <li><?php echo $this->Html->link(__('New Profile'), array('controller' => 'profiles', 'action' => 'add')); ?> </li>
                </ul>
        </div>
</div>
<div class="related">
        <h3><?php echo __('Related Publishers'); ?></h3>
        <?php if (!empty($user['Publisher'])): ?>
        <table cellpadding = "0" cellspacing = "0">
        <tr>
                <th><?php echo __('Id'); ?></th>
                <th><?php echo __('User Id'); ?></th>
                <th><?php echo __('Profile Id'); ?></th>
                <th><?php echo __('Role'); ?></th>
                <th><?php echo __('Created'); ?></th>
                <th><?php echo __('Modified'); ?></th>
                <th class="actions"><?php echo __('Actions'); ?></th>
        </tr>
        <?php
                $i = 0;
                foreach ($user['Publisher'] as $publisher): ?>
                <tr>
                        <td><?php echo $publisher['id']; ?></td>
                        <td><?php echo $publisher['user_id']; ?></td>
                        <td><?php echo $publisher['profile_id']; ?></td>
                        <td><?php echo $publisher['role']; ?></td>
                        <td><?php echo $publisher['created']; ?></td>
                        <td><?php echo $publisher['modified']; ?></td>
                        <td class="actions">
                                <?php echo $this->Html->link(__('View'), array('controller' => 'publishers', 'action' => 'view', $publisher['id'])); ?>
                                <?php echo $this->Html->link(__('Edit'), array('controller' => 'publishers', 'action' => 'edit', $publisher['id'])); ?>
                                <?php echo $this->Form->postLink(__('Delete'), array('controller' => 'publishers', 'action' => 'delete', $publisher['id']), null, __('Are you sure you want to delete # %s?', $publisher['id'])); ?>
                        </td>
                </tr>
        <?php endforeach; ?>
        </table>
<?php endif; ?>

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