Advertisement
mightymouse2045

Untitled

Mar 28th, 2014
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.41 KB | None | 0 0
  1. <div class="page view">
  2. <h2><?php echo __('Country');?></h2>
  3. <dl>
  4. <dt><?php echo __('Country'); ?></dt>
  5. <dd>
  6. <?php echo h($country['Country']['country']); ?>
  7. &nbsp;
  8. </dd>
  9. <dt><?php echo __('Fips104'); ?></dt>
  10. <dd>
  11. <?php echo h($country['Country']['fips104']); ?>
  12. &nbsp;
  13. </dd>
  14. <dt><?php echo __('Iso2'); ?></dt>
  15. <dd>
  16. <?php echo h($country['Country']['iso2']); ?>
  17. &nbsp;
  18. </dd>
  19. <dt><?php echo __('Iso3'); ?></dt>
  20. <dd>
  21. <?php echo h($country['Country']['iso3']); ?>
  22. &nbsp;
  23. </dd>
  24. <dt><?php echo __('Ison'); ?></dt>
  25. <dd>
  26. <?php echo h($country['Country']['ison']); ?>
  27. &nbsp;
  28. </dd>
  29. <dt><?php echo __('Internet'); ?></dt>
  30. <dd>
  31. <?php echo h($country['Country']['internet']); ?>
  32. &nbsp;
  33. </dd>
  34. <dt><?php echo __('Capital'); ?></dt>
  35. <dd>
  36. <?php echo h($country['Country']['capital']); ?>
  37. &nbsp;
  38. </dd>
  39. <dt><?php echo __('Map Reference'); ?></dt>
  40. <dd>
  41. <?php echo h($country['Country']['map_reference']); ?>
  42. &nbsp;
  43. </dd>
  44. <dt><?php echo __('Nationality Singular'); ?></dt>
  45. <dd>
  46. <?php echo h($country['Country']['nationality_singular']); ?>
  47. &nbsp;
  48. </dd>
  49. <dt><?php echo __('Nationality Plural'); ?></dt>
  50. <dd>
  51. <?php echo h($country['Country']['nationality_plural']); ?>
  52. &nbsp;
  53. </dd>
  54. <dt><?php echo __('Currency'); ?></dt>
  55. <dd>
  56. <?php echo h($country['Country']['currency']); ?>
  57. &nbsp;
  58. </dd>
  59. <dt><?php echo __('Currency Code'); ?></dt>
  60. <dd>
  61. <?php echo h($country['Country']['currency_code']); ?>
  62. &nbsp;
  63. </dd>
  64. <dt><?php echo __('Population'); ?></dt>
  65. <dd>
  66. <?php echo h($country['Country']['population']); ?>
  67. &nbsp;
  68. </dd>
  69. <dt><?php echo __('Title'); ?></dt>
  70. <dd>
  71. <?php echo h($country['Country']['title']); ?>
  72. &nbsp;
  73. </dd>
  74. <dt><?php echo __('Comment'); ?></dt>
  75. <dd>
  76. <?php echo h($country['Country']['comment']); ?>
  77. &nbsp;
  78. </dd>
  79. </dl>
  80. </div>
  81.  
  82. <div class="actions">
  83. <ul>
  84. <li><?php echo $this->Html->link(__('Edit %s', __('Country')), array('action' => 'edit', $country['Country']['id'])); ?> </li>
  85. <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>
  86. <li><?php echo $this->Html->link(__('List %s', __('Countries')), array('action' => 'index')); ?> </li>
  87. <li><?php echo $this->Html->link(__('List %s', __('Cities')), array('controller' => 'cities', 'action' => 'index')); ?> </li>
  88. <li><?php echo $this->Html->link(__('List %s', __('Provinces')), array('controller' => 'provinces', 'action' => 'index')); ?> </li>
  89. </ul>
  90. </div>
  91. <div class="related">
  92. <h3><?php echo __('Related %s', __('Cities'));?></h3>
  93. <?php if (!empty($cities)):?>
  94. <table class="list">
  95. <tr>
  96. <th><?php echo $this->Paginator->sort('id');?></th>
  97. <th><?php echo $this->Paginator->sort('country_id');?></th>
  98. <th><?php echo $this->Paginator->sort('city');?></th>
  99. <th><?php echo $this->Paginator->sort('latitude');?></th>
  100. <th class="actions"><?php echo __('Actions');?></th>
  101. </tr>
  102. <?php
  103. foreach ($cities as $city) { ?>
  104. <tr>
  105. <td><?php echo $city['City']['id'];?></td>
  106. <td><?php echo $city['City']['country_id'];?></td>
  107. <td><?php echo $city['City']['city'];?></td>
  108. <td><?php echo $city['City']['latitude'];?></td>
  109. <td class="actions">
  110. <?php echo $this->Html->link(__('View'), array('controller' => 'cities', 'action' => 'view', $city['City']['id'])); ?>
  111. <?php echo $this->Html->link(__('Edit'), array('controller' => 'cities', 'action' => 'edit', $city['City']['id'])); ?>
  112. <?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'])); ?>
  113. </td>
  114. </tr>
  115. <?php } ?>
  116. </table>
  117. <div class="pagination-container">
  118. <?php echo $this->element('Tools.pagination'); ?>
  119. </div>
  120. <?php endif; ?>
  121.  
  122. <div class="actions">
  123. <ul>
  124. <li><?php echo $this->Html->link(__('Add %s', __('City')), array('controller' => 'cities', 'action' => 'add'));?> </li>
  125. </ul>
  126. </div>
  127. </div>
  128. <div class="related">
  129. <h3><?php echo __('Related %s', __('Provinces'));?></h3>
  130. <?php if (!empty($country['Province'])):?>
  131. <table class="list">
  132. <tr>
  133. <th><?php echo __('Id'); ?></th>
  134. <th><?php echo __('Country Id'); ?></th>
  135. <th><?php echo __('Region'); ?></th>
  136. <th><?php echo __('Code'); ?></th>
  137. <th><?php echo __('Adm1code'); ?></th>
  138. <th class="actions"><?php echo __('Actions');?></th>
  139. </tr>
  140. <?php
  141. foreach ($country['Province'] as $province) { ?>
  142. <tr>
  143. <td><?php echo $province['id'];?></td>
  144. <td><?php echo $province['country_id'];?></td>
  145. <td><?php echo $province['region'];?></td>
  146. <td><?php echo $province['code'];?></td>
  147. <td><?php echo $province['adm1code'];?></td>
  148. <td class="actions">
  149. <?php echo $this->Html->link(__('View'), array('controller' => 'provinces', 'action' => 'view', $province['id'])); ?>
  150. <?php echo $this->Html->link(__('Edit'), array('controller' => 'provinces', 'action' => 'edit', $province['id'])); ?>
  151. <?php echo $this->Form->postLink(__('Delete'), array('controller' => 'provinces', 'action' => 'delete', $province['id']), null, __('Are you sure you want to delete # %s?', $province['id'])); ?>
  152. </td>
  153. </tr>
  154. <?php } ?>
  155. </table>
  156. <?php endif; ?>
  157.  
  158. <div class="actions">
  159. <ul>
  160. <li><?php echo $this->Html->link(__('Add %s', __('Province')), array('controller' => 'provinces', 'action' => 'add'));?> </li>
  161. </ul>
  162. </div>
  163. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement