Created
April 17, 2012 14:29
-
-
Save razorcell/2406331 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript" | |
src="<?php echo $this->baseUrl('js/occupation.js');?>"></script> | |
<p class="test"></p> | |
<ul class="uibutton-group"> | |
<li><a class="uibutton icon add " | |
href="<?php echo $this->url(array('controller' => 'occupation', 'action' => 'add' ),'default',true);?>">Ajouter</a></li> | |
<li><a class="uibutton icon edit special" | |
href="<?php $this->url(array('controller' => 'occupation', 'action' => 'modify' ),'default',true);?>">Modifier</a></li> | |
<li class="delete_b"><a class="uibutton special">Supprimer</a></li> | |
</ul> | |
<?php | |
$i = 0; | |
echo ' | |
<div id="UITab"> | |
<div class="tab_container" > | |
<div id="tab1" class="tab_content"> | |
<div class="load_page"> | |
<form> | |
<div class="tableName inTab"> | |
<h3 id="test"></h3> | |
<table class="display data_table3 occupations" id="data_table3"> | |
<thead> | |
<tr> | |
<th style="width: 35px;"><input type="checkbox" id="checkAll" class="checkAll"/></th> | |
<th align="left">Id</th> | |
<th>Description</th> | |
<th>Management</th> | |
</tr> | |
</thead> | |
<tbody>'; | |
foreach ( $this->list_occupations as $occupation ) { | |
echo '<tr> | |
<td width="35px"><input type="checkbox" name="checkbox[]" class="chkbox" id="check' . $i . '"/></td> | |
<td class="id_occup" align ="left">' . $occupation ['id_occup'] . '</td> | |
<td>' . $occupation ['nom_occup'] . '</td> | |
<td> | |
<span class="tip" > | |
<a title="Edit" > | |
<img src="images/icon/icon_edit.png" > | |
</a> | |
</span> | |
<span class="tip" > | |
<a id="' . $i . '" class="Delete" name="Band ring" title="Delete" > | |
<img src="images/icon/icon_delete.png" > | |
</a> | |
</span> | |
</td> | |
</tr>'; | |
$i ++; | |
} | |
; | |
echo '</tbody> | |
</table> | |
</div> | |
</form> | |
</div> | |
</div><!--tab1--> | |
</div> | |
</div><!-- End UITab --> | |
<!-- clear fix --> | |
<div class="clear"></div> | |
'; | |
?> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment