Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="page view">
- <h2><?php echo __('Country');?></h2>
- <dl>
- <dt><?php echo __('Country'); ?></dt>
- <dd>
- <?php echo h($country['Country']['country']); ?>
-
- </dd>
- <dt><?php echo __('Fips104'); ?></dt>
- <dd>
- <?php echo h($country['Country']['fips104']); ?>
-
- </dd>
- <dt><?php echo __('Iso2'); ?></dt>
- <dd>
- <?php echo h($country['Country']['iso2']); ?>
-
- </dd>
- <dt><?php echo __('Iso3'); ?></dt>
- <dd>
- <?php echo h($country['Country']['iso3']); ?>
-
- </dd>
- <dt><?php echo __('Ison'); ?></dt>
- <dd>
- <?php echo h($country['Country']['ison']); ?>
-
- </dd>
- <dt><?php echo __('Internet'); ?></dt>
- <dd>
- <?php echo h($country['Country']['internet']); ?>
-
- </dd>
- <dt><?php echo __('Capital'); ?></dt>
- <dd>
- <?php echo h($country['Country']['capital']); ?>
-
- </dd>
- <dt><?php echo __('Map Reference'); ?></dt>
- <dd>
- <?php echo h($country['Country']['map_reference']); ?>
-
- </dd>
- <dt><?php echo __('Nationality Singular'); ?></dt>
- <dd>
- <?php echo h($country['Country']['nationality_singular']); ?>
-
- </dd>
- <dt><?php echo __('Nationality Plural'); ?></dt>
- <dd>
- <?php echo h($country['Country']['nationality_plural']); ?>
-
- </dd>
- <dt><?php echo __('Currency'); ?></dt>
- <dd>
- <?php echo h($country['Country']['currency']); ?>
-
- </dd>
- <dt><?php echo __('Currency Code'); ?></dt>
- <dd>
- <?php echo h($country['Country']['currency_code']); ?>
-
- </dd>
- <dt><?php echo __('Population'); ?></dt>
- <dd>
- <?php echo h($country['Country']['population']); ?>
-
- </dd>
- <dt><?php echo __('Title'); ?></dt>
- <dd>
- <?php echo h($country['Country']['title']); ?>
-
- </dd>
- <dt><?php echo __('Comment'); ?></dt>
- <dd>
- <?php echo h($country['Country']['comment']); ?>
-
- </dd>
- </dl>
- </div>
- <div class="actions">
- <ul>
- <li><?php echo $this->Html->link(__('Edit %s', __('Country')), array('action' => 'edit', $country['Country']['id'])); ?> </li>
- <li><?php echo $this->Form->postLink(__('Delete %s', __('Country')), array('action' => 'delete', $country['Country']['id']), null, __('Are you sure you want to delete # %s?', $country['Country']['id'])); ?> </li>
- <li><?php echo $this->Html->link(__('List %s', __('Countries')), array('action' => 'index')); ?> </li>
- <li><?php echo $this->Html->link(__('List %s', __('Cities')), array('controller' => 'cities', 'action' => 'index')); ?> </li>
- <li><?php echo $this->Html->link(__('List %s', __('Provinces')), array('controller' => 'provinces', 'action' => 'index')); ?> </li>
- </ul>
- </div>
- <div class="related">
- <h3><?php echo __('Related %s', __('Cities'));?></h3>
- <?php if (!empty($cities)):?>
- <table class="list">
- <tr>
- <th><?php echo $this->Paginator->sort('id');?></th>
- <th><?php echo $this->Paginator->sort('country_id');?></th>
- <th><?php echo $this->Paginator->sort('city');?></th>
- <th><?php echo $this->Paginator->sort('latitude');?></th>
- <th class="actions"><?php echo __('Actions');?></th>
- </tr>
- <?php
- foreach ($cities as $city) { ?>
- <tr>
- <td><?php echo $city['City']['id'];?></td>
- <td><?php echo $city['City']['country_id'];?></td>
- <td><?php echo $city['City']['city'];?></td>
- <td><?php echo $city['City']['latitude'];?></td>
- <td class="actions">
- <?php echo $this->Html->link(__('View'), array('controller' => 'cities', 'action' => 'view', $city['City']['id'])); ?>
- <?php echo $this->Html->link(__('Edit'), array('controller' => 'cities', 'action' => 'edit', $city['City']['id'])); ?>
- <?php echo $this->Form->postLink(__('Delete'), array('controller' => 'cities', 'action' => 'delete', $city['City']['id']), null, __('Are you sure you want to delete # %s?', $city['City']['id'])); ?>
- </td>
- </tr>
- <?php } ?>
- </table>
- <div class="pagination-container">
- <?php echo $this->element('Tools.pagination'); ?>
- </div>
- <?php endif; ?>
- <div class="actions">
- <ul>
- <li><?php echo $this->Html->link(__('Add %s', __('City')), array('controller' => 'cities', 'action' => 'add'));?> </li>
- </ul>
- </div>
- </div>
- <div class="related">
- <h3><?php echo __('Related %s', __('Provinces'));?></h3>
- <?php if (!empty($country['Province'])):?>
- <table class="list">
- <tr>
- <th><?php echo __('Id'); ?></th>
- <th><?php echo __('Country Id'); ?></th>
- <th><?php echo __('Region'); ?></th>
- <th><?php echo __('Code'); ?></th>
- <th><?php echo __('Adm1code'); ?></th>
- <th class="actions"><?php echo __('Actions');?></th>
- </tr>
- <?php
- foreach ($country['Province'] as $province) { ?>
- <tr>
- <td><?php echo $province['id'];?></td>
- <td><?php echo $province['country_id'];?></td>
- <td><?php echo $province['region'];?></td>
- <td><?php echo $province['code'];?></td>
- <td><?php echo $province['adm1code'];?></td>
- <td class="actions">
- <?php echo $this->Html->link(__('View'), array('controller' => 'provinces', 'action' => 'view', $province['id'])); ?>
- <?php echo $this->Html->link(__('Edit'), array('controller' => 'provinces', 'action' => 'edit', $province['id'])); ?>
- <?php echo $this->Form->postLink(__('Delete'), array('controller' => 'provinces', 'action' => 'delete', $province['id']), null, __('Are you sure you want to delete # %s?', $province['id'])); ?>
- </td>
- </tr>
- <?php } ?>
- </table>
- <?php endif; ?>
- <div class="actions">
- <ul>
- <li><?php echo $this->Html->link(__('Add %s', __('Province')), array('controller' => 'provinces', 'action' => 'add'));?> </li>
- </ul>
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement