Server IP : 180.180.241.3 / Your IP : 216.73.216.252 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/AppServ/www/app/View/Organizations/ |
Upload File : |
<div class="organizations view"> <h2><?php echo __('Organization'); ?></h2> <dl> <dt><?php echo __('Id'); ?></dt> <dd> <?php echo h($organization['Organization']['id']); ?> </dd> <dt><?php echo __('Name'); ?></dt> <dd> <?php echo h($organization['Organization']['name']); ?> </dd> <dt><?php echo __('Eng Name'); ?></dt> <dd> <?php echo h($organization['Organization']['eng_name']); ?> </dd> <dt><?php echo __('Short Name'); ?></dt> <dd> <?php echo h($organization['Organization']['short_name']); ?> </dd> <dt><?php echo __('Eng Short Name'); ?></dt> <dd> <?php echo h($organization['Organization']['eng_short_name']); ?> </dd> <dt><?php echo __('Address1'); ?></dt> <dd> <?php echo h($organization['Organization']['address1']); ?> </dd> <dt><?php echo __('Address2'); ?></dt> <dd> <?php echo h($organization['Organization']['address2']); ?> </dd> <dt><?php echo __('Postal Code'); ?></dt> <dd> <?php echo h($organization['Organization']['postal_code']); ?> </dd> <dt><?php echo __('Telephone1'); ?></dt> <dd> <?php echo h($organization['Organization']['telephone1']); ?> </dd> <dt><?php echo __('Telephone2'); ?></dt> <dd> <?php echo h($organization['Organization']['telephone2']); ?> </dd> <dt><?php echo __('Telephone3'); ?></dt> <dd> <?php echo h($organization['Organization']['telephone3']); ?> </dd> <dt><?php echo __('Fax'); ?></dt> <dd> <?php echo h($organization['Organization']['fax']); ?> </dd> <dt><?php echo __('Email'); ?></dt> <dd> <?php echo h($organization['Organization']['email']); ?> </dd> <dt><?php echo __('Url'); ?></dt> <dd> <?php echo h($organization['Organization']['url']); ?> </dd> <dt><?php echo __('Founded'); ?></dt> <dd> <?php echo h($organization['Organization']['founded']); ?> </dd> <dt><?php echo __('Work Region'); ?></dt> <dd> <?php echo h($organization['Organization']['work_region']); ?> </dd> <dt><?php echo __('Work Level'); ?></dt> <dd> <?php echo h($organization['Organization']['work_level']); ?> </dd> <dt><?php echo __('Work Area'); ?></dt> <dd> <?php echo h($organization['Organization']['work_area']); ?> </dd> <dt><?php echo __('Objective'); ?></dt> <dd> <?php echo h($organization['Organization']['objective']); ?> </dd> <dt><?php echo __('Publish'); ?></dt> <dd> <?php echo h($organization['Organization']['publish']); ?> </dd> <dt><?php echo __('Is Activated'); ?></dt> <dd> <?php echo h($organization['Organization']['is_activated']); ?> </dd> <dt><?php echo __('Role'); ?></dt> <dd> <?php echo $this->Html->link($organization['Role']['name'], array('controller' => 'roles', 'action' => 'view', $organization['Role']['id'])); ?> </dd> <dt><?php echo __('District'); ?></dt> <dd> <?php echo $this->Html->link($organization['District']['name'], array('controller' => 'districts', 'action' => 'view', $organization['District']['id'])); ?> </dd> <dt><?php echo __('Mou'); ?></dt> <dd> <?php echo $this->Html->link($organization['Mou']['name'], array('controller' => 'mous', 'action' => 'view', $organization['Mou']['id'])); ?> </dd> <dt><?php echo __('Organization'); ?></dt> <dd> <?php echo $this->Html->link($organization['Organization']['name'], array('controller' => 'organizations', 'action' => 'view', $organization['Organization']['id'])); ?> </dd> <dt><?php echo __('Created'); ?></dt> <dd> <?php echo h($organization['Organization']['created']); ?> </dd> <dt><?php echo __('Modified'); ?></dt> <dd> <?php echo h($organization['Organization']['modified']); ?> </dd> <dt><?php echo __('Createdby'); ?></dt> <dd> <?php echo h($organization['Organization']['createdby']); ?> </dd> <dt><?php echo __('Modifiedby'); ?></dt> <dd> <?php echo h($organization['Organization']['modifiedby']); ?> </dd> </dl> </div> <div class="actions"> <h3><?php echo __('Actions'); ?></h3> <ul> <li><?php echo $this->Html->link(__('Edit Organization'), array('action' => 'edit', $organization['Organization']['id'])); ?> </li> <li><?php echo $this->Form->postLink(__('Delete Organization'), array('action' => 'delete', $organization['Organization']['id']), null, __('Are you sure you want to delete # %s?', $organization['Organization']['id'])); ?> </li> <li><?php echo $this->Html->link(__('List Organizations'), array('action' => 'index')); ?> </li> <li><?php echo $this->Html->link(__('New Organization'), array('action' => 'add')); ?> </li> <li><?php echo $this->Html->link(__('List Roles'), array('controller' => 'roles', 'action' => 'index')); ?> </li> <li><?php echo $this->Html->link(__('New Role'), array('controller' => 'roles', 'action' => 'add')); ?> </li> <li><?php echo $this->Html->link(__('List Districts'), array('controller' => 'districts', 'action' => 'index')); ?> </li> <li><?php echo $this->Html->link(__('New District'), array('controller' => 'districts', 'action' => 'add')); ?> </li> <li><?php echo $this->Html->link(__('List Mous'), array('controller' => 'mous', 'action' => 'index')); ?> </li> <li><?php echo $this->Html->link(__('New Mou'), array('controller' => 'mous', 'action' => 'add')); ?> </li> <li><?php echo $this->Html->link(__('List Organizations'), array('controller' => 'organizations', 'action' => 'index')); ?> </li> <li><?php echo $this->Html->link(__('New Organization'), array('controller' => 'organizations', 'action' => 'add')); ?> </li> <li><?php echo $this->Html->link(__('List Contacts'), array('controller' => 'contacts', 'action' => 'index')); ?> </li> <li><?php echo $this->Html->link(__('New Contact'), array('controller' => 'contacts', 'action' => 'add')); ?> </li> <li><?php echo $this->Html->link(__('List People'), array('controller' => 'people', 'action' => 'index')); ?> </li> <li><?php echo $this->Html->link(__('New Person'), array('controller' => 'people', 'action' => 'add')); ?> </li> <li><?php echo $this->Html->link(__('List Actions'), array('controller' => 'actions', 'action' => 'index')); ?> </li> <li><?php echo $this->Html->link(__('New Action'), array('controller' => 'actions', 'action' => 'add')); ?> </li> <li><?php echo $this->Html->link(__('List Activities'), array('controller' => 'activities', 'action' => 'index')); ?> </li> <li><?php echo $this->Html->link(__('New Activity'), array('controller' => 'activities', 'action' => 'add')); ?> </li> <li><?php echo $this->Html->link(__('List Offers'), array('controller' => 'offers', 'action' => 'index')); ?> </li> <li><?php echo $this->Html->link(__('New Offer'), array('controller' => 'offers', 'action' => 'add')); ?> </li> <li><?php echo $this->Html->link(__('List Subtopics'), array('controller' => 'subtopics', 'action' => 'index')); ?> </li> <li><?php echo $this->Html->link(__('New Subtopic'), array('controller' => 'subtopics', 'action' => 'add')); ?> </li> <li><?php echo $this->Html->link(__('List Targets'), array('controller' => 'targets', 'action' => 'index')); ?> </li> <li><?php echo $this->Html->link(__('New Target'), array('controller' => 'targets', 'action' => 'add')); ?> </li> <li><?php echo $this->Html->link(__('List Types'), array('controller' => 'types', 'action' => 'index')); ?> </li> <li><?php echo $this->Html->link(__('New Type'), array('controller' => 'types', 'action' => 'add')); ?> </li> </ul> </div> <div class="related"> <h3><?php echo __('Related Contacts'); ?></h3> <?php if (!empty($organization['Contact'])): ?> <table cellpadding = "0" cellspacing = "0"> <tr> <th><?php echo __('Id'); ?></th> <th><?php echo __('Name'); ?></th> <th><?php echo __('Position Id'); ?></th> <th><?php echo __('Address'); ?></th> <th><?php echo __('District Id'); ?></th> <th><?php echo __('Postcode'); ?></th> <th><?php echo __('Phone'); ?></th> <th><?php echo __('Fax'); ?></th> <th><?php echo __('Email'); ?></th> <th><?php echo __('Note'); ?></th> <th><?php echo __('Organization Id'); ?></th> <th><?php echo __('Created'); ?></th> <th><?php echo __('Modified'); ?></th> <th class="actions"><?php echo __('Actions'); ?></th> </tr> <?php foreach ($organization['Contact'] as $contact): ?> <tr> <td><?php echo $contact['id']; ?></td> <td><?php echo $contact['name']; ?></td> <td><?php echo $contact['position_id']; ?></td> <td><?php echo $contact['address']; ?></td> <td><?php echo $contact['district_id']; ?></td> <td><?php echo $contact['postcode']; ?></td> <td><?php echo $contact['phone']; ?></td> <td><?php echo $contact['fax']; ?></td> <td><?php echo $contact['email']; ?></td> <td><?php echo $contact['note']; ?></td> <td><?php echo $contact['organization_id']; ?></td> <td><?php echo $contact['created']; ?></td> <td><?php echo $contact['modified']; ?></td> <td class="actions"> <?php echo $this->Html->link(__('View'), array('controller' => 'contacts', 'action' => 'view', $contact['id'])); ?> <?php echo $this->Html->link(__('Edit'), array('controller' => 'contacts', 'action' => 'edit', $contact['id'])); ?> <?php echo $this->Form->postLink(__('Delete'), array('controller' => 'contacts', 'action' => 'delete', $contact['id']), null, __('Are you sure you want to delete # %s?', $contact['id'])); ?> </td> </tr> <?php endforeach; ?> </table> <?php endif; ?> <div class="actions"> <ul> <li><?php echo $this->Html->link(__('New Contact'), array('controller' => 'contacts', 'action' => 'add')); ?> </li> </ul> </div> </div> <div class="related"> <h3><?php echo __('Related Organizations'); ?></h3> <?php if (!empty($organization['Organization'])): ?> <table cellpadding = "0" cellspacing = "0"> <tr> <th><?php echo __('Id'); ?></th> <th><?php echo __('Name'); ?></th> <th><?php echo __('Eng Name'); ?></th> <th><?php echo __('Short Name'); ?></th> <th><?php echo __('Eng Short Name'); ?></th> <th><?php echo __('Address1'); ?></th> <th><?php echo __('Address2'); ?></th> <th><?php echo __('Postal Code'); ?></th> <th><?php echo __('Telephone1'); ?></th> <th><?php echo __('Telephone2'); ?></th> <th><?php echo __('Telephone3'); ?></th> <th><?php echo __('Fax'); ?></th> <th><?php echo __('Email'); ?></th> <th><?php echo __('Url'); ?></th> <th><?php echo __('Founded'); ?></th> <th><?php echo __('Work Region'); ?></th> <th><?php echo __('Work Level'); ?></th> <th><?php echo __('Work Area'); ?></th> <th><?php echo __('Objective'); ?></th> <th><?php echo __('Publish'); ?></th> <th><?php echo __('Is Activated'); ?></th> <th><?php echo __('Role Id'); ?></th> <th><?php echo __('District Id'); ?></th> <th><?php echo __('Mou Id'); ?></th> <th><?php echo __('Organization Id'); ?></th> <th><?php echo __('Created'); ?></th> <th><?php echo __('Modified'); ?></th> <th class="actions"><?php echo __('Actions'); ?></th> </tr> <?php foreach ($organization['Organization'] as $organization): ?> <tr> <td><?php echo $organization['id']; ?></td> <td><?php echo $organization['name']; ?></td> <td><?php echo $organization['eng_name']; ?></td> <td><?php echo $organization['short_name']; ?></td> <td><?php echo $organization['eng_short_name']; ?></td> <td><?php echo $organization['address1']; ?></td> <td><?php echo $organization['address2']; ?></td> <td><?php echo $organization['postal_code']; ?></td> <td><?php echo $organization['telephone1']; ?></td> <td><?php echo $organization['telephone2']; ?></td> <td><?php echo $organization['telephone3']; ?></td> <td><?php echo $organization['fax']; ?></td> <td><?php echo $organization['email']; ?></td> <td><?php echo $organization['url']; ?></td> <td><?php echo $organization['founded']; ?></td> <td><?php echo $organization['work_region']; ?></td> <td><?php echo $organization['work_level']; ?></td> <td><?php echo $organization['work_area']; ?></td> <td><?php echo $organization['objective']; ?></td> <td><?php echo $organization['publish']; ?></td> <td><?php echo $organization['is_activated']; ?></td> <td><?php echo $organization['role_id']; ?></td> <td><?php echo $organization['district_id']; ?></td> <td><?php echo $organization['mou_id']; ?></td> <td><?php echo $organization['organization_id']; ?></td> <td><?php echo $organization['created']; ?></td> <td><?php echo $organization['modified']; ?></td> <td class="actions"> <?php echo $this->Html->link(__('View'), array('controller' => 'organizations', 'action' => 'view', $organization['id'])); ?> <?php echo $this->Html->link(__('Edit'), array('controller' => 'organizations', 'action' => 'edit', $organization['id'])); ?> <?php echo $this->Form->postLink(__('Delete'), array('controller' => 'organizations', 'action' => 'delete', $organization['id']), null, __('Are you sure you want to delete # %s?', $organization['id'])); ?> </td> </tr> <?php endforeach; ?> </table> <?php endif; ?> <div class="actions"> <ul> <li><?php echo $this->Html->link(__('New Organization'), array('controller' => 'organizations', 'action' => 'add')); ?> </li> </ul> </div> </div> <div class="related"> <h3><?php echo __('Related People'); ?></h3> <?php if (!empty($organization['Person'])): ?> <table cellpadding = "0" cellspacing = "0"> <tr> <th><?php echo __('Id'); ?></th> <th><?php echo __('Name'); ?></th> <th><?php echo __('Eng Name'); ?></th> <th><?php echo __('Short Name'); ?></th> <th><?php echo __('Eng Short Name'); ?></th> <th><?php echo __('Address1'); ?></th> <th><?php echo __('Address2'); ?></th> <th><?php echo __('Postal Code'); ?></th> <th><?php echo __('Telephone1'); ?></th> <th><?php echo __('Telephone2'); ?></th> <th><?php echo __('Telephone3'); ?></th> <th><?php echo __('Fax'); ?></th> <th><?php echo __('Email'); ?></th> <th><?php echo __('Url'); ?></th> <th><?php echo __('Founded'); ?></th> <th><?php echo __('Work Region'); ?></th> <th><?php echo __('Work Level'); ?></th> <th><?php echo __('Work Area'); ?></th> <th><?php echo __('Objective'); ?></th> <th><?php echo __('Publish'); ?></th> <th><?php echo __('Is Activated'); ?></th> <th><?php echo __('Organization Id'); ?></th> <th><?php echo __('Position Id'); ?></th> <th><?php echo __('Member Id'); ?></th> <th><?php echo __('District Id'); ?></th> <th><?php echo __('Created'); ?></th> <th><?php echo __('Modified'); ?></th> <th class="actions"><?php echo __('Actions'); ?></th> </tr> <?php foreach ($organization['Person'] as $person): ?> <tr> <td><?php echo $person['id']; ?></td> <td><?php echo $person['name']; ?></td> <td><?php echo $person['eng_name']; ?></td> <td><?php echo $person['short_name']; ?></td> <td><?php echo $person['eng_short_name']; ?></td> <td><?php echo $person['address1']; ?></td> <td><?php echo $person['address2']; ?></td> <td><?php echo $person['postal_code']; ?></td> <td><?php echo $person['telephone1']; ?></td> <td><?php echo $person['telephone2']; ?></td> <td><?php echo $person['telephone3']; ?></td> <td><?php echo $person['fax']; ?></td> <td><?php echo $person['email']; ?></td> <td><?php echo $person['url']; ?></td> <td><?php echo $person['founded']; ?></td> <td><?php echo $person['work_region']; ?></td> <td><?php echo $person['work_level']; ?></td> <td><?php echo $person['work_area']; ?></td> <td><?php echo $person['objective']; ?></td> <td><?php echo $person['publish']; ?></td> <td><?php echo $person['is_activated']; ?></td> <td><?php echo $person['organization_id']; ?></td> <td><?php echo $person['position_id']; ?></td> <td><?php echo $person['member_id']; ?></td> <td><?php echo $person['district_id']; ?></td> <td><?php echo $person['created']; ?></td> <td><?php echo $person['modified']; ?></td> <td class="actions"> <?php echo $this->Html->link(__('View'), array('controller' => 'people', 'action' => 'view', $person['id'])); ?> <?php echo $this->Html->link(__('Edit'), array('controller' => 'people', 'action' => 'edit', $person['id'])); ?> <?php echo $this->Form->postLink(__('Delete'), array('controller' => 'people', 'action' => 'delete', $person['id']), null, __('Are you sure you want to delete # %s?', $person['id'])); ?> </td> </tr> <?php endforeach; ?> </table> <?php endif; ?> <div class="actions"> <ul> <li><?php echo $this->Html->link(__('New Person'), array('controller' => 'people', 'action' => 'add')); ?> </li> </ul> </div> </div> <div class="related"> <h3><?php echo __('Related Actions'); ?></h3> <?php if (!empty($organization['Action'])): ?> <table cellpadding = "0" cellspacing = "0"> <tr> <th><?php echo __('Id'); ?></th> <th><?php echo __('Name'); ?></th> <th><?php echo __('Note'); ?></th> <th><?php echo __('Is Activated'); ?></th> <th><?php echo __('Created'); ?></th> <th><?php echo __('Modified'); ?></th> <th class="actions"><?php echo __('Actions'); ?></th> </tr> <?php foreach ($organization['Action'] as $action): ?> <tr> <td><?php echo $action['id']; ?></td> <td><?php echo $action['name']; ?></td> <td><?php echo $action['note']; ?></td> <td><?php echo $action['is_activated']; ?></td> <td><?php echo $action['created']; ?></td> <td><?php echo $action['modified']; ?></td> <td class="actions"> <?php echo $this->Html->link(__('View'), array('controller' => 'actions', 'action' => 'view', $action['id'])); ?> <?php echo $this->Html->link(__('Edit'), array('controller' => 'actions', 'action' => 'edit', $action['id'])); ?> <?php echo $this->Form->postLink(__('Delete'), array('controller' => 'actions', 'action' => 'delete', $action['id']), null, __('Are you sure you want to delete # %s?', $action['id'])); ?> </td> </tr> <?php endforeach; ?> </table> <?php endif; ?> <div class="actions"> <ul> <li><?php echo $this->Html->link(__('New Action'), array('controller' => 'actions', 'action' => 'add')); ?> </li> </ul> </div> </div> <div class="related"> <h3><?php echo __('Related Activities'); ?></h3> <?php if (!empty($organization['Activity'])): ?> <table cellpadding = "0" cellspacing = "0"> <tr> <th><?php echo __('Id'); ?></th> <th><?php echo __('Name'); ?></th> <th><?php echo __('Started'); ?></th> <th><?php echo __('Ended'); ?></th> <th><?php echo __('Address'); ?></th> <th><?php echo __('Description'); ?></th> <th><?php echo __('Expected'); ?></th> <th><?php echo __('Is Activated'); ?></th> <th><?php echo __('District Id'); ?></th> <th><?php echo __('Created'); ?></th> <th><?php echo __('Modified'); ?></th> <th class="actions"><?php echo __('Actions'); ?></th> </tr> <?php foreach ($organization['Activity'] as $activity): ?> <tr> <td><?php echo $activity['id']; ?></td> <td><?php echo $activity['name']; ?></td> <td><?php echo $activity['started']; ?></td> <td><?php echo $activity['ended']; ?></td> <td><?php echo $activity['address']; ?></td> <td><?php echo $activity['description']; ?></td> <td><?php echo $activity['expected']; ?></td> <td><?php echo $activity['is_activated']; ?></td> <td><?php echo $activity['district_id']; ?></td> <td><?php echo $activity['created']; ?></td> <td><?php echo $activity['modified']; ?></td> <td class="actions"> <?php echo $this->Html->link(__('View'), array('controller' => 'activities', 'action' => 'view', $activity['id'])); ?> <?php echo $this->Html->link(__('Edit'), array('controller' => 'activities', 'action' => 'edit', $activity['id'])); ?> <?php echo $this->Form->postLink(__('Delete'), array('controller' => 'activities', 'action' => 'delete', $activity['id']), null, __('Are you sure you want to delete # %s?', $activity['id'])); ?> </td> </tr> <?php endforeach; ?> </table> <?php endif; ?> <div class="actions"> <ul> <li><?php echo $this->Html->link(__('New Activity'), array('controller' => 'activities', 'action' => 'add')); ?> </li> </ul> </div> </div> <div class="related"> <h3><?php echo __('Related Offers'); ?></h3> <?php if (!empty($organization['Offer'])): ?> <table cellpadding = "0" cellspacing = "0"> <tr> <th><?php echo __('Id'); ?></th> <th><?php echo __('Name'); ?></th> <th><?php echo __('Note'); ?></th> <th><?php echo __('Is Activated'); ?></th> <th><?php echo __('Created'); ?></th> <th><?php echo __('Modified'); ?></th> <th class="actions"><?php echo __('Actions'); ?></th> </tr> <?php foreach ($organization['Offer'] as $offer): ?> <tr> <td><?php echo $offer['id']; ?></td> <td><?php echo $offer['name']; ?></td> <td><?php echo $offer['note']; ?></td> <td><?php echo $offer['is_activated']; ?></td> <td><?php echo $offer['created']; ?></td> <td><?php echo $offer['modified']; ?></td> <td class="actions"> <?php echo $this->Html->link(__('View'), array('controller' => 'offers', 'action' => 'view', $offer['id'])); ?> <?php echo $this->Html->link(__('Edit'), array('controller' => 'offers', 'action' => 'edit', $offer['id'])); ?> <?php echo $this->Form->postLink(__('Delete'), array('controller' => 'offers', 'action' => 'delete', $offer['id']), null, __('Are you sure you want to delete # %s?', $offer['id'])); ?> </td> </tr> <?php endforeach; ?> </table> <?php endif; ?> <div class="actions"> <ul> <li><?php echo $this->Html->link(__('New Offer'), array('controller' => 'offers', 'action' => 'add')); ?> </li> </ul> </div> </div> <div class="related"> <h3><?php echo __('Related Subtopics'); ?></h3> <?php if (!empty($organization['Subtopic'])): ?> <table cellpadding = "0" cellspacing = "0"> <tr> <th><?php echo __('Id'); ?></th> <th><?php echo __('Topic Id'); ?></th> <th><?php echo __('Name'); ?></th> <th><?php echo __('Note'); ?></th> <th><?php echo __('Is Activated'); ?></th> <th><?php echo __('Created'); ?></th> <th><?php echo __('Modified'); ?></th> <th class="actions"><?php echo __('Actions'); ?></th> </tr> <?php foreach ($organization['Subtopic'] as $subtopic): ?> <tr> <td><?php echo $subtopic['id']; ?></td> <td><?php echo $subtopic['topic_id']; ?></td> <td><?php echo $subtopic['name']; ?></td> <td><?php echo $subtopic['note']; ?></td> <td><?php echo $subtopic['is_activated']; ?></td> <td><?php echo $subtopic['created']; ?></td> <td><?php echo $subtopic['modified']; ?></td> <td class="actions"> <?php echo $this->Html->link(__('View'), array('controller' => 'subtopics', 'action' => 'view', $subtopic['id'])); ?> <?php echo $this->Html->link(__('Edit'), array('controller' => 'subtopics', 'action' => 'edit', $subtopic['id'])); ?> <?php echo $this->Form->postLink(__('Delete'), array('controller' => 'subtopics', 'action' => 'delete', $subtopic['id']), null, __('Are you sure you want to delete # %s?', $subtopic['id'])); ?> </td> </tr> <?php endforeach; ?> </table> <?php endif; ?> <div class="actions"> <ul> <li><?php echo $this->Html->link(__('New Subtopic'), array('controller' => 'subtopics', 'action' => 'add')); ?> </li> </ul> </div> </div> <div class="related"> <h3><?php echo __('Related Targets'); ?></h3> <?php if (!empty($organization['Target'])): ?> <table cellpadding = "0" cellspacing = "0"> <tr> <th><?php echo __('Id'); ?></th> <th><?php echo __('Name'); ?></th> <th><?php echo __('Note'); ?></th> <th><?php echo __('Is Activated'); ?></th> <th><?php echo __('Created'); ?></th> <th><?php echo __('Modified'); ?></th> <th class="actions"><?php echo __('Actions'); ?></th> </tr> <?php foreach ($organization['Target'] as $target): ?> <tr> <td><?php echo $target['id']; ?></td> <td><?php echo $target['name']; ?></td> <td><?php echo $target['note']; ?></td> <td><?php echo $target['is_activated']; ?></td> <td><?php echo $target['created']; ?></td> <td><?php echo $target['modified']; ?></td> <td class="actions"> <?php echo $this->Html->link(__('View'), array('controller' => 'targets', 'action' => 'view', $target['id'])); ?> <?php echo $this->Html->link(__('Edit'), array('controller' => 'targets', 'action' => 'edit', $target['id'])); ?> <?php echo $this->Form->postLink(__('Delete'), array('controller' => 'targets', 'action' => 'delete', $target['id']), null, __('Are you sure you want to delete # %s?', $target['id'])); ?> </td> </tr> <?php endforeach; ?> </table> <?php endif; ?> <div class="actions"> <ul> <li><?php echo $this->Html->link(__('New Target'), array('controller' => 'targets', 'action' => 'add')); ?> </li> </ul> </div> </div> <div class="related"> <h3><?php echo __('Related Types'); ?></h3> <?php if (!empty($organization['Type'])): ?> <table cellpadding = "0" cellspacing = "0"> <tr> <th><?php echo __('Id'); ?></th> <th><?php echo __('Name'); ?></th> <th><?php echo __('Note'); ?></th> <th><?php echo __('Is Activated'); ?></th> <th><?php echo __('Created'); ?></th> <th><?php echo __('Modified'); ?></th> <th class="actions"><?php echo __('Actions'); ?></th> </tr> <?php foreach ($organization['Type'] as $type): ?> <tr> <td><?php echo $type['id']; ?></td> <td><?php echo $type['name']; ?></td> <td><?php echo $type['note']; ?></td> <td><?php echo $type['is_activated']; ?></td> <td><?php echo $type['created']; ?></td> <td><?php echo $type['modified']; ?></td> <td class="actions"> <?php echo $this->Html->link(__('View'), array('controller' => 'types', 'action' => 'view', $type['id'])); ?> <?php echo $this->Html->link(__('Edit'), array('controller' => 'types', 'action' => 'edit', $type['id'])); ?> <?php echo $this->Form->postLink(__('Delete'), array('controller' => 'types', 'action' => 'delete', $type['id']), null, __('Are you sure you want to delete # %s?', $type['id'])); ?> </td> </tr> <?php endforeach; ?> </table> <?php endif; ?> <div class="actions"> <ul> <li><?php echo $this->Html->link(__('New Type'), array('controller' => 'types', 'action' => 'add')); ?> </li> </ul> </div> </div>