Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
12345 anikendra 1
<div class="users view">
2
<h2><?php  echo __('User'); ?></h2>
3
	<dl>
4
		<dt><?php echo __('Id'); ?></dt>
5
		<dd>
6
			<?php echo h($user['User']['id']); ?>
7
			&nbsp;
8
		</dd>
9
		<dt><?php echo __('Facebook Id'); ?></dt>
10
		<dd>
11
			<?php echo h($user['User']['facebook_id']); ?>
12
			&nbsp;
13
		</dd>
14
		<dt><?php echo __('Twitter Id'); ?></dt>
15
		<dd>
16
			<?php echo h($user['User']['twitter_id']); ?>
17
			&nbsp;
18
		</dd>
19
		<dt><?php echo __('First Name'); ?></dt>
20
		<dd>
21
			<?php echo h($user['User']['first_name']); ?>
22
			&nbsp;
23
		</dd>
24
		<dt><?php echo __('Last Name'); ?></dt>
25
		<dd>
26
			<?php echo h($user['User']['last_name']); ?>
27
			&nbsp;
28
		</dd>
29
		<dt><?php echo __('Zipcode'); ?></dt>
30
		<dd>
31
			<?php echo h($user['User']['zipcode']); ?>
32
			&nbsp;
33
		</dd>
34
		<dt><?php echo __('Dob'); ?></dt>
35
		<dd>
36
			<?php echo h($user['User']['dob']); ?>
37
			&nbsp;
38
		</dd>
39
		<dt><?php echo __('Username'); ?></dt>
40
		<dd>
41
			<?php echo h($user['User']['username']); ?>
42
			&nbsp;
43
		</dd>
44
		<dt><?php echo __('Email'); ?></dt>
45
		<dd>
46
			<?php echo h($user['User']['email']); ?>
47
			&nbsp;
48
		</dd>
49
		<dt><?php echo __('Password'); ?></dt>
50
		<dd>
51
			<?php echo h($user['User']['password']); ?>
52
			&nbsp;
53
		</dd>
54
		<dt><?php echo __('Gender'); ?></dt>
55
		<dd>
56
			<?php echo h($user['User']['gender']); ?>
57
			&nbsp;
58
		</dd>
59
		<dt><?php echo __('Address 1'); ?></dt>
60
		<dd>
61
			<?php echo h($user['User']['address_1']); ?>
62
			&nbsp;
63
		</dd>
64
		<dt><?php echo __('Address 2'); ?></dt>
65
		<dd>
66
			<?php echo h($user['User']['address_2']); ?>
67
			&nbsp;
68
		</dd>
69
		<dt><?php echo __('City'); ?></dt>
70
		<dd>
71
			<?php echo h($user['User']['city']); ?>
72
			&nbsp;
73
		</dd>
74
		<dt><?php echo __('State'); ?></dt>
75
		<dd>
76
			<?php echo h($user['User']['state']); ?>
77
			&nbsp;
78
		</dd>
79
		<dt><?php echo __('Country'); ?></dt>
80
		<dd>
81
			<?php echo h($user['User']['country']); ?>
82
			&nbsp;
83
		</dd>
84
		<dt><?php echo __('User Timezone'); ?></dt>
85
		<dd>
86
			<?php echo h($user['User']['user_timezone']); ?>
87
			&nbsp;
88
		</dd>
89
		<dt><?php echo __('Auth Token'); ?></dt>
90
		<dd>
91
			<?php echo h($user['User']['auth_token']); ?>
92
			&nbsp;
93
		</dd>
94
		<dt><?php echo __('Twitter Token'); ?></dt>
95
		<dd>
96
			<?php echo h($user['User']['twitter_token']); ?>
97
			&nbsp;
98
		</dd>
99
		<dt><?php echo __('Twitter Secret'); ?></dt>
100
		<dd>
101
			<?php echo h($user['User']['twitter_secret']); ?>
102
			&nbsp;
103
		</dd>
104
		<dt><?php echo __('Twitter Screen Name'); ?></dt>
105
		<dd>
106
			<?php echo h($user['User']['twitter_screen_name']); ?>
107
			&nbsp;
108
		</dd>
109
		<dt><?php echo __('Status'); ?></dt>
110
		<dd>
111
			<?php echo h($user['User']['status']); ?>
112
			&nbsp;
113
		</dd>
114
		<dt><?php echo __('Created'); ?></dt>
115
		<dd>
116
			<?php echo h($user['User']['created']); ?>
117
			&nbsp;
118
		</dd>
119
		<dt><?php echo __('Modified'); ?></dt>
120
		<dd>
121
			<?php echo h($user['User']['modified']); ?>
122
			&nbsp;
123
		</dd>
124
		<dt><?php echo __('Group'); ?></dt>
125
		<dd>
126
			<?php echo $this->Html->link($user['Group']['name'], array('controller' => 'groups', 'action' => 'view', $user['Group']['id'])); ?>
127
			&nbsp;
128
		</dd>
129
		<dt><?php echo __('Active'); ?></dt>
130
		<dd>
131
			<?php echo h($user['User']['active']); ?>
132
			&nbsp;
133
		</dd>
134
		<dt><?php echo __('Activation Code'); ?></dt>
135
		<dd>
136
			<?php echo h($user['User']['activation_code']); ?>
137
			&nbsp;
138
		</dd>
139
		<dt><?php echo __('Password Reset'); ?></dt>
140
		<dd>
141
			<?php echo h($user['User']['password_reset']); ?>
142
			&nbsp;
143
		</dd>
144
		<dt><?php echo __('Plan'); ?></dt>
145
		<dd>
146
			<?php echo h($user['User']['plan']); ?>
147
			&nbsp;
148
		</dd>
149
		<dt><?php echo __('Demo Valid Till'); ?></dt>
150
		<dd>
151
			<?php echo h($user['User']['demo_valid_till']); ?>
152
			&nbsp;
153
		</dd>
154
		<dt><?php echo __('Premium Valid Till'); ?></dt>
155
		<dd>
156
			<?php echo h($user['User']['premium_valid_till']); ?>
157
			&nbsp;
158
		</dd>
159
	</dl>
160
</div>
161
<div class="actions">
162
	<h3><?php echo __('Actions'); ?></h3>
163
	<ul>
164
		<li><?php echo $this->Html->link(__('Edit User'), array('action' => 'edit', $user['User']['id'])); ?> </li>
165
		<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>
166
		<li><?php echo $this->Html->link(__('List Users'), array('action' => 'index')); ?> </li>
167
		<li><?php echo $this->Html->link(__('New User'), array('action' => 'add')); ?> </li>
168
		<li><?php echo $this->Html->link(__('List Groups'), array('controller' => 'groups', 'action' => 'index')); ?> </li>
169
		<li><?php echo $this->Html->link(__('New Group'), array('controller' => 'groups', 'action' => 'add')); ?> </li>
170
		<li><?php echo $this->Html->link(__('List Profiles'), array('controller' => 'profiles', 'action' => 'index')); ?> </li>
171
		<li><?php echo $this->Html->link(__('New Profile'), array('controller' => 'profiles', 'action' => 'add')); ?> </li>
172
		<li><?php echo $this->Html->link(__('List Publishers'), array('controller' => 'publishers', 'action' => 'index')); ?> </li>
173
		<li><?php echo $this->Html->link(__('New Publisher'), array('controller' => 'publishers', 'action' => 'add')); ?> </li>
174
	</ul>
175
</div>
176
<div class="related">
177
	<h3><?php echo __('Related Profiles'); ?></h3>
178
	<?php if (!empty($user['Profile'])): ?>
179
	<table cellpadding = "0" cellspacing = "0">
180
	<tr>
181
		<th><?php echo __('Id'); ?></th>
182
		<th><?php echo __('User Id'); ?></th>
183
		<th><?php echo __('Type'); ?></th>
184
		<th><?php echo __('Social Id'); ?></th>
185
		<th><?php echo __('Access Token'); ?></th>
186
		<th><?php echo __('Secret'); ?></th>
187
		<th><?php echo __('Social Username'); ?></th>
188
		<th><?php echo __('Active'); ?></th>
189
		<th><?php echo __('Created'); ?></th>
190
		<th><?php echo __('Modified'); ?></th>
191
		<th class="actions"><?php echo __('Actions'); ?></th>
192
	</tr>
193
	<?php
194
		$i = 0;
195
		foreach ($user['Profile'] as $profile): ?>
196
		<tr>
197
			<td><?php echo $profile['id']; ?></td>
198
			<td><?php echo $profile['user_id']; ?></td>
199
			<td><?php echo $profile['type']; ?></td>
200
			<td><?php echo $profile['social_id']; ?></td>
201
			<td><?php echo $profile['access_token']; ?></td>
202
			<td><?php echo $profile['secret']; ?></td>
203
			<td><?php echo $profile['social_username']; ?></td>
204
			<td><?php echo $profile['active']; ?></td>
205
			<td><?php echo $profile['created']; ?></td>
206
			<td><?php echo $profile['modified']; ?></td>
207
			<td class="actions">
208
				<?php echo $this->Html->link(__('View'), array('controller' => 'profiles', 'action' => 'view', $profile['id'])); ?>
209
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'profiles', 'action' => 'edit', $profile['id'])); ?>
210
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'profiles', 'action' => 'delete', $profile['id']), null, __('Are you sure you want to delete # %s?', $profile['id'])); ?>
211
			</td>
212
		</tr>
213
	<?php endforeach; ?>
214
	</table>
215
<?php endif; ?>
216
 
217
	<div class="actions">
218
		<ul>
219
			<li><?php echo $this->Html->link(__('New Profile'), array('controller' => 'profiles', 'action' => 'add')); ?> </li>
220
		</ul>
221
	</div>
222
</div>
223
<div class="related">
224
	<h3><?php echo __('Related Publishers'); ?></h3>
225
	<?php if (!empty($user['Publisher'])): ?>
226
	<table cellpadding = "0" cellspacing = "0">
227
	<tr>
228
		<th><?php echo __('Id'); ?></th>
229
		<th><?php echo __('User Id'); ?></th>
230
		<th><?php echo __('Profile Id'); ?></th>
231
		<th><?php echo __('Role'); ?></th>
232
		<th><?php echo __('Created'); ?></th>
233
		<th><?php echo __('Modified'); ?></th>
234
		<th class="actions"><?php echo __('Actions'); ?></th>
235
	</tr>
236
	<?php
237
		$i = 0;
238
		foreach ($user['Publisher'] as $publisher): ?>
239
		<tr>
240
			<td><?php echo $publisher['id']; ?></td>
241
			<td><?php echo $publisher['user_id']; ?></td>
242
			<td><?php echo $publisher['profile_id']; ?></td>
243
			<td><?php echo $publisher['role']; ?></td>
244
			<td><?php echo $publisher['created']; ?></td>
245
			<td><?php echo $publisher['modified']; ?></td>
246
			<td class="actions">
247
				<?php echo $this->Html->link(__('View'), array('controller' => 'publishers', 'action' => 'view', $publisher['id'])); ?>
248
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'publishers', 'action' => 'edit', $publisher['id'])); ?>
249
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'publishers', 'action' => 'delete', $publisher['id']), null, __('Are you sure you want to delete # %s?', $publisher['id'])); ?>
250
			</td>
251
		</tr>
252
	<?php endforeach; ?>
253
	</table>
254
<?php endif; ?>
255
 
256
	<div class="actions">
257
		<ul>
258
			<li><?php echo $this->Html->link(__('New Publisher'), array('controller' => 'publishers', 'action' => 'add')); ?> </li>
259
		</ul>
260
	</div>
261
</div>