<div class="skills view">
<h2><?php  echo __('Skill'); ?></h2>
	<dl>
		<dt><?php echo __('Id'); ?></dt>
		<dd>
			<?php echo h($skill['Skill']['id']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Name'); ?></dt>
		<dd>
			<?php echo h($skill['Skill']['name']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Created'); ?></dt>
		<dd>
			<?php echo h($skill['Skill']['created']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Modified'); ?></dt>
		<dd>
			<?php echo h($skill['Skill']['modified']); ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Skill'), array('action' => 'edit', $skill['Skill']['id'])); ?> </li>
		<li><?php echo $this->Form->postLink(__('Delete Skill'), array('action' => 'delete', $skill['Skill']['id']), null, __('Are you sure you want to delete # %s?', $skill['Skill']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Skills'), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Skill'), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Courses'), array('controller' => 'courses', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Course'), array('controller' => 'courses', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php echo __('Related Courses'); ?></h3>
	<?php if (!empty($skill['Course'])): ?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('CourseShortName'); ?></th>
		<th><?php echo __('CourseName'); ?></th>
		<th><?php echo __('StartDate'); ?></th>
		<th><?php echo __('EndDate'); ?></th>
		<th><?php echo __('Network Id'); ?></th>
		<th><?php echo __('Uesr Id'); ?></th>
		<th><?php echo __('Profile Id'); ?></th>
		<th><?php echo __('Skill Id'); ?></th>
		<th><?php echo __('Description'); ?></th>
		<th><?php echo __('RegisterID'); ?></th>
		<th><?php echo __('BatchID'); ?></th>
		<th><?php echo __('CourseFee'); ?></th>
		<th><?php echo __('TeacherKey'); ?></th>
		<th><?php echo __('ClassKey'); ?></th>
		<th><?php echo __('AboutCourse'); ?></th>
		<th><?php echo __('CourseObjective'); ?></th>
		<th><?php echo __('Classcode'); ?></th>
		<th><?php echo __('Passcode'); ?></th>
		<th><?php echo __('CourseType'); ?></th>
		<th><?php echo __('CourseKey'); ?></th>
		<th><?php echo __('EnrollmentKey'); ?></th>
		<th><?php echo __('EnrollPermission'); ?></th>
		<th><?php echo __('CoursePlatform'); ?></th>
		<th><?php echo __('Teachers'); ?></th>
		<th><?php echo __('Ext'); ?></th>
		<th><?php echo __('YearId'); ?></th>
		<th><?php echo __('TermId'); ?></th>
		<th><?php echo __('ProgramId'); ?></th>
		<th><?php echo __('Section'); ?></th>
		<th><?php echo __('Credithours'); ?></th>
		<th><?php echo __('Counrty Id'); ?></th>
		<th><?php echo __('Created'); ?></th>
		<th><?php echo __('Modified'); ?></th>
		<th><?php echo __('CourseStatus'); ?></th>
		<th><?php echo __('Status'); ?></th>
		<th><?php echo __('Link1'); ?></th>
		<th><?php echo __('Link2'); ?></th>
		<th><?php echo __('Linkvideo'); ?></th>
		<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($skill['Course'] as $course): ?>
		<tr>
			<td><?php echo $course['id']; ?></td>
			<td><?php echo $course['courseShortName']; ?></td>
			<td><?php echo $course['courseName']; ?></td>
			<td><?php echo $course['startDate']; ?></td>
			<td><?php echo $course['endDate']; ?></td>
			<td><?php echo $course['network_id']; ?></td>
			<td><?php echo $course['uesr_id']; ?></td>
			<td><?php echo $course['profile_id']; ?></td>
			<td><?php echo $course['skill_id']; ?></td>
			<td><?php echo $course['description']; ?></td>
			<td><?php echo $course['registerID']; ?></td>
			<td><?php echo $course['batchID']; ?></td>
			<td><?php echo $course['courseFee']; ?></td>
			<td><?php echo $course['teacherKey']; ?></td>
			<td><?php echo $course['classKey']; ?></td>
			<td><?php echo $course['aboutCourse']; ?></td>
			<td><?php echo $course['courseObjective']; ?></td>
			<td><?php echo $course['classcode']; ?></td>
			<td><?php echo $course['passcode']; ?></td>
			<td><?php echo $course['courseType']; ?></td>
			<td><?php echo $course['courseKey']; ?></td>
			<td><?php echo $course['enrollmentKey']; ?></td>
			<td><?php echo $course['enrollPermission']; ?></td>
			<td><?php echo $course['coursePlatform']; ?></td>
			<td><?php echo $course['teachers']; ?></td>
			<td><?php echo $course['ext']; ?></td>
			<td><?php echo $course['yearId']; ?></td>
			<td><?php echo $course['termId']; ?></td>
			<td><?php echo $course['programId']; ?></td>
			<td><?php echo $course['section']; ?></td>
			<td><?php echo $course['credithours']; ?></td>
			<td><?php echo $course['counrty_id']; ?></td>
			<td><?php echo $course['created']; ?></td>
			<td><?php echo $course['modified']; ?></td>
			<td><?php echo $course['courseStatus']; ?></td>
			<td><?php echo $course['status']; ?></td>
			<td><?php echo $course['link1']; ?></td>
			<td><?php echo $course['link2']; ?></td>
			<td><?php echo $course['linkvideo']; ?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller' => 'courses', 'action' => 'view', $course['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'courses', 'action' => 'edit', $course['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'courses', 'action' => 'delete', $course['id']), null, __('Are you sure you want to delete # %s?', $course['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Course'), array('controller' => 'courses', 'action' => 'add')); ?> </li>
		</ul>
	</div>
</div>
